/* ============================================================
   Wisanna Legal – Landing Page v4 (Lead-Gen Focus)
   Standalone mobile-first stylesheet
   Forked from v3, restructured for demo-first conversion
   Breakpoints: 768px (tablet), 1024px (desktop)
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
    /* Brand Colors */
    --primary-navy: #0D2C54;
    --primary-navy-light: #133a6b;
    --secondary-slate: #6C7A89;
    --accent-gold: #FFB700;
    --accent-gold-light: #FFD700;
    --accent-gold-gradient: linear-gradient(135deg, #FFB700, #FFD700);
    --accent-gold-soft: rgba(255, 183, 0, 0.10);
    --neutral-off-white: #F8F9FA;
    --neutral-white: #FFFFFF;
    --neutral-dark: #212529;
    --border-light: rgba(13, 44, 84, 0.08);
    --border-medium: rgba(13, 44, 84, 0.12);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(13, 44, 84, 0.04);
    --shadow-sm: 0 2px 8px rgba(13, 44, 84, 0.06);
    --shadow-md: 0 4px 24px rgba(13, 44, 84, 0.08);
    --shadow-lg: 0 12px 48px rgba(13, 44, 84, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 16px rgba(255, 183, 0, 0.25);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Layout */
    --container-max: 1200px;
    --section-pad-mobile: 56px 20px;
    --section-pad-tablet: 72px 32px;
    --section-pad-desktop: 96px 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--neutral-dark);
    background: var(--neutral-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ── Typography Scale (fluid) ───────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-navy);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.45rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.2rem); }

p {
    font-size: clamp(0.95rem, 2.3vw, 1.05rem);
    color: var(--secondary-slate);
    line-height: 1.7;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

/* ── Section Base ───────────────────────────────────────────── */
.section {
    padding: var(--section-pad-mobile);
}

.section--white { background: var(--neutral-white); }
.section--offwhite { background: var(--neutral-off-white); }
.section--navy {
    background: var(--primary-navy);
    color: var(--neutral-white);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: var(--neutral-white);
}
.section--navy > .container > p,
.section--navy > .container > .section__header p {
    color: rgba(255, 255, 255, 0.8);
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__header h2 {
    margin-bottom: 0.75rem;
}

.section__subtitle {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 2.3vw, 1.08rem);
    color: var(--secondary-slate);
    line-height: 1.65;
}

.section--navy .section__subtitle {
    color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
    .section { padding: var(--section-pad-tablet); }
    .section__header { margin-bottom: 3rem; }
}

@media (min-width: 1024px) {
    .section { padding: var(--section-pad-desktop); }
    .section__header { margin-bottom: 3.5rem; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    min-width: 0;
    line-height: 1.3;
    text-align: center;
    min-height: 48px;
    padding: 0.75rem 1.75rem;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 183, 0, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--neutral-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--accent-gold);
}

.btn--outline:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn--small {
    font-size: 0.8rem;
    min-height: 36px;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
}

@media (min-width: 380px) {
    .btn--small {
        font-size: 0.85rem;
        min-height: 40px;
        padding: 0.5rem 1.25rem;
    }
}

.btn--full {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    text-align: center;
    min-width: 0;
}

/* ── Sticky Header ──────────────────────────────────────────── */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 0;
    transition: box-shadow var(--transition-base), padding var(--transition-base);
}

.lp-header--scrolled {
    box-shadow: 0 2px 20px rgba(13, 44, 84, 0.1);
    padding: 0.5rem 0;
}

.lp-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
}

@media (min-width: 380px) {
    .lp-header .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

@media (min-width: 768px) {
    .lp-header .container {
        padding-left: max(32px, env(safe-area-inset-left));
        padding-right: max(32px, env(safe-area-inset-right));
    }
}

.lp-header__logo img {
    height: 22px;
    width: auto;
    max-width: 100px;
    transition: height var(--transition-base);
}

@media (min-width: 380px) {
    .lp-header__logo img {
        height: 26px;
        max-width: none;
    }
}


.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    flex: 0 1 auto;
}

@media (min-width: 380px) {
    .lp-header__actions {
        gap: 0.75rem;
    }
}

.lp-header__actions .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    min-height: 32px;
    white-space: nowrap;
}

@media (min-width: 380px) {
    .lp-header__actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-height: 36px;
    }
}

@media (min-width: 768px) {
    .lp-header__actions .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
}

