/* ==========================================
   GYMDOOH - Landing Page Styles
   Dark, Modern, Professional Design
   Brand tokens synced from Lovable landing design.
   ========================================== */

/* Brand fonts (Lovable) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* Shared landing-style chrome (nav + footer) */
@import url('../components/landing-shell.css');

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

:root {
    /* -----------------------------------------------------------------
       Lovable design tokens (source of truth)
       ----------------------------------------------------------------- */
    --bg:           #0A0A0F;
    --bg-2:         #11111A;
    --ink:          #F4F5F7;
    --ink-2:        #9AA0AA;
    --ink-3:        #5A5F6A;
    --line:         rgba(255, 255, 255, 0.08);
    --line-2:       rgba(255, 255, 255, 0.14);
    --accent:       #22C7E0;   /* Lovable cyan */
    --accent-2:     #4DF0FF;
    --accent-dim:   #005566;

    --font-display: "Bebas Neue", Impact, sans-serif;
    --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, monospace;

    /* -----------------------------------------------------------------
       Portal aliases - mapped onto Lovable tokens so every existing
       var(--primary-color), var(--text-primary), ... picks up the new
       look without touching the portal HTML/CSS files.
       ----------------------------------------------------------------- */
    --primary-color:     var(--accent);
    --primary-hover:     var(--accent-2);
    --secondary-color:   var(--accent-2);
    --accent-color:      var(--accent-dim);

    --dark-bg:           var(--bg);
    --dark-bg-secondary: var(--bg-2);
    --dark-bg-tertiary:  #161622;
    --background-color:  var(--bg);
    --card-background:   var(--bg-2);

    --text-primary:      var(--ink);
    --text-color:        var(--ink);
    --text-secondary:    var(--ink-2);
    --text-muted:        var(--ink-3);

    --border-color:      var(--line);
    --hover-color:       rgba(34, 199, 224, 0.10);

    /* Status Colors */
    --success-color: #28a745;
    --danger-color:  #dc3545;
    --warning-color: #ffc107;
    --info-color:    #17a2b8;

    /* Typography - Consistent Hierarchy */
    --font-family: var(--font-body);

    /* Font Sizes */
    --font-size-h1: 3rem;        /* 48px */
    --font-size-h2: 2.25rem;     /* 36px */
    --font-size-h3: 1.5rem;      /* 24px */
    --font-size-body: 1rem;      /* 16px */
    --font-size-small: 0.875rem; /* 14px */

    /* Font Weights */
    --font-weight-regular:  400;
    --font-weight-semibold: 600;
    --font-weight-bold:     700;

    /* Line Heights */
    --line-height-heading: 1.2;
    --line-height-body:    1.55;

    /* Spacing */
    --section-padding:   100px 0;
    --container-padding: 0 50px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* Global Typography Reset */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-style: normal;
    line-height: var(--line-height-heading);
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
}

p, span, a, li {
    font-style: normal;
}

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

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

/* Scrolled state - darker background */
.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

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

.logo-text {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 2px;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 2px;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover {
    color: #FFFFFF;
}

.nav-menu .cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.nav-menu .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 199, 224, 0.3);
}

.nav-menu .cta-button-register {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.nav-menu .cta-button-register:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 199, 224, 0.3);
}

