/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-primary: #FF8008;
    --color-primary-dark: #e67300;
    --color-primary-light: #ff9933;
    --color-primary-glow: rgba(255, 128, 8, 0.4);
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Background Animation ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-primary-dark) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo-svg {
    width: 40px;
    height: 40px;
    fill: var(--color-white);
    transition: var(--transition-normal);
}

.nav-logo:hover .logo-svg {
    fill: var(--color-primary);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-300);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-black) !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-normal);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 969px) {
    .hero {
        height: 100vh;
        min-height: auto;
    }
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(3) {
    animation-delay: 0.5s;
}

.title-accent {
    display: flex;
    align-items: baseline;
    gap: 16px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.number-25 {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: 0 0 60px var(--color-primary-glow);
}

.title-years {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--color-gray-400);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-normal);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--color-primary);
}

.hero-stats {
    display: flex;
    gap: 24px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.stat-item {
    padding: 20px 24px;
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    width: 100%;
    height: 100%;
}

.network-container {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    position: relative;
}

.network-animation {
    width: 100%;
    height: 100%;
}

/* Central node glow */
.central-node {
    animation: centralGlow 3s ease-in-out infinite;
}

@keyframes centralGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 128, 8, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 128, 8, 0.9));
    }
}

/* Node groups pulse */
.node-group circle {
    animation: nodePulse 2s ease-in-out infinite;
}

.node-top circle { animation-delay: 0s; }
.node-top-right circle { animation-delay: 0.25s; }
.node-right circle { animation-delay: 0.5s; }
.node-bottom-right circle { animation-delay: 0.75s; }
.node-bottom circle { animation-delay: 1s; }
.node-bottom-left circle { animation-delay: 1.25s; }
.node-left circle { animation-delay: 1.5s; }
.node-top-left circle { animation-delay: 1.75s; }

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
    }
}

/* Connection lines animation */
.conn-line {
    animation: dashFlow 1.5s linear infinite;
}

@keyframes dashFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -16; }
}

/* Pulse rings */
.pulse-ring {
    transform-origin: 200px 200px;
}

.ring-1 {
    animation: ringPulse 4s ease-out infinite;
}

.ring-2 {
    animation: ringPulse 4s ease-out infinite 1.3s;
}

.ring-3 {
    animation: ringPulse 4s ease-out infinite 2.6s;
}

@keyframes ringPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Extra decorative nodes */
.extra-node {
    animation: twinkle 3s ease-in-out infinite;
}

.n1 { animation-delay: 0s; }
.n2 { animation-delay: 0.75s; }
.n3 { animation-delay: 1.5s; }
.n4 { animation-delay: 2.25s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    transition: var(--transition-normal);
    cursor: default;
}

.floating-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(255, 128, 8, 0.25);
}

.floating-card svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    flex-shrink: 0;
}

/* Floating card positions */
.card-1 {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    animation: floatLeft 5s ease-in-out infinite;
}

.card-2 {
    right: -30px;
    top: 20%;
    animation: floatRight 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.card-3 {
    right: -10px;
    bottom: 18%;
    animation: floatRight 5s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-8px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(8px) translateY(-8px);
    }
}

/* Community Animation (About section) */
.community-animation {
    width: 100%;
    height: 300px;
}

.window {
    animation: windowGlow 2s ease-in-out infinite;
}

.w1 { animation-delay: 0s; }
.w2 { animation-delay: 0.5s; }
.w3 { animation-delay: 1s; }
.w4 { animation-delay: 1.5s; }

@keyframes windowGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.wifi-arc {
    animation: wifiPulse 1.5s ease-out infinite;
}

.arc1 { animation-delay: 0s; }
.arc2 { animation-delay: 0.3s; }
.arc3 { animation-delay: 0.6s; }

@keyframes wifiPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.conn-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

.dot1 { animation-delay: 0s; }
.dot2 { animation-delay: 0.5s; }
.dot3 { animation-delay: 1s; }
.dot4 { animation-delay: 1.5s; }

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
}

.conn-line {
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -16; }
}

/* Party Animation (RSVP section) */
.party-animation {
    width: 100%;
    max-width: 200px;
    height: 200px;
}

.hat {
    animation: hatBounce 2s ease-in-out infinite;
    transform-origin: 100px 140px;
}

@keyframes hatBounce {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.hat-top {
    animation: topGlow 1s ease-in-out infinite;
}

@keyframes topGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255,255,255,1));
    }
}

.confetti {
    animation: confettiFall 3s ease-in-out infinite;
}

.c1 { animation-delay: 0s; }
.c2 { animation-delay: 0.5s; }
.c3 { animation-delay: 1s; }
.c4 { animation-delay: 1.5s; }
.c5 { animation-delay: 2s; }
.c6 { animation-delay: 2.5s; }

@keyframes confettiFall {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(10px) rotate(180deg);
        opacity: 0.7;
    }
}

.star {
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.s1 { animation-delay: 0s; }
.s2 { animation-delay: 0.75s; }

@keyframes starTwinkle {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

.year-text {
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 0.8;
    }
    50% { 
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 128, 8, 0.8));
    }
}

.floating-card {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
}

.floating-card svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-gray-600);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    margin-bottom: 48px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(255, 128, 8, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 128, 8, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title .accent {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 128, 8, 0.02) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    color: var(--color-gray-300);
    margin-bottom: 20px;
    text-align: justify;
}

