/* ═══════════════════════════════════════════════════════════
   SaralCode Storefront v5 — Warm Hospitality Theme
   Cream, terracotta, sage — matching login page palette.
   Built for restaurants, hotels, cafés, and service businesses.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* ─── Warm Hospitality Palette (matches login) ─── */
    --bg-body: #ffffff;
    --bg-section: #faf8f5;
    --bg-section-alt: #fdf8f0;
    --bg-warm: #fef7f0;
    --bg-card: #ffffff;
    --bg-card-hover: #fffbf7;
    --border: #e8e4dc;
    --border-light: #f0ede6;

    /* ─── Text ─── */
    --text-primary: #2D2926;
    --text-secondary: #5a5249;
    --text-muted: #8A7F75;
    --text-light: #ffffff;

    /* ─── Brand Colors — Warm Brown (from login) ─── */
    --brand: #C67B4B;
    --brand-dark: #A5623A;
    --brand-light: #E8A87C;
    --brand-glow: rgba(198, 123, 75, 0.18);
    --brand-bg: rgba(198, 123, 75, 0.08);

    /* ─── Hospitality Accent Colors ─── */
    --terracotta: #C67B4B;
    --terracotta-light: #E8A87C;
    --sage: #6B8F71;
    --sage-light: #A8C5AD;
    --gold: #d4a853;
    --gold-light: #f0d48a;
    --navy: #2D2926;
    --rose: #e8627c;
    --cream: #FDF8F0;
    --warm-gray: #F5EDE0;

    /* ─── Functional ─── */
    --green: #22c55e;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --red: #ef4444;
    --cyan: #06b6d4;

    /* ─── Shape ─── */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* ─── Shadows ─── */
    --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.04), 0 1px 2px rgba(45, 41, 38, 0.06);
    --shadow-md: 0 4px 16px rgba(45, 41, 38, 0.06), 0 1px 3px rgba(45, 41, 38, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 41, 38, 0.08), 0 4px 12px rgba(45, 41, 38, 0.04);
    --shadow-xl: 0 20px 60px rgba(45, 41, 38, 0.1), 0 8px 20px rgba(45, 41, 38, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ Scroll Reveal ═══ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ═══ Navigation ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 24px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.nav-logo img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: .88rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

.nav-login {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.nav-cta {
    background: var(--brand) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px var(--brand-glow);
}

.nav-cta:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--brand-glow);
}

.nav-cta::after {
    display: none !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ═══ Hero Section ═══ */
.hero {
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(170deg, #ffffff 0%, var(--cream) 40%, var(--warm-gray) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 75% 20%, rgba(198, 123, 75, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(224, 124, 84, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(107, 155, 127, 0.05) 0%, transparent 50%);
}

/* Floating decorative shapes */
.hero-float {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: floatBlob 10s ease-in-out infinite;
}

.hero-float-1 {
    width: 400px;
    height: 400px;
    background: rgba(198, 123, 75, 0.08);
    top: 5%;
    left: -5%;
}

.hero-float-2 {
    width: 300px;
    height: 300px;
    background: rgba(224, 124, 84, 0.07);
    top: 50%;
    right: -3%;
    animation-delay: -3s;
}

.hero-float-3 {
    width: 250px;
    height: 250px;
    background: rgba(107, 155, 127, 0.06);
    bottom: 10%;
    left: 30%;
    animation-delay: -6s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(15px, -15px) scale(1.03);
    }

    66% {
        transform: translate(-10px, 10px) scale(0.97);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-bg);
    border: 1px solid rgba(198, 123, 75, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .82rem;
    color: var(--brand);
    margin-bottom: 28px;
    font-weight: 600;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--brand) 0%, var(--terracotta) 50%, var(--sage) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Hero Pills */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    font-size: .78rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.hero-pill:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-bg);
}

.hero-pill i {
    font-size: .85rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-screenshot-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.06);
    position: relative;
    background: #fff;
}

.hero-screenshot-main img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-screenshot-main::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 70%, rgba(255, 255, 255, 0.4) 100%);
    pointer-events: none;
}

