/* ===================================
   AlphaSix - Bold, Craft Hosting Design
   v2.9.0 - Mobile Vertical Alignment Fix
   =================================== */

:root {
    /* === Core Surfaces === */
    --color-black: #000000;
    --color-charcoal: #1a1a1a;
    --color-dark-gray: #2a2a2a;
    --color-mid-gray: #3a3a3a;
    --color-off-white: #f2f2f2;

    /* === Text === */
    --color-text-primary: #f2f2f2;
    --color-text-secondary: #cfcfcf;
    --color-text-muted: #a6a6a6;
    --color-text-on-light-primary: #1a1a1a;
    --color-text-muted-light: #666666;

    /* === Brand Blue System === */
    --color-blue-accent: #0066ff;
    --color-blue-text: #2f80ff;

    /* === Links === */
    --color-link: var(--color-blue-text);
    --color-link-hover: #5a9bff;
    --color-link-active: #1e6de8;

    /* === UI Feedback / States === */
    --color-focus-ring: var(--color-blue-accent);
    --color-success: #27c07d;
    --color-warning: #f5a623;
    --color-error: #e5533d;

    /* === Borders === */
    --color-border-subtle: #2f2f2f;
    --color-border-strong: #3f3f3f;

    /* === Footer === */
    --color-footer-text: #d1d1d1;

    /* === Type === */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

    /* === Motion === */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
}


/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-on-light-primary);
    background: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: auto;
}

/* Custom cursor */
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor * { cursor: none !important; }

/* === ACCESSIBILITY === */
:focus-visible { outline: 2px solid var(--color-blue-accent); outline-offset: 3px; }
a, button { border-radius: 6px; }
.nav-link:focus-visible::after { width: 100%; }

/* === CUSTOM CURSOR === */
.cursor {
    width: 12px; height: 12px; background: var(--color-blue-accent);
    border-radius: 50%; position: fixed; left: 0; top: 0;
    pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
    mix-blend-mode: normal; transition: transform 0.15s var(--ease);
}
.cursor-follower {
    width: 40px; height: 40px; border: 1px solid var(--color-blue-accent);
    border-radius: 50%; position: fixed; left: 0; top: 0;
    pointer-events: none; z-index: 9998; opacity: 0.5;
    transition: transform 0.08s ease-out; will-change: transform; mix-blend-mode: normal;
}
body.cursor-hover .cursor { transform: translate(-50%, -50%) scale(2); }
@supports (mix-blend-mode: difference) { .cursor, .cursor-follower { mix-blend-mode: difference; } }
body.cursor-hover .cursor-follower { width: 60px; height: 60px; opacity: 0.8; }

/* === NAVIGATION === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 2rem 4rem;
    background: rgba(232, 232, 232, 0.92);
    transition: all 0.3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .nav { background: rgba(232, 232, 232, 0.8); backdrop-filter: blur(10px); }
}
.nav.scrolled {
    padding: 1.5rem 4rem 2rem;
    background: rgba(232, 232, 232, 0.95);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 74%, 0 95%);
}
.nav-container { max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-charcoal); text-decoration: none; }
.nav-logo svg { color: var(--color-blue-accent); }
.nav-links { display: flex; gap: 3rem; align-items: center; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--color-charcoal); text-decoration: none; position: relative; transition: color 0.3s var(--ease); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-blue-accent); transition: width 0.3s var(--ease); }
.nav-link:hover::after { width: 100%; }
a:where(:not(.nav-link):not(.btn-hero):not(.btn-cta-large):not(.plan-cta)) { color: var(--color-link); }
a:where(:not(.nav-link):not(.btn-hero):not(.btn-cta-large):not(.plan-cta)):visited { color: var(--color-link); }
a:where(:not(.nav-link):not(.btn-hero):not(.btn-cta-large):not(.plan-cta)):hover { color: var(--color-blue-accent); }
.nav-link-cta { padding: 0.625rem 1.5rem; background: var(--color-blue-accent); color: var(--color-text-primary); border-radius: 2px; }
.nav-link-cta::after { display: none; }
.nav-link-cta:hover { background: var(--color-blue-text); }

/* Mobile Nav Toggle */
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--color-charcoal); border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars { position: relative; width: 22px; height: 2px; background: currentColor; display: block; border-radius: 2px; transition: transform 0.25s var(--ease); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Mobile Overlay */
.nav-panel { position: fixed; inset: 0; z-index: 1200; background: rgba(15, 15, 15, 0.92); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
body.nav-open .nav-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-panel-inner { position: relative; height: 100%; max-width: 980px; margin: 0 auto; padding: 6.75rem 2.5rem 3rem; display: flex; flex-direction: column; gap: 0; color: var(--color-off-white); }
.nav-panel-logo { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-off-white); text-decoration: none; width: fit-content; }
.nav-panel-logo svg { color: var(--color-blue-accent); }
.nav-panel-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 56px; height: 56px; border: 1px solid rgba(232, 232, 232, 0.22); border-radius: 2px; background: transparent; color: var(--color-off-white); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; transition: border-color 0.25s var(--ease); }
.nav-panel-close::before, .nav-panel-close::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-panel-close::before { transform: rotate(45deg); }
.nav-panel-close::after { transform: rotate(-45deg); }
.nav-panel-links { margin-top: 3.25rem; display: flex; flex-direction: column; gap: 1.6rem; }
.nav-panel-link { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 7vw, 4.25rem); line-height: 1.05; text-decoration: none; color: var(--color-off-white); position: relative; width: fit-content; }
.nav-panel-link::after { content: ""; position: absolute; left: 0; bottom: -0.35rem; width: 0; height: 2px; background: var(--color-blue-accent); transition: width 0.35s var(--ease); }
.nav-panel-link:hover::after { width: 100%; }

