/* ============================================================
   EmberNet — style.css
   Design System & Global Styles
   Colors: Ember-red #D92D20, Dark Teal #0B1E2D, Dark #1A1D23
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
    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-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- Design Tokens --- */
:root {
    /* Primary Palette — matches fireballz.ai */
    --ember-red: #D92D20;
    --ember-red-hover: #B42318;
    --ember-red-glow: rgba(217, 45, 32, 0.15);

    /* Backgrounds */
    --hero-overlay: #0B1E2D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1D23;

    /* Text */
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --text-sub: #6B7280;
    --text-muted: #B0B8C4;

    /* Accents */
    --accent-blue: #3B82F6;
    --accent-green: #10B981;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 64px;

    /* Borders & Radius */
    --radius-pill: 25px;
    --radius-card: 12px;
    --radius-input: 8px;

    /* Shadows */
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-ember-glow: 0 20px 80px rgba(217, 45, 32, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
    color: var(--text-sub);
    line-height: 1.7;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-dark {
    background: var(--hero-overlay);
    color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-dark p {
    color: var(--text-muted);
}

.section-light {
    background: var(--bg-white);
    color: var(--text-dark);
}

.section-alt {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ember-red);
    margin-bottom: 16px;
}

.section-label--center {
    text-align: center;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-red);
    color: var(--text-light);
    padding: 14px 32px;
    border: 2px solid var(--ember-red);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--ember-red-hover);
    border-color: var(--ember-red-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--ember-red);
    padding: 14px 32px;
    border: 2px solid var(--ember-red);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--ember-red);
    color: var(--text-light);
}

