/*
 * AILA Tech Solutions - Identity Verification Platform
 * Main CSS Stylesheet
 */

/* Google Fonts - Noto Sans Lao for Lao language support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* --------------------------------------------------
 * AILA Tech Solutions - Modern Design System
 * -------------------------------------------------- */
:root {
    /* AILA Brand Colors - Unique Tech Identity */
    --primary: #2563EB;           /* Modern Blue */
    --primary-dark: #1D4ED8;      /* Darker Blue */
    --primary-light: #3B82F6;     /* Light Blue */
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --secondary: #F8FAFC;         /* Light Background */
    --accent: #10B981;            /* Success Green */
    --accent-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --warning: #F59E0B;           /* Warning Orange */
    --error: #EF4444;             /* Error Red */
    --info: #3B82F6;              /* Info Blue */
    
    /* AILA Tech Gradients */
    --tech-gradient-1: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --tech-gradient-2: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --tech-gradient-3: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --tech-gradient-4: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%);
    
    /* Text Colors */
    --text-dark: #0F172A;         /* Slate 900 */
    --text-medium: #334155;       /* Slate 700 */
    --text-light: #64748B;        /* Slate 500 */
    --text-muted: #94A3B8;        /* Slate 400 */
    
    /* Neutral Colors */
    --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 Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    
    /* Dimensions */
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --btn-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
    --btn-shadow-hover: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Lao', sans-serif;
    --font-family-lao: 'Noto Sans Lao', sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-md: 1rem;         /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    --font-size-7xl: 4.5rem;      /* 72px */
    
    /* Spacing */
    --space-1: 0.25rem;           /* 4px */
    --space-2: 0.5rem;            /* 8px */
    --space-3: 0.75rem;           /* 12px */
    --space-4: 1rem;              /* 16px */
    --space-5: 1.25rem;           /* 20px */
    --space-6: 1.5rem;            /* 24px */
    --space-8: 2rem;              /* 32px */
    --space-10: 2.5rem;           /* 40px */
    --space-12: 3rem;             /* 48px */
    --space-16: 4rem;             /* 64px */
    --space-20: 5rem;             /* 80px */
    --space-24: 6rem;             /* 96px */
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* --------------------------------------------------
 * Base Styles - AILA Tech Solutions
 * -------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
    padding-top: 120px; /* Account for fixed header */
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary);
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-6);
    color: var(--text-dark);
    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
}

h3 {
    font-size: var(--font-size-3xl);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-medium);
    line-height: 1.7;
    font-size: var(--font-size-md);
}

.lead {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------------
 * Buttons & Forms
 * -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: var(--font-size-md);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius);
}

.btn-lg {
    padding: var(--space-5) var(--space-8);
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-xl);
}

.btn-xl {
    padding: var(--space-6) var(--space-10);
    font-size: var(--font-size-xl);
    border-radius: var(--border-radius-xl);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--btn-shadow);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow-hover);
    border-color: var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hero-outline-btn {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-outline-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: var(--font-size-md);
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-container label {
    margin-bottom: 0;
    font-weight: normal;
}

/* --------------------------------------------------
 * Header & Navigation
 * -------------------------------------------------- */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 0.625rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 1.25rem;
}

.nav-links li {
    margin: 0 1.25rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links li.active a,
.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li.active a::after,
.nav-links a:hover::after {
    width: 100%;
}

.dropdown-menu {
    position: relative;
}

.dropdown-menu > a {
    display: flex;
    align-items: center;
}

.dropdown-menu > a::after {
    content: '▼';
    font-size: 8px;
    margin-left: 4px;
    opacity: 0.8;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 0.625rem 0;
    display: none;
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 0.625rem 0.9375rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--secondary);
}

