/* ===================================
   Apple-Inspired Design System
   Toronto Hub - Coming Soon
   =================================== */

/* ===================================
   CSS Variables & Design Tokens
   =================================== */
:root {
    /* Brand Colors */
    --color-toronto: #1E3A8A;  /* Deep Blue for TORONTO */
    --color-hub: #F59E0B;      /* Amber Gold for HUB */
    
    /* Apple Color Palette */
    --color-bg: #000000;
    --color-bg-secondary: #161617;
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #86868b;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-logo: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing - Apple's rhythm */
    --spacing-unit: 8px;
    
    /* Transitions - Apple's timing */
    --ease-smooth: cubic-bezier(0.28, 0.11, 0.32, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --transition-standard: 0.6s var(--ease-smooth);
    --transition-slow: 1s var(--ease-smooth);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-system);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

::selection {
    background: var(--color-hub);
    color: var(--color-bg);
}

/* ===================================
   Language Switcher
   =================================== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    border-radius: 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-system);
    letter-spacing: -0.01em;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    color: var(--color-text-primary);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-primary);
}

/* ===================================
   Navigation - Apple Style
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.logo-toronto {
    color: var(--color-toronto);
    font-family: var(--font-logo);
    font-weight: 700;
}

.logo-hub {
    color: var(--color-hub);
    font-family: var(--font-logo);
    font-weight: 700;
}

/* ===================================
   Hero Section - Apple Inspired
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 22px 60px;
    max-width: 980px;
    margin: 0 auto;
}

/* Logo Large */
.logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-toronto-large {
    font-family: var(--font-logo);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    color: #FFFFFF;  /* White for hero on black background */
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.logo-hub-large {
    font-family: var(--font-logo);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    color: #F59E0B;  /* Amber Gold for hero */
    letter-spacing: -0.02em;
    line-height: 0.9;
}

/* Typography Hierarchy */
.headline-container {
    margin-bottom: 20px;
}

.subheadline-container {
    margin-bottom: 16px;
}

.subheadline {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-text-primary);
}

.tagline-container {
    margin-bottom: 24px;
}

.tagline {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dot {
    color: var(--color-hub);
    font-size: 0.8em;
}

.description-container {
    margin-bottom: 32px;
}

.description {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.47059;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: -0.022em;
    max-width: 700px;
    margin: 0 auto;
}

/* Coming Soon Badge */
.badge-container {
    margin-bottom: 32px;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #1E3A8A, #F59E0B);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

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

/* CTA Button - Apple Style */
.cta-container {
    margin-bottom: 60px;
}

.cta-button {
    background: var(--color-hub);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-system);
    letter-spacing: -0.022em;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.cta-button:active {
    transform: scale(0.98);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

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

/* Background Animation */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

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

/* ===================================
   Fade In Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }
.fade-in.delay-5 { animation-delay: 1s; }
.fade-in.delay-6 { animation-delay: 1.2s; }

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

/* ===================================
   Teaser Section
   =================================== */
.teaser-section {
    background: var(--color-bg-secondary);
    padding: 100px 22px;
    position: relative;
}

.teaser-content {
    max-width: 1200px;
    margin: 0 auto;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.teaser-item {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--ease-smooth);
}

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

.teaser-item.delay-1.visible {
    transition-delay: 0.2s;
}

.teaser-item.delay-2.visible {
    transition-delay: 0.4s;
}

.teaser-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-hub);
}

.teaser-item h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.teaser-item p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--color-text-secondary);
    letter-spacing: -0.022em;
}

/* Scroll Animation */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--ease-smooth);
}

/* ===================================
   Modal - Notification Form
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s var(--ease-smooth);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s var(--ease-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--color-text-primary);
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.modal-content > p {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.47059;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notify-form input {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 17px;
    color: var(--color-text-primary);
    font-family: var(--font-system);
    transition: all 0.3s var(--ease-smooth);
}

.notify-form input:focus {
    outline: none;
    border-color: var(--color-hub);
    background: rgba(255, 255, 255, 0.08);
}

.notify-form input::placeholder {
    color: var(--color-text-secondary);
}

.notify-form button {
    padding: 16px 32px;
    background: var(--color-hub);
    color: var(--color-bg);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-system);
}

.notify-form button:hover {
    transform: scale(1.02);
}

.privacy-note {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 16px;
}

/* ===================================
   Responsive Design - Mobile First
   =================================== */

@media (max-width: 768px) {
    .language-switcher {
        top: 60px;
        right: 16px;
    }

    .hero-content {
        padding: 100px 16px 40px;
    }

    .logo-toronto-large,
    .logo-hub-large {
        font-size: clamp(40px, 12vw, 80px);
    }

    .subheadline {
        font-size: clamp(20px, 5vw, 32px);
    }

    .tagline {
        font-size: clamp(16px, 3vw, 21px);
        flex-direction: column;
        gap: 8px;
    }

    .description {
        font-size: 17px;
    }

    .teaser-section {
        padding: 60px 16px;
    }

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

    .modal-content {
        padding: 32px 24px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .gradient-orb {
        filter: blur(80px);
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 16px;
    }

    .logo {
        font-size: 15px;
    }

    .cta-button {
        width: 100%;
    }
}

/* ===================================
   Dark Mode Optimization
   =================================== */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--color-bg);
    }
}

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