/* ═══════════════════════════════════════════════════════════════
   SUBMITD.IO — Marketing Website  v2.0.0
   Design: Deep-space navy · Emerald & Rose accents
   Fonts: Outfit (headings) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────── CSS VARIABLES ────────────────── */
:root {
    /* Brand */
    --emerald: #10b981;
    --emerald-deep: #059669;
    --emerald-light: #34D399;
    --emerald-pale: rgba(16, 185, 129, 0.10);
    --emerald-glow: rgba(16, 185, 129, 0.20);

    --rose: #F43F5E;
    --rose-deep: #E11D48;
    --rose-light: #FB7185;
    --rose-pale: rgba(244, 63, 94, 0.12);
    --rose-glow: rgba(244, 63, 94, 0.20);

    --amber: #F59E0B;
    --amber-pale: rgba(245, 158, 11, 0.14);

    /* Neutrals — dark theme */
    --ink: #eef2ff;
    --text: #e2e8f0;
    --text-body: #9aa4c7;
    --text-muted: #6b7597;
    --border: rgba(255, 255, 255, 0.10);
    --border-light: rgba(255, 255, 255, 0.06);
    --bg: #070b18;
    --bg-2: #0b1126;
    --bg-warm: #0c1225;
    --white: #FFFFFF;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);

    /* Semantic */
    --success: #10b981;
    --warning: #F59E0B;
    --danger: #f87171;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows — dark-appropriate with emerald glow */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-emerald: 0 12px 40px rgba(16, 185, 129, 0.3), 0 4px 12px rgba(16, 185, 129, 0.15);
    --shadow-rose: 0 12px 40px rgba(244, 63, 94, 0.25), 0 4px 12px rgba(244, 63, 94, 0.12);

    /* Gradient */
    --gradient: linear-gradient(120deg, #6ee7b7 0%, #34d399 32%, #10b981 62%, #059669 100%);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ────────────────── RESET ────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(16,185,129,.18), transparent 60%),
        radial-gradient(1000px 500px at -10% 20%, rgba(52,211,153,.10), transparent 60%),
        radial-gradient(800px 600px at 50% 110%, rgba(244,63,94,.06), transparent 60%),
        var(--bg);
}

img, svg { display: block; max-width: 100%; }
a {
    color: inherit;
    text-decoration: none;
    touch-action: manipulation;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    touch-action: manipulation;
}
ul, ol { list-style: none; }
input, select, textarea {
    font: inherit;
    font-size: 16px; /* Prevent iOS auto-zoom on focus */
}

/* Improve touch feedback for interactive elements */
.btn, .nav-link, .mobile-link, .template-tab, .nav-toggle, .footer-link,
.pricing-btn, .mobile-btn, .wf-tool, .wf-palette-item, .pilot-submit {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--ink);
    line-height: 1.15;
    font-weight: 800;
}

/* ────────────────── LAYOUT ────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

/* ────────────────── NAVBAR ────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(7, 11, 24, 0.82);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    padding: 0.65rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.nav-logo-img {
    height: 63px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.navbar.scrolled .nav-logo-img { height: 54px; }

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.25s;
    position: relative;
}

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

.nav-link:hover { color: var(--emerald); }
.nav-link:hover::after { width: 100%; }

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.nav-cta {
    background: var(--gradient);
    color: #04060f !important;
    font-weight: 600;
    box-shadow: 0 6px 20px -6px rgba(16,185,129,.4);
}

.nav-cta:hover {
    transform: translateY(-1px);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 1001;
    margin: -8px; /* negative margin keeps visual alignment while enlarging tap area */
}

.nav-toggle span {
    width: 22px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100dvh;
    background: rgba(7, 11, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border);
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    transition: right 0.4s var(--ease-out);
    z-index: 999;
}

.mobile-menu.active { right: 0; }

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    padding: 1rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s;
}

.mobile-link:hover { color: var(--emerald); }

.mobile-cta {
    margin-top: 1rem;
    text-align: center;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ────────────────── BUTTONS ────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    background-size: 200% 200%;
    color: #04060f;
    box-shadow: 0 8px 30px -8px rgba(16,185,129,.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px -10px rgba(5,150,105,.5);
    background-position: 100% 0;
}

.btn-primary:active { transform: translateY(0); }

.btn-accent {
    background: var(--rose);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-rose);
}

