/* =========================================================================
   Metrotown Design System
   ========================================================================= */

:root {
    /* Color Palette */
    --clr-bg: #0F172A;
    /* Deep Slate / Midnight Blue */
    --clr-action: #FACC15;
    /* Signal Yellow */
    --clr-accent: #10B981;
    /* Mint Green */
    --clr-text: #F8FAFC;
    /* Off-White / Ice */
    --clr-text-muted: #94A3B8;
    /* Slate / Gray for secondary text */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
    /* Global Background Pattern */
    --grid-pattern: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 40V0h40v40H0z" fill="none"/><path d="M39 40V0M40 39H0" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') var(--clr-bg);
}

.cta-group .btn {
    min-width: 160px;
}

/* =========================================================================
   Layout Dividers
   ========================================================================= */

.section-divider-grid {
    width: 100%;
    height: 80px;
    background: transparent;
    position: relative;
    z-index: 5;
}

/* =========================================================================
   Section: Simulation Layers (Sticky Scroll)
   ========================================================================= */

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--grid-pattern);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
}

a {
    text-decoration: none;
    color: var(--clr-text);
    transition: color 0.3s ease;
}

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* =========================================================================
   Navigation Header
   ========================================================================= */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.site-nav.scrolled .nav-logo {
    opacity: 1;
    pointer-events: auto;
}

.nav-logo img {
    height: 32px;
    width: auto;
    opacity: 0.6;
    /* standard visual weight */
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 1 !important;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-action);
    transition: width 0.3s ease;
}

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

/* =========================================================================
   Typography Utilities
   ========================================================================= */

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
    color: var(--clr-text);
}

h3 {
    font-size: 1.5rem;
    color: var(--clr-text);
}

.sub-headline {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--clr-text);
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-action);
    color: #000;
    /* High contrast against yellow */
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
    background-color: #EAB308;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(248, 250, 252, 0.2);
    color: var(--clr-text);
}

.btn-secondary:hover {
    border-color: var(--clr-text);
    background-color: rgba(248, 250, 252, 0.05);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.cta-group .btn.btn-x,
.cta-actions .btn.btn-x {
    min-width: 90px;
    width: 90px;
    padding-left: 0;
    padding-right: 0;
}

.x-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
}

/* =========================================================================
   Section 1: Macro Hero
   ========================================================================= */

.macro-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

/* Blur the bottom of the hero image */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 100%);
}

/* Darken the hero image */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1;
}

