/* ═══════════════════════════════════════════════════════
   Vendattor Landing — Apple-inspired Minimalist Design
   ═══════════════════════════════════════════════════════ */

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

:root {
    /* Palette */
    --bg: #ffffff;
    --bg-alt: #fbfbfd;
    --bg-elevated: #f5f5f7;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #afafb2;
    --accent: #007AFF;
    --accent-hover: #0056CC;
    --accent-bg: #eff6ff;
    --accent-border: #bfdbfe;
    --border: #e8e8ed;
    --border-light: #f0f0f2;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,.08);

    /* Spacing */
    --section-gap: 160px;
    --content-max: 1080px;

    /* Transitions */
    --ease: cubic-bezier(.25, .1, .25, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Background — single subtle orb ───────────────── */
.bg-glow {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-glow .orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px);
    will-change: auto;
}
.bg-glow .orb-1 {
    width: 900px; height: 900px;
    background: var(--accent);
    top: -400px; left: -300px;
    opacity: .04;
}
.bg-glow .orb-2 {
    width: 700px; height: 700px;
    background: #818cf8;
    bottom: -300px; right: -200px;
    opacity: .025;
}
.bg-glow .orb-3 { display: none; }

/* Hide noise elements */
.bg-grid, .particles, .particle { display: none; }

/* ─── Scroll Reveal ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Navigation ───────────────────────────────────── */
.nav-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 2rem; height: 52px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .4s var(--ease);
}
.nav-bar.scrolled {
    border-bottom-color: var(--border);
}

.nav-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo span {
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.15rem; color: var(--text);
    letter-spacing: -.02em;
}

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: .8125rem; font-weight: 400;
    padding: 6px 16px; border-radius: 100px;
    transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover {
    color: var(--text);
}

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

.lang-toggle {
    background: transparent; border: none;
    color: var(--text-secondary); font-size: .75rem; font-weight: 500;
    padding: 4px 8px; border-radius: 6px; cursor: pointer;
    transition: color .3s var(--ease);
    font-family: var(--font); letter-spacing: .04em;
}
.lang-toggle:hover { color: var(--text); }

.btn-nav {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 100px; font-weight: 400; font-size: .8125rem;
    text-decoration: none; transition: all .3s var(--ease);
    font-family: var(--font); border: none; cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); }
.btn-primary {
    background: var(--accent); color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent-hover);
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 140px 2rem 100px;
    max-width: var(--content-max); margin: 0 auto;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-bg); border: 1px solid var(--accent-border);
    color: var(--accent); font-size: .75rem; font-weight: 500;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 2rem;
    letter-spacing: .01em;
    animation: fadeIn .8s .2s both;
}
.hero-badge .dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent);
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .3; transform: scale(.8); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05;
    letter-spacing: -.045em; margin-bottom: 1.5rem;
    max-width: 900px; color: var(--text);
    animation: fadeInUp .8s .3s both;
}

.rotating-wrapper {
    display: inline-block; position: relative;
    height: 1.12em; overflow: hidden; vertical-align: bottom;
}
.rotating-text {
    display: block;
    color: var(--accent);
    position: relative;
}