.btn-accent:active { transform: translateY(0); }

.btn-outline {
    background: rgba(255,255,255,.05);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255,255,255,.09);
    border-color: var(--emerald);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline:active { transform: translateY(0); }

/* ────────────────── HERO ────────────────── */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--bg) 0%, rgba(16,185,129,.08) 40%, var(--bg) 70%, rgba(244,63,94,.05) 100%);
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--rose-glow), transparent 70%);
    bottom: 10%;
    right: 5%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a7f3d0;
    background: rgba(4, 12, 24, 0.78);
    border: 1px solid rgba(52, 211, 153, 0.45);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-top: 1.25rem;
    line-height: 1.08;
}

.hero-title-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-body);
    margin-top: 1.5rem;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-browser {
    background: linear-gradient(180deg, #111a35, #0a1128);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.mockup-browser::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(16,185,129,.35), transparent 50%, rgba(5,150,105,.35));
    -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: .5;
}

.mockup-browser-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0,0,0,.35);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-dot { background: rgba(255,255,255,.15); }
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    background: rgba(255,255,255,.04);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.mockup-browser-body {
    padding: 20px;
    position: relative;
}

/* Form mockup inside browser */
.mockup-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mockup-form-title-bar {
    height: 14px;
    width: 55%;
    background: var(--ink);
    border-radius: 4px;
    opacity: 0.25;
}

.mockup-form-badge {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--emerald-light);
    background: rgba(16,185,129,.15);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.mockup-field {
    margin-bottom: 12px;
}

.mockup-field-label {
    height: 8px;
    width: 35%;
    background: var(--ink);
    border-radius: 3px;
    opacity: 0.08;
    margin-bottom: 6px;
}

.mockup-field-input {
    height: 32px;
    width: 100%;
    background: rgba(255,255,255,.04);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.mockup-field-filled {
    background: linear-gradient(90deg, rgba(16,185,129,.1), rgba(255,255,255,.04) 60%);
    border-color: rgba(16,185,129,.25);
}

.mockup-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.mockup-field-half { flex: 1; margin-bottom: 0; }

.mockup-textarea {
    height: 52px;
    width: 100%;
    background: rgba(255,255,255,.04);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.mockup-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.mockup-signature {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.mockup-sig-line {
    flex: 1;
    height: 1px;
    border-bottom: 2px dashed var(--border);
}

.mockup-submit-btn {
    width: 80px;
    height: 30px;
    background: var(--emerald);
    border-radius: var(--radius-full);
    opacity: 0.85;
}

/* Approval flow in mockup */
.mockup-approval-flow {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    padding: 10px 12px;
    background: rgba(255,255,255,.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.mockup-approval-step {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.mockup-step-done { color: var(--emerald); }
.mockup-step-active { color: var(--amber); }

.mockup-approval-line {
    flex: 1;
    min-width: 12px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
}

.mockup-line-done { background: var(--emerald); }
.mockup-line-active {
    background: linear-gradient(90deg, var(--emerald), var(--amber));
}

/* Floating notification cards */
.mockup-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 2;
    animation: float-card 4s ease-in-out infinite;
}

.mockup-float-1 {
    top: 12%;
    right: -16px;
    animation-delay: 0s;
}

.mockup-float-2 {
    bottom: 18%;
    left: -20px;
    animation-delay: -2s;
}

.float-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
}

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

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2.5s ease-in-out infinite;
    opacity: 0.5;
}

/* ────────────────── SECTION HEADERS ────────────────── */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
    display: inline-flex;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a7f3d0;
    background: rgba(8, 51, 38, 0.82);
    border: 1px solid rgba(52, 211, 153, 0.45);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-label-light {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-body);
    max-width: 640px;
    margin: 1rem auto 0;
}

/* ────────────────── PROBLEM SECTION ────────────────── */
.section-problem {
    background: var(--surface);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.problem-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: all 0.3s var(--ease-out);
}

.problem-card:hover {
    border-color: var(--emerald-glow);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16,185,129,.12);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.problem-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ────────────────── SOLUTION BANNER ────────────────── */
.solution-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem);
}