.hero-image {
    background: rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-logo {
    max-width: 750px;
    width: 90%;
    margin: 0 auto 1.5rem auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-sub {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-steam {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    opacity: 0.5;
}

.hero-steam p {
    color: #8795a3;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-steam .steam-logo {
    filter: invert(73%) sepia(2%) saturate(2419%) hue-rotate(170deg) brightness(80%) contrast(88%);
    height: 48px;
    width: auto;
    object-fit: contain;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* =========================================================================
   Section 2: Sticky Scroll Simulation Layers
   ========================================================================= */

.simulation-layers {
    position: relative;
    background-color: transparent;
}

/* Desktop Structure */
.scroll-container {
    display: flex;
    position: relative;
}

/* Left side parsing space */
.scrolling-text {
    width: 40%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    flex-shrink: 0;
}

.scroll-layer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-layer-content {
    max-width: 500px;
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--clr-accent);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.scroll-layer-content h2 {
    color: var(--clr-accent);
    margin-bottom: 1rem;
}

.scroll-layer-content p {
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* Right side wrapper */
.sticky-visuals {
    width: 80%;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1;
    margin-left: -20%;
    flex-shrink: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
    mask-image: linear-gradient(to right, transparent, black 30%);
}

.sticky-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sticky-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.sticky-img.active {
    opacity: 1;
}

/* Mobile Fallback - hidden by default */
.mobile-stack {
    display: none;
}

/* =========================================================================
   Section 3: Core Features Grid
   ========================================================================= */

.core-features {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
}

/* Top border to simulate grid/blueprint line */
.core-features::before {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(250, 204, 21, 0.3), transparent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 0;
}

.section-header h2 {
    color: var(--clr-action);
}

.features-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(11, 17, 32, 0.95);
    border: 1px solid rgba(248, 250, 252, 0.05);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    background: rgba(11, 17, 32, 0.95);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--clr-accent);
}

/* Feature icon image sizing */
.icon-noise,
.icon-mobility,
.icon-space {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Noise and Pollution - Green (#10B981 / --clr-accent) */
.feature-card:has(.icon-noise) .feature-icon {
    background: rgba(16, 185, 129, 0.1);
}

.icon-noise {
    filter: invert(62%) sepia(52%) saturate(561%) hue-rotate(109deg) brightness(95%) contrast(92%);
}

/* Reduced Mobility - Red (#EF4444) */
.feature-card:has(.icon-mobility) .feature-icon {
    background: rgba(239, 68, 68, 0.1);
}

.icon-mobility {
    filter: invert(36%) sepia(93%) saturate(2467%) hue-rotate(340deg) brightness(97%) contrast(92%);
}

/* Wasted Space - Blue (#3B82F6) */
.feature-card:has(.icon-space) .feature-icon {
    background: rgba(59, 130, 246, 0.17);
}

.icon-space {
    filter: invert(42%) sepia(98%) saturate(2000%) hue-rotate(193deg) brightness(75%) contrast(94%);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* =========================================================================
   Section 4: Alpha CTA
   ========================================================================= */

.alpha-cta {
    padding: 120px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.cta-container {
    max-width: 625px;
    width: 100%;
    margin: 0 auto;
}

.alpha-cta h2 {
    color: var(--clr-action);
    text-align: center;
    margin: 0 auto 1.5rem auto;
    display: block;
}

.alpha-cta p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   Section: City Growth
   ========================================================================= */

.city-growth.collage-mode {
    padding: 120px 0;
    min-height: 90vh;
    background-color: transparent;
    position: relative;
    /* Separator */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.section-header-growth {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0;
}

.section-header-growth h2 {
    color: var(--clr-action);
}

.growth-subtitle {
    color: var(--clr-text);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
    font-size: 1.125rem;
}

.growth-collage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.collage-slice {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-right: 6px solid rgba(255, 255, 255, 0.05);
}

.collage-slice:last-child {
    border-right: none;
}

.collage-slice img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

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

/* =========================================================================
   Section: Explore
   ========================================================================= */

.explore-section {
    position: relative;
    padding: calc(10rem + 50px) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.explore-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black calc(100% - 15vh), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black calc(100% - 15vh), transparent 100%);
}

.explore-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.6) 40%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.6) 40%, black 100%);
}

.explore-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: calc(10% + 100px);
    text-align: left;
}

.explore-header {
    color: var(--clr-action);
}

.explore-subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: var(--clr-text);
}

.explore-modes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mode-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, background 0.3s;
}

.mode-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mode-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    color: var(--clr-accent);
    flex-shrink: 0;
}

.explore-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: invert(62%) sepia(52%) saturate(561%) hue-rotate(109deg) brightness(95%) contrast(92%);
}

.mode-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

/* =========================================================================
   Section: Gallery
   ========================================================================= */

.gallery-section {
    padding: 90px 0;
    padding-bottom: 122px;
    background-color: transparent;
}