@keyframes rotateWord {
    0%, 16% { transform: translateY(0); opacity: 1; }
    20%, 21% { transform: translateY(-110%); opacity: 0; }
    22% { transform: translateY(110%); opacity: 0; }
    25%, 41% { transform: translateY(0); opacity: 1; }
    45%, 46% { transform: translateY(-110%); opacity: 0; }
    47% { transform: translateY(110%); opacity: 0; }
    50%, 66% { transform: translateY(0); opacity: 1; }
    70%, 71% { transform: translateY(-110%); opacity: 0; }
    72% { transform: translateY(110%); opacity: 0; }
    75%, 91% { transform: translateY(0); opacity: 1; }
    95%, 96% { transform: translateY(-110%); opacity: 0; }
    97% { transform: translateY(110%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 520px; margin-bottom: 2.5rem;
    line-height: 1.6; font-weight: 400;
    animation: fadeInUp .8s .5s both;
}

.hero-ctas {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp .8s .6s both;
}

.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px; border-radius: 100px;
    font-weight: 500; font-size: 1rem;
    text-decoration: none;
    transition: all .4s var(--ease);
    font-family: var(--font); border: none; cursor: pointer;
}
.btn-hero-primary {
    background: var(--text); color: var(--bg);
}
.btn-hero-primary:hover {
    background: #000;
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.btn-hero-primary::before { display: none; }
.btn-hero-primary svg {
    width: 16px; height: 16px;
    transition: transform .3s var(--ease);
}
.btn-hero-primary:hover svg { transform: translateX(3px); }

.btn-hero-secondary {
    background: transparent; color: var(--accent);
    padding: 16px 24px;
}
.btn-hero-secondary:hover {
    color: var(--accent-hover);
}

/* ─── 3D Dashboard — the hero product shot ─────────── */
.hero-3d-wrapper {
    perspective: 1400px;
    width: 100%; max-width: 940px;
    margin: 4rem auto 0;
    animation: fadeInUp .8s .7s both;
}

.hero-3d-scene {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(4deg) rotateY(-2deg);
    transition: transform .2s ease-out;
}

.hero-dashboard {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.03);
    transform-style: preserve-3d;
}

.dash-topbar {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 16px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }

.dash-title-bar {
    font-size: .6rem; color: rgba(255,255,255,.3);
    font-weight: 500; letter-spacing: .1em;
}

.dash-body {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; margin-bottom: 16px;
}

.dash-kpi {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 12px; padding: 14px;
    transform: translateZ(20px);
    transition: transform .4s var(--ease);
}
.dash-kpi:hover { transform: translateZ(30px); }

.dash-kpi-label {
    font-size: .5rem; color: rgba(255,255,255,.35);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px;
}

.dash-kpi-value {
    font-family: var(--font-display); font-size: 1.3rem;
    font-weight: 800; color: #fff; line-height: 1;
}
.dash-kpi-value.green { color: #30D158; }
.dash-kpi-value.blue { color: #60a5fa; }
.dash-kpi-value.amber { color: #fbbf24; }
.dash-kpi-value.purple { color: #c084fc; }

.dash-kpi-change {
    font-size: .5rem; color: #30D158;
    margin-top: 4px; display: flex; align-items: center; gap: 2px;
}

.dash-chart-area {
    display: grid; grid-template-columns: 2fr 1fr; gap: 10px;
}

.dash-chart {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 12px; padding: 16px;
    transform: translateZ(10px);
}

.dash-chart-title {
    font-size: .55rem; color: rgba(255,255,255,.3);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px;
}

.dash-bars {
    display: flex; align-items: flex-end; gap: 5px; height: 70px;
}

.dash-bar {
    flex: 1; border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #007AFF, rgba(0,122,255,.2));
    animation: barGrow 1.5s var(--ease-out) both;
    transform-origin: bottom;
}

@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.dash-pipeline { display: flex; flex-direction: column; gap: 8px; }

.dash-pipe-item {
    display: flex; align-items: center; gap: 6px;
    font-size: .55rem; color: rgba(255,255,255,.4);
}

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

.dash-pipe-bar {
    flex: 1; height: 5px;
    background: rgba(255,255,255,.04); border-radius: 3px; overflow: hidden;
}

.dash-pipe-fill {
    height: 100%; border-radius: 3px;
    animation: pipeFill 2s var(--ease-out) both;
}

@keyframes pipeFill { from { width: 0; } }

/* Floating notification cards */
.dash-float {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 8px 14px;
    font-size: .7rem; color: var(--text);
    box-shadow: var(--shadow-lg);
    transform: translateZ(40px);
    animation: floatGentle 6s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes floatGentle {
    0%, 100% { transform: translateZ(40px) translateY(0); }
    50% { transform: translateZ(40px) translateY(-5px); }
}

.dash-float-1 { top: -14px; right: -20px; animation-delay: 0s; }
.dash-float-2 { bottom: 20px; left: -28px; animation-delay: -2.5s; }
.dash-float-3 { top: 42%; right: -36px; animation-delay: -1.2s; }

.dash-float .float-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 6px;
    margin-right: 6px; font-size: .7rem;
}

/* ─── Feature card 3D tilt (disabled for minimalism) ─ */
.f-card {
    transform-style: flat;
    transform: none;
}

/* ─── Trusted bar ──────────────────────────────────── */
.trusted {
    margin-top: 5rem; text-align: center;
    animation: fadeInUp .8s .9s both;
}
.trusted-label {
    font-size: .7rem; text-transform: uppercase;
    letter-spacing: .15em; color: var(--text-tertiary);
    margin-bottom: 1.5rem; font-weight: 500;
}
.trusted-stats {
    display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
}
.trusted-stat { text-align: center; }
.trusted-stat .num {
    font-family: var(--font-display); font-weight: 800;
    font-size: 2rem; color: var(--text); line-height: 1;
}
.trusted-stat .num .accent { color: var(--accent); }
.trusted-stat .label {
    font-size: .75rem; color: var(--text-tertiary);
    margin-top: 4px; font-weight: 400;
}

/* ─── Sections ─────────────────────────────────────── */
.section {
    position: relative; z-index: 1;
    padding: 120px 2rem;
    max-width: var(--content-max); margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 5rem; }
.section-label {
    font-size: .7rem; text-transform: uppercase;
    letter-spacing: .15em; color: var(--accent);
    font-weight: 600; margin-bottom: .6rem;
}
.section-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em; margin-bottom: .75rem;
    color: var(--text); line-height: 1.1;
}
.section-sub {
    color: var(--text-secondary); font-size: 1.1rem;
    max-width: 480px; margin: 0 auto;
    line-height: 1.6; font-weight: 400;
}

.divider {
    position: relative; z-index: 1;
    height: 1px; max-width: 200px; margin: 0 auto;
    background: var(--border);
}

/* ─── Features ─────────────────────────────────────── */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 20px; overflow: hidden;
}

.f-card {
    background: var(--bg);
    border: none; border-radius: 0;
    padding: 2.5rem 2rem;
    transition: background .4s var(--ease);
    position: relative; overflow: hidden;
}
.f-card::before { display: none; }
.f-card:hover {
    background: var(--bg-alt);
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.f-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-bg); display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    transition: background .3s var(--ease);
}
.f-card:hover .f-icon { background: var(--accent-border); }
.f-icon svg {
    width: 20px; height: 20px; stroke: var(--accent);
    fill: none; stroke-width: 1.6;
}

.f-card h3 {
    font-weight: 600; font-size: .95rem;
    margin-bottom: .5rem; letter-spacing: -.01em;
    color: var(--text);
}
.f-card p {
    color: var(--text-secondary); font-size: .85rem;
    line-height: 1.65; font-weight: 400;
}

/* ─── Why Vendattor ────────────────────────────────── */
.compare-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; margin-top: 4rem;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 20px; overflow: hidden;
}
.compare-card {
    background: var(--bg);
    border: none; border-radius: 0;
    padding: 2.5rem 2rem; position: relative;
    transition: background .4s var(--ease);
}
.compare-card:hover {
    background: var(--bg-alt);
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.compare-card .cc-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.compare-card h3 {
    font-weight: 600; font-size: .95rem; margin-bottom: .4rem;
    color: var(--text);
}
.compare-card p {
    color: var(--text-secondary); font-size: .85rem;
    line-height: 1.65; font-weight: 400;
}

/* ─── Comparison table ─────────────────────────────── */
.compare-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin-top: 4rem; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
    padding: 16px 24px; text-align: center; font-size: .875rem;
}
.compare-table th {
    background: var(--bg-alt); color: var(--text-secondary);
    font-weight: 600; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .06em;
    border-bottom: 1px solid var(--border);
}
.compare-table th:first-child { text-align: left; }
.compare-table td:first-child {
    text-align: left; font-weight: 500; color: var(--text);
}
.compare-table td {
    border-bottom: 1px solid var(--border-light); color: var(--text-secondary);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-alt); }