.solution-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--emerald-deep) 100%);
    z-index: 0;
}

.solution-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

.solution-card-content {
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin-top: 1rem;
}

.solution-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin-top: 1rem;
}

.solution-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
}

.solution-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* ────────────────── FEATURES ────────────────── */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-bottom: clamp(4rem, 8vw, 6rem);
}

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

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

.feature-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .3;
    line-height: 1;
    letter-spacing: -0.03em;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.feature-tag {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a7f3d0;
    background: rgba(8, 51, 38, 0.82);
    border: 1px solid rgba(52, 211, 153, 0.35);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.feature-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-top: 0.75rem;
}

.feature-desc {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.feature-list {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-body);
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
}

/* Feature Mockups */
.feature-mockup {
    background: linear-gradient(180deg, #111a35, #0a1128);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.feature-mockup::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(16,185,129,.3), transparent 50%, rgba(5,150,105,.3));
    -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: .4;
    z-index: 1;
}

/* Builder Mockup */
.mockup-builder {
    display: flex;
    min-height: 320px;
}

.mockup-builder-sidebar {
    width: 120px;
    background: rgba(0,0,0,.2);
    border-right: 1px solid var(--border);
    padding: 14px 10px;
    flex-shrink: 0;
}

.mockup-builder-title {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.mockup-builder-field {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    cursor: default;
    transition: background 0.2s;
}

.mockup-builder-field:hover { background: var(--surface); }

.mockup-builder-field.mbf-active {
    background: rgba(16,185,129,.15);
    color: var(--emerald-light);
    font-weight: 600;
}

.mbf-icon {
    font-size: 0.6875rem;
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.mockup-builder-canvas {
    flex: 1;
    padding: 18px;
}

.mockup-builder-canvas-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.mockup-canvas-field {
    padding: 10px 12px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s;
}

.mockup-canvas-field.mcf-highlight {
    border-color: var(--emerald);
    border-style: solid;
    background: rgba(5, 150, 105, 0.03);
    box-shadow: 0 0 0 3px var(--emerald-glow);
}

.mcf-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.mcf-input {
    height: 28px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.625rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.mcf-prefilled {
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.3);
    color: var(--emerald-light);
    font-weight: 500;
}

.mcf-dropdown::after {
    content: '▼';
    margin-left: auto;
    font-size: 0.5rem;
    opacity: 0.4;
}

.mcf-drag-handle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.4;
    letter-spacing: -0.05em;
}

/* Org Chart Mockup */
.mockup-orgchart {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.org-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 250px;
    transition: all 0.2s;
}

.org-node-root {
    border-color: var(--amber);
    background: rgba(245,158,11,.1);
}

.org-node-submitter {
    border-color: var(--emerald);
    background: rgba(16,185,129,.1);
}

.org-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.org-avatar-approved { background: rgba(16,185,129,.15); color: var(--emerald-light); }
.org-avatar-submitter { background: var(--emerald); color: var(--white); }

.org-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.org-name {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
}

.org-role {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.org-status {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.org-pending { color: var(--amber); }
.org-approved { color: var(--emerald); }
.org-submitted { color: var(--emerald-deep); }

.org-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--border), var(--emerald-light));
}

/* Signature Mockup */
.mockup-signature {
    padding: 24px;
}

.sig-mockup-card {
    margin-bottom: 16px;
}

.sig-mockup-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.sig-mockup-pad {
    height: 130px;
    background: rgba(0,0,0,.2);
    border: 2px dashed rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
}

.sig-mockup-pad::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 22px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}

.sig-mockup-drawing {
    width: 100%;
    height: 100%;
    animation: sig-fade 6s ease-in-out infinite;
}

