/* ─── 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;
    }
}

/* ─── HERO WORKFLOW ───────────────────────────────────────── */
.hero-workflow {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(26, 111, 255, 0.05);
    animation: fadeUp 0.7s 0.5s var(--ease-out) both;
    overflow: hidden;
}

.wf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    transition: background 0.2s;
    flex: 1;
    min-width: 0;
}

.wf-step:hover {
    background: var(--surface-2);
}

.wf-step--accent {
    background: rgba(26, 111, 255, 0.06);
    border: 1px solid rgba(26, 111, 255, 0.18);
}

.wf-step--accent:hover {
    background: rgba(26, 111, 255, 0.1);
}

.wf-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.wf-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    white-space: nowrap;
}

.wf-sub {
    font-size: 0.68rem;
    color: var(--ink-muted);
    text-align: center;
    white-space: nowrap;
}

.wf-connector {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--surface-3), rgba(26, 111, 255, 0.4), var(--surface-3));
    position: relative;
    flex-shrink: 0;
}

.wf-connector::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(26, 111, 255, 0.5);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

/* ─── TRUST SECTION ───────────────────────────────────────── */
.trust-section {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--surface-3);
    border-bottom: 1px solid var(--surface-3);
    background: var(--surface);
}

.trust-inner {
    max-width: 900px;
    margin: 0 auto;
}

.trust-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.trust-industries {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ind-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--surface-2);
    border: 1px solid var(--surface-3);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 500;
    color: var(--ink-muted);
}

/* ─── PAIN SECTION ────────────────────────────────────────── */
.pain-section {
    background: var(--ink);
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(239, 68, 68, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 68, 68, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 60%, transparent 100%);
}

.pain-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pain-eyebrow {
    color: #ef4444 !important;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pain-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.pain-card:hover {
    background: rgba(239, 68, 68, 0.06);
}

.pain-num {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}

.pain-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.65;
}

/* ─── INDUSTRY SECTION ────────────────────────────────────── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.industry-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,
        border-color 0.25s;
}

.industry-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);
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 111, 255, 0.2);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    line-height: 1;
}

.industry-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ─── TALLY SECTION ───────────────────────────────────────── */
.tally-section {
    background: var(--surface-2);
    padding: 96px 24px;
}

.tally-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tally-eyebrow {
    color: var(--blue);
}

.tally-title {
    text-align: center;
    margin-bottom: 16px;
}

.tally-sub {
    margin: 0 auto 52px;
    text-align: center;
}

.tally-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
}

.tally-col {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: left;
    align-self: stretch;
}

.tally-col--bizmitra {
    border-color: rgba(26, 111, 255, 0.28);
    box-shadow: 0 0 0 4px var(--blue-glow), var(--shadow-md);
}

.tally-col-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--surface-3);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.tally-col-badge--blue {
    background: rgba(26, 111, 255, 0.1);
    color: var(--blue);
}

.tally-col-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.3;
}

.tally-feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tally-feat-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

.tally-feat-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    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;
}

.tally-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
}

.tally-plus-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-blue);
}

.tally-bridge-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ─── PRICING SECTION ─────────────────────────────────────── */
.pricing-section {
    padding: 96px 24px;
    background: var(--surface);
}

.pricing-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 52px;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: left;
    position: relative;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: rgba(26, 111, 255, 0.28);
    box-shadow: 0 0 0 4px var(--blue-glow), var(--shadow-md);
    background: linear-gradient(180deg, rgba(26, 111, 255, 0.02) 0%, var(--surface) 100%);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 111, 255, 0.1);
    border: 1px solid rgba(26, 111, 255, 0.2);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.pricing-plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 12px;
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.pricing-amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.pricing-price--custom .pricing-amount {
    font-size: 1.8rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 44px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

.pricing-features li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(26, 111, 255, 0.1);
    border: 1.5px solid rgba(26, 111, 255, 0.2);
    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;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}

/* ─── RESPONSIVE: NEW SECTIONS ────────────────────────────── */
@media (max-width: 900px) {
    .hero-workflow {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px;
    }

    .wf-connector {
        display: none;
    }

    .wf-step {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .tally-comparison {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tally-bridge {
        flex-direction: row;
        padding: 4px 0;
        justify-content: center;
    }

    .tally-col {
        align-self: auto;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-workflow {
        padding: 16px 12px;
        gap: 8px;
    }

    .wf-step {
        padding: 10px 8px;
        min-width: 60px;
    }

    .wf-label {
        font-size: 0.68rem;
    }

    .wf-sub {
        display: none;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tally-comparison {
        gap: 8px;
    }

    .tally-col {
        padding: 24px 20px;
    }
}

/* ─── [x-cloak] Alpine.js FOUC guard ─────────────────────── */
[x-cloak] {
    display: none !important;
}

/* ─── PRICING COUNTRY TABS ────────────────────────────────── */
.pricing-country-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px auto 8px;
    background: var(--surface-2);
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
}

.pricing-country-btn {
    padding: 9px 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;
    white-space: nowrap;
}

.pricing-country-btn.active,
.pricing-country-btn:focus-visible {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.pricing-footer-note {
    text-align: center;
    margin-top: 28px;
}

.pricing-see-all {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 500;
    transition: color 0.2s;
}

.pricing-see-all:hover {
    color: var(--blue-dark);
}

/* ─── MODAL OVERLAY ───────────────────────────────────────── */
.lp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lp-modal-overlay.open {
    display: flex;
}

/* ─── MODAL CONTAINER ─────────────────────────────────────── */
.lp-modal {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.22),
        0 8px 24px rgba(0, 0, 0, 0.12);
    animation: modalIn 0.28s var(--ease-out) both;
}

.lp-modal--wide {
    max-width: 760px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lp-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink-muted);
    display: grid;
    place-items: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.lp-modal-close:hover {
    background: var(--surface-3);
    color: var(--ink);
}

/* ─── MODAL HEADER ────────────────────────────────────────── */
.lp-modal-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.lp-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.2;
}

.lp-modal-sub {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ─── MODAL FORM ──────────────────────────────────────────── */
.lp-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.lp-field .req {
    color: #ef4444;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
    border: 1.5px solid var(--surface-3);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.875rem;
    color: var(--ink);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    font-family: inherit;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.lp-field textarea {
    resize: vertical;
    min-height: 88px;
}

.lp-form-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.lp-form-error {
    font-size: 0.82rem;
    color: #ef4444;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
}

/* ─── MODAL SUCCESS STATE ─────────────────────────────────── */
.lp-modal-success {
    text-align: center;
    padding: 20px 0;
}

.lp-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(26, 111, 255, 0.3);
}

.lp-modal-success h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.lp-modal-success p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ─── VIDEO MODAL ─────────────────────────────────────────── */
.lp-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    margin-bottom: 24px;
}

.lp-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.lp-tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.lp-tour-footer p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    flex: 1;
}

/* ─── RESPONSIVE: MODALS + PRICING TABS ──────────────────── */
@media (max-width: 600px) {
    .lp-modal {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
    }

    .lp-form-row {
        grid-template-columns: 1fr;
    }

    .lp-modal-title {
        font-size: 1.2rem;
    }

    .pricing-country-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-md);
        width: 100%;
        justify-content: stretch;
    }

    .pricing-country-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
    }

    .lp-tour-footer {
        flex-direction: column;
        text-align: center;
    }
}
