/* ==========================================================================
   BoutiqueWare - global stylesheet
   ========================================================================== */

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

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --violet-500: #8b5cf6;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --amber-400: #fbbf24;
    --red-400: #f87171;
    --white: #ffffff;

    --f-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --f-body: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-blue: 0 20px 60px rgba(37, 99, 235, 0.25), 0 8px 24px rgba(37, 99, 235, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--f-body);
    background: var(--white);
    color: var(--slate-800);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── UTILS ─── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-100);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--slate-900);
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    transition: all 0.15s;
}

.nav-links a:hover {
    background: var(--slate-100);
    color: var(--slate-900);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ghost-sm {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    border: 1px solid var(--slate-200);
    transition: all 0.15s;
    background: white;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.btn-ghost-sm:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
}

.btn-ghost-sm:active {
    background: var(--slate-100);
}

.btn-nav-cta {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--blue-600);
    color: white;
    text-decoration: none;
    transition: all 0.15s;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.btn-nav-cta:hover {
    background: var(--blue-700);
}

.btn-nav-cta:active {
    transform: scale(0.98);
}

/* ─── HERO ─── */
.hero {
    padding: 120px 40px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--f-head);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    max-width: 820px;
    margin: 0 auto 20px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--slate-500);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--blue-600);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    transition: all 0.2s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    background: white;
    color: var(--slate-700);
    text-decoration: none;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    border-color: var(--slate-300);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    background: var(--slate-50);
}

/* Hero dashboard mockup */
.hero-visual {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.browser-frame {
    background: var(--slate-800);
    border-radius: 14px 14px 0 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--slate-700);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.bd {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.bd.r {
    background: #ff5f57;
}

.bd.y {
    background: #febc2e;
}

.bd.g {
    background: #28c840;
}

.browser-url {
    flex: 1;
    background: var(--slate-700);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.72rem;
    color: var(--slate-400);
    font-family: monospace;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.dashboard-body {
    background: var(--slate-50);
    border-radius: 0 0 14px 14px;
    padding: 20px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    min-height: 420px;
    box-shadow: var(--shadow-xl);
}

.dash-sidebar {
    background: white;
    border-radius: 10px;
    padding: 16px 12px;
    border: 1px solid var(--slate-100);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.sidebar-logo-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.sidebar-logo-text {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--slate-900);
    font-family: var(--f-head);
    line-height: 1.2;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate-500);
    margin-bottom: 2px;
    cursor: pointer;
}

.sidebar-item.active {
    background: var(--blue-50);
    color: var(--blue-700);
}

.sidebar-item .si-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dash-stat {
    background: white;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid var(--slate-100);
}

.ds-label {
    font-size: 0.65rem;
    color: var(--slate-400);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ds-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-900);
    font-family: var(--f-head);
    line-height: 1;
    margin-bottom: 3px;
}

.ds-sub {
    font-size: 0.63rem;
    color: var(--green-600);
    font-weight: 600;
}

.dash-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

/* mini orders table */
.mini-card {
    background: white;
    border-radius: 10px;
    border: 1px solid var(--slate-100);
    overflow: hidden;
}

.mini-card-head {
    padding: 10px 14px;
    border-bottom: 1px solid var(--slate-100);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-card-head span {
    color: var(--blue-600);
    font-size: 0.65rem;
    cursor: pointer;
}

.order-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--slate-50);
    font-size: 0.68rem;
}

.or-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6rem;
    color: white;
    flex-shrink: 0;
}

.or-name {
    font-weight: 600;
    color: var(--slate-700);
    flex: 1;
}

.or-id {
    color: var(--slate-400);
    font-family: monospace;
}

.status-pill {
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sp-green {
    background: #dcfce7;
    color: #166534;
}

.sp-blue {
    background: #dbeafe;
    color: #1e40af;
}

.sp-amber {
    background: #fef3c7;
    color: #92400e;
}

.sp-red {
    background: #fee2e2;
    color: #991b1b;
}

/* mini pipeline */
.pipeline-stages {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pipe-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
}

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

.pipe-name {
    color: var(--slate-600);
    flex: 1;
    font-weight: 500;
}

.pipe-count {
    color: var(--slate-400);
    font-family: monospace;
}

.pipe-bar-bg {
    width: 50px;
    height: 4px;
    background: var(--slate-100);
    border-radius: 2px;
    overflow: hidden;
}

.pipe-bar {
    height: 100%;
    border-radius: 2px;
}

/* floating cards on hero */
.float-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    padding: 14px 18px;
    border: 1px solid var(--slate-100);
    animation: float 6s ease-in-out infinite;
}