@media (min-width: 768px) {
    .lp-header { padding: 0.75rem 0; }
    .lp-header__logo img { height: 36px; }
    .lp-header__actions { gap: 1rem; }
}

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switcher {
    position: relative;
}

.lang-switcher__current {
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background var(--transition-fast);
    -webkit-user-select: none;
    user-select: none;
}

@media (min-width: 380px) {
    .lang-switcher__current {
        font-size: 0.82rem;
        padding: 6px 10px;
        gap: 5px;
    }
}

.lang-switcher__current {
    white-space: nowrap;
}

.lang-switcher__current::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--accent-gold);
    transition: transform var(--transition-base);
}

.lang-switcher__current:hover {
    background: rgba(255, 183, 0, 0.06);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--neutral-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 910;
    overflow: hidden;
}

.lang-switcher__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--neutral-dark);
    text-align: left;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.lang-switcher__option:last-child {
    border-bottom: none;
}

.lang-switcher__option:hover {
    background: var(--neutral-off-white);
}

.lang-switcher__option.is-active {
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 600;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--primary-navy);
    color: var(--neutral-white);
    padding: 100px 20px 56px;
    overflow: hidden;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(13, 44, 84, 0.6) 0%, rgba(13, 44, 84, 0.97) 80%);
}

.hero__bg-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.network-lines,
.network-nodes {
    transform-box: fill-box;
    transform-origin: center center;
    will-change: transform, opacity;
}

.network-nodes--gold circle {
    fill: rgba(255, 183, 0, 0.4);
    filter: drop-shadow(0 0 6px rgba(255, 183, 0, 0.35));
}

.network-nodes--white circle {
    fill: rgba(255, 255, 255, 0.2);
}

.network-nodes--gold circle {
    animation: twinkle 4s ease-in-out infinite;
}

.network-nodes--gold circle:nth-child(2) { animation-delay: -0.8s; }
.network-nodes--gold circle:nth-child(3) { animation-delay: -1.6s; }
.network-nodes--gold circle:nth-child(4) { animation-delay: -2.4s; }
.network-nodes--gold circle:nth-child(5) { animation-delay: -3.2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.4; r: 2.5; }
    50%      { opacity: 1;   r: 3.5; }
}

.network-lines--a {
    animation: driftA 18s ease-in-out infinite;
}

.network-nodes--gold {
    animation: driftA 18s ease-in-out infinite;
}

.network-lines--b {
    animation: driftB 22s ease-in-out infinite;
}

.network-nodes--white {
    animation: driftC 20s ease-in-out infinite;
}

@keyframes driftA {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(12px, -8px); }
    50%      { transform: translate(-6px, 10px); }
    75%      { transform: translate(-10px, -4px); }
}

@keyframes driftB {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(-10px, 6px); }
    50%      { transform: translate(8px, -10px); }
    75%      { transform: translate(4px, 8px); }
}

@keyframes driftC {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(8px, -6px); }
    66%      { transform: translate(-6px, 8px); }
}