.gallery-carousel {
    max-width: 1380px;
    margin: 0 auto 3rem auto;
    position: relative;
    border-radius: 8px;
    aspect-ratio: 16/9;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/* Carousel UI Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    color: var(--clr-text);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px;
}

.carousel-control:hover {
    background: rgba(15, 23, 42, 0.9);
    color: var(--clr-action);
}

.carousel-control.prev {
    left: -4rem;
}

.carousel-control.next {
    right: -4rem;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--clr-action);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Modal Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    display: block;
    max-width: 96vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--clr-text);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--clr-action);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9)
    }

    to {
        transform: scale(1)
    }
}

/* =========================================================================
   Footer
   ========================================================================= */

footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* =========================================================================
   Email Signup Form
   ========================================================================= */

.email-signup {
    margin-top: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid rgba(248, 250, 252, 0.2);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--clr-text);
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.email-input:focus {
    border-color: var(--clr-action);
    background: rgba(15, 23, 42, 0.9);
}

.email-input::placeholder {
    color: var(--clr-text-muted);
}

.email-msg {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    min-height: 20px;
    text-align: center;
    padding-left: 0.5rem;
    transition: color 0.3s;
    color: var(--clr-text-muted);
}

.email-msg.error {
    color: #EF4444;
    /* Red for error */
}

.email-msg.success {
    color: #10B981;
    /* Mint green for success */
}

/* =========================================================================
   Responsive Adjustments
   ========================================================================= */

@media (max-width: 992px) {

    /* Clip fixed-position images to within the simulation section */
    .simulation-layers {
        clip-path: inset(0);
    }

    /* Mobile: Use sticky scroll crossfade like desktop */
    .scrolling-text,
    .sticky-visuals {
        display: none;
    }

    .mobile-stack {
        display: block;
        position: relative;
    }

    .mobile-layer {
        position: relative;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Top fade gradient on each mobile layer for smooth transitions */
    .mobile-layer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 10vh;
        background: linear-gradient(to bottom, var(--clr-bg) 0%, transparent 100%);
        z-index: 2;
        pointer-events: none;
        opacity: var(--prev-layer-fade, 1);
    }

    .mobile-img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        z-index: 0;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        pointer-events: none;
    }

    .mobile-img.active {
        opacity: 1;
    }

    /* Overlay gradient for text readability */
    .mobile-layer::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, var(--clr-bg) 5%, rgba(15, 23, 42, 0.7) 50%, transparent);
        z-index: 1;
        pointer-events: none;
        opacity: var(--layer-fade, 1);
    }

    .mobile-text {
        position: relative;
        z-index: 2;
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .mobile-text h2 {
        color: var(--clr-accent);
        font-size: 2rem;
    }

    .mobile-text p {
        color: var(--clr-text);
        font-size: 1.125rem;
    }

    /* Mobile: Growth section vertical layout */
    .growth-collage-bg {
        flex-direction: column;
    }

    .collage-slice {
        border-right: none;
        border-bottom: 4px solid rgba(255, 255, 255, 0.05);
    }

    .collage-slice:last-child {
        border-bottom: none;
    }


    /* Mobile: Reduce explore section left padding */
    .explore-content {
        margin-left: 1.5rem;
    }

    /* Mobile: Add CTA text padding */
    .alpha-cta p {
        padding: 0 1.5rem;
    }
}



@media (max-width: 768px) {

    .nav-container {
        padding: 0;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .cta-group .btn {
        max-width: none;
    }

    .cta-actions,
    .cta-sub {
        flex-direction: row;
        width: 100%;
        max-width: 340px;
        flex-wrap: nowrap;
        align-items: stretch;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }

    .cta-actions .btn,
    .cta-sub .btn {
        width: auto;
        flex: 1;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.95rem;
        /* slightly smaller font to fit Discord button */
    }

    .cta-actions .btn.btn-x,
    .cta-sub .btn.btn-x {
        flex: 0 0 90px;
        min-width: 90px;
    }

    .email-input-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .email-input {
        width: 100%;
    }

    .email-msg {
        text-align: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .carousel-control {
        display: none;
    }

    .explore-modes {
        gap: 0.75rem;
    }

    .mode-card {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }

    .mode-icon {
        width: 36px;
        height: 36px;
    }

    .explore-icon-img {
        width: 20px;
        height: 20px;
    }

    .mode-card h3 {
        font-size: 0.85rem;
    }
}