/* ===== Charis Soft Limited - Professional Website ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #5a67d8 0%, #6b46a1 100%);
    
    /* Neutrals */
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* WhatsApp */
    --whatsapp: #25D366;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.header.scrolled .logo-text {
    color: var(--dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    position: relative;
}

.header.scrolled .nav-links a {
    color: var(--gray-700);
}

.nav-links a:hover {
    color: var(--white);
}

.header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .mobile-toggle {
    color: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.hero-visual {
    position: relative;
}

.hero-image {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-2xl);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-gradient {
    background: var(--gradient);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .overline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.section-dark .section-header .overline {
    color: var(--accent);
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-dark .section-header p {
    color: var(--gray-400);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.service-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Hosting Packages ===== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--gray-100);
    position: relative;
}

.package-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.package-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.package-price {
    margin-bottom: 24px;
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.package-price .period {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.package-features {
    margin-bottom: 24px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--success);
    font-size: 0.85rem;
}

.package-card .btn {
    width: 100%;
}

/* ===== Domain Search ===== */
.domain-search-box {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.domain-search-form {
    display: flex;
    gap: 12px;
}

.domain-input-group {
    flex: 1;
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.domain-input-group input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
}

.domain-input-group input:focus {
    outline: none;
}

.domain-input-group select {
    padding: 16px 20px;
    border: none;
    background: var(--gray-200);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.domain-pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.domain-price-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.domain-price-card:hover,
.domain-price-card.selected {
    border-color: var(--primary);
    background: var(--white);
}

.domain-price-card .ext {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.domain-price-card .price {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Products/Systems Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 180px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.product-content {
    padding: 24px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* ===== Order Form ===== */
.order-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.order-header {
    background: var(--gradient);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.order-header h2 {
    color: var(--white);
    margin-bottom: 8px;
}

.order-body {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* Order Items */
.order-items {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.order-item-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.order-item-price {
    font-weight: 700;
    color: var(--primary);
}

.order-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 8px;
}

.order-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    border-top: 2px solid var(--gray-200);
    padding-top: 16px;
    margin-top: 8px;
}

.summary-row.total .value {
    color: var(--primary);
}

/* ===== Invoice ===== */
.invoice-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.invoice-header {
    background: var(--gradient);
    color: var(--white);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.invoice-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
}

.invoice-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.invoice-info {
    text-align: right;
}

.invoice-info h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.invoice-body {
    padding: 40px;
}

.invoice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.invoice-details h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.invoice-table th,
.invoice-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.invoice-table th {
    background: var(--gray-50);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.invoice-table td {
    font-size: 0.95rem;
}

.invoice-table .text-right {
    text-align: right;
}

.invoice-totals {
    display: flex;
    justify-content: flex-end;
}

.invoice-totals-table {
    width: 300px;
}

.invoice-totals-table .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.invoice-totals-table .row.total {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: none;
    padding-top: 16px;
}

.invoice-totals-table .row.total .value {
    color: var(--primary);
}

.invoice-footer {
    background: var(--gray-50);
    padding: 30px 40px;
    text-align: center;
}

.invoice-footer p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== WhatsApp Popup ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-btn .text {
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
}

/* ===== Alerts ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--info);
}

/* ===== Checkbox/Radio Items ===== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-item:hover {
    border-color: var(--primary);
}

.checkbox-item input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.checkbox-item.selected {
    background: rgba(102,126,234,0.1);
    border-color: var(--primary);
}

.checkbox-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.checkbox-item-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.checkbox-item-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--primary);
}

/* ===== Admin Styles ===== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo h2 {
    font-size: 1.1rem;
    color: var(--white);
}

.admin-logo span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-nav a i {
    width: 20px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--gray-50);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.stat-card .icon.purple { background: rgba(102,126,234,0.1); color: var(--primary); }
.stat-card .icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-card .icon.orange { background: rgba(245,158,11,0.1); color: var(--warning); }
.stat-card .icon.blue { background: rgba(59,130,246,0.1); color: var(--info); }

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-card .label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.data-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.data-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.data-card-header h2 {
    font-size: 1.1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.data-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.data-table tr:hover {
    background: var(--gray-50);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending { background: rgba(245,158,11,0.1); color: #92400e; }
.badge-processing { background: rgba(59,130,246,0.1); color: #1e40af; }
.badge-completed { background: rgba(16,185,129,0.1); color: #065f46; }
.badge-cancelled { background: rgba(239,68,68,0.1); color: #991b1b; }
.badge-paid { background: rgba(16,185,129,0.1); color: #065f46; }
.badge-draft { background: rgba(107,114,128,0.1); color: #374151; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .services-grid,
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .domain-pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .services-grid,
    .packages-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .domain-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .domain-search-form {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .invoice-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .invoice-info {
        text-align: left;
    }
    
    .invoice-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatsapp-btn .text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 14px;
        border-radius: 50%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