/* Hero Floating Cards */
.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card .hc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-card .hc-label {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-card .hc-value {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.hero-card-1 {
    top: 8%;
    right: -10%;
    animation-delay: 0s;
}

.hero-card-2 {
    bottom: 25%;
    left: -12%;
    animation-delay: -2s;
}

.hero-card-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-card-1 {
    animation: floatCard 6s ease-in-out infinite, revealCard 0.6s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.hero-card-2 {
    animation: floatCard 6s ease-in-out infinite, revealCard 0.6s 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: -2s, 1.0s;
    opacity: 0;
}

.hero-card-3 {
    animation: floatCard 6s ease-in-out infinite, revealCard 0.6s 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: -4s, 1.2s;
    opacity: 0;
}

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

/* ═══ Stats Bar ═══ */
.stats-bar {
    padding: 48px 24px;
    background: var(--brand);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    display: inline;
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    display: inline;
}

.stat-item>div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-label {
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ═══ Social Proof ═══ */
.social-proof {
    padding: 50px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-body);
}

.social-proof p {
    text-align: center;
    color: var(--text-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: .6;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 700;
}

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: .92rem;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 16px var(--brand-glow);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--brand-glow);
}

.btn-glass {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-section);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--brand);
}

.btn-white {
    background: #fff;
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: .85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.btn-green:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* ═══ Section Layouts ═══ */
.section {
    padding: 100px 24px;
    background: var(--bg-body);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand);
    margin-bottom: 14px;
}

/* ═══ Feature Showcase ═══ */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-showcase:last-child {
    margin-bottom: 0;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse>* {
    direction: ltr;
}

.feature-text .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 50px;
}

.feature-text h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-text ul {
    list-style: none;
    margin-bottom: 24px;
}

.feature-text ul li {
    padding: 6px 0;
    font-size: .9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-text ul li .check {
    color: var(--sage);
    font-weight: 700;
    font-size: 1rem;
}

.feature-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.feature-image:hover {
    transform: translateY(-6px);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══ AI Features Section ═══ */
.ai-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, var(--cream) 0%, #f5f0ff 50%, var(--bg-section) 100%);
}

.ai-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(198, 123, 75, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(224, 124, 84, 0.05) 0%, transparent 50%);
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(198, 123, 75, 0.1) 0%, rgba(224, 124, 84, 0.08) 100%);
    border: 1px solid rgba(198, 123, 75, 0.2);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: .82rem;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 20px;
}

.ai-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--brand);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 16px var(--brand), 0 0 32px var(--brand);
    }
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ai-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    overflow: hidden;
}

.ai-card:hover {
    border-color: rgba(198, 123, 75, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(198, 123, 75, 0.1);
}

.ai-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(198, 123, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.5s;
    opacity: 0;
}

.ai-card:hover .ai-card-glow {
    opacity: 1;
}

.ai-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px var(--brand-glow);
}

.ai-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.ai-card>p {
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ai-features-list {
    list-style: none;
    margin-bottom: 20px;
}

.ai-features-list li {
    padding: 4px 0;
    font-size: .82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-features-list li i {
    color: var(--sage);
    font-size: .9rem;
}

/* AI Card Demo */
.ai-card-demo {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
}

/* Invoice Scan */
.ai-scan-animation {
    display: flex;
    align-items: center;
    gap: 14px;
}

.scan-doc {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .78rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.scan-doc i {
    font-size: 1.2rem;
    color: var(--brand);
}

.scan-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--brand);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.scan-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: aiPulse 1.5s infinite;
}

.scan-result {
    flex: 1;
}

.scan-field {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: .75rem;
}

.sf-label {
    color: var(--text-muted);
}

.sf-value {
    color: var(--sage);
    font-weight: 600;
}

/* Compliance Preview */
.compliance-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.cp-label {
    font-size: .78rem;
    color: var(--text-secondary);
}

.cp-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.cp-green {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.cp-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Passport Preview */
.pp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pp-header i:first-child {
    font-size: 1.1rem;
    color: var(--brand);
}

.pp-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pp-field {
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 8px;
}

.pp-field span {
    display: block;
    font-size: .65rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pp-field strong {
    font-size: .78rem;
    color: var(--text-primary);
}

/* RTW Preview */
.rtw-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rtw-check-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rtw-title {
    font-size: .88rem;
    font-weight: 700;
    color: #16a34a;
}

.rtw-sub {
    font-size: .72rem;
    color: var(--text-muted);
}

.rtw-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.rtw-bar-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, var(--sage));
    border-radius: 2px;
    animation: rtw-fill 2s ease-out;
}

@keyframes rtw-fill {
    from {
        width: 0;
    }

    to {
        width: 85%;
    }
}

.rtw-label {
    font-size: .68rem;
    color: var(--text-muted);
    text-align: center;
}

/* ═══ Industry Cards ═══ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.industry-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.industry-card .ind-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.industry-card h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.industry-card p {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ═══ Team Section ═══ */
.team-section {
    background: var(--bg-section);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.team-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.team-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.team-text p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.team-stats {
    display: flex;
    gap: 32px;
}

.ts-item {
    text-align: center;
}

.ts-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
}

.ts-label {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ═══ Testimonials ═══ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(198, 123, 75, 0.2);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: .9rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}

.testimonial-card .name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text-primary);
}

