/* OrdenPy Landing — Mobile First */
:root {
    --primary: #0F766E;
    --primary-dark: #115E59;
    --secondary: #14B8A6;
    --secondary-hover: #0D9488;
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --text: #0F172A;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
    --header-h: 60px;
    --nav-top: calc(var(--header-h) + var(--safe-top));
    --nav-item-h: 48px;
    --transition: 0.25s ease;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow { max-width: 760px; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--gray-600); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: var(--font);
}

.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
}
.btn--primary:hover { filter: brightness(1.05); transform: translateY(-1px); }

.btn--outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: rgba(20, 184, 166, 0.35);
}
.btn--outline:hover { border-color: var(--secondary); color: var(--secondary-hover); background: rgba(20, 184, 166, 0.06); }

.btn--ghost {
    background: var(--gray-100);
    color: var(--primary);
}
.btn--ghost:hover { background: var(--gray-200); }

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--gray-100);
    color: var(--gray-600);
    margin-bottom: 16px;
}
.badge--blue { background: rgba(37, 99, 235, 0.1); color: var(--secondary); }
.badge--light { background: rgba(255,255,255,0.15); color: var(--white); }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-h);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo__mark {
    width: 36px; height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.logo--footer .logo__mark { background: var(--secondary); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--nav-top);
    background: rgba(15, 23, 42, 0.45);
    z-index: 1098;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.nav-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.nav {
    position: fixed;
    top: var(--nav-top);
    right: 0;
    left: auto;
    width: min(100vw, 320px);
    max-width: 100%;
    height: calc(100dvh - var(--nav-top));
    max-height: calc(100vh - var(--nav-top));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px calc(24px + var(--safe-bottom));
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1099;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    visibility: hidden;
}
.nav--open {
    transform: translateX(0);
    visibility: visible;
}

.nav a {
    display: flex;
    align-items: center;
    min-height: var(--nav-item-h);
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
}
.nav a:active { background: var(--gray-100); }
.nav a:hover { background: var(--gray-100); }
.nav .btn {
    margin-top: 12px;
    min-height: var(--nav-item-h);
    text-align: center;
    justify-content: center;
}

/* Hero */
.hero {
    padding: calc(var(--header-h) + var(--safe-top) + 32px) 0 48px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero__intro { margin-bottom: 28px; }
.hero__layout { display: grid; gap: 28px; }
.hero__features-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 14px;
    color: var(--primary-dark);
}
.hero__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.hero__bullets li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}
.hero__bullets li strong { color: var(--primary-dark); font-size: .9375rem; }
.hero__bullets li span { font-size: .8125rem; color: var(--gray-600); line-height: 1.45; }

.hero__subtitle {
    font-size: 1rem;
    margin: 16px 0 24px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.hero__actions .btn {
    width: 100%;
    min-height: 48px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat {
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.stat span { font-size: 0.8125rem; color: var(--gray-500); }

/* Dashboard mock */
.dashboard-mock {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-mock__bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}
.dashboard-mock__bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-400);
}
.dashboard-mock__bar span:first-child { background: var(--error); }
.dashboard-mock__bar span:nth-child(2) { background: #F59E0B; }
.dashboard-mock__bar span:nth-child(3) { background: var(--success); }

.dashboard-mock__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}
.dashboard-mock__header small { color: var(--gray-500); font-size: 0.75rem; }
.dashboard-mock__header strong { display: block; font-size: 1rem; }

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.pill--success { background: rgba(34,197,94,0.15); color: #15803D; }

.dashboard-mock__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
}

.metric-card {
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.metric-card span { font-size: 0.75rem; color: var(--gray-500); }
.metric-card strong { display: block; font-size: 1.125rem; margin: 4px 0; }
.metric-card em { font-size: 0.75rem; font-style: normal; color: var(--gray-500); }
.metric-card em.up { color: var(--success); }
.metric-card em.warn { color: #F59E0B; }

.dashboard-mock__chart {
    padding: 16px 20px 24px;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}
.chart-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--secondary), rgba(37,99,235,0.3));
    border-radius: 4px 4px 0 0;
    min-height: 8px;
}

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--primary); color: var(--white); }
.section--dark p, .section--dark .feature-list li { color: rgba(255,255,255,0.75); }
.section--cta { background: linear-gradient(135deg, var(--primary) 0%, #1E3A5F 100%); }

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section__head p { margin-top: 16px; }

/* Cards */
.cards {
    display: grid;
    gap: 20px;
}
.cards--3 { grid-template-columns: 1fr; }
.cards--4 { grid-template-columns: 1fr; }

.card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card h3 { margin-bottom: 10px; }
.card--compact { padding: 24px; }

.card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--blue { background: rgba(37,99,235,0.1); color: var(--secondary); }
.card__icon--green { background: rgba(34,197,94,0.1); color: var(--success); }
.card__icon--dark { background: rgba(15,23,42,0.08); color: var(--primary); }

/* Compare */
.compare {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.compare__col {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.compare__col h3 { margin-bottom: 20px; font-size: 1.25rem; }
.compare__col li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
    font-size: 0.9375rem;
}
.compare__col li:last-child { border-bottom: none; }
.compare__col--old { background: var(--white); }
.compare__col--new {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.compare__col--new h3 { color: var(--white); }
.compare__col--new li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.1); }

/* Steps */
.steps {
    display: grid;
    gap: 24px;
}
.step {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    position: relative;
}
.step__num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.3;
    display: block;
    margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }

/* Business grid */
.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.business-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.business-chip:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
.business-chip__icon {
    width: 40px; height: 40px;
    background: rgba(37,99,235,0.1);
    color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}
.business-chip strong { display: block; font-size: 0.9375rem; }
.business-chip small { color: var(--gray-500); font-size: 0.8125rem; }

/* Feature split */
.feature-split {
    display: grid;
    gap: 40px;
    align-items: center;
}
.feature-list { margin-top: 24px; }
.feature-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.9375rem;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 8px; height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}
.feature-list--light li::before { background: var(--success); }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}
.tags span {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.8125rem;
}