.float-card.fc1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
    min-width: 180px;
}

.float-card.fc2 {
    bottom: 120px;
    right: -40px;
    animation-delay: -2s;
    min-width: 200px;
}

@keyframes float {

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

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

.fc-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.fc-big {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    font-family: var(--f-head);
    line-height: 1;
    margin-bottom: 4px;
}

.fc-sub {
    font-size: 0.7rem;
    color: var(--slate-500);
}

.fc-wa {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-wa-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-wa-text .t1 {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-800);
}

.fc-wa-text .t2 {
    font-size: 0.63rem;
    color: var(--slate-400);
}

/* ─── LOGOS ─── */
.logos-strip {
    padding: 40px 40px;
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.logos-label {
    font-family: var(--f-head);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

/* ─── PAIN SECTION ─── */
.pain-section {
    padding: 96px 40px;
    background: var(--slate-900);
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--blue-500);
}

.section-h2 {
    font-family: var(--f-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-h2.light {
    color: var(--white);
}

.section-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 540px;
}

.section-sub.light {
    color: var(--slate-400);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.pain-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s, background 0.2s;
}

.pain-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.04);
}

.pain-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.pain-card h3 {
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pain-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 16px;
}

.pain-fix {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--green-400);
    font-weight: 600;
}

.pain-fix::before {
    content: '✓';
}

/* ─── HOW IT WORKS ─── */
.how-section {
    padding: 96px 40px;
    background: var(--white);
}

.how-header {
    max-width: 560px;
    margin-bottom: 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--blue-100), var(--indigo-500), var(--blue-100));
    z-index: 0;
}

.step-card {
    background: var(--slate-50);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--slate-100);
    position: relative;
    z-index: 1;
    transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--f-head);
    margin-bottom: 20px;
    background: white;
    border: 2px solid var(--slate-200);
    color: var(--slate-400);
    box-shadow: var(--shadow-sm);
}

.step-card.s1 .step-num {
    border-color: var(--blue-500);
    color: var(--blue-600);
    background: var(--blue-50);
}

.step-card.s2 .step-num {
    border-color: var(--indigo-500);
    color: var(--indigo-600);
    background: #eef2ff;
}

.step-card.s3 .step-num {
    border-color: var(--violet-500);
    color: #7c3aed;
    background: #f5f3ff;
}

.step-card.s4 .step-num {
    border-color: var(--green-500);
    color: var(--green-600);
    background: #f0fdf4;
}

.step-card h3 {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.83rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ─── FEATURES ─── */
.features-section {
    padding: 0 40px 96px;
    background: var(--white);
}

.feat-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--slate-100);
}

.feat-block.flipped {
    direction: rtl;
}

.feat-block.flipped>* {
    direction: ltr;
}

.feat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 14px;
}

.feat-eyebrow .feat-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.feat-text h2 {
    font-family: var(--f-head);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.feat-text p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 28px;
}

.feat-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.feat-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.bullet-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Feature UI Mockups */
.feat-visual {
    position: relative;
}

.mockup-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mc-header {
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-header-title {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.9rem;
}

.mc-header-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 2px;
}

.mc-body {
    padding: 20px;
}

/* Pipeline mockup */
.pipeline-viz {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 20px;
    overflow: hidden;
}

.pv-stage {
    flex: 1;
    text-align: center;
    position: relative;
}

.pv-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.pv-circle.done {
    background: var(--green-500);
    color: white;
}

.pv-circle.current {
    background: var(--blue-600);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: ring 2s infinite;
}

.pv-circle.todo {
    background: var(--slate-100);
    color: var(--slate-400);
}

@keyframes ring {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.1);
    }
}

.pv-line {
    position: absolute;
    top: 18px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--slate-200);
    z-index: -1;
}

.pv-line.done {
    background: var(--green-400);
}

.pv-label {
    font-size: 0.6rem;
    color: var(--slate-500);
}

.pv-label.active {
    color: var(--blue-600);
    font-weight: 600;
}

