/* ============================================================================ */
/* CSS VARIABLES & RESET */
/* ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #0a1b1f;           /* Deep dark teal background */
    --secondary: #1a2f35;         /* Slightly lighter dark teal */
    --accent: #243942;            /* Medium dark teal */
    --highlight: #2d4751;         /* Lighter teal accent */
    --dark: #050f12;              /* Almost black */
    --white: #ffffff;
    --light: #f0f2f4;
    --gray: #8b9bb3;
    --success: #4ade80;           /* Bright green like logo */
    --warning: #f59e0b;           /* Orange like logo */
    --error: #ef4444;             /* Red like logo */
    --info: #3b82f6;              /* Blue like logo */
    --purple: #8b5cf6;            /* Purple like logo */
    
    /* Gold gradients - replacing yellow */
    --gold: #fbbf24;
    --gold-light: #fcd34d;
    --gold-dark: #d97706;
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gradient-gold-shine: linear-gradient(135deg, #fef3c7 0%, #fbbf24 30%, #f59e0b 70%, #d97706 100%);
    
    /* Main gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    
    /* Colorful gradients inspired by logo */
    --gradient-multicolor: linear-gradient(135deg, #4ade80 0%, #3b82f6 25%, #8b5cf6 50%, #ef4444 75%, #f59e0b 100%);
    --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-red: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.6);
    --shadow-gold: 0 4px 20px rgba(251, 191, 36, 0.3);
    
    /* Border radius - More angular/sharp design */
    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ============================================================================ */
/* BASE STYLES */
/* ============================================================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
    background: var(--gradient-primary);
    min-height: 100vh;
    background-attachment: fixed;
}

/* ============================================================================ */
/* BUTTONS */
/* ============================================================================ */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    font-size: 0.85rem;
    line-height: 1.2;
    min-height: 36px;
    position: relative;
    overflow: hidden;
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold), 0 8px 30px rgba(251, 191, 36, 0.4);
    background: var(--gradient-gold-shine);
}

.btn-secondary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    overflow: hidden;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: inherit;
    z-index: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.btn-text {
    display: inline;
}