/* Mocks */
.product-form-mock, .pos-mock, .qr-mock {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.section--dark .pos-mock { border-color: rgba(255,255,255,0.1); }

.product-form-mock__tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}
.product-form-mock__tabs span {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: default;
}
.product-form-mock__tabs span.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    font-weight: 600;
}
.product-form-mock__fields { padding: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.75rem; color: var(--gray-500); margin-bottom: 6px; }
.field__input {
    padding: 10px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.875rem;
}

.pos-mock { display: grid; grid-template-columns: 1fr; }
.pos-mock__products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
    background: var(--gray-50);
}
.pos-item {
    padding: 16px 8px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.pos-item.active { border-color: var(--secondary); background: rgba(37,99,235,0.05); color: var(--secondary); }
.pos-mock__cart { padding: 20px; }
.pos-mock__cart h4 { margin-bottom: 16px; font-size: 0.875rem; color: var(--gray-500); }
.pos-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.875rem; border-bottom: 1px solid var(--gray-100); }
.pos-total { display: flex; justify-content: space-between; padding: 16px 0; font-weight: 700; font-size: 1.125rem; }

.qr-mock {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    gap: 20px;
    text-align: center;
}
.qr-mock__code {
    width: 140px; height: 140px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    color: var(--primary);
}
.qr-mock__info small { color: var(--gray-500); }
.qr-mock__info strong { display: block; font-size: 1.75rem; font-family: var(--font-display); margin: 4px 0 12px; }

/* Plans */
.plans {
    display: grid;
    gap: 24px;
    align-items: stretch;
}
.plan-card {
    position: relative;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card--featured {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: scale(1);
}
.plan-card__badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.plan-card__benefit { color: var(--gray-500); margin: 8px 0 20px; font-size: 0.9375rem; }
.plan-card__price strong {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.plan-card__price span { display: block; font-size: 0.8125rem; color: var(--gray-500); margin-top: 4px; }
.plan-card__savings {
    display: inline-block;
    margin: 12px 0 20px;
    padding: 4px 12px;
    background: rgba(34,197,94,0.1);
    color: #15803D;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.plan-card__features { text-align: left; margin: 24px 0; }
.plan-card__features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.plan-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* FAQ */
.faq__item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}
.faq__item summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
    padding: 0 20px 18px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* CTA / Form */
.cta-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px 24px;
    backdrop-filter: blur(8px);
}
.cta-box__content { text-align: center; margin-bottom: 32px; }
.cta-box__content h2 { color: var(--white); margin: 12px 0; }
.cta-box__content p { color: rgba(255,255,255,0.7); }

.lead-form .field { margin-bottom: 16px; }
.lead-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255,255,255,0.12);
}
.lead-form select option { color: var(--primary); background: var(--white); }
.form-row { display: grid; gap: 16px; }

.form-feedback {
    margin-top: 12px;
    font-size: 0.875rem;
    text-align: center;
    min-height: 1.25rem;
}
.form-feedback--success { color: var(--success); }
.form-feedback--error { color: var(--error); }