.worker-assign {
    background: var(--slate-50);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.wa-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--slate-800);
}

.wa-role {
    font-size: 0.65rem;
    color: var(--slate-400);
}

.wa-btn {
    background: var(--blue-600);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* QR mockup */
.qr-scan-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.qr-square {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: var(--slate-900);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.qr-square svg {
    width: 100%;
    height: 100%;
}

.qr-info {
    flex: 1;
}

.qr-order-num {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-600);
    margin-bottom: 4px;
}

.qr-garment {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.qr-customer {
    font-size: 0.72rem;
    color: var(--slate-400);
}

.stage-update-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sub-btn {
    padding: 9px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.sub-btn.done-btn {
    background: #dcfce7;
    color: #166534;
}

.sub-btn.active-btn {
    background: var(--blue-600);
    color: white;
}

.sub-btn.locked-btn {
    background: var(--slate-100);
    color: var(--slate-400);
}

/* Invoice mockup */
.invoice-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.inv-top {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    padding: 20px;
    color: white;
}

.inv-brand {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1rem;
}

.inv-branch {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 1px;
}

.inv-number {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--blue-400);
    margin-top: 8px;
}

.inv-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 12px 0;
}

.inv-body {
    padding: 16px;
}

.inv-body-divider {
    border: none;
    border-top: 1px solid var(--slate-100);
}

.inv-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    padding: 5px 0;
}

.inv-line span:first-child {
    color: var(--slate-500);
}

.inv-line span:last-child {
    color: var(--slate-800);
    font-weight: 500;
}

.inv-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 10px 0 0;
    border-top: 1px solid var(--slate-100);
    margin-top: 6px;
    font-weight: 700;
}

.inv-total-line span:last-child {
    color: var(--blue-600);
}

.wa-sent-badge {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.75rem;
    color: #166534;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.wa-icon-small {
    width: 20px;
    height: 20px;
    background: #25D366;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* CRM mockup */
.crm-header-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.crm-stat-mini {
    flex: 1;
    background: var(--slate-50);
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid var(--slate-100);
}

.csm-val {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--slate-900);
    font-family: var(--f-head);
}

.csm-label {
    font-size: 0.62rem;
    color: var(--slate-400);
    margin-top: 1px;
}

.crm-table-head {
    display: grid;
    grid-template-columns: 1fr 80px 60px 70px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    padding: 6px 10px;
    background: var(--slate-50);
    border-radius: 6px;
    margin-bottom: 6px;
}

.crm-table-row {
    display: grid;
    grid-template-columns: 1fr 80px 60px 70px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 0.73rem;
    transition: background 0.1s;
}

.crm-table-row:hover {
    background: var(--slate-50);
}

.crm-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crm-av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crm-cell-name {
    font-weight: 600;
    color: var(--slate-800);
}

.crm-cell-sub {
    font-size: 0.62rem;
    color: var(--slate-400);
}

.crm-orders-cell {
    color: var(--slate-600);
    font-weight: 500;
}

.crm-spend-cell {
    color: var(--slate-700);
    font-weight: 600;
}

/* Garment form mockup */
.garment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gf-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gf-input {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.78rem;
    color: var(--slate-700);
}

.gf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gf-upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.gf-upload-btn {
    border: 1.5px dashed var(--slate-200);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.65rem;
    color: var(--slate-400);
    cursor: pointer;
}

.gf-upload-btn .ub-icon {
    font-size: 1rem;
    display: block;
    margin-bottom: 3px;
}

/* ─── WORKFLOW STAGES ─── */
.workflow-section {
    padding: 96px 40px;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-600) 100%);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.workflow-section .section-h2 {
    color: white;
    margin: 0 auto 8px;
    max-width: 600px;
}

.workflow-section .section-sub {
    color: rgba(255, 255, 255, 0.65);
    margin: 0 auto 56px;
    text-align: center;
}

.stages-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    position: relative;
}

.stage-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 18px;
    right: -10px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    z-index: 1;
}

.stage-bubble {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
}

.stage-item:hover .stage-bubble {
    background: rgba(255, 255, 255, 0.2);
}

