/* ========================================
   IRC-CpE Conference Website Styles
   Modern Light/Fluid Theme with Blue/Orange Accents
   ======================================== */

/* ========== CSS Custom Properties ========== */
:root {
    /* Color Palette - From IRC-CpE Logo */
    --color-blue-900: #1e3a8a;
    --color-blue-800: #1e40af;
    --color-blue-700: #1d4ed8;
    --color-blue-600: #2563eb;
    --color-blue-500: #3b82f6;
    --color-blue-400: #60a5fa;
    --color-blue-300: #93c5fd;

    --color-orange-700: #c2410c;
    --color-orange-600: #ea580c;
    --color-orange-500: #f97316;
    --color-orange-400: #fb923c;
    --color-orange-300: #fdba74;

    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;

    /* Semantic Colors */
    --color-primary: var(--color-blue-600);
    --color-primary-dark: var(--color-blue-800);
    --color-primary-light: var(--color-blue-400);

    --color-secondary: var(--color-orange-600);
    --color-secondary-dark: var(--color-orange-700);
    --color-secondary-light: var(--color-orange-400);

    --color-background: #ffffff;
    --color-surface: #f8fafc;
    --color-surface-elevated: #ffffff;

    --color-text-primary: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-600);
    --color-text-muted: var(--color-slate-400);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-blue-500) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-600) 100%);

    /* Fluid Hero Gradient */
    --gradient-hero: radial-gradient(at 0% 0%, rgba(96, 165, 250, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(251, 146, 60, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(234, 88, 12, 0.2) 0px, transparent 50%),
        linear-gradient(to bottom right, #f8fafc, #eff6ff);

    --gradient-accent: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-orange-600) 100%);

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 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-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --spacing-1: 0.25rem;
    /* 4px */
    --spacing-2: 0.5rem;
    /* 8px */
    --spacing-3: 0.75rem;
    /* 12px */
    --spacing-4: 1rem;
    /* 16px */
    --spacing-5: 1.25rem;
    /* 20px */
    --spacing-6: 1.5rem;
    /* 24px */
    --spacing-8: 2rem;
    /* 32px */
    --spacing-10: 2.5rem;
    /* 40px */
    --spacing-12: 3rem;
    /* 48px */
    --spacing-16: 4rem;
    /* 64px */
    --spacing-20: 5rem;
    /* 80px */
    --spacing-24: 6rem;
    /* 96px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 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.15);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.2);
    --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.2);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-tooltip: 1050;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-4);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-4);
    color: var(--color-text-secondary);
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* ========== Layout ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.section {
    padding: var(--spacing-20) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-12);
    color: var(--color-slate-900);
}

#registration .section-title {
    color: white;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: transparent;
    transition: all var(--transition-base);
    padding: var(--spacing-4) 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-2) 0;
}

/* Ensure text visibility on scrolled light background */
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-logo {
    color: var(--color-slate-900);
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--spacing-8);
    padding: 0 var(--spacing-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-slate-900);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-8);
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: var(--color-slate-700);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-2) 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-blue-600);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-slate-900);
    font-size: var(--font-size-2xl);
    cursor: pointer;
}

.nav-cta {
    display: block;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 125vh;
    /* Extends past first fold */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Fluid Holographic Background */
    background:
        radial-gradient(at 0% 0%, rgba(96, 165, 250, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(251, 146, 60, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(234, 88, 12, 0.2) 0px, transparent 50%),
        linear-gradient(to bottom right, #f8fafc, #eff6ff);
    background-attachment: fixed;
    /* Parallax effect */
    padding-top: 80px;
    padding-bottom: var(--spacing-20);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 20s infinite alternate;
}

.hero::before {
    width: 60vh;
    height: 60vh;
    background: linear-gradient(to right, rgba(96, 165, 250, 0.4), rgba(59, 130, 246, 0.4));
    top: -10%;
    left: -10%;
}

.hero::after {
    width: 70vh;
    height: 70vh;
    background: linear-gradient(to left, rgba(251, 146, 60, 0.4), rgba(249, 115, 22, 0.4));
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

.hero-bg-text {
    position: absolute;
    bottom: 15%;
    /* Lifted to be visible on first fold */
    left: 50%;
    transform: translateX(-50%);
    font-size: 12vw;
    font-weight: 900;
    color: white;
    white-space: nowrap;
    opacity: 0.6;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
    min-height: 60vh;
    /* Ensure it takes up vertical space */
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    /* Prevent text from being too wide to read */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        /* Reset for mobile */
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .hero-title {
        font-size: 3rem;
    }
}

.hero-title {
    font-size: 4rem;
    /* Big Bold */
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-slate-600);
    margin-bottom: var(--spacing-8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    align-items: center;
    justify-content: center;
}

/* Image styles removed as per request */

.dots-deco {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--color-blue-400) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.5;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 40px) rotate(5deg);
    }

    100% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

/* ========== Countdown Section ========== */
.countdown-section {
    position: relative;
    z-index: 10;
    /* Rich Dark Blue to Black gradient instead of flat gray */
    background: var(--color-slate-800);
    /* Space is created by the overlapped card */
    padding-top: 0;
    padding-bottom: var(--spacing-20);
    /* Removed border-top to blend better, or use a dark blue one */
    border-top: 1px solid rgba(30, 58, 138, 0.3);
}

.countdown-card {
    background: rgba(15, 23, 42, 0.8);
    /* Semi-transparent dark slate */
    backdrop-filter: blur(20px);
    /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape-ish */
    padding: var(--spacing-8) var(--spacing-12);
    margin-top: -100px;
    /* Pull card up to overlap hero */
    margin-bottom: var(--spacing-16);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Abstract wave pattern overlay */
.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 10px);
    pointer-events: none;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Remove gap to allow border dividers to work properly */
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-2);
    /* Gradient Text */
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */

    /* Remove text shadow as it conflicts with gradient text clip */
    text-shadow: none;
}