/* Footer */
.footer {
    background: linear-gradient(180deg, #115E59 0%, #0F766E 55%, #134E4A 100%);
    color: #fff;
    padding: 56px 0 24px;
}
.footer h4 {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 16px;
    font-family: var(--font);
    font-weight: 700;
}
.footer ul li { margin-bottom: 10px; }
.footer a {
    color: rgba(255,255,255,0.92);
    font-weight: 500;
}
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid {
    display: grid;
    gap: 32px;
    margin-bottom: 40px;
}
.footer__brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    max-width: 320px;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
}
.logo--footer .logo__text { color: #fff; }
.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.85);
}
.footer__warn { color: #FDE68A; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */
@media (min-width: 640px) {
    .plan-card { padding: 32px 28px; }
    .hero__actions { flex-direction: row; flex-wrap: wrap; }
    .hero__actions .btn { width: auto; }
    .hero__stats { grid-template-columns: repeat(4, 1fr); }
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .pos-mock { grid-template-columns: 1.2fr 1fr; }
    .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
    .section { padding: 72px 0; }
}

/* Desktop */
@media (min-width: 768px) {
    :root { --header-h: 64px; }

    .nav-toggle,
    .nav-backdrop { display: none; }

    .nav {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        width: auto;
        transform: none;
        visibility: visible;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: transparent;
        overflow: visible;
        gap: 4px;
        box-shadow: none;
    }
    .nav a {
        min-height: auto;
        padding: 8px 14px;
        font-size: 0.875rem;
    }
    .nav .btn { margin-top: 0; margin-left: 8px; min-height: auto; }
    .nav { margin-left: auto; }

    .hero__intro { max-width: 720px; margin-bottom: 40px; }
    .hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 40px 56px;
        align-items: center;
    }
    .hero__layout > * { min-width: 0; }
    .hero__features { align-self: center; }
    .hero__visual { width: 100%; justify-self: stretch; }
    .hero__bullets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
    .hero__subtitle { font-size: 1.125rem; margin: 20px 0 28px; max-width: 620px; }
    .hero__actions { margin-bottom: 0; flex-direction: row; flex-wrap: wrap; }
    .hero__actions .btn { width: auto; }

    .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .hero {
        padding-top: calc(var(--header-h) + var(--safe-top) + 48px);
        padding-bottom: 96px;
    }

    .cards--3 { grid-template-columns: repeat(3, 1fr); }
    .cards--4 { grid-template-columns: repeat(4, 1fr); }

    .compare { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(4, 1fr); }

    .business-grid { grid-template-columns: repeat(3, 1fr); }

    .feature-split { grid-template-columns: 1fr 1fr; gap: 64px; }
    .feature-split--reverse .feature-split__content { order: 2; }
    .feature-split--reverse .feature-split__visual { order: 1; }

    .plans { grid-template-columns: repeat(3, 1fr); }
    .plan-card--featured { transform: scale(1.04); }

    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

    .cta-box { padding: 48px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
    .cta-box__content { text-align: left; margin-bottom: 0; }
}

@media (min-width: 1024px) {
    .section { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

.badge--teal { background: rgba(20, 184, 166, 0.12); color: var(--primary-dark); }
.hero__stats--secondary { margin-top: 12px; }
.stat--compact { padding: 12px; }
.hero--inner { padding-top: calc(var(--header-h) + 32px); padding-bottom: 32px; }
.hero__inner-wrap { max-width: 820px; margin: 0 auto; }
.hero__content--center { text-align: center; }
.hero__content--center .hero__subtitle { margin-left: auto; margin-right: auto; }
.section--muted { background: var(--gray-50); }
.section__foot-note { margin-top: 20px; font-size: .875rem; color: var(--gray-500); text-align: center; }
.info-grid { display: grid; gap: 20px; }
.info-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.info-panel h2 { margin: 12px 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.info-panel h3 { margin-bottom: 16px; }
.info-panel--metrics { background: linear-gradient(180deg, #F0FDFA 0%, #fff 100%); }
.metrics-list { list-style: none; display: grid; gap: 12px; }
.metrics-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9375rem;
}
.metrics-list li:last-child { border-bottom: none; }
.metrics-list span { color: var(--gray-600); }
.metrics-list strong { color: var(--primary-dark); font-family: var(--font-display); }
.cards--2 { display: grid; gap: 16px; }
.card--team { padding: 24px; }
.card__icon--teal { background: rgba(20, 184, 166, 0.15); color: var(--primary-dark); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.color-system { display: grid; gap: 14px; }
.dashboard-mock__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    font-size: .8125rem;
    color: var(--gray-600);
}
.dashboard-mock__footer strong { color: var(--primary-dark); font-family: var(--font-display); }
.dashboard-mock__divider { color: var(--gray-400); }
.feature-split__content { max-width: 560px; }
.feature-split__visual { width: 100%; }
.section__head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.color-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gray-200); background: #fff; }
.color-card__swatch { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.color-card strong { display: block; margin-bottom: 4px; color: var(--text); }
.color-card p { margin: 0; font-size: .875rem; }
.color-card--primary .color-card__swatch { background: linear-gradient(135deg, #14B8A6, #115E59); }
.color-card--success .color-card__swatch { background: #22C55E; }
.color-card--warning .color-card__swatch { background: #F59E0B; }
.color-card--danger .color-card__swatch { background: #EF4444; }
@media (min-width: 768px) {
    .cards--2 { grid-template-columns: repeat(2, 1fr); }
    .info-grid--2 { grid-template-columns: 1.2fr .8fr; align-items: stretch; }
    .color-system { grid-template-columns: repeat(2, 1fr); }
    .hero__inner-wrap { max-width: 760px; }
    .feature-split { align-items: center; }
    .feature-split__content { justify-self: start; }
    .feature-split__visual { justify-self: end; }
}
