/**
 * Kagzi InfoTech - Global Theme System
 * =====================================
 * Centralized CSS variables and reusable classes for consistent styling
 * across the entire application.
 * 
 * Table of Contents:
 * 1. CSS Variables (Colors, Spacing, Typography, Effects)
 * 2. Base Styles
 * 3. Typography Classes
 * 4. Layout & Container Classes
 * 5. Button Components
 * 6. Card Components
 * 7. Form Components
 * 8. Section Components
 * 9. Animation Classes
 * 10. Utility Classes
 * 11. Navigation Components
 * 12. Footer Components
 * 13. Light Effect Components
 * 14. Responsive Utilities
 */

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* === Primary Colors === */
    --color-primary: #22c55e;           /* Green 500 */
    --color-primary-light: #4ade80;     /* Green 400 */
    --color-primary-dark: #16a34a;      /* Green 600 */
    
    /* === Secondary Colors === */
    --color-secondary: #3f3f46;         /* Zinc 700 */
    --color-secondary-light: #52525b;   /* Zinc 600 */
    --color-secondary-dark: #27272a;    /* Zinc 800 */
    
    /* === Background Colors === */
    --bg-dark: #1f1f1f;                 /* Main dark background */
    --bg-dark-secondary: #18181b;       /* Zinc 900 */
    --bg-dark-tertiary: #27272a;        /* Zinc 800 */
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(33, 33, 33, 0.8);
    --bg-light: #ffffff;
    --bg-light-secondary: #f5f5f8;
    --bg-light-tertiary: #f3f4f6;       /* Gray 100 */
    
    /* === Text Colors === */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;          /* Zinc 400 */
    --text-tertiary: #71717a;           /* Zinc 500 */
    --text-muted: #81859f;
    --text-dark: #000000;
    --text-dark-secondary: #374151;     /* Gray 700 */
    --text-dark-muted: #6b7280;         /* Gray 500 */
    
    /* === Border Colors === */
    --border-light: rgba(255, 255, 255, 0.16);
    --border-lighter: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(255, 255, 255, 0.28);
    --border-gray: #d1d5db;             /* Gray 300 */
    --border-zinc: #3f3f46;             /* Zinc 700 */
    
    /* === Gradient Colors === */
    --gradient-text-light: linear-gradient(180deg, #f3f4f6 0%, #9ca3af 100%);
    --gradient-text-dark: linear-gradient(180deg, #000000 0%, #374151 100%);
    --gradient-primary: linear-gradient(90deg, #22c55e 0%, #ffffff 100%);
    --gradient-nav-glow: linear-gradient(#eec5bd, #c6caf6 64%, #dad9e9);
    
    /* === Spacing Scale === */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    --spacing-4xl: 5rem;      /* 80px */
    --spacing-5xl: 6.25rem;   /* 100px */
    
    /* === Typography === */
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Mark Simonson Proxima Nova', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;       /* 12px */
    --text-sm: 0.875rem;      /* 14px */
    --text-base: 1rem;        /* 16px */
    --text-lg: 1.125rem;      /* 18px */
    --text-xl: 1.25rem;       /* 20px */
    --text-2xl: 1.5rem;       /* 24px */
    --text-3xl: 1.875rem;     /* 30px */
    --text-4xl: 2.125rem;     /* 34px */
    --text-5xl: 3rem;         /* 48px */
    --text-6xl: 3.75rem;      /* 60px */
    --text-7xl: 4.6875rem;    /* 75px */
    --text-8xl: 5rem;         /* 80px */
    --text-9xl: 5.3125rem;    /* 85px */
    
    /* Line Heights */
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* === Border Radius === */
    --radius-sm: 0.375rem;    /* 6px */
    --radius-md: 0.5rem;      /* 8px */
    --radius-lg: 0.75rem;     /* 12px */
    --radius-xl: 1rem;        /* 16px */
    --radius-2xl: 1.25rem;    /* 20px */
    --radius-3xl: 1.5rem;     /* 24px */
    --radius-4xl: 1.875rem;   /* 30px */
    --radius-full: 9999px;
    
    /* === Shadows === */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-nav: 0 14px 20px rgba(0, 0, 0, 0.21);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-tile: 0 30px 60px rgba(0, 0, 0, 0.65);
    --shadow-tile-hover: 0 40px 80px rgba(0, 0, 0, 0.75);
    
    /* === Transitions === */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 400ms ease;
    --transition-cubic: 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    
    /* === Z-Index Scale === */
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-popover: 50;
    --z-tooltip: 60;
    
    /* === Container Widths === */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1170px;
    --container-2xl: 1370px;
    --container-3xl: 1400px;
}

/* ============================================
   2. Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary-light);
}

/* ============================================
   3. Typography Classes
   ============================================ */

/* Gradient Text */
.text-gradient {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: var(--gradient-text-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark {
    background: var(--gradient-text-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Headings */
.heading-hero {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    line-height: 1.2;
}

.heading-xl {
    font-size: var(--text-7xl);
    font-weight: var(--font-extrabold);
    line-height: 1.2;
}

.heading-lg {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    line-height: 1.17;
}

.heading-md {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    line-height: 1.2;
}

.heading-sm {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    line-height: 1.5;
}

.heading-xs {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    line-height: 1.5;
}

/* Body Text */
.text-body {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.text-body-sm {
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    letter-spacing: 1px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.text-label {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

/* ============================================
   4. Layout & Container Classes
   ============================================ */
.container-main {
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

.container-main-wide {
    max-width: var(--container-3xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

.container-wide {
    max-width: var(--container-2xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.container-narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.breadcrumb-link {
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.breadcrumb-link:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
}

.section-padding {
    padding-top: var(--spacing-5xl);
    padding-bottom: var(--spacing-5xl);
}

.section-padding-lg {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

@media (min-width: 768px) {
    .container-main {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
    
    .container-wide {
        padding-left: 5.25rem;
        padding-right: 5.25rem;
    }
    
    .heading-hero {
        font-size: var(--text-8xl);
    }
    
    .heading-xl {
        font-size: var(--text-7xl);
        line-height: 1.5;
    }
    
    .heading-lg {
        font-size: var(--text-6xl);
        line-height: 1.17;
    }
    
    .heading-md {
        font-size: var(--text-5xl);
        line-height: 1.21;
    }
    
    .text-body {
        font-weight: var(--font-medium);
    }
    
    .text-body-sm {
        font-weight: var(--font-medium);
    }
}

/* ============================================
   5. Button Components
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    font-family: var(--font-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-slow);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--bg-light-tertiary);
}

.btn-secondary {
    background-color: var(--text-dark);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-dark-tertiary);
}

.btn-white {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid transparent;
}

.btn-white:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background-color: var(--bg-card);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--text-xs);
}

.btn-full {
    width: 100%;
}

/* ============================================
   6. Card Components
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

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

.card-dark {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-zinc);
}

.card-light {
    background: var(--bg-light-tertiary);
    border: none;
    border-radius: var(--radius-4xl);
}

.card-light:hover {
    box-shadow: var(--shadow-xl);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(34px);
    -webkit-backdrop-filter: blur(34px);
    border: 1px solid var(--border-lighter);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--spacing-md);
    background: var(--gradient-text-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
}

/* Product Tile Card */
.tile {
    width: 100px;
    height: 100px;
    border-radius: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-tile);
    transition: all var(--transition-slower);
}

.tile:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), var(--shadow-tile-hover);
}

@media (min-width: 768px) {
    .tile {
        width: 120px;
        height: 120px;
    }
    
    .card-title {
        font-size: var(--text-xl);
    }
}

@media (min-width: 1024px) {
    .tile {
        width: 134px;
        height: 134px;
    }
}

/* ============================================
   7. Form Components
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-zinc);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

/* Light Background Form Inputs */
.form-card .form-label {
    color: var(--text-dark);
}

.form-card .form-input {
    background-color: #f9fafb;
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
}

.form-card .form-input::placeholder {
    color: #9ca3af;
}

.form-card .form-input:focus {
    border-color: var(--color-primary);
    background-color: #ffffff;
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.form-textarea {
    resize: none;
    min-height: 120px;
}

/* Form Card */
.form-card {
    background: var(--bg-light);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .form-card {
        padding: 2.5rem;
    }
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    margin-top: var(--spacing-md);
}

.alert-success {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ============================================
   8. Section Components
   ============================================ */
.section-dark {
    background-color: var(--bg-dark);
}

.section-dark-alt {
    background-color: var(--bg-dark-secondary);
}

.section-light {
    background-color: var(--bg-light);
}

.section-light-alt {
    background-color: var(--bg-light-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header-left {
    text-align: left;
    max-width: 760px;
    margin-bottom: var(--spacing-5xl);
}

/* Sticky Column */
.sticky-column {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

/* Background Theme Classes */
.bg-theme-dark {
    background-color: var(--bg-dark);
}

.bg-theme-light-secondary {
    background-color: var(--bg-light-secondary);
}

/* ============================================
   9. Animation Classes
   ============================================ */

/* Keyframe Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleDown {
    from {
        transform: scale(1.3);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideDownDropdown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Animation Classes */
.animate-slide-down {
    animation: slideDown 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-slide-down-header {
    animation: slideDown 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-scale-down {
    animation: scaleDown 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-down-dropdown {
    animation: slideDownDropdown 0.5s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-scale {
    animation: fadeInScale 1s ease-out forwards;
    opacity: 0;
}

.animate-blink {
    animation: blink 0.7s infinite;
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show,
.fade-left.show {
    opacity: 1;
    transform: none;
}

/* Staggered Animation Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Solution Card Animation */
.solution {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.solution:nth-child(1) { animation-delay: 0.1s; }
.solution:nth-child(2) { animation-delay: 0.2s; }
.solution:nth-child(3) { animation-delay: 0.3s; }
.solution:nth-child(4) { animation-delay: 0.4s; }
.solution:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   10. Utility Classes
   ============================================ */

/* Background Colors */
.bg-dark { background-color: var(--bg-dark); }
.bg-dark-secondary { background-color: var(--bg-dark-secondary); }
.bg-dark-tertiary { background-color: var(--bg-dark-tertiary); }
.bg-light { background-color: var(--bg-light); }
.bg-light-secondary { background-color: var(--bg-light-secondary); }
.bg-light-tertiary { background-color: var(--bg-light-tertiary); }

/* Text Colors */
.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-secondary); }
.text-dark { color: var(--text-dark); }
.text-dark-muted { color: var(--text-dark-muted); }
.text-primary { color: var(--color-primary); }

/* Borders */
.border-light { border-color: var(--border-light); }
.border-dark { border-color: var(--border-zinc); }

/* Tech Logo Styling */
.tech-logo {
    height: 2.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
}

.tech-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 80px;
    filter: saturate(0);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-logo:hover img {
    filter: saturate(1);
    opacity: 1;
}

.tech-logo-label {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.tech-logo:hover .tech-logo-label {
    opacity: 1;
    bottom: -2.5rem;
}

/* ============================================
   11. Navigation Components
   ============================================ */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) 0;
    position: relative;
}

.nav-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(34px);
    -webkit-backdrop-filter: blur(34px);
    background-color: var(--bg-glass);
    border: 1px solid var(--border-lighter);
    border-radius: var(--radius-full);
    height: 50px;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    box-shadow: var(--shadow-nav);
}

.nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    font-weight: var(--font-bold);
}

.nav-link-text {
    color: #b3b3b3;
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
}

.nav-link-text.active {
    color: var(--text-primary);
}

.nav-glow {
    filter: blur(40px);
    background-image: var(--gradient-nav-glow);
    border-radius: 200px;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 27.8984px;
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: absolute;
    top: 100%;
    left: 0.875rem;
    right: 0.875rem;
    margin-top: var(--spacing-md);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-lighter);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-lg);
    z-index: var(--z-dropdown);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-weight: var(--font-medium);
    text-align: center;
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
}

/* ============================================
   12. Footer Components
   ============================================ */
.footer {
    background-color: var(--bg-light);
    padding: var(--spacing-3xl) 0;
}

.footer-brand {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    display: block;
}

.footer-text {
    color: var(--text-dark-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer-heading {
    color: var(--text-dark);
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
}

.footer-link {
    color: var(--text-dark-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--text-dark);
}

.footer-social {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--text-dark);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-base);
}

.footer-social:hover {
    background-color: var(--bg-dark-tertiary);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-primary);
}

.footer-divider {
    border-top: 1px solid var(--border-gray);
    padding-top: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-4xl) 0;
    }
    
    .footer-brand {
        font-size: var(--text-3xl);
    }
}

/* ============================================
   13. Light Effect Components
   ============================================ */
.light-wrapper,
.light-wrapper-in-front {
    position: absolute;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    will-change: transform;
    transform-style: preserve-3d;
}

.card:hover .light-wrapper-in-front {
    opacity: 1;
}

.light-wrapper {
    top: 0;
    left: 0;
}

.light-wrapper-in-front {
    top: 0;
    left: 0;
    z-index: 3;
}

.light {
    width: 300px;
    height: 300px;
    position: absolute;
    transform: translate(-50%, -50%);
}

.light-inside,
.light-outside {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.light-inside {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(25px);
}

.light-outside {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
}

/* ============================================
   14. Responsive Utilities
   ============================================ */
@media (max-width: 768px) {
    .card-title {
        font-size: 18px;
    }
    
    .card-text {
        font-size: 13px;
    }
    
    .heading-hero {
        font-size: var(--text-5xl);
        line-height: 1.17;
    }
    
    .heading-xl {
        font-size: var(--text-4xl);
        line-height: 1.2;
    }
    
    .heading-lg {
        font-size: var(--text-4xl);
        line-height: 1.18;
    }
    
    .heading-md {
        font-size: 28px;
        line-height: 1.43;
    }
    
    .heading-sm {
        font-size: var(--text-2xl);
        line-height: 1.5;
    }
}

/* Hide on Mobile */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

/* Hide on Desktop */
@media (min-width: 768px) {
    .hide-desktop { display: none !important; }
}

/* ============================================
   15. Stat Number Styling
   ============================================ */
.stat-number {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    line-height: 1.5;
    margin-right: var(--spacing-sm);
    margin-bottom: -0.875rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: var(--text-7xl);
    }
}

/* ============================================
   16. 3D Card Effects
   ============================================ */
.card-3d {
    perspective: 1200px;
}

.card-3d-inner {
    transform-style: preserve-3d;
    transition: var(--transition-cubic);
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    height: 155px;
    width: 155px;
    z-index: 1;
    border-radius: 41px;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transition: var(--transition-cubic);
}

/* ============================================
   17. Product Card Specific
   ============================================ */
.product-card {
    position: relative;
    background: var(--bg-dark-tertiary);
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 5;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    transition: transform var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card-inner {
    position: relative;
    background: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    margin: 1px;
    border-radius: calc(var(--radius-2xl) - 2px);
    width: 100%;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: calc(var(--radius-2xl) - 2px) calc(var(--radius-2xl) - 2px) 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to top, var(--text-dark), transparent);
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    text-align: center;
    padding: var(--spacing-lg);
}

@media (min-width: 768px) {
    .product-card {
        border-radius: 26px;
    }
    
    .product-card-inner {
        border-radius: 25px;
    }
    
    .product-image {
        border-radius: 25px 25px 0 0;
    }
}
/* ============================================
   18. Legal/Policy Page Components
   ============================================ */

/* Legal Page Container */
.legal-section {
    background-color: var(--bg-light-secondary);
    padding: var(--spacing-3xl) 0;
}

@media (min-width: 768px) {
    .legal-section {
        padding: var(--spacing-5xl) 0;
    }
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .legal-container {
        padding: 0 var(--spacing-lg);
    }
}

/* Legal Page Header */
.legal-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .legal-heading {
        font-size: var(--text-3xl);
        line-height: 1.3;
    }
}

.legal-subheading {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.legal-text {
    color: var(--text-dark-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-md);
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-text-strong {
    color: var(--text-dark);
    font-weight: var(--font-semibold);
}

.legal-link {
    color: var(--text-dark);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: text-decoration var(--transition-fast);
}

.legal-link:hover {
    text-decoration: underline;
}

/* Legal Content Block */
.legal-block {
    margin-bottom: var(--spacing-2xl);
}

/* Legal List Styles */
.legal-list {
    list-style: disc;
    list-style-position: inside;
    color: var(--text-dark-muted);
}

.legal-list li {
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-sm);
}

.legal-list-spaced {
    list-style: none;
    padding: 0;
}

.legal-list-spaced li {
    color: var(--text-dark-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-md);
}

/* Legal Alert/Notice Boxes */
.legal-notice {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-2xl);
}

.legal-notice-warning {
    background-color: #fefce8;
    border-left: 4px solid #facc15;
}

.legal-notice-warning .notice-title {
    color: #854d0e;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-sm);
}

.legal-notice-warning .notice-text {
    color: #a16207;
}

.legal-notice-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.legal-notice-danger p {
    color: #991b1b;
    font-weight: var(--font-semibold);
}

.legal-notice-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
}

.legal-notice-info p {
    color: #1e40af;
}

/* Legal Numbered List with Icons */
.legal-numbered-list {
    list-style: none;
    padding: 0;
}

.legal-numbered-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.legal-number-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--text-dark);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    margin-right: var(--spacing-sm);
    margin-top: 2px;
}

.legal-numbered-list li span:last-child {
    color: var(--text-dark-muted);
}

/* ============================================
   19. Icon & Social Components
   ============================================ */

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-primary {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--color-primary-light);
}

.icon-box-secondary {
    background-color: var(--bg-dark-tertiary);
    color: var(--text-secondary);
}

.icon-box-white {
    background-color: var(--text-primary);
    color: var(--text-dark);
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: var(--text-primary);
}

/* Badge Component */
.badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.badge-primary {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--color-primary-light);
}

.badge-secondary {
    background-color: var(--bg-dark-tertiary);
    color: var(--text-secondary);
}

.badge-white {
    background-color: var(--text-primary);
    color: var(--text-dark);
}
/* ============================================
   20. Loader Components
   ============================================ */

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(31, 31, 31, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Spinner Container */
.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-xl);
}

/* Outer Ring */
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    border-top-color: var(--color-primary);
    animation: loader-spin 1s linear infinite;
}

/* Inner Ring */
.loader-ring-inner {
    position: absolute;
    inset: 8px;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    border-top-color: var(--color-primary-light);
    animation: loader-spin 0.6s linear infinite reverse;
}

/* Center Logo */
.loader-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-extrabold);
    font-size: var(--text-lg);
}

/* Loading Dots */
.loader-dots {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.loader-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    animation: loader-bounce 1.4s ease-in-out infinite both;
}

.loader-dot:nth-child(1) { animation-delay: -0.32s; }
.loader-dot:nth-child(2) { animation-delay: -0.16s; }
.loader-dot:nth-child(3) { animation-delay: 0; }

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes loader-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   21. Status Icon Components
   ============================================ */

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
}

.status-icon-success {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.status-icon-error {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.status-icon-warning {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

.status-icon-info {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* ============================================
   22. Order & Transaction Components
   ============================================ */

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-zinc);
}

.order-row-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-top: 2px solid var(--border-zinc);
    border-bottom: 1px solid var(--border-zinc);
    margin-top: var(--spacing-sm);
}

/* ============================================
   23. Alert Components
   ============================================ */

.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ============================================
   24. Checkout Components
   ============================================ */

/* Plan Selection Card */
.plan-card {
    position: relative;
    background-color: var(--bg-dark-secondary);
    border: 2px solid var(--border-zinc);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.plan-card:hover {
    border-color: var(--color-secondary-light);
}

.plan-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(34, 197, 94, 0.05);
}

.plan-card-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

/* Radio Custom */
.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-zinc);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.radio-custom.checked {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}

.radio-custom.checked::after {
    content: '✓';
    color: var(--text-dark);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
}

/* Order Summary */
.order-summary {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-zinc);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-top: 2px solid var(--border-zinc);
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary-light);
    font-size: var(--text-sm);
}

/* Payment Gateway Selection */
.gateway-card {
    border: 2px solid var(--border-zinc);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.gateway-card:hover {
    border-color: var(--color-secondary-light);
}

.gateway-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(34, 197, 94, 0.05);
}

/* Country Code Dropdown */
.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-zinc);
    border-radius: var(--radius-lg);
    z-index: var(--z-dropdown);
    display: none;
}