/* Demo Link - Highlighted */
.nav-menu .demo-link {
    position: relative;
    color: var(--accent-color);
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.nav-menu .demo-link::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.nav-menu .demo-link:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* API Docs Link - Always visible */
.nav-api-docs {
    display: flex !important;
}

.nav-menu .api-docs-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.nav-menu .api-docs-link .api-icon {
    font-size: 1rem;
}

.nav-menu .api-docs-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================
   User Menu (Logged In State)
   ========================================== */
.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.user-menu-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.user-avatar {
    font-size: 1.125rem;
}

.user-name {
    color: var(--text-primary);
}

.dropdown-arrow {
    font-size: 0.625rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.user-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--dark-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.user-dropdown a:first-child {
    border-radius: 10px 10px 0 0;
}

.user-dropdown .logout-link {
    color: var(--primary-color);
    border-radius: 0 0 10px 10px;
}

.user-dropdown .logout-link:hover {
    background: rgba(34, 199, 224, 0.1);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(31, 31, 31, 0.75)),
        url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2940&auto=format&fit=crop') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.6) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 8px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(34, 199, 224, 0.3);
}

.hero-subtitle {
    font-size: 2.625rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-tagline {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-description {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* ==========================================
   Buttons
   ========================================== */
.button {
    display: inline-block;
    padding: 15px 40px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(34, 199, 224, 0.3);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 199, 224, 0.5);
}

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

.button-secondary:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.button-large {
    padding: 18px 50px;
    font-size: 1.125rem;
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-brands {
    background: var(--dark-bg-secondary);
}

.section-operators {
    background: var(--dark-bg);
}

.section-locations {
    background: var(--dark-bg-secondary);
}

.section-cta {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-bg));
    text-align: center;
    padding: 120px 0;
}

.section-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.section-text.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Feature Cards
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--dark-bg-tertiary);
    padding: 40px;
    border-radius: 15px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(34, 199, 224, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
}

/* ==========================================
   Locations
   ========================================== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    background: linear-gradient(135deg, var(--dark-bg-tertiary), var(--dark-bg));
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.location-card h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
    margin-bottom: 20px;
}

.location-card p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    margin-bottom: 30px;
    color: var(--text-primary);
}

.cta-text {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 40px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-logo-image {
    height: 32px;
    width: auto;
}

.footer-brand h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    letter-spacing: 2px;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--font-size-body);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: var(--font-size-small);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--font-size-small);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --container-padding: 0 25px;
        --section-padding: 60px 0;
    }

    .nav-container {
        padding: 0 25px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1.625rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .button {
        padding: 12px 30px;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-text {
        font-size: 1.125rem;
    }

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

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .logo h1,
    .logo-text {
        font-size: 1.375rem;
    }

    .logo-image {
        height: 32px;
    }

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

    .hero-subtitle {
        font-size: 1.375rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 30px;
    }

    .location-card {
        padding: 30px;
    }
}

/* ==========================================
   Animations & Effects
   ========================================== */
/* `@keyframes float` and the three .feature-icon rules that rode on it are gone. They put
   a permanent 20px bob on the icons in the login and register info box — an infinite
   animation with nothing to communicate, on the first screen anyone sees. Emphasis by
   movement should say something is happening; nothing was. */

/* Scroll reveal effect */
.section {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================
   NEW Hero Section - Console Mockup
   ========================================== */
.hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2940&auto=format&fit=crop') center/cover;
    background-attachment: fixed;
}

.hero-new .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 40%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.hero-new .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 30px;
}

.hero-headline {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    letter-spacing: 4px;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: var(--line-height-heading);
}

.hero-subheadline {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.hero-description-short {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
}

/* Console Mockup Styles */
.console-mockup {
    margin: 0 auto;
    max-width: 900px;
    perspective: 1000px;
}

.console-frame {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 15px 15px 25px 15px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateX(2deg);
    transition: transform 0.3s ease;
}

.console-frame:hover {
    transform: rotateX(0deg) scale(1.02);
}

.console-screen {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 12px;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    border: 3px solid #111;
}

.console-brand {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}

/* Campaign Animation inside Console */
.campaign-animation {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.running-track {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.screen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-line {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%
    );
    border-radius: 2px;
    animation: trackMove 1.5s linear infinite;
}

.track-line:nth-child(2) {
    animation-delay: -0.5s;
}

.track-line:nth-child(3) {
    animation-delay: -1s;
}

@keyframes trackMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.workout-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(30, 30, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scoped to the mockup: .stat-value and .stat-label are also portal class names
   (portal-common.css, portal.css). Unscoped, this hero styling leaked onto all 55
   pages that load styles.css and was only ever beaten by link order. */
.workout-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.workout-stats .stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-mono);
}

.workout-stats .stat-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* L-Banner Ad */
.l-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.l-banner-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, 
        rgba(255, 140, 0, 0.95), 
        rgba(34, 199, 224, 0.95)
    );
    padding: 12px 20px;
    animation: bannerPulse 3s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.banner-product {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.banner-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.banner-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero CTA in new hero */
.hero-new .hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* ==========================================
   Responsive for New Hero
   ========================================== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.625rem;
        letter-spacing: 2px;
    }
    
    .hero-subheadline {
        font-size: 1.125rem;
    }
    
    .console-mockup {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .console-frame {
        padding: 10px 10px 20px 10px;
    }
    
    .workout-stats .stat-value {
        font-size: 1rem;
    }

    .workout-stats .stat-label {
        font-size: 0.5rem;
    }

    .banner-brand {
        font-size: 0.75rem;
    }
    
    .banner-tagline {
        font-size: 0.625rem;
    }
    
    .banner-product {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subheadline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .workout-stats {
        padding: 10px 5px;
    }
    
    .workout-stats .stat-value {
        font-size: 0.875rem;
    }

    .l-banner-bottom {
        padding: 8px 12px;
        gap: 10px;
    }
}

/* ==========================================
   World Map Section
   ========================================== */
.section-locations {
    background: var(--dark-bg-secondary);
    padding: 100px 0;
}

.world-map {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    margin: 40px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Leaflet Marker */
.custom-marker {
    background: transparent;
}

.marker-pulse {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(91, 203, 207, 0.6);
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(91, 203, 207, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(91, 203, 207, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(91, 203, 207, 0);
    }
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: var(--dark-bg-tertiary);
    color: var(--text-primary);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-tip {
    background: var(--dark-bg-tertiary);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-family: var(--font-family);
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    background: var(--dark-bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.location-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.location-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.location-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .world-map {
        height: 300px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        padding: 30px;
    }
    
    .location-card h3 {
        font-size: 1.5rem;
    }
}