.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__headline {
    font-size: clamp(1.85rem, 6.5vw, 3.4rem);
    font-weight: 700;
    color: var(--neutral-white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero__headline em {
    font-style: normal;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: clamp(1rem, 2.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.hero__ctas .btn {
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    text-align: center;
    padding: 0.8rem 1.2rem;
}

.hero__ctas .btn svg {
    flex-shrink: 0;
}

/* ── Hero Inline Lead Form ─────────────────────────────────── */
.hero__form-card {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 183, 0, 0.18);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero__form-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--neutral-white);
    margin-bottom: 0.3rem;
}

.hero__form-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
}

.hero__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero__form input[type="text"],
.hero__form input[type="email"],
.hero__form input[type="tel"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--neutral-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.hero__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero__form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
}

.hero__form .btn {
    margin-top: 0.25rem;
}

.hero__form-trust {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero__form-trust svg {
    stroke: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

/* Hero form success */
.hero__form-success {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.hero__form-check {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__form-check svg {
    width: 22px;
    height: 22px;
    stroke: #22c55e;
}

.hero__form-success p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 32px 80px;
        min-height: 0;
    }

    .hero__ctas {
        flex-direction: row;
        gap: 1rem;
    }

    .hero__ctas .btn {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (min-width: 1024px) {
    .hero { padding: 140px 32px 100px; }

    .hero__content {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3rem;
        align-items: center;
    }

    .hero__form-card {
        margin-top: 0;
        padding: 2rem 1.75rem;
    }

    .hero__form-title {
        font-size: 1.3rem;
    }
}

/* ── Social Proof / ROI Strip ───────────────────────────────── */
.roi-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
}

.roi-strip__item {
    padding: 1.25rem 1rem;
}

.roi-strip__number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 3rem);
    font-weight: 700;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.roi-strip__label {
    font-size: 0.85rem;
    color: var(--secondary-slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .roi-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .roi-strip__item {
        padding: 1.5rem 2rem;
        position: relative;
    }

    .roi-strip__item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 48px;
        width: 1px;
        background: var(--border-medium);
    }
}

/* ── Video Section ──────────────────────────────────────────── */
.video-wrap {
    max-width: 840px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #0a1e3d, var(--primary-navy));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container .video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-container__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    background: rgba(13, 44, 84, 0.25);
    gap: 0.25rem;
    z-index: 1;
}

.video-container__placeholder:hover {
    background: rgba(13, 44, 84, 0.1);
}

.video-container__play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 6px 24px rgba(255, 183, 0, 0.45);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-container__placeholder:hover .video-container__play {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(255, 183, 0, 0.55);
}

.video-container__play svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-navy);
    margin-left: 3px;
}

/* ── Capabilities (Two Columns) ─────────────────────────────── */
.capabilities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.capability-card {
    background: var(--neutral-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 183, 0, 0.2);
}

.capability-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--accent-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.capability-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-card h3 {
    margin-bottom: 1.25rem;
}

.capability-card__list {
    list-style: none;
}

.capability-card__list li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--secondary-slate);
    line-height: 1.6;
}

.capability-card__list li:last-child {
    margin-bottom: 0;
}

.capability-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-soft);
}

@media (min-width: 768px) {
    .capabilities {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .capability-card {
        padding: 2.5rem;
    }
}

/* ── Comparison Table ───────────────────────────────────────── */
.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--neutral-white);
}

.comparison-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--neutral-white);
    border-bottom: 1px solid var(--border-light);
}

.comparison-table__row:last-child {
    border-bottom: none;
}

.comparison-table__row--header {
    display: none;
}

.comparison-table__cell {
    padding: 0.85rem 0.75rem;
    text-align: center;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    line-height: 1.45;
    color: var(--neutral-dark);
}

.comparison-table__cell--feature {
    grid-column: 1 / -1;
    background: var(--neutral-off-white);
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-table__cell--chatgpt {
    border-right: 1px solid var(--border-light);
}

.comparison-table__cell--chatgpt::before {
    content: 'ChatGPT';
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--secondary-slate);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.comparison-table__cell--wisanna::before {
    content: 'Wisanna';
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #c48a00;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.comparison-table__cell--wisanna {
    background: rgba(255, 183, 0, 0.04);
    font-weight: 500;
}

.icon-check,
.icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.icon-check {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.icon-cross {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

@media (min-width: 768px) {
    .comparison-table {
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .comparison-table__row {
        grid-template-columns: 1fr 1fr 1fr;
        border-bottom: 1px solid var(--border-light);
    }

    .comparison-table__row:last-child {
        border-bottom: none;
    }

    .comparison-table__row--header {
        display: grid;
        background: var(--primary-navy);
        border-bottom: none;
    }

    .comparison-table__row--header .comparison-table__cell {
        color: var(--neutral-white);
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.95rem;
        padding: 1rem 1.5rem 1rem 2rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    .comparison-table__row--header .comparison-table__cell--feature {
        justify-content: flex-start;
    }

    .comparison-table__row--header .comparison-table__cell--wisanna {
        background: var(--accent-gold);
        color: var(--primary-navy);
        font-weight: 700;
    }

    .comparison-table__row--header .comparison-table__cell--chatgpt {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .comparison-table__cell--feature {
        grid-column: auto;
        text-align: left;
        background: transparent;
        border-bottom: none;
        font-size: 0.92rem;
        font-weight: 600;
        padding: 1rem 1.5rem;
        color: var(--primary-navy);
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .comparison-table__cell--chatgpt::before,
    .comparison-table__cell--wisanna::before {
        display: none;
    }

    .comparison-table__cell {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem 1.5rem 1rem 2rem;
        font-size: 0.92rem;
        text-align: left;
        justify-content: flex-start;
        align-items: center;
    }

    .comparison-table__cell--chatgpt {
        border-right: 1px solid var(--border-light);
    }

    .comparison-table__row:nth-child(even):not(.comparison-table__row--header) {
        background: rgba(248, 249, 250, 0.5);
    }

    .comparison-table__cell--wisanna {
        background: rgba(255, 183, 0, 0.04);
    }

    .comparison-table__row:nth-child(even) .comparison-table__cell--wisanna {
        background: rgba(255, 183, 0, 0.06);
    }
}

/* ── Workflow Cards ──────────────────────────────────────────── */
.workflows-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.workflow-card {
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.workflow-card:hover {
    box-shadow: var(--shadow-md);
}

.workflow-card h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gold-soft);
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.6rem 0;
    position: relative;
}

.workflow-step:not(:last-child) {
    padding-bottom: 0.6rem;
}

.workflow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 38px;
    bottom: -6px;
    width: 2px;
    background: rgba(255, 183, 0, 0.15);
}

.workflow-step__number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(255, 183, 0, 0.2);
}

.workflow-step__text {
    font-size: 0.95rem;
    color: var(--secondary-slate);
    line-height: 1.6;
    padding-top: 0.25rem;
}

@media (min-width: 768px) {
    .workflows-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .workflow-card { padding: 2.25rem; }
}

/* ── Textual Testimonials (Quote Cards) ─────────────────────── */
.quote-card {
    margin-top: 1.25rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(13, 44, 84, 0.03);
    border: 1px solid rgba(13, 44, 84, 0.08);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-xs);
    position: relative;
}

.quote-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--neutral-dark);
    position: relative;
    padding-left: 1.1rem;
}

.quote-card__text::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 2rem;
    line-height: 1;
    color: rgba(255, 183, 0, 0.35);
    font-family: var(--font-heading);
    font-weight: 700;
}