/* === HERO SECTION (SCALING FIX v2.9.0) === */
.hero-bold {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
}

.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Dynamic Padding: Shrinks on short screens */
    padding: clamp(5rem, 15vh, 10rem) 4rem; 
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--ease);
    z-index: 0;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1; visibility: visible; z-index: 1; pointer-events: auto;
}

.hero-content {
    max-width: 1400px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-size: 0.875rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    color: var(--color-blue-accent); margin-bottom: 2rem; opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    /* Safe Floor: 3.5rem minimum */
    font-size: clamp(4rem, 8vw, 8.5rem); 
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
}

.hero-title-line { display: block; opacity: 0; animation: fadeUp 0.8s var(--ease) forwards; }
.hero-title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title-line:nth-child(2) { animation-delay: 0.5s; margin-left: clamp(0rem, 4vw, 4rem); }
.hero-title-line:nth-child(3) { animation-delay: 0.7s; }
.hero-title-line-accent { color: var(--color-blue-accent); }

.hero-description {
    max-width: 550px; margin-bottom: 3rem; opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}
.hero-description p { font-size: 1.125rem; line-height: 1.7; color: var(--color-text-muted-light); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero {
    display: inline-block; padding: 1.25rem 3rem; background: var(--color-blue-accent);
    color: var(--color-text-primary); font-weight: 600; font-size: 1rem; text-decoration: none;
    border-radius: 2px; transition: all 0.3s var(--ease); opacity: 0;
    animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.btn-hero:hover { background: var(--color-blue-text); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 102, 255, 0.25); }

.btn-hero-secondary {
    display: inline-block; padding: 1.25rem 3rem; background: transparent;
    color: var(--color-blue-text); font-weight: 600; font-size: 1rem; text-decoration: none;
    border-radius: 2px; border: 1px solid rgba(0, 82, 204, 0.35);
    transition: all 0.3s var(--ease); opacity: 0;
    animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.btn-hero-secondary:hover { border-color: rgba(0, 82, 204, 0.7); transform: translateY(-2px); }

.hero-visual {
    position: absolute; right: -200px; top: 50%; transform: translateY(-50%); z-index: 1;
    opacity: 0; animation: fadeIn 1.2s var(--ease) 0.5s forwards;
}
.hero-shape {
    width: 800px; height: 800px;
    background: linear-gradient(135deg, var(--color-blue-accent) 0%, transparent 70%);
    border-radius: 50%; opacity: 0.08; animation: rotate 60s linear infinite;
}

.scroll-indicator {
    position: absolute; bottom: 4rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    opacity: 0; animation: fadeIn 0.8s var(--ease) 1.5s forwards;
}
.scroll-line { width: 1px; height: 60px; background: var(--color-charcoal); opacity: 0.3; animation: scrollPulse 2s var(--ease) infinite; }
.scroll-indicator span { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-muted-light); }

/* Carousel Nav */
.hero-carousel-nav {
    position: absolute; bottom: 6rem; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 1rem;
}
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%; background: transparent;
    border: 2px solid var(--color-text-on-light-primary); cursor: pointer; padding: 0; transition: all 0.3s var(--ease); opacity: 0.4;
}
.carousel-dot:hover { opacity: 0.7; transform: scale(1.2); }
.carousel-dot.active { background: var(--color-blue-accent); border-color: var(--color-blue-accent); opacity: 1; }


/* === VERTICAL SCALING LOGIC (v2.9.0) === */
/* Specifically targets short screens (Laptops / Landscape Phones) */
@media (max-height: 850px) {
    .nav { padding: 1.25rem 3rem; }
    
    .hero-slide {
        /* gentler padding reduction */
        padding: 5rem 3rem 3rem; 
    }
    
    .hero-title {
        /* NEW: Minimum 3.5rem. Uses 6vh + 2vw to scale smoothly with BOTH width and height. */
        font-size: clamp(3.5rem, 6vh + 2vw, 6rem); 
        margin-bottom: 1.5rem;
    }
    
    .hero-description p { 
        font-size: 1.05rem; 
        max-width: 480px; /* Contains text better on short screens */
    }
}