/* Each stroke uses pathLength="1" so we can work in 0–1 dash-array units */
.sig-stroke {
    fill: none;
    stroke: var(--emerald-light);
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.sig-stroke-john {
    animation: sig-draw-john 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.sig-stroke-doe {
    animation: sig-draw-doe 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.sig-stroke-flourish {
    animation: sig-draw-flourish 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes sig-fade {
    0% { opacity: 0; }
    5%, 80% { opacity: 1; }
    93%, 100% { opacity: 0; }
}

@keyframes sig-draw-john {
    0% { stroke-dashoffset: 1; }
    25% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

@keyframes sig-draw-doe {
    0%, 30% { stroke-dashoffset: 1; }
    55% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

@keyframes sig-draw-flourish {
    0%, 60% { stroke-dashoffset: 1; }
    72% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sig-stroke { stroke-dashoffset: 0; animation: none; }
    .sig-mockup-drawing { animation: none; opacity: 1; }
}

.sig-mockup-meta {
    display: flex;
    gap: 1.25rem;
    margin-top: 10px;
}

.sig-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.sig-mockup-actions {
    display: flex;
    gap: 4px;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.sig-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
    cursor: default;
}

.sig-action:hover { background: rgba(255,255,255,.06); }

.sig-action-active {
    background: rgba(16,185,129,.15);
    color: var(--emerald-light);
}

/* Analytics Mockup */
.mockup-analytics {
    padding: 20px;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.analytics-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
}

.analytics-period {
    font-size: 0.6875rem;
    color: var(--text-muted);
    background: rgba(255,255,255,.06);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.analytics-stat {
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.as-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
}

.as-label {
    font-size: 0.5625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.as-approved .as-number { color: var(--emerald); }
.as-pending .as-number { color: var(--amber); }
.as-avg .as-number { color: var(--rose); }

.analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    padding: 0 8px;
}

.chart-bar {
    flex: 1;
    height: var(--bar-height);
    background: linear-gradient(to top, var(--emerald), var(--emerald-light));
    border-radius: 6px 6px 2px 2px;
    position: relative;
    transition: height 1.2s var(--ease-spring);
}

.chart-bar .chart-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5625rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Mobile Mockup */
.mockup-mobile {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.mobile-frame {
    width: 260px;
    background: #0b1126;
    border: 3px solid rgba(255,255,255,.2);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mobile-notch {
    width: 100px;
    height: 24px;
    background: rgba(255,255,255,.15);
    border-radius: 0 0 16px 16px;
    margin: -12px auto 12px;
}

.mobile-screen {
    background: #0a1128;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--emerald);
}

.mobile-header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.mobile-header-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-card {
    margin: 10px;
    padding: 12px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mobile-card-type {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--emerald);
}

.mobile-card-time {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.mobile-card-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
}

.mobile-card-actions {
    display: flex;
    gap: 6px;
}

.mobile-btn {
    flex: 1;
    padding: 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    cursor: default;
}

.mobile-btn-approve {
    background: var(--emerald);
    color: var(--white);
}

.mobile-btn-deny {
    background: rgba(244,63,94,.15);
    color: var(--rose-light);
}

.mobile-btn-view {
    background: rgba(255,255,255,.06);
    color: var(--text-body);
}

/* ────────────────── HOW IT WORKS ────────────────── */
.section-how {
    background: var(--surface);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.how-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    text-align: center;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.how-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-glow);
}

.how-card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .25;
    line-height: 1;
}

.how-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.how-card-icon-emerald { background: rgba(16,185,129,.12); color: var(--emerald-light); }
.how-card-icon-accent { background: rgba(244,63,94,.12); color: var(--rose-light); }
.how-card-icon-green { background: rgba(16,185,129,.12); color: var(--emerald-light); }

.how-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.how-card-desc {
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ────────────────── TEMPLATES ────────────────── */
.templates-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
}

.template-tab {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 0.65rem 1.15rem;
    min-height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    transition: all 0.25s;
    touch-action: manipulation;
}

.template-tab:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.template-tab-active {
    background: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

.template-tab-active:hover { color: var(--white); }

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.template-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.03);
    transition: all 0.25s var(--ease-out);
}

.template-card:hover {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.template-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16,185,129,.12);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.template-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.template-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.templates-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ────────────────── INTEGRATION ────────────────── */
.integration-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem);
}

.integration-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ink) 0%, #0E3026 70%, var(--emerald-deep) 100%);
    z-index: 0;
}

.integration-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(5, 150, 105, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
}

.integration-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.integration-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin-top: 1rem;
}

.integration-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.integration-products {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.integration-product {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ip-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.ip-evaluatd { background: rgba(0, 212, 255, 0.15); color: #00d4ff; }
.ip-submitd { background: rgba(5, 150, 105, 0.2); color: var(--emerald-light); }

.integration-product strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--white);
}

.integration-product span {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
}

.integration-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
}

/* Data flow visual */
.integration-data-flow {
    display: flex;
    align-items: center;
    gap: 16px;
}

.idf-source,
.idf-hub,
.idf-dest {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    backdrop-filter: blur(4px);
}

.idf-label,
.idf-hub-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.idf-items,
.idf-hub-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.idf-items span,
.idf-hub-items span {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 3px 0;
}

.idf-hub {
    border-color: rgba(5, 150, 105, 0.3);
    background: rgba(5, 150, 105, 0.08);
}

.idf-hub-label { color: var(--emerald-light); }
.idf-hub-items span { color: rgba(255, 255, 255, 0.7); }

.idf-arrow { flex-shrink: 0; }

.idf-dest {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
}

.idf-dest-item {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.idf-dest-active {
    color: var(--emerald-light);
    border-color: rgba(5, 150, 105, 0.4);
    background: rgba(5, 150, 105, 0.1);
}

/* ────────────────── PRICING ────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    position: relative;
    transition: all 0.3s var(--ease-out);
}

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

.pricing-card-featured {
    border-color: rgba(16,185,129,.4);
    box-shadow: var(--shadow-emerald);
    transform: scale(1.03);
    background: linear-gradient(180deg, rgba(16,185,129,.06), rgba(5,150,105,.03));
}

.pricing-card-featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-emerald);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    background: var(--emerald);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 800;
}

.pricing-target {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pricing-currency {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald);
}

.pricing-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-body);
}

.pricing-features svg {
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    text-align: center;
    width: 100%;
}

.pricing-comparison {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    border-radius: var(--radius-md);
}

.pricing-compare-text {
    font-size: 0.9375rem;
    color: var(--text-body);
}

.pricing-compare-text strong { color: var(--ink); }

/* ────────────────── PILOT CTA ────────────────── */
.section-pilot {
    background: var(--surface);
}

.pilot-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem);
}