.quote-card__text strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.quote-card__meta {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.quote-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--neutral-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(13, 44, 84, 0.15);
}

.quote-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.quote-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.quote-card__title {
    font-size: 0.85rem;
    color: var(--secondary-slate);
    line-height: 1.2;
}

.quote-card--compact {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 183, 0, 0.06);
    border-color: rgba(255, 183, 0, 0.14);
}

.quote-card--compact .quote-card__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
}

.quote-card--trust {
    margin-top: 1.5rem;
}

.quote-card--section {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.section--navy .quote-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.section--navy .quote-card__text {
    color: rgba(255, 255, 255, 0.85);
}

.section--navy .quote-card__text strong {
    color: var(--neutral-white);
}

.section--navy .quote-card__name {
    color: var(--neutral-white);
}

.section--navy .quote-card__title {
    color: rgba(255, 255, 255, 0.6);
}

.section--navy .quote-card__avatar {
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.2);
}

/* ── Testimonial Videos ─────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
    border-color: rgba(255, 183, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-card__video {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    background: linear-gradient(135deg, #071526, #0a1e3d);
    overflow: hidden;
}

.testimonial-card__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial-card__video .video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.testimonial-card__info {
    padding: 1rem 1.25rem 1.15rem;
    border-top: 2px solid rgba(255, 183, 0, 0.2);
}

.testimonial-card__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--neutral-white);
    margin-bottom: 0.15rem;
}

.testimonial-card__role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.testimonial-card__video .video-container__play {
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 16px rgba(255, 183, 0, 0.4);
}

.testimonial-card__video .video-container__play svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 960px;
        margin: 0 auto;
    }
}

/* ── Demo Agenda Section (NEW in v4) ───────────────────────── */
.demo-agenda {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.demo-agenda__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.demo-agenda__item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.demo-agenda__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-agenda__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
}

.demo-agenda__text h4 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.demo-agenda__text p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .demo-agenda {
        gap: 1rem;
    }

    .demo-agenda__item {
        padding: 1.5rem 1.75rem;
    }
}