/* Secondary button variant for dark backgrounds */
.btn-secondary--dark {
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary--dark:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

/* White button variant (for red backgrounds) */
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--ember-red);
    padding: 14px 32px;
    border: 2px solid var(--bg-white);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-white:hover {
    transform: scale(1.05);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.reveal.revealed:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1199px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-secondary--dark,
    .btn-white {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   COMPONENT STYLES
   ============================================================ */

/* --- Top Bar --- */
.top-bar {
    background: var(--ember-red);
    color: var(--text-light);
    height: 36px;
    display: flex;
    align-items: center;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__brand,
.top-bar__link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

.top-bar__link:hover {
    opacity: 0.85;
}

/* --- Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    transition: box-shadow var(--transition-med), background var(--transition-med);
}

.nav.scrolled {
    box-shadow: var(--shadow-nav);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.nav__logo-ember {
    color: var(--ember-red);
}

.nav__logo-net {
    color: var(--text-dark);
}

.nav__logo-img {
    height: 32px;
    width: auto;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--ember-red);
}

.nav__actions {
    display: flex;
    gap: 12px;
}

.nav__btn {
    padding: 10px 24px;
    font-size: 13px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-med);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.mobile-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1060;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform var(--transition-med);
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-light);
}

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .nav__links,
    .nav__actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 30, 45, 0.85);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero__eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ember-red);
    margin-bottom: 24px;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.hero__title em {
    font-style: italic;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 24px auto 0;
}

.hero__cta {
    margin-top: 40px;
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-light);
    opacity: 0.6;
    cursor: pointer;
    animation: bounce 2s infinite;
}

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }
}

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about__text p {
    margin-bottom: 16px;
}

.about__cta-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--ember-red);
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.about__cta-link:hover {
    color: var(--ember-red-hover);
    text-decoration: underline;
}

.about__watermark {
    opacity: 0.15;
    max-width: 100%;
}

@media (max-width: 768px) {
    .about {
        padding: var(--section-padding-mobile) 0;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* --- Features --- */
.features {
    padding: var(--section-padding) 0;
}

.features__header {
    text-align: center;
    margin-bottom: 64px;
}

.features__subtitle {
    font-size: 16px;
    color: var(--text-sub);
    margin-top: 12px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

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

.feature-card__icon {
    width: 48px;
    height: 48px;
    color: var(--ember-red);
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .features {
        padding: var(--section-padding-mobile) 0;
    }

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

    .feature-card {
        padding: 32px;
    }
}

/* --- Dashboard Showcase --- */
.showcase {
    padding: var(--section-padding) 0;
    text-align: center;
}

.showcase__subtitle {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 48px;
}

.showcase__browser {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-ember-glow);
}

.showcase__browser-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot--red { background: #FF5F56; }
.dot--yellow { background: #FFBD2E; }
.dot--green { background: #27C93F; }

.showcase__browser-body {
    background: var(--bg-dark);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.showcase__browser-body img {
    width: 100%;
    display: block;
}

/* Floating badges */
.showcase__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(26, 29, 35, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase__badge--tl { top: 60px; left: -20px; }
.showcase__badge--tr { top: 60px; right: -20px; }
.showcase__badge--bl { bottom: 40px; left: -20px; }

.showcase__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.showcase__badge-dot--green { background: var(--accent-green); }
.showcase__badge-dot--blue { background: var(--accent-blue); }

.showcase__cta {
    margin-top: 40px;
    justify-content: center;
}

@media (max-width: 768px) {
    .showcase {
        padding: var(--section-padding-mobile) 0;
    }

    .showcase__badge {
        display: none;
    }

    .showcase__browser {
        margin: 0 -12px;
        border-radius: 8px;
    }
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-padding) 0;
    text-align: center;
}

.how-it-works__subtitle {
    font-size: 16px;
    color: var(--text-sub);
    margin-top: 12px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 64px auto 0;
    position: relative;
}

/* Connecting line on desktop */
.steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed #E5E7EB;
}

.step {
    text-align: center;
    padding: 32px;
    position: relative;
}

.step__number {
    font-size: 64px;
    font-weight: 800;
    color: var(--ember-red);
    opacity: 0.12;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.step__icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    color: var(--ember-red);
    margin: 24px auto 20px;
}

.step__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step__desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
}

.step__code {
    margin-top: 16px;
    background: var(--bg-dark);
    color: #E5E7EB;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 16px;
    border-radius: var(--radius-input);
    border-left: 3px solid var(--ember-red);
    text-align: left;
    overflow-x: auto;
}

.step__code code {
    font-family: inherit;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: var(--section-padding-mobile) 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps::before {
        display: none;
    }
}

/* --- Partners --- */
.partners {
    padding: 80px 0;
    text-align: center;
}

.partners__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partners__row:first-of-type {
    margin-top: 48px;
}

.partners__row--bottom {
    margin-top: 40px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    transition: filter var(--transition-med), opacity var(--transition-med), transform var(--transition-med);
    filter: grayscale(100%);
    opacity: 0.6;
    transform: scale(1);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* Default logo size (bottom row — Sorba, NodeWeaver) */
.partner-logo img {
    height: 56px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

/* Larger logos for top row (Ignition, Codesys, Advantech, SUSE) */
.partner-logo--lg img {
    height: 72px;
    max-width: 180px;
}

.partners__note {
    font-size: 14px;
    color: var(--text-sub);
    margin-top: 32px;
}

@media (max-width: 768px) {
    .partners__row {
        gap: 32px;
    }

    .partner-logo img {
        height: 44px;
    }

    .partner-logo--lg img {
        height: 56px;
    }
}

/* --- Pricing --- */
.pricing {
    padding: var(--section-padding) 0;
    text-align: center;
}

.pricing__subtitle {
    font-size: 15px;
    color: var(--text-sub);
    margin-top: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    padding: 32px 24px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: #D1D5DB;
}

/* Popular card accent */
.pricing-card--popular {
    border: 2px solid var(--ember-red);
    box-shadow: var(--shadow-card-hover);
    padding-top: 44px;
}

.pricing-card--popular:hover {
    box-shadow: 0 12px 48px rgba(217, 45, 32, 0.18);
    border-color: var(--ember-red);
}

.pricing-card__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ember-red);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 0 0 8px 8px;
}

.pricing-card__header {
    margin-bottom: 20px;
}

.pricing-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-red-glow);
    border-radius: 10px;
    color: var(--ember-red);
    margin-bottom: 14px;
}

.pricing-card__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.pricing-card__audience {
    font-size: 13px;
    color: var(--text-sub);
    margin: 0;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.pricing-card__amount {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.pricing-card__amount--custom {
    font-size: 32px;
    color: var(--ember-red);
}

.pricing-card__period {
    font-size: 14px;
    color: var(--text-sub);
    font-weight: 400;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 120px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.pricing-card__features li svg {
    flex-shrink: 0;
    color: var(--accent-green);
}

.pricing-card__use-case {
    font-size: 12px;
    font-style: italic;
    color: var(--text-sub);
    margin-top: 20px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.pricing-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pricing-card__btn--outline {
    color: var(--text-dark);
    border: 2px solid #D1D5DB;
    background: transparent;
}

.pricing-card__btn--outline:hover {
    border-color: var(--ember-red);
    color: var(--ember-red);
    background: var(--ember-red-glow);
}

.pricing-card__btn--primary {
    color: var(--text-light);
    background: var(--ember-red);
    border: 2px solid var(--ember-red);
}

.pricing-card__btn--primary:hover {
    background: var(--ember-red-hover);
    border-color: var(--ember-red-hover);
    transform: translateY(-1px);
}

/* Pricing Responsive */
@media (max-width: 1199px) {
    .pricing__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: var(--section-padding-mobile) 0;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card__features {
        min-height: auto;
    }
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--ember-red), var(--ember-red-hover));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal pattern overlay */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 0;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--text-light);
    font-size: 36px;
}

.cta-banner__subtitle {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 18px;
    margin-top: 12px;
}

.cta-banner__actions {
    margin-top: 32px;
    justify-content: center;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: var(--text-sub);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer__brand {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 4px;
}

.footer__parent {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.footer__heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer__link {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-light);
}

.footer__link--red {
    color: var(--ember-red);
}

.footer__link--red:hover {
    text-decoration: underline;
}

.footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-size: 13px;
    color: var(--text-sub);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-icon {
    color: var(--text-sub);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer__social-icon:hover {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Legal Pages (Privacy & Terms) --- */
.legal-page {
    padding: 80px 0 100px;
}

.legal-page__inner {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.legal-page__updated {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
    list-style: disc;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-sub);
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--ember-red);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--ember-red-hover);
}

.footer__legal-links {
    display: flex;
    gap: 24px;
}

@media (max-width: 768px) {
    .legal-page h1 {
        font-size: 28px;
    }

    .footer__legal-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner[hidden] {
    display: block !important;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.cookie-banner__text p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__text a {
    color: var(--ember-red);
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    color: var(--text-light);
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 24px;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1;
    }
}
