/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
    --ink: #0d0f14;
    --ink-soft: #3f4452;
    --ink-muted: #8891a4;
    --surface: #ffffff;
    --surface-2: #f5f6f9;
    --surface-3: #eef0f5;
    --blue: #1a6fff;
    --blue-dark: #0d4fd6;
    --blue-glow: rgba(26, 111, 255, 0.14);
    --teal: #00c4b4;
    --amber: #f59e0b;
    --green: #22c55e;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-blue: 0 8px 32px rgba(26, 111, 255, 0.22);
    --font-head: "Syne", sans-serif;
    --font-body: "DM Sans", sans-serif;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.nav-logo span {
    color: var(--blue);
}

.nav-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 6px 14px;
    border-radius: 20px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--surface-2);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.22s var(--ease-out);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--surface-3);
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 36px rgba(26, 111, 255, 0.32);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue-glow);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 1rem;
}

/* hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

/* soft background grid */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 111, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 111, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(
        ellipse 80% 70% at 50% 0%,
        black 60%,
        transparent 100%
    );
}

/* radial glow */
.hero::after {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(
        ellipse,
        rgba(26, 111, 255, 0.12) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.hero-inner {
    max-width: 820px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 8px;
    background: rgba(26, 111, 255, 0.08);
    border: 1px solid rgba(26, 111, 255, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 28px;
    animation: fadeUp 0.6s var(--ease-out) both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 22px;
    animation: fadeUp 0.6s 0.1s var(--ease-out) both;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
    animation: fadeUp 0.6s 0.2s var(--ease-out) both;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeUp 0.6s 0.3s var(--ease-out) both;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--ink-muted);
    animation: fadeUp 0.6s 0.4s var(--ease-out) both;
}

.hero-social-proof-divider {
    width: 1px;
    height: 16px;
    background: var(--surface-3);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

/* dashboard preview */
.hero-visual {
    margin-top: 56px;
    position: relative;
    animation: fadeUp 0.7s 0.5s var(--ease-out) both;
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-xl);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(26, 111, 255, 0.05);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--surface-3);
}

.win-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.win-dot.r {
    background: #ff5f57;
}

.win-dot.y {
    background: #febc2e;
}

.win-dot.g {
    background: #28c840;
}

.topbar-title {
    margin-left: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.dashboard-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 300px;
}

.db-sidebar {
    background: var(--ink);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.2s;
}

.db-nav-item.active {
    background: var(--blue);
    color: #fff;
}

.db-nav-item-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: currentColor;
    opacity: 0.6;
}

.db-main {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-content: start;
}

.metric-card {
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--surface-3);
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.metric-value {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.metric-delta {
    font-size: 0.75rem;
    font-weight: 500;
}

.delta-up {
    color: var(--green);
}

.delta-dn {
    color: #ef4444;
}

.chart-bar-row {
    grid-column: 1/-1;
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--surface-3);
}

.chart-title {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--blue);
    opacity: 0.18;
    transition: opacity 0.3s;
}

.bar:hover {
    opacity: 1;
}

.bar.hi {
    opacity: 0.8;
}

.bar.mid {
    opacity: 0.45;
}

/* ─── LOGOS ───────────────────────────────────────────────── */
.logos-section {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--surface-3);
    border-bottom: 1px solid var(--surface-3);
}

.logos-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.logo-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--surface-2);
    border: 1px solid var(--surface-3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}

/* ─── SECTIONS SHARED ─────────────────────────────────────── */
.section {
    padding: 96px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 520px;
    line-height: 1.65;
}

/* ─── FEATURES ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--blue-glow);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.how-section {
    background: var(--ink);
    padding: 96px 24px;
    overflow: hidden;
}

.how-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.how-section .section-eyebrow {
    color: var(--teal);
}

.how-section .section-title {
    color: #fff;
}

.how-section .section-sub {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
    margin-top: 56px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.step {
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
    text-align: left;
}

.step:last-child {
    border-right: none;
}

.step:hover {
    background: rgba(26, 111, 255, 0.12);
}

.step-num {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.step h3 {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* ─── MODULES (ERP/CRM/HRM) ───────────────────────────────── */
.modules-tabs {
    display: flex;
    gap: 8px;
    background: var(--surface-2);
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
    margin: 44px auto 0;
}

.tab-btn {
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--ink-muted);
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.modules-content {
    margin-top: 36px;
}

.module-panel {
    display: none;
}

.module-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.module-text h3 {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    color: var(--ink);
}

.module-text p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 24px;
}

.module-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.module-list li::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(26, 111, 255, 0.1);
    border: 1.5px solid rgba(26, 111, 255, 0.25);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%231a6fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.module-visual {
    background: var(--surface-2);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-xl);
    padding: 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.module-visual::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(26, 111, 255, 0.1),
        transparent 70%
    );
}

.mini-stat {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    border: 1px solid var(--surface-3);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-stat-label {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.mini-stat-value {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.mini-stat-badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-green {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
}

.badge-blue {
    background: rgba(26, 111, 255, 0.1);
    color: var(--blue);
}

.badge-amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
    background: var(--surface-2);
    padding: 96px 24px;
}

.testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.tcard {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s;
}

.tcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tcard-quote {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tcard-quote::before {
    content: '"';
    font-size: 2rem;
    color: var(--blue);
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 4px;
}

.tcard-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tcard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    display: grid;
    place-items: center;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.tcard-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.tcard-role {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.tcard-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

/* ─── CTA STRIP ───────────────────────────────────────────── */
.cta-strip {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, #0d1a3a 0%, #0a2d6b 100%);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(26, 111, 255, 0.15) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
}

.cta-strip-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.cta-strip h2 {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 14px;
}

.cta-strip p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    line-height: 1.65;
}

.cta-strip .btn-primary {
    font-size: 1rem;
    padding: 14px 32px;
}

.cta-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-section {
    padding: 96px 24px;
}

.faq-inner {
    max-width: 740px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.faq-item.open {
    border-color: rgba(26, 111, 255, 0.25);
    box-shadow: 0 0 0 4px var(--blue-glow);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
    user-select: none;
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition:
        transform 0.3s var(--ease-out),
        background 0.2s;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.35s var(--ease-out),
        padding 0.3s;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
    padding: 0 22px;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 22px 18px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--ink);
    padding: 64px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
}

.footer-brand .footer-logo-text {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand .footer-logo-text span {
    color: var(--blue);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.65;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.app-badges {
    display: flex;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s var(--ease-out),
        transform 0.5s var(--ease-out);
}

.stagger.visible > *:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}

.stagger.visible > *:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 0.08s;
}

.stagger.visible > *:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 0.16s;
}

.stagger.visible > *:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0.24s;
}

.stagger.visible > *:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: 0.32s;
}

.stagger.visible > *:nth-child(6) {
    opacity: 1;
    transform: none;
    transition-delay: 0.4s;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--surface-3);
        padding: 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s var(--ease-out);
        z-index: 800;
    }

    .nav-mobile.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-mobile a {
        padding: 12px 0;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid var(--surface-3);
        color: var(--ink-soft);
    }

    .nav-mobile .btn {
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
    }

    .db-sidebar {
        display: none;
    }

    .db-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-panel.active {
        grid-template-columns: 1fr;
    }

    .module-visual {
        order: -1;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1/-1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .step:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 16px 48px;
    }

    .section {
        padding: 64px 16px;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 8px;
    }

    .hero-social-proof-divider {
        width: 40px;
        height: 1px;
    }

    .db-main {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .modules-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-md);
        width: 100%;
    }

    .tab-btn {
        flex: 1;
    }
}