.compare-table .v-col { background: var(--accent-bg); }
.compare-table .check { color: var(--accent); font-weight: 600; }
.compare-table .cross { color: var(--text-tertiary); }
.compare-table .partial { color: #d97706; }

/* ─── How it works ─────────────────────────────────── */
.steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 48px; counter-reset: step;
}

.step-card { text-align: center; position: relative; counter-increment: step; }
.step-card::before {
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--text); color: var(--bg);
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
    margin: 0 auto 1.2rem;
}
.step-card h3 {
    font-weight: 600; font-size: .95rem; margin-bottom: .4rem;
    color: var(--text);
}
.step-card p {
    color: var(--text-secondary); font-size: .85rem;
    line-height: 1.6; font-weight: 400;
}
.step-connector {
    position: absolute; top: 24px; left: calc(50% + 32px);
    width: calc(100% - 64px); height: 1px;
    background: var(--border);
}
.step-card:last-child .step-connector { display: none; }

/* ─── Stats ────────────────────────────────────────── */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    background: var(--bg-alt);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 3rem 2rem;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-display); font-weight: 800;
    font-size: 2.2rem; color: var(--text); line-height: 1;
    margin-bottom: .3rem;
}
.stat-label { font-size: .8rem; color: var(--text-secondary); font-weight: 400; }