/* ── Roles Section ──────────────────────────────────────────── */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.role-card {
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.role-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.role-card p {
    font-size: 0.93rem;
    margin-bottom: 0;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .roles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .role-card { padding: 2.25rem 2rem; }
}

/* ── Security / Trust Grid ──────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.trust-item:hover {
    box-shadow: var(--shadow-sm);
}

.trust-item__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.06), rgba(13, 44, 84, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.15rem;
}

.trust-item__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-navy);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.88rem;
    line-height: 1.55;
}

@media (min-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .trust-item { padding: 2rem 1.5rem; }
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    background: var(--neutral-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.65rem;
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-medium);
}

.faq-item.is-open {
    box-shadow: var(--shadow-sm);
    border-color: rgba(255, 183, 0, 0.2);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-navy);
    text-align: left;
    min-height: 56px;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background var(--transition-fast);
    line-height: 1.4;
}

.faq-item__question:hover {
    background: rgba(248, 249, 250, 0.6);
}

.faq-item__chevron {
    width: 20px;
    height: 20px;
    min-width: 20px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer-inner {
    padding: 0.25rem 1.35rem 1.5rem;
    font-size: 0.95rem;
    color: var(--secondary-slate);
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    margin: 0 0.5rem;
    padding-top: 1.15rem;
}

/* ── CTA Section (dark gradient) ────────────────────────────── */
.cta-section {
    background: linear-gradient(145deg, var(--primary-navy) 0%, var(--primary-navy-light) 50%, #0a2040 100%);
    color: var(--neutral-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--neutral-white);
    margin-bottom: 0.5rem;
}

.cta-section > .container > p,
.cta-section > .container > .section__header p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-section__sub {
    font-size: clamp(0.95rem, 2.3vw, 1.08rem);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* ── Demo Form Card (Final CTA – v4) ────────────────────────── */
.demo-form-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.demo-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.demo-form__extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.demo-form-card .form-group {
    margin-bottom: 0;
}

.demo-form-card .form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.35rem;
}

.demo-form-card .form-group input,
.demo-form-card .form-group select,
.demo-form-card .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--neutral-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    min-height: 48px;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.demo-form-card .form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.demo-form-card .form-group select option {
    background: var(--primary-navy);
    color: var(--neutral-white);
}

.demo-form-card .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.demo-form-card .form-group input::placeholder,
.demo-form-card .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.demo-form-card .form-group input:focus,
.demo-form-card .form-group select:focus,
.demo-form-card .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.demo-form__submit {
    max-width: 360px;
    margin: 0 auto;
}

.demo-form__trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-form__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.demo-form__trust-item svg {
    stroke: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

/* Fallback guide CTA inside demo card */
.demo-form__fallback {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.demo-form__fallback p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.demo-form__fallback .btn {
    max-width: 520px;
    width: 100%;
    min-width: 0;
}

/* Progress spinner */
.demo-form__progress {
    text-align: center;
    padding: 2rem 1rem;
}

.demo-request__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 183, 0, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 1rem;
}

.demo-form__progress p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

/* Success state */
.demo-form__success {
    text-align: center;
    padding: 2rem 1rem;
}

.demo-request__check {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-request__check svg {
    width: 28px;
    height: 28px;
    stroke: #22c55e;
}

@keyframes scaleIn {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.demo-form__success h3 {
    color: var(--neutral-white);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.demo-form__success p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .demo-form-card {
        padding: 2.5rem 2.5rem;
    }

    .demo-form__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .demo-form__trust {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* ── Form Elements (shared: exit popup, etc.) ──────────────── */
.form-group {
    margin-bottom: 0.85rem;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--primary-navy);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    min-height: 48px;
    color: var(--neutral-dark);
    background: var(--neutral-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 183, 0, 0.12);
}

.form-group input::placeholder {
    color: #a0aab4;
}

.consent-row {
    margin: 1rem 0 1.25rem;
}

.consent-row label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--neutral-dark);
    line-height: 1.45;
}

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 0.1rem;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.consent-link {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Overrides for dark backgrounds */
.hero__form .consent-row label,
.video-gate__form .consent-row label,
.demo-form .consent-row label {
    color: rgba(255, 255, 255, 0.85);
}

.hero__form .consent-link,
.video-gate__form .consent-link,
.demo-form .consent-link {
    color: var(--accent-gold);
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ── Exit-Intent Popup ──────────────────────────────────────── */
.exit-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.exit-popup.is-open {
    display: flex;
}

.exit-popup__card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 460px;
    width: 100%;
    position: relative;
    text-align: center;
    animation: fadeScale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes fadeScale {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.exit-popup__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--neutral-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--secondary-slate);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.exit-popup__close:hover {
    background: var(--border-medium);
    color: var(--primary-navy);
}

.exit-popup h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
}

.exit-popup p {
    font-size: 0.93rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.exit-popup .form-group {
    text-align: left;
}

/* ── Lead Magnet Section (end-of-page fallback) ────────────── */
.magnet-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: var(--neutral-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.magnet-box__content h3 {
    margin-bottom: 0.5rem;
}

.magnet-box__content p {
    margin-bottom: 1rem;
}

.magnet-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.magnet-list li {
    position: relative;
    padding-left: 1.65rem;
    color: var(--secondary-slate);
    font-size: 0.95rem;
    line-height: 1.6;
}

.magnet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-soft);
}

.magnet-box__form {
    background: var(--neutral-off-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
}

.magnet-box__form h4 {
    margin-bottom: 0.75rem;
}

.magnet-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.magnet-form__success {
    text-align: center;
    padding: 1.25rem 0.5rem;
}

.magnet-form__check {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magnet-form__check svg {
    width: 24px;
    height: 24px;
    stroke: #22c55e;
}

.magnet-form__success p {
    margin: 0;
}

@media (min-width: 768px) {
    .magnet-box {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
        padding: 2.25rem 2rem;
        gap: 2rem;
    }
}

/* ── Sticky Mobile CTA Bar ──────────────────────────────────── */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: var(--primary-navy);
    border-top: 2px solid var(--accent-gold);
    padding-top: 0.65rem;
    padding-right: max(1rem, calc(1rem + env(safe-area-inset-right)));
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom) + 10px);
    padding-left: max(1rem, calc(1rem + env(safe-area-inset-left)));
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    overflow-x: hidden;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta .btn {
    font-size: 0.88rem;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    min-width: 0;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

/* ── Footer ─────────────────────────────────────────────────── */
.lp-footer {
    background: var(--neutral-dark);
    color: var(--neutral-white);
    padding: 2.5rem 20px 1.5rem;
}

.lp-footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.lp-footer__logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.lp-footer__links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.88rem;
}

.lp-footer__links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.lp-footer__links a:hover {
    color: var(--accent-gold);
}

.lp-footer__contact a {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.88rem;
}

.lp-footer__bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
    .lp-footer__content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Spinner (form loading state) ───────────────────────────── */
.spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(13, 44, 84, 0.25);
    border-top-color: var(--primary-navy);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Inline CTA Banner ──────────────────────────────────────── */
.inline-cta {
    text-align: center;
    padding-top: 1.5rem;
}

.inline-cta p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ── Gated Video ────────────────────────────────────────────── */
.video-gate {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-gate__overlay {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-gate__bg {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 200px;
    padding: 1.5rem 1rem;
    --video-preview: none;
    background-image:
        radial-gradient(ellipse at center, rgba(255, 183, 0, 0.10) 0%, rgba(255, 183, 0, 0) 70%),
        linear-gradient(135deg, rgba(13, 44, 84, 0.55) 0%, rgba(10, 30, 61, 0.85) 100%),
        var(--video-preview);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: auto, auto, cover;
    background-position: center, center, center;
    isolation: isolate;
}

.video-gate__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Darker behind the play icon + hint text, softer elsewhere */
    background:
        radial-gradient(closest-side at 50% 48%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.38) 35%, rgba(0, 0, 0, 0.10) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.22) 100%);
}

.video-gate__bg > * {
    position: relative;
    z-index: 1;
}

.video-gate__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-gold);
    background: rgba(255, 183, 0, 0.1);
    border: 1px solid rgba(255, 183, 0, 0.25);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}

.video-gate__play-icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 183, 0, 0.12);
    border: 2px solid rgba(255, 183, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gatePulse 2.5s ease-in-out infinite;
    box-shadow:
        0 14px 48px rgba(0, 0, 0, 0.35),
        0 6px 18px rgba(255, 183, 0, 0.18);
}

.video-gate__play-icon > svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-gold);
    stroke: none;
    margin-left: 3px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.video-gate__lock {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(13, 44, 84, 0.95);
    border: 2px solid rgba(255, 183, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-gate__lock svg {
    width: 13px;
    height: 13px;
    stroke: var(--accent-gold);
}

.video-gate__hint {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    max-width: 320px;
    line-height: 1.45;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 44, 84, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

@keyframes gatePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 183, 0, 0.3); }
    50%      { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(255, 183, 0, 0); }
}