.countdown-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-400);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle light border */
    border-radius: var(--radius-sm);
    /* Sharper corners like reference */
    color: var(--color-slate-300);
    transition: all var(--transition-base);
    background: transparent;
    /* Text on background, no fill */
}

.contact-box-map {
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Padding handled by inner content */
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-box-map .map-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.8;
    filter: grayscale(100%) contrast(1.2);
    /* Make map subtle */
    transition: all var(--transition-base);
}

.contact-box-map:hover .map-bg {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.contact-box-map .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    z-index: 1;
    transition: all var(--transition-base);
}

.contact-box-map:hover .overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
}

.contact-box-map .content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    width: 100%;
}

.contact-box:hover {
    border-color: var(--color-blue-400);
    background: rgba(255, 255, 255, 0.02);
    color: white;
}

.contact-box i {
    color: var(--color-blue-400);
}

/* ========== Deadlines Section ========== */
.deadlines-container {
    margin-top: var(--spacing-16);
    text-align: center;
    position: relative;
    z-index: 2;
}

.deadline-title {
    /* Hidden visually but kept for structure if needed, or remove. 
       Based on design, the cards communicate this. Let's hide it or make it very subtle. */
    display: none;
}

.deadline-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-8);
    flex-wrap: wrap;
}




/* ========== Pill Badge ========== */
.pill-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #f3e8ff;
    /* Light purple */
    color: #7e22ce;
    /* Dark purple */
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: var(--spacing-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deadline-item {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 1.5rem;
    padding: var(--spacing-10) var(--spacing-8);
    transition: all var(--transition-base);
    min-width: 320px;
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Active State (Blue Border) */
.deadline-item.active {
    border-color: var(--color-blue-500);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    background: #eff6ff;
    /* Very light blue tint */
}

.deadline-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.deadline-date {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-blue-900);
}

.deadline-subtext {
    font-size: 1.25rem;
    color: var(--color-slate-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-6);
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-card {
        border-radius: var(--radius-xl);
        padding: var(--spacing-6);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .deadline-title {
        font-size: 2rem;
        word-break: break-word;
        line-height: 1.1;
    }

    .deadline-grid {
        gap: var(--spacing-8);
        flex-direction: column;
    }

    .deadline-label {
        font-size: 1rem;
    }

    .deadline-date {
        font-size: 2.5rem;
    }
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Remove conflicting box styles */
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 var(--spacing-4);
    min-width: 0;
    position: relative;
}

/* Vertical Dividers Desktop Only */
@media (min-width: 769px) {
    .countdown-item:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ========== Host / Logo Showcase ========== */
.logo-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.logo-showcase::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.logo-item {
    flex: 0 0 auto;
    text-align: center;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    padding: 1rem;
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.logo-item img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.logo-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-slate-800);
    margin-bottom: 0.25rem;
}

.logo-item p {
    font-size: 0.875rem;
    color: var(--color-slate-500);
}


/* Mobile Logo Showcase */
@media (max-width: 768px) {
    .logo-showcase {
        width: 100%;
        flex-wrap: wrap;
        gap: 1.5rem;
        overflow-x: visible;
        padding: 1rem 0;
    }

    .logo-item {
        padding: 0.5rem;
        flex: 0 1 auto;
    }

    .logo-item p {
        display: none;
    }

    .logo-item img {
        margin-bottom: 0;
        height: 60px;
    }
}

/* ========== Track Cards ========== */
.track-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.track-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-slate-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.track-icon i {
    font-size: 1.5rem;
    color: var(--color-blue-600);
    transition: color 0.3s ease;
}

.track-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-slate-800);
}

