/* HAXD 2025 - Completely New Design - Human-AI Interaction Theme */

/* ============================================
   CSS CUSTOM PROPERTIES (Variables)
   ============================================ */
:root {
    /* Colors - Human-AI Interaction Theme */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    
    /* Backgrounds */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-elevated: #f1f5f9;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --text-white: #ffffff;
    
    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.5s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--text-base);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-8);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    max-width: 36rem;
    margin: 0 auto;
}

.lead {
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: var(--text-light);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: var(--space-3) 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar-brand:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    margin: 0 var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    text-decoration: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--text-white);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 5rem;
    padding-bottom: var(--space-20);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.page-header {
    padding: 8rem 0 var(--space-16);
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

/* ============================================
   CARDS & CONTENT
   ============================================ */
.card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--space-4);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
    font-family: var(--font-heading);
    color: var(--text);
}

.card-text {
    color: var(--text-light);
    font-size: var(--text-base);
    line-height: 1.6;
}

.content-card {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    margin: var(--space-8) 0;
    border: 1px solid var(--border-light);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: var(--text-base);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--text);
}

.timeline-desc {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* ============================================
   VENUE SECTION
   ============================================ */
.venue-image-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.venue-image-main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.venue-image-main img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    transition: var(--transition-slow);
}

.venue-image-main:hover img {
    transform: scale(1.05);
}

.venue-image-secondary {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.venue-image-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.venue-image-secondary img {
    width: 100%;
    height: 11rem;
    object-fit: cover;
    transition: var(--transition-slow);
}

.venue-image-secondary:hover img {
    transform: scale(1.05);
}

.venue-features {
    padding: var(--space-6);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    transform: translateX(8px);
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary);
}

.feature-icon {
    font-size: var(--text-2xl);
    margin-right: var(--space-4);
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: var(--text-white);
}

.feature-text h5 {
    color: var(--text);
    margin-bottom: var(--space-1);
    font-weight: 600;
    font-size: var(--text-base);
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ============================================
   KEYNOTES & SPONSORS
   ============================================ */
.keynote-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
}

.keynote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.keynote-image {
    margin-bottom: var(--space-6);
}

.speaker-placeholder {
    width: 100%;
    height: 12rem;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-5xl);
    color: var(--primary);
}

.keynote-name {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.keynote-title {
    font-size: var(--text-base);
    color: var(--primary);
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.keynote-bio {
    color: var(--text-light);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.keynote-talk h5 {
    color: var(--text);
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
}

.keynote-talk p {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.keynote-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Sponsor Cards */
.sponsor-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sponsor-logo {
    margin-bottom: var(--space-4);
}

.logo-placeholder {
    width: 100%;
    height: 8rem;
    background: var(--gradient-hero);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--primary);
    gap: var(--space-2);
}

.logo-placeholder.small {
    height: 6rem;
    font-size: var(--text-xl);
}

.tier-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-8);
    position: relative;
}

.tier-title.platinum { color: #9333ea; }
.tier-title.gold { color: #f59e0b; }
.tier-title.silver { color: #6b7280; }
.tier-title.academic { color: var(--primary); }

.sponsor-tier {
    margin-bottom: var(--space-16);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text);
    color: var(--text-white);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-20);
}

.footer-brand img {
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 0;
}

.footer-links h5 {
    color: var(--text-white);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: var(--space-2);
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-6);
    margin-top: var(--space-8);
    text-align: center;
    color: #9ca3af;
}

/* ============================================
   UTILITIES
   ============================================ */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

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

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .venue-image-main img {
        height: 16rem;
    }
    
    .venue-image-secondary img {
        height: 8rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: var(--space-3);
    }
    
    .keynote-links {
        justify-content: center;
    }
    
    .speaker-placeholder {
        height: 8rem;
        font-size: var(--text-3xl);
    }
    
    .logo-placeholder {
        height: 6rem;
    }
    
    .logo-placeholder.small {
        height: 4rem;
        font-size: var(--text-base);
    }
    
    .card, .content-card {
        padding: var(--space-6);
    }
    
    .hero {
        padding-top: 4rem;
        padding-bottom: var(--space-12);
    }
    
    .page-header {
        padding: 6rem 0 var(--space-12);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .keynote-links {
        flex-direction: column;
    }
}