.stage-name {
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.stage-scan {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
}

.customizable-note {
    margin-top: 40px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ─── PROOF / NUMBERS ─── */
.proof-section {
    padding: 80px 40px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.proof-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.proof-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 32px;
    border-right: 1px solid var(--slate-200);
}

.proof-item:last-child {
    border-right: none;
}

.proof-num {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--slate-500);
    font-weight: 500;
}

/* ─── PRICING ─── */
.pricing-section {
    padding: 96px 40px;
    background: var(--white);
}

.pricing-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 36px;
}

.pricing-header .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* Billing period toggle */
.billing-toggle-wrap {
    text-align: center;
    margin-bottom: 44px;
}

.billing-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 100px;
    background: var(--slate-100);
}

/* Sliding background for the active option. Width and X are set in JS from the
   active button's box, so the pill always matches the label it sits behind. */
.bt-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 0;
    border-radius: 100px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10), 0 1px 2px rgba(15, 23, 42, 0.06);
    pointer-events: none;
}

.billing-toggle.is-ready .bt-indicator {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.bt-option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-500);
    background: transparent;
    border: none;
    border-radius: 100px;
    padding: 10px 22px;
    min-height: 42px;
    cursor: pointer;
    transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}

.bt-option:hover {
    color: var(--slate-700);
}

.bt-option.is-active {
    color: var(--slate-900);
}

.bt-option:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}

.bt-save {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green-600);
    background: #dcfce7;
    border-radius: 100px;
    padding: 2px 8px;
}

/* Standard plan cards */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
    /* stretch keeps Growth and Custom level despite different list lengths */
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05), 0 22px 48px rgba(15, 23, 42, 0.10);
}

.plan-card.custom {
    background: linear-gradient(150deg, var(--slate-50) 0%, var(--white) 65%);
}

.plan-card.featured {
    background: linear-gradient(150deg, var(--blue-600) 0%, var(--indigo-600) 55%, var(--indigo-500) 100%);
    border-color: transparent;
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.30), 0 6px 16px rgba(37, 99, 235, 0.18);
}

.plan-card.featured:hover {
    box-shadow: 0 26px 60px rgba(37, 99, 235, 0.36), 0 8px 20px rgba(37, 99, 235, 0.20);
}

.plan-badge {
    position: absolute;
    top: 26px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 100px;
}

.plan-name {
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--slate-900);
}

.plan-card.featured .plan-name {
    color: var(--white);
}

.plan-desc {
    margin-top: 6px;
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--slate-500);
    max-width: 34ch;
}

.plan-card.featured .plan-desc {
    color: rgba(255, 255, 255, 0.72);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 26px;
}

.pp-amount {
    font-family: var(--f-head);
    font-size: clamp(2.4rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--slate-900);
}

.plan-card.featured .pp-amount {
    color: var(--white);
}

.pp-unit {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-400);
}

.plan-card.featured .pp-unit {
    color: rgba(255, 255, 255, 0.65);
}

.plan-billed {
    margin-top: 9px;
    font-size: 0.78rem;
    color: var(--slate-400);
}

.plan-card.featured .plan-billed {
    color: rgba(255, 255, 255, 0.62);
}

.plan-price,
.plan-billed {
    transition: opacity 0.2s ease;
}

.plans-grid.is-switching .plan-price,
.plans-grid.is-switching .plan-billed {
    opacity: 0;
}

.plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}

.plan-cta.solid {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.plan-cta.solid:hover {
    background: var(--blue-700);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.36);
}

.plan-cta.light {
    background: var(--white);
    color: var(--blue-700);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.16);
}

.plan-cta.light:hover {
    background: var(--slate-100);
}

.plan-cta:active {
    transform: translateY(1px);
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--slate-100);
    margin: 28px 0 20px;
}

.plan-card.featured .plan-divider {
    border-color: rgba(255, 255, 255, 0.18);
}

.plan-features-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-400);
    margin-bottom: 15px;
}

.plan-card.featured .plan-features-title {
    color: rgba(255, 255, 255, 0.65);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--slate-600);
}

.plan-card.featured .plan-features li {
    color: rgba(255, 255, 255, 0.92);
}

.pf-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--green-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.pf-check svg {
    width: 11px;
    height: 11px;
}

.plan-card.featured .pf-check {
    background: rgba(255, 255, 255, 0.95);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.83rem;
    color: var(--slate-400);
}
/* ─── FINAL CTA ─── */
.final-cta {
    padding: 96px 40px;
    background: var(--slate-900);
    text-align: center;
}