.country-dropdown.open {
    display: block;
}

.country-option {
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: background-color var(--transition-fast);
}

.country-option:hover {
    background-color: var(--bg-dark-tertiary);
}

/* ============================================
   25. Cashfree Payment Components
   ============================================ */

.payment-container {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-zinc);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    min-height: 400px;
}

.payment-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
}

/* ============================================
   26. Divider Components
   ============================================ */

.divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-zinc);
}

.divider-text {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

/* ============================================
   27. Feature Card Components
   ============================================ */

.feature-card {
    background-color: var(--bg-dark-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-zinc);
    border-left-width: 4px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-secondary-light);
}

.feature-card-green {
    border-left-color: var(--color-primary);
}

.feature-card-orange {
    border-left-color: #f97316;
}

.feature-card-cyan {
    border-left-color: #06b6d4;
}

.feature-card-purple {
    border-left-color: #a855f7;
}

.feature-card-pink {
    border-left-color: #ec4899;
}

.feature-card-yellow {
    border-left-color: #eab308;
}

/* ============================================
   28. CTA Section Components
   ============================================ */

.section-cta-gradient {
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(6, 182, 212, 0.1));
}

.section-cta-light {
    background-color: var(--bg-light);
}

/* Dark Mode Buttons */
.btn-dark {
    background-color: var(--text-dark);
    color: var(--text-primary);
}

.btn-dark:hover {
    background-color: var(--text-dark-secondary);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--text-primary);
}

/* Text Colors for Light Sections */
.text-dark-muted {
    color: var(--text-dark-muted);
}

.text-gradient-dark {
    background: var(--gradient-text-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   29. Theme Color Utility Classes
   ============================================ */

.text-theme-primary {
    color: var(--color-primary);
}

.text-theme-primary-light {
    color: var(--color-primary-light);
}

.bg-theme-primary {
    background-color: var(--color-primary);
}

.bg-theme-primary-light {
    background-color: var(--color-primary-light);
}

.border-theme-primary {
    border-color: var(--color-primary);
}