.track-card .card-description {
    color: var(--color-slate-500);
    line-height: 1.6;
}

#tracks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about {
    background: #eff6ff;
    /* Light blue */
    padding: var(--spacing-20) 0;
}

.dates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .dates-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.feature-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Gradients (Geometric Wave Vectors) */
.gradient-card-1 {
    background-color: #1a103c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ec4899' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%23db2777' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g1)' d='M0,400 C200,500 400,300 800,450 L800,0 L0,0 Z'/%3E%3Cpath fill='rgba(236, 72, 153, 0.2)' d='M0,300 C300,400 500,200 800,350 L800,0 L0,0 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.gradient-card-2 {
    background-color: #1a103c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%233b82f6' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%2306b6d4' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g2)' d='M0,500 C150,550 350,450 600,500 C700,520 800,500 800,500 L800,0 L0,0 Z'/%3E%3Cpath fill='rgba(59, 130, 246, 0.15)' d='M0,400 C250,450 450,300 800,400 L800,0 L0,0 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.gradient-card-3 {
    background-color: #1a103c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='g3' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f59e0b' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%23d97706' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g3)' d='M0,100 C300,0 500,200 800,100 L800,600 L0,600 Z'/%3E%3Cpath fill='rgba(245, 158, 11, 0.2)' d='M0,200 C400,100 600,300 800,250 L800,600 L0,600 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

/* Texture Overlay */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-date {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0px;
    line-height: 1.2;
}

.feature-tag {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    color: white;
    backdrop-filter: blur(4px);
}

.btn {
    display: inline-block;
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-orange);
}

.btn-outline {
    background: transparent;
    color: var(--color-slate-900);
    border: 1px solid var(--color-slate-200);
}

.btn-outline:hover {
    background: var(--color-slate-100);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ========== Cards ========== */
.card {
    background: white;
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue-200);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-slate-50);
    color: var(--color-blue-600);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-3xl);
    transition: var(--transition-base);
}

.card:hover .card-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-3);
    text-align: center;
    color: var(--color-slate-900);
}

.card-description {
    color: var(--color-slate-600);
    text-align: center;
    line-height: var(--line-height-relaxed);
}

/* ========== Grid Layouts ========== */
.grid {
    display: grid;
    gap: var(--spacing-8);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    :root {
        --font-size-6xl: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-8);
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-collage {
        height: 400px;
        margin-top: var(--spacing-8);
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        /* Reset for mobile */
        background-attachment: scroll;
        /* Disable parallax on mobile */
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-8);
        gap: var(--spacing-6);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: var(--font-size-lg);
        color: var(--color-slate-900);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-bg-text {
        font-size: 20vw;
    }

    .collage-main {
        width: 90%;
    }

    .collage-secondary {
        width: 40%;
        bottom: -10px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========== Logo Styles ========== */
.logo-text {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-extrabold);
    font-size: 1.75rem;
    letter-spacing: -0.05em;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
}

.text-gradient-blue {
    /* Dark Blue at top to Light Blue/Cyan at bottom */
    background: linear-gradient(to bottom, #1e3a8a 0%, #3b82f6 60%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    /* Yellow-Orange at top to Red-Orange at bottom */
    background: linear-gradient(to bottom, #f59e0b 0%, #f97316 60%, #c2410c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Update nav-logo to handle text better */
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

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

.mb-4 {
    margin-bottom: var(--spacing-4);
}

.mb-8 {
    margin-bottom: var(--spacing-8);
}

.mt-8 {
    margin-top: var(--spacing-8);
}


/* ========== Registration Fees Section ========== */
/* ========== Registration Fees Section ========== */
#registration-fees {
    padding: var(--spacing-12) 0;
}

/* Pricing Controls (Tabs + Toggle) */
.pricing-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-tabs-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-slate-200);
    padding: 0.4rem;
    border-radius: 3rem;
}

.pricing-tab {
    background: transparent;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-600);
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab.active {
    background: white;
    color: var(--color-blue-600);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.membership-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mem-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-slate-400);
    transition: color 0.3s ease;
}

.mem-label.active {
    color: var(--color-blue-800);
}

/* iOS Switch */
.switch-ios {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch-ios input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-ios {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-slate-300);
    transition: .4s;
    border-radius: 34px;
}

.slider-ios:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider-ios {
    background-color: var(--color-blue-600);
}