.pilot-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0b1126 0%, rgba(16,185,129,.08) 50%, rgba(244,63,94,.06) 100%);
    z-index: 0;
}

.pilot-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.pilot-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
}

.pilot-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-top: 1rem;
}

.pilot-perks {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.pilot-perk {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
}

/* Pilot Form */
.pilot-form {
    background: rgba(255,255,255,.04);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pilot-form-group {
    margin-bottom: 1rem;
}

.pilot-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.pilot-form-group input,
.pilot-form-group select {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem; /* 16px — prevents iOS zoom on focus */
    color: var(--text);
    background: rgba(255,255,255,.06);
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.pilot-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa4c7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.pilot-form-group input::placeholder { color: var(--text-muted); }

.pilot-form-group input:focus,
.pilot-form-group select:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px var(--emerald-glow);
}

.pilot-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.pilot-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ────────────────── FOOTER ────────────────── */
.footer {
    background: var(--ink);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 84px;
    width: auto;
    display: block;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-logicloft {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-logicloft strong {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.65rem;
    transition: color 0.2s;
}

.footer-link:hover { color: var(--emerald-light); }

.footer-bottom {
    padding-top: 1.75rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ────────────────── WORKFLOW AUTOMATION ────────────────── */
.section-workflow {
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 50%, var(--bg-warm) 100%);
    position: relative;
    overflow: hidden;
}

.section-workflow::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.workflow-canvas-wrap {
    position: relative;
    z-index: 1;
}

.workflow-canvas-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(180deg, #111a35, #0a1128);
    margin-bottom: 1.5rem;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

.workflow-canvas-scroll::-webkit-scrollbar {
    height: 6px;
}
.workflow-canvas-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 3px;
}
.workflow-canvas-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.workflow-canvas {
    position: relative;
    background: transparent;
    width: 960px;
    min-width: 960px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.workflow-canvas-inner {
    position: relative;
    width: 960px;
    height: 500px;
}

.workflow-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Toolbar */
.workflow-toolbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(0,0,0,.3);
    border-bottom: 1px solid var(--border);
    height: 40px;
}

.wf-tool {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: default;
    transition: all 0.2s;
}

.wf-tool:hover { background: rgba(255,255,255,.08); color: var(--text); }

.wf-tool-active {
    background: rgba(255,255,255,.1);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.wf-tool-publish {
    background: rgba(16,185,129,.15);
    color: var(--emerald-light);
    margin-left: auto;
}

.wf-toolbar-spacer { flex: 1; }

/* Connectors layer — sits in same coord space as nodes */
.workflow-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.wf-line {
    stroke-linecap: round;
    opacity: 0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: wf-draw-line 0.6s var(--ease-out) forwards;
}

.workflow-canvas.in-view .wf-line-1 { animation-delay: 0.2s; }
.workflow-canvas.in-view .wf-line-2 { animation-delay: 0.4s; }
.workflow-canvas.in-view .wf-line-3 { animation-delay: 0.6s; }
.workflow-canvas.in-view .wf-line-4 { animation-delay: 0.8s; }
.workflow-canvas.in-view .wf-line-5 { animation-delay: 0.9s; }
.workflow-canvas.in-view .wf-line-6 { animation-delay: 1.1s; }
.workflow-canvas.in-view .wf-line-7 { animation-delay: 1.2s; }

@keyframes wf-draw-line {
    to {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

/* Pulse traveling along the path */
.wf-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 16px var(--emerald), 0 0 28px rgba(5, 150, 105, 0.4);
    z-index: 4;
    top: 0;
    left: 0;
    opacity: 0;
    animation: wf-pulse-travel 8s linear infinite;
    animation-delay: 1.5s;
}

@keyframes wf-pulse-travel {
    0% { opacity: 0; transform: translate(105px, 41px); }
    5% { opacity: 1; }
    18% { transform: translate(345px, 41px); }
    32% { transform: translate(670px, 41px); }
    50% { transform: translate(560px, 201px); }
    68% { transform: translate(320px, 331px); }
    85% { opacity: 1; transform: translate(450px, 431px); }
    100% { opacity: 0; transform: translate(450px, 431px); }
}

/* Workflow nodes — fixed width + height so SVG connectors land on edges exactly */
.wf-node {
    position: absolute;
    z-index: 3;
    background: rgba(11,17,38,.9);
    border: 2px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 190px;
    height: 52px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transition: all 0.4s var(--ease-spring);
}

.workflow-canvas.in-view .wf-node { opacity: 1; transform: translateY(0) scale(1); }

.workflow-canvas.in-view .wf-node:nth-of-type(2) { transition-delay: 0.1s; }
.workflow-canvas.in-view .wf-node:nth-of-type(3) { transition-delay: 0.3s; }
.workflow-canvas.in-view .wf-node:nth-of-type(4) { transition-delay: 0.5s; }
.workflow-canvas.in-view .wf-node:nth-of-type(5) { transition-delay: 0.7s; }
.workflow-canvas.in-view .wf-node:nth-of-type(6) { transition-delay: 0.9s; }
.workflow-canvas.in-view .wf-node:nth-of-type(7) { transition-delay: 1.0s; }
.workflow-canvas.in-view .wf-node:nth-of-type(8) { transition-delay: 1.2s; }
.workflow-canvas.in-view .wf-node:nth-of-type(9) { transition-delay: 1.3s; }

.wf-node:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.wf-node-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-icon-start { background: var(--emerald-pale); color: var(--emerald); }
.wf-icon-action { background: rgba(59,130,246,.12); color: #60a5fa; }
.wf-icon-approve { background: var(--emerald-pale); color: var(--emerald); }
.wf-icon-special { background: var(--rose-pale); color: var(--rose); }
.wf-icon-notify { background: rgba(107,114,128,.12); color: #9ca3af; }
.wf-icon-sign { background: rgba(217,119,6,.12); color: #fbbf24; }

.wf-node-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.wf-node-type {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.wf-node-title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1px;
    white-space: nowrap;
}

.wf-node-tag {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(16,185,129,.15);
    color: var(--emerald-light);
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.wf-tag-rose {
    background: rgba(244,63,94,.15);
    color: var(--rose-light);
}

.wf-node-status {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--emerald);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Node-specific borders */
.wf-node-start { border-color: var(--emerald); }
.wf-node-approve { border-color: rgba(5, 150, 105, 0.3); }
.wf-node-special { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-glow), var(--shadow-md); }
.wf-node-action { border-color: rgba(59, 130, 246, 0.3); }
.wf-node-notify { border-color: var(--border); }
.wf-node-sign { border-color: rgba(217, 119, 6, 0.3); }

/* Condition node — amber-accented with YES/NO labels on output edges */
.wf-node-condition {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15), var(--shadow-md);
}

.wf-icon-condition {
    background: rgba(245,158,11,.12);
    color: var(--amber);
}

.wf-cond-yes,
.wf-cond-no {
    position: absolute;
    top: calc(100% + 4px);
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    z-index: 5;
    line-height: 1.4;
}

.wf-cond-yes {
    right: 12px;
    background: var(--rose);
    color: var(--white);
}

.wf-cond-no {
    left: 12px;
    background: var(--emerald);
    color: var(--white);
}

/* Side palette */
.workflow-palette {
    position: absolute;
    top: 60px;
    right: 16px;
    width: 130px;
    background: rgba(11,17,38,.92);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 6;
}

.wf-palette-title {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.wf-palette-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    cursor: grab;
    transition: background 0.2s;
}

.wf-palette-item:hover { background: rgba(255,255,255,.06); }

.wfp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wf-palette-approve .wfp-dot { background: var(--emerald); }
.wf-palette-sign .wfp-dot { background: #D97706; }
.wf-palette-condition .wfp-dot { background: var(--amber); }
.wf-palette-notify .wfp-dot { background: #6B7280; }
.wf-palette-action .wfp-dot { background: #3B82F6; }

/* Workflow Callouts */
.workflow-callouts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.wf-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
}

.wf-callout:hover {
    border-color: rgba(5, 150, 105, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.wf-callout-icon {
    width: 36px;
    height: 36px;
    background: rgba(16,185,129,.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-callout strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.wf-callout span {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-body);
}

/* Impact stats */
.workflow-impact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ink) 0%, #064E3B 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.workflow-impact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%);
}

.wf-impact-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.wf-impact-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #6EE7B7 0%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
}

.wf-impact-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ────────────────── ANIMATIONS ────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-in-out), transform 0.7s var(--ease-in-out);
}

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

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ────────────────── RESPONSIVE ────────────────── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual { order: -1; margin-bottom: 1rem; }
    .hero-mockup { max-width: 420px; }
    .mockup-float-1 { right: -8px; }
    .mockup-float-2 { left: -8px; }

    .feature-item,
    .feature-item--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

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

    .integration-content {
        grid-template-columns: 1fr;
    }

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

    .integration-data-flow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pilot-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: flex; }

    .nav-logo-img { height: 54px; }
    .navbar.scrolled .nav-logo-img { height: 48px; }

    .hero { min-height: auto; padding: 6rem 0 3rem; }
    .hero-title { font-size: clamp(2.25rem, 8vw, 3.25rem); }

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

    .hero-stat-divider { display: none; }

    .problem-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .templates-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .pricing-card-featured {
        transform: none;
        order: -1;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }

    .solution-highlights { grid-template-columns: 1fr; }

    .workflow-callouts { grid-template-columns: 1fr; }
    .workflow-impact { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand { grid-column: 1 / -1; }

    .integration-products {
        flex-direction: column;
        align-items: flex-start;
    }

    .integration-plus { display: none; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .templates-tabs {
        gap: 0.35rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .templates-tabs::-webkit-scrollbar { display: none; }
    .template-tab {
        font-size: 0.75rem;
        padding: 0.55rem 0.95rem;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html { scroll-behavior: auto; }
}

/* ────────────────── SCROLLBAR ────────────────── */
::selection { background: rgba(16,185,129,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--emerald-light); outline-offset: 3px; border-radius: 4px; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #04060f; }
html::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--emerald), var(--rose)); border-radius: 10px; }