/* === STATEMENT SECTION === */
.statement-section { padding: 12rem 4rem; background: var(--color-off-white); position: relative; }
.statement-section::before { content: ""; position: absolute; top: -15%; left: -5%; width: 600px; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--color-blue-accent) 50%, transparent 100%); opacity: 0.1; transform: rotate(-5deg); pointer-events: none; }
.statement-container { max-width: 1400px; margin: 0 auto; }
.statement-number { font-size: 1rem; font-weight: 600; letter-spacing: 2px; color: var(--color-blue-accent); margin-bottom: 3rem; }
.statement-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; color: var(--color-charcoal); max-width: 1100px; }

/* === VALUES SECTION === */
.values-section { padding: 8rem 4rem; background: var(--color-off-white); position: relative; }
.values-section::before { content: ""; position: absolute; top: 10%; right: -5%; width: 400px; height: 400px; background: linear-gradient(135deg, var(--color-blue-accent) 0%, transparent 70%); opacity: 0.03; transform: rotate(-15deg); pointer-events: none; }
.values-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }

/* Value Card Styles (Restored Animation) */
.value-card {
    background: var(--color-off-white); padding: 3rem 2.5rem;
    border: 1px solid rgba(0,0,0,0.08); transition: all 0.5s var(--ease);
    opacity: 0; transform: translateY(40px);
}
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.value-card:nth-child(1) { grid-column: 1 / 8; }
.value-card:nth-child(2) { grid-column: 8 / 13; }
.value-card:nth-child(3) { grid-column: 1 / 6; }
.value-card:nth-child(4) { grid-column: 6 / 13; }
.value-card-large { padding: 4rem 3rem; }
.value-card-accent { background: var(--color-blue-accent); color: var(--color-text-primary); border: none; }
.value-card-accent .value-title { color: var(--color-text-primary); }
.value-card-accent .value-text { color: rgba(255,255,255,0.9); }

.value-number { font-family: var(--font-display); font-size: 5rem; font-weight: 900; color: var(--color-blue-accent); line-height: 1; margin-bottom: 1.5rem; }
.value-icon-graphic { width: 60px; height: 60px; margin-bottom: 2rem; color: var(--color-blue-accent); }
.value-icon-graphic svg { display: block; width: 100%; height: 100%; }
.value-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--color-charcoal); margin-bottom: 1rem; }
.value-text { font-size: 1.05rem; line-height: 1.7; color: var(--color-text-muted-light); }

/* === PLANS SECTION === */
.plans-section { 
    padding: 12rem 4rem; 
    background: var(--color-off-white); 
    position: relative; 
}

/* Shape re-entry from left */
.plans-section::before {
    content: "";
    position: absolute;
    left: var(--shape-x, -400px);
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, var(--color-blue-accent) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.13;
    animation: rotate 60s linear infinite;
    pointer-events: none;
    z-index: 0;
    transition: left 0.05s linear;
}
.plans-section::after { content: ""; position: absolute; bottom: -10%; left: -10%; width: 500px; height: 500px; background: linear-gradient(45deg, var(--color-charcoal) 0%, transparent 70%); opacity: 0.02; transform: rotate(25deg); pointer-events: none; z-index: 0; }
.plans-header { max-width: 1400px; margin: 0 auto 6rem; }
.section-number { font-size: 1rem; font-weight: 600; letter-spacing: 2px; color: var(--color-blue-accent); margin-bottom: 2rem; }
.section-title-large { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: 1.1; color: var(--color-charcoal); }

.plans-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