/* ─── Pricing ──────────────────────────────────────── */
.period-toggle {
    display: inline-flex; background: var(--bg-elevated);
    border-radius: 100px; padding: 3px; gap: 2px;
    margin-bottom: 3rem;
}
.period-btn {
    padding: 8px 24px; border-radius: 100px; border: none; cursor: pointer;
    font-family: var(--font); font-size: .85rem; font-weight: 500;
    color: var(--text-secondary); background: transparent;
    transition: all .3s var(--ease);
    position: relative;
}
.period-btn.active {
    background: var(--bg); color: var(--text);
    box-shadow: var(--shadow-sm);
}
.period-btn .discount {
    position: absolute; top: -8px; right: -6px;
    background: var(--accent); color: var(--bg);
    font-size: .55rem; font-weight: 700;
    padding: 2px 6px; border-radius: 100px; white-space: nowrap;
}

.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; align-items: stretch;
    border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; background: var(--border-light);
}

.price-card {
    background: var(--bg);
    border: none; border-radius: 0;
    padding: 2.5rem 2rem;
    transition: background .3s var(--ease); position: relative;
    border-right: 1px solid var(--border-light);
}
.price-card:last-child { border-right: none; }
.price-card:hover {
    background: var(--bg-alt);
    transform: none;
    box-shadow: none;
}
.price-card.featured {
    background: var(--bg-alt);
    border-color: transparent;
    box-shadow: none;
}
.price-card.featured:hover {
    background: var(--bg-elevated);
    box-shadow: none;
}

.price-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent); color: var(--bg);
    font-size: .6rem; font-weight: 600;
    padding: 3px 10px; border-radius: 100px;
    letter-spacing: .04em; text-transform: uppercase;
    transform: none; left: auto;
}
.price-name {
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.1rem; margin-bottom: .4rem; color: var(--text);
}
.price-desc {
    color: var(--text-tertiary); font-size: .8rem;
    line-height: 1.5; margin-bottom: 1.5rem; min-height: 2.5em;
}
.price-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: .5rem; }
.price-currency {
    font-size: 1rem; font-weight: 600; color: var(--text-secondary);
    align-self: flex-start; margin-top: 8px;
}
.price-value {
    font-family: var(--font-display); font-weight: 800;
    font-size: 3rem; letter-spacing: -.04em; line-height: 1;
    color: var(--text);
}
.price-card.featured .price-value { color: var(--accent); }
.price-period { font-size: .85rem; color: var(--text-tertiary); font-weight: 400; }
.price-original {
    font-size: .85rem; color: var(--text-tertiary);
    text-decoration: line-through; margin-bottom: 1.5rem; display: none;
}
.price-original.show { display: block; }