.about-text.lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.card-decoration {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--color-primary-glow) 0%, transparent 50%);
    opacity: 0.3;
    z-index: 0;
}

.visual-badge {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.badge-year {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== History Timeline ===== */
.history {
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--color-primary) 10%, var(--color-primary) 90%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--color-black);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.timeline-content.highlight {
    border-color: var(--color-primary);
    background: rgba(255, 128, 8, 0.1);
}

.timeline-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(255, 128, 8, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* ===== Event Section ===== */
.event {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 128, 8, 0.03) 100%);
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.event-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.event-cards-row .countdown-container {
    grid-column: 1;
}

.event-cards-row .event-detail {
    grid-column: 1;
}

.event-cards-row .event-program {
    grid-column: 2;
    grid-row: 1 / span 4;
}

.event-info .countdown-container {
    margin-bottom: 32px;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.event-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
    transition: var(--transition-normal);
}

.event-detail:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 128, 8, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.detail-content h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.detail-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-sub {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.event-program {
    padding: 24px;
}

.event-program h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.program-list li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.program-list li:last-child {
    border-bottom: none;
}

.program-time {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 60px;
}

.program-item {
    color: var(--color-gray-300);
}

/* Event Visual */
.event-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-container {
    flex: 1;
    min-height: 300px;
    overflow: hidden;
    padding: 8px;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    text-align: center;
    padding: 32px;
}

.map-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--color-primary);
    margin-bottom: 16px;
}

.map-placeholder h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: var(--color-gray-400);
    margin-bottom: 20px;
}

.map-placeholder .btn {
    padding: 12px 24px;
}

.countdown-container {
    padding: 24px;
    text-align: center;
}

.countdown-container h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

/* ===== RSVP Section ===== */
.rsvp {
    padding-bottom: 160px;
}

.rsvp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.rsvp-text {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    margin-bottom: 32px;
}

.rsvp-form-container {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.rsvp-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

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

.required {
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-600);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 128, 8, 0.05);
}

.input-glow {
    display: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-wrapper svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--color-gray-500);
    pointer-events: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    margin-top: 8px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-text {
    transition: var(--transition-normal);
}

.btn-submit .btn-loader {
    position: absolute;
    display: none;
}

.btn-submit .btn-loader svg {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    display: block;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 128, 8, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease forwards;
}

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

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-primary);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-gray-400);
}

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-svg {
    width: 36px;
    height: 36px;
    fill: var(--color-white);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.footer-address svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary);
    flex-shrink: 0;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--color-gray-400);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray-500);
    padding: 6px 0;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gray-400);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.social-links a:hover svg {
    fill: var(--color-black);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

.footer-bottom .heart {
    color: var(--color-primary);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 400px;
        order: -1;
    }
    
    .network-container {
        max-width: 350px;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-grid,
    .event-grid,
    .rsvp-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .event-cards-row {
        grid-template-columns: 1fr;
    }
    
    .event-cards-row .countdown-container,
    .event-cards-row .event-detail,
    .event-cards-row .event-program {
        grid-column: 1;
        grid-row: auto;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-container {
        gap: 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-item {
        min-width: calc(50% - 8px);
    }
    
    .event-details {
        grid-template-columns: 1fr;
    }
    
    .event-detail {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .network-container {
        max-width: 280px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 20px !important;
    }
    
    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .number-25 {
        font-size: 4rem;
    }
    
    .title-years {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .rsvp-form-container {
        padding: 24px;
    }
}

/* ===== Animations on Scroll ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-black);
}

/* ===== New Interactive Elements ===== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--color-primary);
}

/* Particles Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 3D Tilt Effect Support */
.glass-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ===== Redesigned Hero ===== */

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.title-accent {
    color: var(--color-primary);
    font-size: 1.2em;
    display: block;
    margin: 10px 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-25-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.massive-25 {
    font-size: clamp(15rem, 30vw, 25rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.1);
    position: absolute;
    z-index: 1;
    line-height: 1;
    opacity: 0.5;
    animation: pulseStroke 4s ease-in-out infinite;
}

@keyframes pulseStroke {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.network-overlay {
    position: absolute;
    width: 120%;
    height: 120%;
    z-index: 2;
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* Adjust layout for mobile */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .visual-25-container {
        height: 300px;
        margin-top: -50px;
        z-index: -1;
    }
    
    .massive-25 {
        font-size: 15rem;
    }
}

/* ===== Glowing Logo with Connecting Dots ===== */

.glowing-logo-wrapper {
    position: relative;
    width: 550px;
    max-width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Desktop: center in right column */
@media (min-width: 969px) {
    .hero .hero-visual {
        display: grid !important;
        place-items: center !important;
        width: 100%;
        height: 100%;
        min-height: 500px;
    }
    
    .hero .hero-visual .glowing-logo-wrapper {
        width: 850px;
        max-width: 100%;
    }
}

/* Canvas for animated dots */
#hero-dots-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Glow backdrop effect behind the logo */
.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 128, 8, 0.3) 0%,
        rgba(255, 128, 8, 0.1) 40%,
        transparent 70%
    );
    filter: blur(40px);
    z-index: 0;
    animation: backdropPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backdropPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Mobile adjustments for Glowing Logo */
@media (max-width: 768px) {
    .glowing-logo-wrapper {
        max-width: 350px;
    }
}