.testimonial-card .role {
    font-size: .75rem;
    color: var(--text-muted);
}

/* ═══ Module Cards ═══ */
/* ═══ Billing Toggle ═══ */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

#modules .billing-toggle {
    display: flex;
    width: fit-content;
    margin: 0 auto 32px;
}

.billing-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.billing-btn.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 12px var(--brand-glow);
}

.billing-btn:not(.active):hover {
    color: var(--brand);
    background: rgba(0, 0, 0, 0.03);
}

.save-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.billing-btn.active .save-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.modules-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* ═══ Sector Groups ═══ */
.sector-group {
    margin-bottom: 40px;
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.sector-header i {
    font-size: 1.2rem;
    color: var(--brand);
}

.sector-header span:first-of-type {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.sector-count {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-section);
    padding: 3px 12px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

/* ═══ Module Cards ═══ */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.module-card.selected {
    border-color: var(--brand);
    background: var(--brand-bg);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.module-card.selected::after {
    display: none;
}

.module-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.module-select-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.module-card.selected .module-select-indicator {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.module-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.module-card .desc {
    color: var(--text-secondary);
    font-size: .82rem;
    margin-bottom: 14px;
    line-height: 1.5;
}

.module-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.module-price .price-weekly {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.module-price .amount {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand);
}

.module-price .period {
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.module-price .price-equiv {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-count i {
    color: var(--sage);
}

/* ═══ Module Features ═══ */
.module-features {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 4px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: .78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-list li i {
    color: var(--sage);
    font-size: .8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-list-hidden {
    display: none;
}

.feature-toggle {
    background: none;
    border: none;
    color: var(--brand);
    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.feature-toggle:hover {
    color: var(--brand-dark);
}

/* ═══ Pricing Explainer ═══ */
.pricing-explainer {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.explainer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.explainer-item i {
    font-size: 1.4rem;
    color: var(--sage);
    flex-shrink: 0;
}

.explainer-item strong {
    display: block;
    font-size: .85rem;
    color: var(--text-primary);
    font-weight: 700;
}

.explainer-item span {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
}

/* ═══ Package Cards ═══ */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.package-card:hover {
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.package-card.selected {
    border-color: var(--green);
    background: rgba(34, 197, 94, 0.04);
}

.package-card .badge-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--sage);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
}

/* ─── Promo Badge (replaces badge-ribbon for promos) ─── */
.package-card .promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: promo-pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}
@keyframes promo-pulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 2px 20px rgba(239, 68, 68, 0.5); }
}

.package-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.package-card .pkg-desc {
    color: var(--text-secondary);
    font-size: .85rem;
    margin-bottom: 20px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.package-price .amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand);
}

/* Promo: FREE in green */
.package-price .amount.promo-free {
    color: #059669;
    font-size: 2.2rem;
    letter-spacing: -1px;
}

/* Promo: discounted price in orange-red */
.package-price .amount.promo-price {
    color: #ef4444;
}

.package-price .period {
    color: var(--text-muted);
    font-size: .85rem;
}

.package-price .was {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: .9rem;
    margin-left: 8px;
}

/* ─── Beta Badge in Hero ─── */
.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    margin-top: 10px;
    animation: beta-glow 3s ease-in-out infinite;
    box-shadow: 0 3px 16px rgba(124, 58, 237, 0.3);
}
@keyframes beta-glow {
    0%, 100% { box-shadow: 0 3px 16px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 3px 24px rgba(124, 58, 237, 0.5); }
}

/* Package Popular Badge */
.package-card.popular {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px var(--brand-glow), var(--shadow-lg);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    padding: 6px 20px;
    border-radius: 0 0 12px 12px;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.package-features-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.package-features-summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg-section);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.package-modules {
    list-style: none;
    margin-bottom: 20px;
}

.package-modules li {
    padding: 6px 0;
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-modules li i {
    color: var(--sage);
    font-size: .9rem;
}

.package-cta {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.package-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 700;
    font-size: .88rem;
    transition: var(--transition);
}

.package-card:hover .package-cta span {
    gap: 12px;
}

.package-card.selected .package-cta span {
    color: var(--green);
}

/* ═══ Steps / How it Works ═══ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.step-card {
    text-align: center;
    counter-increment: step;
    position: relative;
}

.step-card::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--brand-bg);
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 800;
    font-size: 1.3rem;
}

.step-line {
    position: absolute;
    top: 30px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand), rgba(198, 123, 75, 0.1));
}

.step-card:last-child .step-line {
    display: none;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: .88rem;
}

/* ═══ CTA Banner ═══ */
.cta-banner {
    background: linear-gradient(135deg, var(--brand) 0%, #4f46e5 40%, var(--terracotta) 100%);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    position: relative;
}

/* ═══ Pricing Bar ═══ */
.price-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.price-bar.visible {
    transform: translateY(0);
}

.price-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.price-bar .summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-bar .total {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
}

.price-bar .modules-count {
    color: var(--text-secondary);
    font-size: .85rem;
}

/* ═══ Signup Modal ═══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    padding: 24px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 24px 28px 28px;
}

/* ═══ Forms ═══ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
    background: #fff;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-error {
    color: var(--red);
    font-size: .78rem;
    margin-top: 4px;
}

.form-help {
    color: var(--text-muted);
    font-size: .75rem;
    margin-top: 4px;
}

/* ═══ Step Indicator ═══ */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--brand);
    width: 48px;
}

.step-dot.done {
    background: var(--green);
}

/* ═══ Confirmation ═══ */
.confirm-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
}

.confirm-card {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

/* ═══ Footer ═══ */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 24px 40px;
    background: var(--bg-section);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
    padding: 4px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: .8rem;
}

/* ═══ Loading ═══ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-card-1 {
        right: 0;
        top: -5%;
    }

    .hero-card-2 {
        left: -5%;
    }

    .hero-card-3 {
        right: 0;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 24px 60px;
    }

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

    .hero p {
        font-size: .95rem;
    }

    .hero-card {
        display: none;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modules-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

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

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

    .step-line {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1.2rem;
    }

    .price-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-pills {
        gap: 6px;
    }

    .hero-pill {
        font-size: .7rem;
        padding: 5px 10px;
    }

    .billing-toggle {
        flex-direction: column;
        border-radius: 16px;
    }

    .billing-btn {
        border-radius: 12px;
        justify-content: center;
    }

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

    .pricing-explainer {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .package-card.popular {
        transform: none;
    }

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

/* ═══ Product Tour Carousel ═══ */
.tour-carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.tour-viewport {
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.tour-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-slide {
    min-width: 100%;
    position: relative;
}

.tour-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.tour-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

.tour-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-section);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.tour-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: scale(1.08);
}

.tour-btn.tour-play {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.tour-btn.tour-play.playing {
    background: var(--red);
    border-color: var(--red);
}

.tour-btn.tour-play.playing i::before {
    content: "\f4c2";
}

.tour-label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 140px;
    text-align: center;
}

.tour-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tour-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.tour-dot.active {
    background: var(--brand);
    width: 24px;
    border-radius: 4px;
}

.tour-progress {
    height: 3px;
    background: var(--border-light);
}

.tour-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    width: 0%;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .tour-carousel {
        border-radius: var(--radius);
    }

    .tour-viewport {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .tour-controls {
        padding: 12px 16px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .tour-dots {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .tour-label {
        font-size: .78rem;
        min-width: 100px;
    }
}

/* ═══ Plan Step Labels ═══ */
.plan-step {
    margin-bottom: 36px;
    position: relative;
}

.plan-step-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.plan-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.plan-step-optional {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ═══ Addon Module Grid ═══ */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.addon-item:hover {
    border-color: var(--brand-light);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.addon-item.checked {
    border-color: var(--sage);
    background: rgba(107, 143, 113, 0.05);
}

.addon-item.pkg-included {
    border-color: var(--sage-light);
    background: rgba(107, 143, 113, 0.08);
    opacity: 0.75;
    cursor: default;
}

.addon-item.pkg-included::after {
    content: 'In plan';
    font-size: .65rem;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-left: auto;
    white-space: nowrap;
}

.addon-check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.addon-item.checked .addon-check,
.addon-item.pkg-included .addon-check {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

.addon-title {
    flex: 1;
}

.addon-price {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.addon-item.pkg-included .addon-price {
    display: none;
}

@media (max-width: 576px) {
    .addon-grid {
        grid-template-columns: 1fr;
    }
}