.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li {
    font-size: .8rem; color: var(--text-secondary);
    padding: 8px 0; display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-light);
    font-weight: 400;
}
.price-features li:last-child { border: none; }
.price-features .check {
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.check-yes { background: var(--accent-bg); color: var(--accent); }
.check-no { background: var(--bg-elevated); color: var(--text-tertiary); }
.check svg { width: 11px; height: 11px; }

.btn-plan {
    display: block; width: 100%; padding: 12px;
    border-radius: 100px; font-weight: 500; font-size: .875rem;
    text-align: center; text-decoration: none;
    font-family: var(--font); transition: all .3s var(--ease);
    border: none; cursor: pointer;
}
.btn-plan-outline {
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border);
}
.btn-plan-outline:hover {
    background: var(--bg-alt); border-color: var(--text-tertiary);
}
.btn-plan-fill {
    background: var(--text); color: var(--bg);
}
.btn-plan-fill:hover {
    background: #000;
    box-shadow: var(--shadow-md);
}

/* ─── FAQ ──────────────────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden; transition: all .3s var(--ease);
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    border-left: none; border-right: none; border-top: none;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item:hover { background: transparent; }
.faq-q {
    width: 100%; padding: 1.25rem 0;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; background: none; border: none;
    color: var(--text); font-size: .95rem; font-weight: 500;
    font-family: var(--font); text-align: left;
}
.faq-q svg {
    width: 16px; height: 16px; stroke: var(--text-tertiary);
    transition: transform .4s var(--ease); flex-shrink: 0;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .5s var(--ease), padding .3s;
    color: var(--text-secondary); font-size: .875rem;
    line-height: 1.7; font-weight: 400;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 1.25rem; }

/* ─── Testimonials (removed) ───────────────────────── */
#testimonials { display: none; }