.final-cta .section-h2 {
    color: white;
    max-width: 620px;
    margin: 12px auto 20px;
}

.final-cta .section-sub {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto 40px;
    text-align: center;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--blue-600);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.2s;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.btn-primary-lg:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
}

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

.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.btn-outline-lg:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-lg:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ─── FOOTER ─── */
footer {
    background: var(--slate-950, #020617);
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-weight: 800;
    color: white;
    font-size: 1rem;
}

.fl-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {

    .container,
    nav .nav-inner,
    .pain-section,
    .how-section,
    .features-section,
    .feat-block,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero {
        padding: 100px 24px 0;
    }

    .nav-links {
        display: none;
    }

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

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

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

    .feat-block,
    .feat-block.flipped {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .proof-inner {
        flex-wrap: wrap;
    }

    .proof-item {
        border-right: none;
        border-bottom: 1px solid var(--slate-200);
    }

    .proof-item:last-child {
        border-bottom: none;
    }

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

    .float-card {
        display: none;
    }

    .stages-row {
        gap: 8px;
    }

    .stage-item:not(:last-child)::after {
        display: none;
    }

    footer {
        padding: 32px 24px;
    }
}

/* ─── TABLET & SMALL TABLET ─── */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dash-sidebar {
        display: none;
    }

    .hero-visual {
        max-width: 100%;
        margin-top: 24px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }

    .pain-section,
    .how-section,
    .features-section,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta {
        padding: 60px 24px;
    }

    .hero {
        padding: 80px 24px 0;
    }

    .pain-grid {
        gap: 16px;
        margin-top: 40px;
    }

    .pain-card {
        padding: 24px;
    }

    .feat-block {
        gap: 32px;
        padding: 60px 0;
    }

    .browser-frame {
        padding: 10px 12px;
    }

    .browser-url {
        font-size: 0.65rem;
        max-width: 200px;
    }

    .hero-ctas {
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .container,
    nav .nav-inner,
    .pain-section,
    .how-section,
    .features-section,
    .feat-block,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta,
    footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    nav .nav-inner {
        height: 56px;
        padding: 0 16px;
    }

    .hero {
        padding: 80px 16px 0;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
        margin-bottom: 16px;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .badge {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .hero-ctas {
        gap: 8px;
        margin-bottom: 52px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        gap: 6px;
        min-height: 44px;
    }

    .btn-primary svg,
    .btn-secondary svg {
        width: 14px;
        height: 14px;
    }

    .hero-visual {
        max-width: 100%;
        margin-top: 20px;
    }

    .browser-frame {
        padding: 8px 10px;
        gap: 8px;
    }

    .bd {
        width: 9px;
        height: 9px;
    }

    .browser-url {
        font-size: 0.6rem;
        max-width: 150px;
        padding: 4px 10px;
    }

    .dashboard-body {
        padding: 12px;
        min-height: 300px;
    }

    .dash-stat {
        padding: 12px 14px;
    }

    .ds-val {
        font-size: 1.1rem;
    }

    .ds-label {
        font-size: 0.6rem;
    }

    .mini-card {
        border-radius: 8px;
    }

    .order-row,
    .pipeline-stages {
        font-size: 0.65rem;
    }

    .pain-section,
    .how-section,
    .features-section,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta {
        padding: 48px 16px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 32px;
    }

    .pain-card {
        padding: 20px;
        border-radius: 12px;
    }

    .pain-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .pain-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .pain-fix {
        font-size: 0.75rem;
    }

    .section-h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        margin-bottom: 12px;
    }

    .section-eyebrow {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    .section-sub {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 28px;
    }

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

    .step-card {
        padding: 20px 18px;
    }

    .step-num {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .step-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .step-card p {
        font-size: 0.8rem;
    }

    .feat-eyebrow {
        font-size: 0.7rem;
        gap: 6px;
        margin-bottom: 10px;
    }

    .feat-eyebrow .feat-icon {
        width: 18px;
        height: 18px;
    }

    .feat-text h2 {
        font-size: clamp(1.3rem, 2.8vw, 1.8rem);
        margin-bottom: 12px;
    }

    .feat-text p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .feat-bullets {
        gap: 9px;
        margin-bottom: 0;
    }

    .feat-bullets li {
        font-size: 0.82rem;
        gap: 8px;
    }

    .bullet-check {
        width: 16px;
        height: 16px;
        font-size: 0.55rem;
    }

    .feat-block {
        gap: 24px;
        padding: 48px 0;
    }

    .mockup-card {
        border-radius: 12px;
    }

    .mc-header {
        padding: 12px 14px;
    }

    .mc-header-title {
        font-size: 0.85rem;
    }

    .mc-body {
        padding: 14px;
    }

    .crm-table-head,
    .crm-table-row {
        grid-template-columns: 1fr 60px 50px 60px;
        font-size: 0.68rem;
        padding: 5px 8px;
    }

    .logos-strip {
        padding: 32px 16px;
    }

    .logos-label {
        font-size: 1rem;
    }

    .stages-row {
        gap: 6px;
    }

    .stage-item {
        min-width: 70px;
        max-width: 100px;
    }

    .stage-bubble {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .stage-name {
        font-size: 0.68rem;
    }

    .stage-scan {
        font-size: 0.58rem;
    }

    .customizable-note {
        font-size: 0.78rem;
        padding: 8px 16px;
        gap: 6px;
        margin-top: 24px;
    }

    .proof-num {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }

    .proof-label {
        font-size: 0.8rem;
    }

    .pricing-header {
        margin-bottom: 28px;
    }

    .billing-toggle-wrap {
        margin-bottom: 32px;
    }

    .bt-option {
        font-size: 0.85rem;
        padding: 9px 16px;
        min-height: 40px;
    }

    .plans-grid {
        gap: 16px;
    }

    .plan-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .plan-badge {
        top: 22px;
        right: 20px;
        font-size: 0.62rem;
        padding: 4px 10px;
    }

    .plan-desc {
        font-size: 0.82rem;
        max-width: none;
    }

    .plan-card.featured .plan-name {
        padding-right: 104px;
    }

    .plan-features li {
        font-size: 0.82rem;
    }

    .plan-cta {
        padding: 12px;
        font-size: 0.88rem;
        min-height: 46px;
    }

    .pricing-note {
        margin-top: 28px;
        font-size: 0.78rem;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        padding: 14px 28px;
        font-size: 1rem;
        gap: 8px;
        min-height: 48px;
    }

    .btn-nav-cta {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .final-cta-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 0.78rem;
    }

    .footer-copy {
        font-size: 0.72rem;
    }

    .nav-logo {
        font-size: 1rem;
        gap: 8px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    /* Touch-friendly form elements */
    input,
    textarea,
    select {
        font-size: 16px !important;
        min-height: 44px;
    }

    .gf-input {
        min-height: 44px;
        font-size: 16px;
    }

    /* Improved touch targets for clickable elements */
    a,
    button {
        -webkit-touch-callout: none;
    }

    /* Better scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ─── SMALL MOBILE (480px and below) ─── */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container,
    nav .nav-inner,
    .pain-section,
    .how-section,
    .features-section,
    .feat-block,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta,
    footer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        padding: 60px 12px 0;
    }

    .hero h1 {
        font-size: clamp(1.4rem, 3vw, 2rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        min-height: 44px;
    }

    .pain-section,
    .how-section,
    .features-section,
    .workflow-section,
    .proof-section,
    .pricing-section,
    .final-cta {
        padding: 40px 12px;
    }

    .pain-card {
        padding: 18px;
    }

    .pain-card h3 {
        font-size: 0.9rem;
    }

    .step-card {
        padding: 16px 14px;
    }

    .dashboard-body {
        padding: 10px;
        min-height: 250px;
        gap: 10px;
    }

    .dash-stat {
        padding: 10px 12px;
    }

    .ds-label {
        font-size: 0.58rem;
    }

    .ds-val {
        font-size: 1rem;
    }

    .ds-sub {
        font-size: 0.6rem;
    }

    .proof-num {
        font-size: clamp(1.4rem, 2.5vw, 2rem);
    }

    .plan-card {
        padding: 24px 20px;
    }

    .billing-toggle {
        display: flex;
        width: 100%;
    }

    .bt-option {
        flex: 1;
        justify-content: center;
        padding: 9px 10px;
    }

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

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