input:checked+.slider-ios:before {
    transform: translateX(22px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* New Pricing Card */
.pricing-card-new {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.pricing-card-new.featured {
    border: 2px solid var(--color-blue-500);
    position: relative;
    z-index: 10;
}

/* Header Row */
.card-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.card-badge-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.card-badge-dot.green {
    background-color: #84cc16;
}

/* Lime 500 */
.card-badge-dot.blue {
    background-color: #3b82f6;
}

/* Blue 500 */
.card-badge-dot.purple {
    background-color: #a855f7;
}

/* Purple 500 */

.card-category {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-600);
}

/* Price Row */
.card-price-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
    color: var(--color-blue-900);
}

.card-price-row .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 0.25rem;
    color: var(--color-blue-700);
}

.card-price-row .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.card-price-row .period {
    margin-left: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-400);
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-slate-700);
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon {
    color: #84cc16;
    /* Lime Green matching reference or generic green */
    margin-top: 0.2rem;
    /* Align with text top */
    font-size: 0.9rem;
}

/* Discount/Original Price Styling needed for dynamic JS updates */
.checklist li span span {
    /* This targets the 'Regular Rate: [price]' inner span if needed, but the JS updates text content directly. */
}


.mem-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-500);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mem-label.active {
    color: var(--color-slate-900);
}

.mem-label i {
    color: var(--color-blue-500);
    font-size: 1.25rem;
}

/* iOS Style Switch */
.switch-ios {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
}

.switch-ios input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-ios {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-blue-100);
    transition: .4s;
    border-radius: 34px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.slider-ios:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input:checked+.slider-ios {
    background-color: var(--color-slate-300);
    /* Gray for Non-Member */
}

input:checked+.slider-ios:before {
    transform: translateX(22px);
}

/* When not checked (Member = Active/Blue) */
/* Wait, logic: Checked = Non-Member? Or Switch? */
/* Let's say Unchecked = Member (Left), Checked = Non-Member (Right) */
/* Actually, let's reverse colors for semantics. */
/* Default (Member): Blue slider */
.slider-ios {
    background-color: var(--color-blue-500);
}

input:checked+.slider-ios {
    background-color: var(--color-slate-500);
}

/* Pricing Categories Layout */
.pricing-layout {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* General Assembly Group (Takes up more space if needed, or equal) */
.ga-group {
    flex: 2;
    min-width: 300px;
}

/* Presenter Group */
.pres-group {
    flex: 1;
    min-width: 300px;
}

.group-header {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    font-size: 1.1rem;
}

/* Grids within groups */
.group-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.group-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    height: 100%;
    /* Fill height */
}

/* Ensure Presenter card fills height if needed */
.group-grid-1 .pricing-card {
    height: 100%;
}

@media (max-width: 992px) {
    .pricing-layout {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========== New Venue Map Overlay Section ========== */
.venue-overlay-section {
    position: relative;
    padding: var(--spacing-20) 0;
    overflow: hidden;
    min-height: 600px;
    /* Ensure height for map */
    display: flex;
    align-items: center;
}

/* Map Background */
.venue-map-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Make map non-interactive */
}

.venue-map-bg iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(90%);
    /* Subtle map styling */
    border: 0;
}

.map-overlay-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    /* Fade for readability on left */
    z-index: 1;
}

/* Floating Card */
.venue-floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: var(--spacing-10);
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    /* z-index handled by container */
}

.venue-card-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-slate-900);
    margin-bottom: var(--spacing-2);
}

.venue-card-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.venue-card-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    color: var(--color-slate-700);
    font-weight: 500;
}

.detail-row i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-600);
    background: var(--color-blue-50);
    border-radius: 50%;
    padding: 0.5rem;
    box-sizing: content-box;
    /* icon size + padding */
}

.venue-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: var(--color-blue-600);
    color: white;
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    font-size: 0.925rem;
}

.btn-primary-sm:hover {
    background: var(--color-blue-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--color-slate-200);
    color: var(--color-slate-700);
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--transition-base);
    font-size: 0.925rem;
}

.btn-outline-sm:hover {
    border-color: var(--color-blue-300);
    color: var(--color-blue-700);
    background: var(--color-blue-50);
}

.btn-primary-sm i,
.btn-outline-sm i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .venue-overlay-section {
        padding: var(--spacing-12) 0;
        min-height: auto;
    }

    .venue-map-bg {
        position: relative;
        height: 300px;
        order: 2;
        /* Put map below content on mobile? Or keep absolute? */
        /* Let's keep it absolute but ensure card has background */
    }

    /* For better mobile UX, simplify: Stack them */
    .venue-overlay-section {
        display: block;
        padding: 0;
        background: white;
    }

    .venue-map-bg {
        position: relative;
        height: 300px;
        z-index: 0;
    }

    .map-overlay-layer {
        display: none;
    }

    .venue-floating-card {
        margin: -40px var(--spacing-4) 0;
        padding: var(--spacing-6);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
    }

    .container.relative {
        padding-bottom: var(--spacing-12);
    }
}