.video-gate__form-wrap {
    padding: 1.75rem 1.5rem 2rem;
    text-align: center;
}

.video-gate__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--neutral-white);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.video-gate__subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.video-gate__form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 380px;
    margin: 0 auto;
}

.video-gate__form input[type="text"],
.video-gate__form input[type="email"],
.video-gate__form input[type="tel"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--neutral-white);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.video-gate__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.video-gate__form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
}

.video-gate__player {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-gate--unlocked .video-gate__overlay {
    animation: gateSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes gateSlideUp {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-30px); pointer-events: none; }
}

@media (min-width: 768px) {
    .video-gate__overlay {
        flex-direction: row;
    }

    .video-gate__bg {
        flex: 1;
        min-height: 320px;
    }

    .video-gate__form-wrap {
        flex: 0 0 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem 2rem;
        text-align: left;
    }

    .video-gate__form {
        margin: 0;
        max-width: none;
    }

    .video-gate__bg {
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .video-gate__play-icon {
        width: 88px;
        height: 88px;
    }

    .video-gate__play-icon > svg {
        width: 36px;
        height: 36px;
    }

    .video-gate__lock {
        width: 30px;
        height: 30px;
        bottom: -2px;
        right: -2px;
    }

    .video-gate__lock svg {
        width: 15px;
        height: 15px;
    }

    .video-gate__hint {
        font-size: 0.85rem;
        max-width: 260px;
    }

    .video-gate__title {
        font-size: 1.3rem;
    }
}

/* ── Utility ────────────────────────────────────────────────── */
.is-hidden { display: none !important; }
.hide-on-desktop { display: inline-flex; }
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

@media (min-width: 1024px) {
    .hide-on-desktop { display: none !important; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
    .lp-header,
    .sticky-cta,
    .exit-popup { display: none !important; }
}

/* ── RTL (Hebrew) ───────────────────────────────────────────── */
html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .lang-switcher__dropdown {
    left: 0;
    right: auto;
}

html[dir="rtl"] .lang-switcher__option {
    text-align: right;
}

html[dir="rtl"] .quote-card {
    border-left: none;
    border-right: 4px solid var(--accent-gold);
}

html[dir="rtl"] .quote-card__text {
    padding-left: 0;
    padding-right: 1.1rem;
}

html[dir="rtl"] .quote-card__text::before {
    left: auto;
    right: 0;
    content: '\05F4';
}

html[dir="rtl"] .quote-card__meta {
    padding-right: 0;
}

html[dir="rtl"] .quote-card__avatar {
    margin-left: 0;
}

html[dir="rtl"] .capability-card__list li {
    padding-left: 0;
    padding-right: 1.65rem;
}

html[dir="rtl"] .capability-card__list li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .comparison-table__cell--chatgpt {
    border-right: none;
    border-left: 1px solid var(--border-light);
}

html[dir="rtl"] .comparison-table__row--header .comparison-table__cell--chatgpt {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

html[dir="rtl"] .comparison-table__row--header .comparison-table__cell--feature {
    justify-content: flex-end;
}

@media (min-width: 768px) {
    html[dir="rtl"] .comparison-table__row--header .comparison-table__cell,
    html[dir="rtl"] .comparison-table__cell {
        direction: rtl;
        text-align: right;
        justify-content: flex-start;
        padding: 1rem 2rem 1rem 1.5rem;
    }

    html[dir="rtl"] .comparison-table__cell--feature {
        display: block;
        text-align: right;
        padding: 1rem 1.5rem;
    }
}

html[dir="rtl"] .workflow-step:not(:last-child)::before {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .faq-item__question {
    text-align: right;
}

html[dir="rtl"] .exit-popup .form-group {
    text-align: right;
}

html[dir="rtl"] .exit-popup__close {
    right: auto;
    left: 0.85rem;
}

html[dir="rtl"] .role-card {
    border-left: none;
    border-right: 4px solid var(--accent-gold);
}

html[dir="rtl"] .video-gate__play-icon > svg {
    margin-left: 0;
    margin-right: 3px;
}

html[dir="rtl"] .video-gate__lock {
    right: auto;
    left: -4px;
}

html[dir="rtl"] .magnet-list li {
    padding-left: 0;
    padding-right: 1.65rem;
}

html[dir="rtl"] .magnet-list li::before {
    left: auto;
    right: 0;
}

@media (min-width: 768px) {
    html[dir="rtl"] .video-gate__form-wrap {
        text-align: right;
    }
}
