:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --primary-light: #1E293B;
    --secondary-color: #D4AF37;
    /* Gold/Bronze */
    --secondary-light: #F3E5AB;
    /* Champagne Gold */
    --accent-color: #F8FAFC;
    /* Off-white */
    --text-dark: #0F172A;
    --text-light: #64748B;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-radius: 12px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography & Effects */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F59E0B 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

/* Decorative underline that animates on scroll in view */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    /* Align left by default */
    width: 0;
    height: 4px;
    background: var(--secondary-color);
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.visible::after {
    width: 80px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

.text-gold {
    color: var(--secondary-color);
}

/* Buttons with shiny effect */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 50px;
    /* Pill shape is more modern */
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #B8860B);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
    transition: 0.7s ease-in-out;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light {
    /* For white backgrounds if needed */
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* Header - Glassmorphism */
.header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav a:not(.btn):hover::after {
    width: 100%;
}

.nav-link-special {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section - Parallax & Depth */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 1) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 80px;
}

.eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    /* Lighter glass */
    border: 1px solid rgba(212, 175, 55, 0.5);
    /* Gold border */
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    max-width: 650px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll Indication */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Check list */
.features-list {
    margin-top: var(--spacing-md);
}

.feature-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    color: var(--text-dark);
    opacity: 0;
    /* Animated in */
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.feature-item.show {
    opacity: 1;
    transform: translateX(0);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.4);
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.glass-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Dark Section (Attendees) */
.dark-section {
    background-color: var(--primary-color);
    color: var(--white);
    /* Pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.icon-card {
    background: rgba(30, 41, 59, 0.5);
    /* Semi-transparent Slate */
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.icon-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.icon-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-card:hover::after {
    opacity: 1;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.icon-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.icon-card p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline/Format */
.format-section {
    background-color: var(--white);
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--secondary-color) 20%,
            var(--secondary-color) 80%,
            transparent 100%);
    z-index: 0;
    display: none;
}

@media(min-width: 992px) {
    .timeline::before {
        display: block;
    }
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.time-marker {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.timeline-item:hover .time-marker {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.2);
}

/* Teaser / CTO */
.teaser-section {
    position: relative;
    padding: 15vh 0;
    color: var(--white);
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teaser-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.teaser-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 10s ease;
    /* Slow zoom */
    transform: scale(1);
}

.teaser-section:hover .teaser-bg img {
    transform: scale(1.05);
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.teaser-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.teaser-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

/* Registration Form */
.register-section {
    padding-bottom: 100px;
    background: linear-gradient(to bottom, var(--bg-light) 50%, #e2e8f0 100%);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    border-top: 6px solid var(--secondary-color);
    position: relative;
    transform: translateY(-80px);
    /* Overlap previous section */
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-80px);
    }
}

.form-header {
    margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.full-width {
    grid-column: span 2;
}

@media(max-width: 768px) {
    .full-width {
        grid-column: span 1;
    }

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

    .form-wrapper {
        padding: 1.5rem;
        transform: translateY(0);
        animation: none;
        margin-top: -50px;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-left: 30px;
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Globals & Utilities */
.styled-list {
    list-style: none;
}

.styled-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
}

.styled-list li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Animations Trigger Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Pulse Animation for CTA */
.pulse-animation {
    animation: pulse-gold 2.5s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-bg {
        height: 100%;
    }

    /* Disable parallax height on mobile if jumpy */
    .hero-actions {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
        position: fixed;
        right: 20px;
        top: 20px;
    }
}