/* Plan Item Styles (Restored Animation) */
.plan-item {
    background: var(--color-off-white); padding: 3.5rem 3rem;
    border: 2px solid transparent; transition: all 0.4s var(--ease);
    position: relative; opacity: 0; transform: translateY(40px);
}
.plan-item.visible { opacity: 1; transform: translateY(0); }
.plan-item:hover { border-color: var(--color-blue-accent); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

.plan-featured { background: var(--color-charcoal); border-color: var(--color-blue-accent); transform: scale(1.05); }
.plan-featured:hover { transform: scale(1.05) translateY(-8px); }
.plan-featured .plan-label, .plan-featured .plan-price, .plan-featured .plan-description, .plan-featured .plan-features { color: var(--color-text-primary); }
.plan-featured .plan-features li { color: rgba(255,255,255,0.8); }

.plan-badge { position: absolute; top: -12px; left: 3rem; padding: 0.5rem 1.25rem; background: var(--color-blue-accent); color: var(--color-text-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.plan-label { font-size: 0.875rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-muted-light); margin-bottom: 1.5rem; }
.plan-price { margin-bottom: 2rem; }
.plan-price-amount { font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--color-charcoal); }
.plan-featured .plan-price-amount { color: var(--color-text-primary); }
.plan-price-term { font-size: 1.25rem; font-weight: 400; color: var(--color-text-muted-light); }
.plan-description { font-size: 1.05rem; line-height: 1.6; color: var(--color-text-muted-light); margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(0,0,0,0.1); }
.plan-featured .plan-description { border-bottom-color: rgba(255,255,255,0.2); }
.plan-features { list-style: none; margin-bottom: 3rem; }
.plan-features li { padding: 0.75rem 0; color: var(--color-text-muted-light); position: relative; padding-left: 1.75rem; font-size: 0.95rem; }
.plan-features li::before { content: "→"; position: absolute; left: 0; color: var(--color-blue-accent); font-weight: 700; }
.plan-cta { display: inline-block; padding: 1rem 2rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--color-charcoal); border: 2px solid var(--color-charcoal); transition: all 0.3s var(--ease); }
.plan-cta:hover { background: var(--color-charcoal); color: var(--color-text-primary); }
.plan-cta-primary { background: var(--color-blue-accent); color: var(--color-text-primary); border-color: var(--color-blue-accent); }
.plan-cta-primary:hover { background: var(--color-blue-text); border-color: var(--color-blue-text); }

/* === TECH SECTION (Restored) === */
.tech-section {
    padding: 12rem 4rem 14rem; background: var(--color-charcoal); color: var(--color-text-primary);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4rem), 0 100%); margin-bottom: -4rem;
}
.tech-content { max-width: 1400px; margin: 0 auto 6rem; }
.section-title-medium { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; margin-bottom: 2rem; }
.tech-description { font-size: 1.25rem; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 800px; }
.tech-logos { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.tech-logo { color: rgba(255,255,255,0.4); transition: color 0.3s var(--ease); }
.tech-logo svg { display: block; }
.tech-logo:hover { color: rgba(255,255,255,0.8); }

/* === CTA SECTION (Restored) === */
.cta-section { padding: 16rem 4rem; background: var(--color-blue-accent); text-align: center; }
.cta-content { max-width: 1000px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; line-height: 1.1; color: var(--color-text-primary); margin-bottom: 4rem; }
.btn-cta-large { display: inline-block; padding: 1.5rem 4rem; background: var(--color-off-white); color: var(--color-blue-accent); font-weight: 700; font-size: 1.125rem; text-decoration: none; transition: all 0.3s var(--ease); }
.btn-cta-large:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.2); }

/* === FOOTER === */
.footer { padding: 10rem 4rem 3rem; background: var(--color-charcoal); color: var(--color-text-primary); clip-path: polygon(0 4rem, 100% 0, 100% 100%, 0 100%); }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.footer-links { display: flex; gap: 6rem; }
.footer-column h4 { font-size: 0.875rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; color: rgba(255,255,255,0.5); }
.footer a { display: block; margin-bottom: 0.875rem; color: var(--color-footer-text); text-decoration: none; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--color-text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(20px); opacity: 0.7; } }
@keyframes rotate { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .plans-grid { grid-template-columns: 1fr; gap: 2rem; }
    .plan-featured { transform: scale(1); }
    .values-grid { grid-template-columns: 1fr; }
    .value-card:nth-child(n) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav { padding: 1.5rem 2rem; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    
    /* MOBILE HERO ALIGNMENT FIX (v2.9.0) */
    .hero-carousel {
        /* Unlock the parent's vertical center lock */
        place-items: start center;
    }
    
    .hero-slide {
        /* Disable flex centering and use padding to position from top */
        justify-content: flex-start;
        /* THIS IS YOUR CONTROL KNOB for mobile vertical position */
        padding: 7rem 2rem 4rem; 
        min-height: auto;
    }
    
    .hero-title-line:nth-child(2) { margin-left: clamp(0rem, 3vw, 1rem); }
    .statement-section, .plans-section, .tech-section { padding: 6rem 2rem; }
    .values-section { padding: 4rem 2rem; }
    .cta-section { padding: 8rem 2rem; }
    .tech-logos { flex-wrap: wrap; gap: 2rem; }
    .footer-top { flex-direction: column; gap: 3rem; }
    .footer-links { gap: 3rem; }
    .hero-carousel-nav { bottom: 2rem; }
}

@media (max-width: 640px) {
    .hero-title-line:nth-child(2) { margin-left: 0; }
}
@media (max-width: 480px) {
    .footer-links { flex-direction: column; gap: 2rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .hero-visual { transform: none !important; }
}