/* ─── CTA bottom ───────────────────────────────────── */
.cta-bottom {
    position: relative; z-index: 1;
    text-align: center; padding: 40px 2rem 120px;
}
.cta-box {
    max-width: 720px; margin: 0 auto;
    background: var(--text); border-radius: 28px;
    padding: 5rem 4rem; color: var(--bg);
}
.cta-box h2 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -.03em; margin-bottom: .75rem;
    color: var(--bg);
}
.cta-box p {
    color: rgba(255,255,255,.5); margin-bottom: 2rem;
    font-size: 1.05rem; font-weight: 400;
}
.cta-perks {
    display: flex; justify-content: center; gap: 28px;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.cta-perk {
    display: flex; align-items: center; gap: 6px;
    font-size: .82rem; color: rgba(255,255,255,.45); font-weight: 400;
}
.cta-perk svg { width: 14px; height: 14px; stroke: #30D158; fill: none; }

.cta-box .btn-hero-primary {
    background: var(--bg); color: var(--text);
}
.cta-box .btn-hero-primary:hover {
    background: var(--bg-elevated);
    box-shadow: 0 8px 32px rgba(255,255,255,.1);
}

/* ─── Footer ───────────────────────────────────────── */
.footer {
    position: relative; z-index: 1;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border);
    max-width: var(--content-max); margin: 0 auto;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 2.5rem;
}
.footer-brand p {
    color: var(--text-secondary); font-size: .8rem;
    line-height: 1.7; margin-top: .5rem; max-width: 260px;
    font-weight: 400;
}
.footer-col h4 {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: .12em; color: var(--text-tertiary);
    margin-bottom: .75rem; font-weight: 600;
}
.footer-col a {
    display: block; color: var(--text-secondary);
    text-decoration: none; font-size: .82rem;
    padding: 3px 0; transition: color .3s var(--ease);
    font-weight: 400;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    text-align: center; color: var(--text-tertiary);
    font-size: .72rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-weight: 400;
}

/* ─── Mobile nav ───────────────────────────────────── */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-hamburger {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px; color: var(--text-secondary);
}
.nav-hamburger svg { width: 22px; height: 22px; }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
    :root { --section-gap: 100px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px; margin-left: auto; margin-right: auto;
    }
    .price-card { border-right: none; border-bottom: 1px solid var(--border-light); }
    .price-card:last-child { border-bottom: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .step-connector { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-links.show {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: 52px; left: 0; right: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--border);
        padding: .5rem 1rem; gap: 0;
        animation: slideDown .25s var(--ease);
    }
    .nav-links.show a {
        padding: 14px 12px; font-size: .9rem; font-weight: 500;
        color: var(--text); border-radius: 8px;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-links.show a:last-child { border-bottom: none; }
    .nav-links.show a:hover { background: var(--bg-alt); }
    .nav-hamburger { display: block; }
}

@media (max-width: 640px) {
    .nav-bar { padding: 0 1rem; }
    .btn-ghost { display: none; }
    .hero { padding: 100px 1.5rem 60px; }
    .trusted-stats { gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
    .section { padding: 80px 1.5rem; }
    .cta-box { padding: 3rem 1.5rem; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .period-toggle { flex-wrap: wrap; }
    .hero-3d-wrapper { margin-top: 2rem; }
    .hero-3d-scene {
        transform: rotateX(3deg) rotateY(0deg) !important;
        pointer-events: none;
    }
    .dash-body { grid-template-columns: 1fr 1fr; }
    .dash-chart-area { grid-template-columns: 1fr; }
    .dash-float { display: none; }
    .dash-kpi-value { font-size: 1.1rem; }
    .compare-table th, .compare-table td { padding: 10px 12px; font-size: .8rem; }
    .btn-hero { padding: 14px 24px; font-size: .9rem; }

    /* ── Mobile performance: disable heavy effects ── */
    .bg-glow { display: none; }
    .nav-bar, .nav-links.show {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, .97);
    }
    /* Ensure content is visible even if IntersectionObserver is slow */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .compare-table { font-size: .8rem; }
}

/* ─── Module Groups (Features reorganized by plan) ── */
.module-group {
    margin-bottom: 3rem;
}
.module-group:last-child { margin-bottom: 0; }

.module-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.module-group-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -.01em;
}

.module-group-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .02em;
    background: var(--accent-bg);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    white-space: nowrap;
}
.module-group-tag.tag-industrial {
    background: rgba(245,158,11,.08);
    color: #d97706;
    border-color: rgba(245,158,11,.2);
}
.module-group-tag.tag-completo {
    background: rgba(168,85,247,.08);
    color: #7c3aed;
    border-color: rgba(168,85,247,.2);
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
}

.f-icon-industrial { background: rgba(245,158,11,.08) !important; }
.f-icon-industrial svg { stroke: #d97706 !important; }
.f-icon-completo { background: rgba(168,85,247,.08) !important; }
.f-icon-completo svg { stroke: #7c3aed !important; }

/* ─── Profile Cards (Para quem e?) ─────────────────── */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--border-light);
}

.profile-card {
    background: var(--bg);
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: background .3s var(--ease);
    position: relative;
}
.profile-card:last-child { border-right: none; }
.profile-card:hover { background: var(--bg-alt); }

.profile-card-featured {
    background: var(--bg-alt);
}
.profile-card-featured:hover { background: var(--bg-elevated); }

.profile-plan-tag {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.profile-plan-tag.featured-tag {
    background: var(--accent);
    color: var(--bg);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    letter-spacing: .04em;
}

.profile-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.2rem;
}
.profile-icon svg {
    width: 56px;
    height: 56px;
}

.profile-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: .6rem;
    color: var(--text);
    letter-spacing: -.01em;
}

.profile-desc {
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.profile-modules {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}
.profile-modules li {
    font-size: .8rem;
    color: var(--text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.pm-check {
    color: var(--accent);
    font-weight: 700;
    font-size: .75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pm-highlight {
    background: rgba(0,122,255,.15);
}

.profile-examples {
    font-size: .75rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.profile-examples span:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 4px;
}

/* ─── Profile Cards Responsive ─────────────────────── */
@media (max-width: 960px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .profile-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .profile-card:last-child { border-bottom: none; }
    .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .module-group-header { flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .features-grid-4 { grid-template-columns: 1fr; }
}