/* ============================================================================ */
/* HEADER & NAVIGATION */
/* ============================================================================ */
.header {
    background: var(--gradient-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1rem;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 52px;
    gap: 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-brand i {
    font-size: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover, 
.nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.nav-auth {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.user-menu {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--white);
    font-size: 0.85rem;
}

.user-greeting {
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================================================ */
/* CONTAINER */
/* ============================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================================ */
/* NAVIGATION BUTTONS */
/* ============================================================================ */
.navigation-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.nav-button {
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.nav-button::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 ease;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold), 0 10px 40px rgba(251, 191, 36, 0.4);
    background: var(--gradient-gold-shine);
}

.nav-button i {
    font-size: 1.3rem;
}

/* ============================================================================ */
/* HERO SECTION */
/* ============================================================================ */
.about-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================================ */
/* CARDS */
/* ============================================================================ */
.card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 3rem;
    backdrop-filter: blur(20px);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.3);
}

.card-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: var(--gradient-secondary);
    color: var(--white);
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-header i {
    font-size: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-body {
    padding: 2.5rem 2rem;
}

.card-body h3 {
    color: var(--white);
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-body h4 {
    color: var(--gold);
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.card-body ul {
    color: rgba(255,255,255,0.9);
    margin: 1.5rem 0 1.5rem 2rem;
}

.card-body li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================================================ */
/* FEATURE GRID */
/* ============================================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-card {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.feature-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card h4 i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================================ */
/* ALGORITHM SHOWCASE */
/* ============================================================================ */
.algorithm-showcase {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: var(--radius);
    margin: 2.5rem 0;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.algorithm-showcase h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.algorithm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.algorithm-card {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.15);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.algorithm-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.12);
}

.algorithm-card i {
    font-size: 3rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.algorithm-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.algorithm-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================================ */
/* PROCESS FLOW */
/* ============================================================================ */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.process-step {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    position: relative;
    min-width: 220px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.12);
}

.process-step strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.process-step small {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.process-step::after {
    content: "→";
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.process-step:last-child::after {
    display: none;
}

/* ============================================================================ */
/* STATS SHOWCASE */
/* ============================================================================ */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-multicolor);
    border-radius: var(--radius) var(--radius) 0 0;
}

.stat-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ============================================================================ */
/* CONTACT SECTION */
/* ============================================================================ */
.contact-section {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section p {
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-section .btn {
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.contact-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold), 0 10px 40px rgba(251, 191, 36, 0.4);
    background: var(--gradient-gold-shine);
}

/* ============================================================================ */
/* HIGHLIGHT BOXES */
/* ============================================================================ */
.highlight-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(255, 237, 74, 0.1));
    border-left: 4px solid var(--gold);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.highlight-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-box h4 i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
}

.highlight-box ul {
    color: rgba(255,255,255,0.9);
    margin: 1rem 0 0 1.5rem;
}

.highlight-box li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* ============================================================================ */
/* TECH SPEC BOXES */
/* ============================================================================ */
.tech-spec {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(10px);
}

.tech-spec h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-spec ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-spec li {
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tech-spec li:last-child {
    border-bottom: none;
}

.tech-spec li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================ */
/* MODALS */
/* ============================================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 27, 31, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--gradient-secondary);
    border-radius: var(--radius);
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.2);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================ */
/* FORMS */
/* ============================================================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
    background: rgba(255,255,255,0.15);
}

.form-group select option {
    background: var(--secondary);
    color: var(--white);
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    accent-color: var(--gold);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.form-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.form-footer a:hover {
    color: var(--gold-light);
}

/* ============================================================================ */
/* NOTIFICATIONS */
/* ============================================================================ */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    z-index: 10001;
    max-width: 350px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success { 
    background: var(--gradient-green); 
}
.notification.error { 
    background: var(--gradient-red); 
}
.notification.warning { 
    background: var(--gradient-gold); 
    color: var(--dark); 
}
.notification.info { 
    background: var(--gradient-blue); 
}

/* ============================================================================ */
/* FOOTER */
/* ============================================================================ */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 2rem 0 1.5rem;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    font-size: 0.8rem;
    opacity: 0.7;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================================ */
/* RESPONSIVE DESIGN */
/* ============================================================================ */

/* Tablet */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "brand auth burger";
        gap: 0.75rem;
        align-items: center;
        padding: 0;
    }
    
    .nav-brand {
        grid-area: brand;
    }
    
    .nav-auth {
        grid-area: auth;
        justify-self: end;
        gap: 0.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
        grid-area: burger;
        justify-self: end;
    }
    
    .nav-menu {
        grid-area: menu;
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        gap: 0;
        background: var(--gradient-dark);
        padding: 1.5rem;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1rem;
        border-radius: var(--radius);
        backdrop-filter: blur(20px);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: var(--radius);
        margin: 0.25rem 0;
    }

    .user-menu {
        gap: 0.5rem;
    }

    .user-greeting {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        min-width: 36px;
        text-align: center;
    }

    .btn {
        padding: 0.5rem 0.75rem;
        min-height: 36px;
        font-size: 0.8rem;
    }

    .btn-text {
        display: none;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .nav-button {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .about-hero {
        padding: 2.5rem 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .card-body {
        padding: 2rem 1.5rem;
    }

    .card-header {
        padding: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .algorithm-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        min-width: auto;
        width: 100%;
        max-width: 350px;
    }

    .process-step::after {
        content: "↓";
        right: 50%;
        top: 100%;
        transform: translateX(50%);
        margin-top: 1rem;
    }

    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        padding: 3rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: calc(100% - 2rem);
        padding: 1.5rem;
    }

    .algorithm-showcase {
        padding: 2rem 1.5rem;
    }

    .tech-spec {
        padding: 1.5rem;
    }

    .highlight-box {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .navbar {
        min-height: 44px;
        gap: 0.5rem;
    }

    .nav-brand span {
        font-size: 1.1rem;
    }

    .nav-auth {
        gap: 0.25rem;
    }

    .btn {
        padding: 0.4rem 0.6rem;
        min-height: 32px;
        min-width: 32px;
    }

    .user-greeting {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-width: 32px;
    }

    .about-hero {
        padding: 2rem 1rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card-body {
        padding: 1.5rem 1rem;
    }

    .card-header {
        padding: 1.5rem 1rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .stats-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-section {
        padding: 2.5rem 1rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .algorithm-showcase {
        padding: 1.5rem 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-button {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .algorithm-card {
        padding: 1.5rem;
    }

    .tech-spec {
        padding: 1.5rem;
    }

    .highlight-box {
        padding: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .btn.loading::after {
        width: 1rem;
        height: 1rem;
        border-width: 1.5px;
    }
    
    .btn {
        min-height: 32px;
        font-size: 0.75rem;
    }
    
    .navbar {
        grid-template-columns: auto 1fr 32px;
        gap: 0.4rem;
    }

    .about-hero {
        padding: 1.5rem 0.75rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .contact-section {
        padding: 2rem 0.75rem;
    }

    .card-body {
        padding: 1.25rem 0.75rem;
    }

    .card-header {
        padding: 1.25rem 0.75rem;
    }

    .algorithm-showcase {
        padding: 1.25rem 0.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .algorithm-card {
        padding: 1.25rem;
    }

    .tech-spec {
        padding: 1.25rem;
    }

    .highlight-box {
        padding: 1.25rem;
    }

    .process-step {
        padding: 1.25rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ============================================================================ */
/* CUSTOM SCROLLBAR */
/* ============================================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-gold-shine);
}

/* ============================================================================ */
/* ADDITIONAL ANIMATIONS */
/* ============================================================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Time zone highlight variation */
.highlight-box[style*="linear-gradient(135deg, #e3f2fd, #bbdefb)"] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 197, 253, 0.1)) !important;
    border-left-color: var(--info) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}