.dropdown-menu:hover .dropdown-content {
    display: block;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

a.btn.btn-primary {
    background-color: var(--btn-signup);
    box-shadow: var(--btn-shadow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    z-index: 99;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-links li {
    margin-bottom: 0.9375rem;
}

.mobile-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    display: block;
    padding: 0.3125rem 0;
}

.mobile-links li.active a {
    color: var(--primary);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

/* --------------------------------------------------
 * Hero Section
 * -------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 30%, #334155 60%, #475569 85%, #64748B 100%);
    color: var(--white);
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* AI Brain/Neural Network Nodes - Static positions */
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 45% 85%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 35%),
        /* AI Data Flow Lines - Static */
        linear-gradient(45deg, transparent 40%, rgba(37, 99, 235, 0.05) 40%, rgba(37, 99, 235, 0.05) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 30%, rgba(16, 185, 129, 0.04) 30%, rgba(16, 185, 129, 0.04) 70%, transparent 70%),
        /* AI Processing Centers - Static */
        radial-gradient(ellipse at 30% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 40%, rgba(139, 92, 246, 0.06) 0%, transparent 55%);
    /* Remove the problematic animation */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* AI Neural Network Grid - Static */
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        /* AI Data Points - Static */
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        /* AI Circuit Patterns - Static */
        linear-gradient(45deg, rgba(37, 99, 235, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(16, 185, 129, 0.03) 25%, transparent 25%),
        /* AI Binary Code Effect - Very subtle */
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
    background-size: 
        40px 40px,
        40px 40px,
        150px 150px,
        200px 200px,
        180px 180px,
        60px 60px,
        60px 60px,
        8px 8px,
        8px 8px;
    /* Remove the problematic animation */
    opacity: 0.3;
}

.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 25%, #334155 50%, #475569 75%, #64748B 100%);
    color: var(--white);
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    background-size: 
        50px 50px,
        50px 50px,
        200px 200px,
        300px 300px;
    animation: digitalLines 15s linear infinite;
    opacity: 0.4;
}

@keyframes heroBackground {
    0% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% { 
        transform: scale(1.05) rotate(0.5deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1) rotate(1deg);
        opacity: 0.9;
    }
    75% { 
        transform: scale(1.05) rotate(0.5deg);
        opacity: 1;
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(37, 99, 235, 0.25);
    color: #FFFFFF;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-title {
    font-size: var(--font-size-7xl);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-title .text-primary {
    color: var(--primary-light);
}

.hero-title .text-secondary {
    color: var(--gray-300);
}

.hero-description {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    color: #F8FAFC;
    opacity: 1;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

.hero-stats {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 500px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: var(--space-1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: #E2E8F0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-20);
    align-items: center;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    padding-right: var(--space-8);
    max-width: 600px;
}

.hero-text h1 {
    font-size: var(--font-size-7xl);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-text .text-gradient {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    color: #F8FAFC;
    opacity: 1;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
    justify-content: flex-start;
    max-width: 500px;
}

.hero-image {
    text-align: center;
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero-image img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes aiTechBackground {
    0% { 
        background-position: 
            0px 0px, 0px 0px,
            0px 0px, 0px 0px, 0px 0px,
            0px 0px, 0px 0px,
            0px 0px, 0px 0px;
        opacity: 0.4;
    }
    25% { 
        background-position: 
            20px 20px, -20px -20px,
            30px 30px, -30px -30px, 40px 40px,
            15px 15px, -15px -15px,
            4px 4px, -4px -4px;
        opacity: 0.6;
    }
    50% { 
        background-position: 
            40px 40px, -40px -40px,
            60px 60px, -60px -60px, 80px 80px,
            30px 30px, -30px -30px,
            8px 8px, -8px -8px;
        opacity: 0.5;
    }
    75% { 
        background-position: 
            20px 20px, -20px -20px,
            30px 30px, -30px -30px, 40px 40px,
            15px 15px, -15px -15px,
            4px 4px, -4px -4px;
        opacity: 0.6;
    }
    100% { 
        background-position: 
            0px 0px, 0px 0px,
            0px 0px, 0px 0px, 0px 0px,
            0px 0px, 0px 0px,
            0px 0px, 0px 0px;
        opacity: 0.4;
    }
}

/* --------------------------------------------------
 * Features Section
 * -------------------------------------------------- */
.features {
    padding: 6.25rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.875rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.9375rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* --------------------------------------------------
 * How It Works Section
 * -------------------------------------------------- */
.how-it-works {
    padding: 6.25rem 0;
    background-color: var(--secondary);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.875rem;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.625rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-medium);
}

/* --------------------------------------------------
 * Trusted By Section
 * -------------------------------------------------- */
.trusted-by {
    padding: 5rem 0;
    background-color: var(--white);
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3.125rem;
    margin-top: 2.5rem;
}

.logo-item {
    flex: 0 0 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-item img {
    width: 100%;
    height: auto;
}

/* --------------------------------------------------
 * Page Header
 * -------------------------------------------------- */
.page-header {
    padding: 2rem 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.blue-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #0065ff 100%);
}

/* --------------------------------------------------
 * Contact Section
 * -------------------------------------------------- */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card, .social-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.social-button:hover {
    transform: translateY(-3px);
}

.twitter {
    background-color: #1DA1F2;
}

.linkedin {
    background-color: #0077B5;
}

.facebook {
    background-color: #1877F2;
}

.github {
    background-color: #24292E;
}

/* --------------------------------------------------
 * CTA Section
 * -------------------------------------------------- */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--tech-gradient-2) 100%);
    color: var(--white);
    padding: var(--space-24) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: ctaBackground 15s ease-in-out infinite;
}

@keyframes ctaBackground {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(-1deg); }
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-6);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* --------------------------------------------------
 * Footer
 * -------------------------------------------------- */
footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    color: var(--white);
    padding: 2rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #E2E8F0;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
    color: #60A5FA;
    text-shadow: 0 2px 4px rgba(96, 165, 250, 0.3);
    transform: translateX(2px);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright {
    color: #CBD5E1;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 0.9375rem;
}

.social-links a {
    color: #E2E8F0;
    font-size: 1.25rem;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    color: #60A5FA;
    text-shadow: 0 2px 4px rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

/* --------------------------------------------------
 * Flash Messages
 * -------------------------------------------------- */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.flash-message {
    padding: 1rem 0;
    margin-bottom: 0.5rem;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-message .close-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.flash-success {
    background-color: var(--success);
    color: var(--white);
}

.flash-error {
    background-color: var(--error);
    color: var(--white);
}

.flash-warning {
    background-color: var(--warning);
    color: var(--text-dark);
}

.flash-info {
    background-color: var(--info);
    color: var(--white);
}

/* --------------------------------------------------
 * Services Page
 * -------------------------------------------------- */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

.benefits-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-medium);
    margin-bottom: 0;
}

.use-cases {
    padding: 5rem 0;
    background-color: var(--white);
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-medium);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-text h3 {
    margin-bottom: 1rem;
}

.tab-text p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.tab-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.tab-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.tab-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
}

.tab-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* --------------------------------------------------
 * FAQ Section
 * -------------------------------------------------- */
.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: var(--font-size-lg);
}

.faq-toggle {
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 1000px;
}

/* --------------------------------------------------
 * Responsive Design
 * -------------------------------------------------- */
@media screen and (max-width: 992px) {
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-text h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero-image {
        flex: 0 0 300px;
        margin-top: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 2.5rem;
        padding-right: 0;
        max-width: 100%;
    }
    
    .hero .container {
        padding-left: 1.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-image {
        width: 80%;
        max-width: 300px;
        min-height: 300px;
    }
    
    .section-title h2 {
        font-size: var(--font-size-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    .hero-text h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-text p {
        font-size: var(--font-size-md);
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: var(--font-size-sm);
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .steps-container {
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
}

/* Language selector styles */
.header-right {
    display: flex;
    align-items: center;
}

.language-selector {
    position: relative;
    margin-right: 1rem;
}

.language-selector select {
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
}

.language-selector::after {
    content: '▼';
    font-size: 8px;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-medium);
}

.mobile-language {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.mobile-language label {
    margin-right: 0.5rem;
    color: var(--text-medium);
}

.mobile-language select {
    background-color: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Adjust for responsive layout */
@media screen and (max-width: 768px) {
    .main-nav {
        justify-content: flex-end;
    }
    
    .language-selector {
        margin-right: 0;
    }
}

@media screen and (max-width: 576px) {
    .language-selector select {
        padding: 0.375rem 1.75rem 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
}
/* Reset dropdown styling to remove default arrow */
.dropdown-menu > a::after {
    content: none !important;
}

/* Dropdown toggle styling */
.dropdown-toggle {
    display: flex;
    align-items: center;
    position: relative;
}

/* Fixed dropdown icon styling */
.dropdown-icon {
    font-size: 10px;
    color: #505F79;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.dropdown-menu:hover .dropdown-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Make sure there's only one dropdown indicator */
.dropdown-menu > a:after {
    display: none !important;
}

/* Dropdown menu item styling */
.dropdown-menu {
    position: relative;
    /* Remove extra padding that affects alignment */
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Dropdown content styling */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    /* Increase transition delay for better usability */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: 1px solid #E4E7EB;
    margin-top: 8px;
}

/* Important: Add delay on hover out */
.dropdown-menu .dropdown-content {
    transition-delay: 0s;
}

.dropdown-menu:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    /* Add delay on hover in */
    transition-delay: 0.1s;
}

/* Add additional hover area above dropdown content */
.dropdown-content:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Dropdown content items */
.dropdown-content a {
    color: #253858;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #F4F5F7;
    color: var(--primary);
}

/* Language selector styling */
.language-menu select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid #DFE1E6;
    border-radius: 4px;
    padding: 6px 24px 6px 10px;
    font-size: 14px;
    color: #253858;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23505F79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
}

.language-menu select:focus {
    outline: none;
    border-color: #4C9AFF;
    box-shadow: 0 0 0 2px rgba(76, 154, 255, 0.1);
}

/* Mobile menu improvements */
.mobile-menu-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #253858;
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}
/* Pricing */

/* --------------------------------------------------
 * Pricing Section
 * -------------------------------------------------- */
 .pricing-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card-header {
    margin-bottom: 2rem;
}

.pricing-card-header h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-card-header p {
    color: var(--text-medium);
    font-size: var(--font-size-md);
}

.pricing-price {
    margin-bottom: 2rem;
}

.pricing-price .amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary);
}

.pricing-price .period {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    color: var(--text-medium);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--primary);
    margin-right: 0.75rem;
    font-weight: bold;
}

.pricing-card-cta {
    margin-top: auto;
}

.pricing-card-cta .btn {
    width: 100%;
}

.pricing-comparison {
    margin-top: 3rem;
    text-align: center;
}

.pricing-comparison h2 {
    margin-bottom: 1.5rem;
}

.pricing-comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pricing-comparison-header {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    background-color: var(--primary-light);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
}

.pricing-comparison-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-comparison-row:last-child {
    border-bottom: none;
}

.pricing-comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-comparison-cell.feature-name {
    justify-content: flex-start;
}

.pricing-comparison-cell svg {
    color: var(--primary);
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-comparison-table {
        overflow-x: auto;
    }
    
    .pricing-comparison-header,
    .pricing-comparison-row {
        min-width: 800px;
    }
}

@media screen and (max-width: 576px) {
    .pricing-section {
        padding: 3rem 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: var(--font-size-3xl);
    }
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.pricing-toggle-switch {
    display: flex;
    background-color: var(--gray-200);
    border-radius: 30px;
    padding: 0.25rem;
}

.pricing-toggle-option {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-toggle-option.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Global styles for AILA Tech Solutions */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------
 * Beautiful Professional Service Cards & Modal Styles
 * -------------------------------------------------- */
.page-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    margin-top: 1rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.service-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-dark);
}

.service-category {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-category {
    background: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-dark);
    font-size: var(--font-size-md);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features h4 {
    color: var(--text-dark);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.service-features li i {
    color: var(--accent);
    font-size: var(--font-size-sm);
    min-width: 16px;
}

.service-features li.more-features {
    color: var(--primary-light);
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-specs {
    margin-top: auto;
}

.service-specs h4 {
    color: var(--text-dark);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.spec-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.spec-label {
    color: var(--text-medium);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    font-weight: 700;
    line-height: 1.4;
}

.service-actions {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.service-actions .btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: var(--font-size-md);
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.service-actions .btn:hover::before {
    left: 100%;
}

.service-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    color: var(--white);
    box-shadow: 
        0 8px 24px rgba(37, 99, 235, 0.3),
        0 4px 12px rgba(37, 99, 235, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(37, 99, 235, 0.4),
        0 6px 16px rgba(37, 99, 235, 0.3);
}

.service-actions .btn-outline {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.service-actions .btn-outline:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(37, 99, 235, 0.3),
        0 4px 12px rgba(37, 99, 235, 0.2);
    border-color: transparent;
}

/* Service Detail Modal */
.service-detail-view {
    padding: 2rem;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-xl);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
    box-shadow: var(--btn-shadow);
}

.service-detail-info h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-detail-category {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.service-detail-content {
    margin-bottom: 2rem;
}

.service-detail-description {
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-full {
    color: var(--text-medium);
    font-size: var(--font-size-md);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.service-detail-features h4,
.service-detail-specs h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-detail-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    font-size: var(--font-size-md);
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.service-detail-features li i {
    color: var(--accent);
    font-size: var(--font-size-md);
}

.service-detail-specs .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-detail-specs .spec-item {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.service-detail-specs .spec-label {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.service-detail-specs .spec-value {
    color: var(--text-dark);
    font-size: var(--font-size-md);
    font-weight: 600;
}

.service-detail-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-100);
}

.service-detail-actions .btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: var(--font-size-md);
    font-weight: 600;
    border-radius: var(--border-radius);
}

/* Beautiful Animations & Effects */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.6); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Normal card design - no animations or effects */

/* Beautiful Loading States */
.service-card.loading {
    position: relative;
    overflow: hidden;
}

.service-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Enhanced Hover Effects */
.service-features li {
    position: relative;
    overflow: hidden;
}

.service-features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-features li:hover::before {
    left: 100%;
}

/* Beautiful Button Effects */
.service-actions .btn {
    position: relative;
    overflow: hidden;
}

.service-actions .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-actions .btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0.5rem;
    }
    
    .service-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .service-content {
        padding: 1rem 1.5rem;
    }
    
    .service-actions {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-actions {
        flex-direction: column;
    }
    
    .service-card {
        animation: none;
    }
    
    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Dark Mode Support - Keep cards white for better readability */
@media (prefers-color-scheme: dark) {
    .service-card {
        background: var(--white);
        border-color: var(--gray-200);
    }
    
    .service-header,
    .service-actions {
        background: var(--white);
    }
    
    .service-title {
        color: var(--text-dark);
    }
}

/* --------------------------------------------------
 * Modal Styles
 * -------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1001;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--text-dark);
}

.product-detail-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-detail-image {
    text-align: center;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.product-detail-info h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-detail-category {
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-description {
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-detail-full {
    color: var(--text-light);
    font-size: var(--font-size-md);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-detail-features h4,
.product-detail-specs h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-detail-features ul,
.product-detail-specs ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-detail-features li,
.product-detail-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-medium);
}

.product-detail-features li:last-child,
.product-detail-specs li:last-child {
    border-bottom: none;
}

.product-detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-detail-actions .btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: var(--font-size-md);
}

/* Responsive adjustments for products */
@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-detail-view {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
}

/* Lao language font support */
[lang="la"], 
[lang="lo"],
.lao-text {
    font-family: var(--font-family-lao);
    font-weight: 400;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

a {
    color: #3b5fd9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: #3b5fd9;
    color: white;
}

.btn-primary:hover {
    background-color: #2d4bb7;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3b5fd9;
    box-shadow: 0 0 0 2px rgba(59, 95, 217, 0.2);
}

/* Error message */
.error-message {
    background-color: #ffeeee;
    color: #d44950;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}