/* Lex Mezan — Landing Page */
:root {
    --lp-navy: #0a1628;
    --lp-navy-mid: #0f2744;
    --lp-navy-light: #1a3a5c;
    --lp-blue: #2563eb;
    --lp-blue-bright: #3b82f6;
    --lp-blue-soft: #dbeafe;
    --lp-blue-badge: #eff6ff;
    --lp-text: #0f172a;
    --lp-text-muted: #64748b;
    --lp-border: #e2e8f0;
    --lp-bg: #f8fafc;
    --lp-white: #ffffff;
    --lp-green: #16a34a;
    --lp-gold: #f59e0b;
    --lp-radius: 12px;
    --lp-radius-lg: 16px;
    --lp-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --lp-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
    --lp-container: 1200px;
    --lp-font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --lp-font-en: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body.lp-body {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--lp-text);
    background: var(--lp-white);
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    width: 100%;
    max-width: var(--lp-container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ── Navbar ── */
.lp-nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.lp-nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.65rem 0;
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--lp-white);
    min-width: 0;
    flex-shrink: 0;
}

.lp-nav__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 6px 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.lp-nav__logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.lp-nav__logo-fallback {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.lp-nav__name {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    white-space: nowrap;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-nav__links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.lp-nav__links a:hover { color: var(--lp-white); }

.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-nav__mobile-tools {
    display: none;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.lp-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--lp-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.35rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.lp-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lp-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: var(--lp-navy);
    z-index: 999;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-mobile-menu.open { display: flex; }

.lp-mobile-menu a {
    color: var(--lp-white);
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.lp-mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); }

/* ── Buttons ── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-family: var(--lp-font);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn--primary {
    background: var(--lp-blue-bright);
    color: var(--lp-white);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.lp-btn--primary:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.lp-btn--outline {
    background: var(--lp-white);
    color: var(--lp-blue);
    border-color: var(--lp-border);
}

.lp-btn--outline:hover {
    border-color: var(--lp-blue);
    box-shadow: var(--lp-shadow);
}

.lp-btn--solid-navy {
    background: var(--lp-navy-light);
    color: var(--lp-white);
}

.lp-btn--solid-navy:hover { background: var(--lp-navy-mid); }

.lp-btn--lg { padding: 0.85rem 2rem; font-size: 1rem; }

.lp-btn--block { width: 100%; }

/* ── Section shared ── */
.lp-section { padding: 5rem 0; }

.lp-section--gray { background: var(--lp-bg); }

.lp-section__header {
    margin-bottom: 3rem;
}

.lp-section__header--center {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.lp-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--lp-blue-badge);
    color: var(--lp-blue);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-badge--outline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lp-section__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--lp-navy);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.lp-section__subtitle {
    font-size: 1.05rem;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.8;
}

/* ── Hero ── */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, var(--lp-navy) 0%, var(--lp-navy-mid) 45%, #0d2d52 100%);
    overflow: hidden;
    padding-top: 5rem;
}

.lp-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.lp-hero__orb--1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    top: -100px;
    inset-inline-end: -100px;
}

.lp-hero__orb--2 {
    width: 350px;
    height: 350px;
    background: rgba(37, 99, 235, 0.12);
    bottom: 10%;
    inset-inline-start: -80px;
}

.lp-hero__content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.lp-hero__inner { max-width: 780px; }

.lp-hero__title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    color: var(--lp-white);
    line-height: 1.25;
    margin: 0 0 1.25rem;
}

.lp-hero__title span { color: var(--lp-blue-bright); }

.lp-hero__desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 2rem;
    line-height: 1.85;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ── Stats ── */
.lp-stats {
    background: var(--lp-white);
    border-block: 1px solid var(--lp-border);
    padding: 2.5rem 0;
}

.lp-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.lp-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    position: relative;
}

.lp-stat + .lp-stat::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--lp-border);
}

.lp-stat__number {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--lp-navy-light);
    line-height: 1.2;
}

.lp-stat__label {
    display: block;
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    margin-top: 0.35rem;
}

/* ── Features ── */
.lp-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-feature-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.75rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.lp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow-hover);
}

.lp-feature-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-blue-badge);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.lp-feature-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin: 0 0 0.6rem;
}

.lp-feature-card__desc {
    font-size: 0.92rem;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.75;
}

/* ── How it works ── */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.lp-step {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.lp-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-step__num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-navy);
    color: var(--lp-white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
}

.lp-step__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin: 0 0 0.5rem;
}

.lp-step__desc {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ── Pricing ── */
.lp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.lp-price-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.lp-price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lp-shadow-hover);
}

.lp-price-card--featured {
    border: 2px solid var(--lp-blue);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.lp-price-card__badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--lp-blue);
    color: var(--lp-white);
    padding: 0.3rem 1.25rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.lp-price-card__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin: 0 0 0.75rem;
}

.lp-price-card__price {
    margin-bottom: 0.5rem;
}

.lp-price-card__amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-blue);
}

.lp-price-card__period {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
}

.lp-price-card__contact {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-blue);
}

.lp-price-card__desc {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    margin: 0 0 1.5rem;
    line-height: 1.65;
}

.lp-price-card__features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.lp-price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--lp-text);
    padding: 0.4rem 0;
}

.lp-price-card__features li::before {
    content: '✓';
    color: var(--lp-green);
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Testimonials ── */
.lp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-testimonial {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.lp-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-testimonial__stars {
    color: var(--lp-gold);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.lp-testimonial__quote {
    flex: 1;
    font-size: 0.95rem;
    color: var(--lp-text);
    line-height: 1.8;
    margin: 0 0 1.5rem;
    border: none;
    padding: 0;
}

.lp-testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.lp-testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-blue-badge);
    color: var(--lp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.lp-testimonial__name {
    font-weight: 800;
    color: var(--lp-navy);
    font-size: 0.95rem;
}

.lp-testimonial__role {
    font-size: 0.82rem;
    color: var(--lp-text-muted);
}

/* ── CTA ── */
.lp-cta {
    background: linear-gradient(145deg, var(--lp-navy) 0%, var(--lp-navy-mid) 100%);
    padding: 5rem 0;
    text-align: center;
}

.lp-cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--lp-white);
    margin: 0 0 0.75rem;
}

.lp-cta__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 2rem;
}

.lp-cta__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-cta__trust li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.lp-cta__trust li::before {
    content: '✓ ';
    color: var(--lp-green);
}

/* ── Glass form card ── */
.lp-form-card {
    max-width: 760px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Trial request form ── */
.lp-trial-form {
    text-align: right;
}

.lp-trial-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
}

.lp-trial-form__field label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.lp-trial-form__field label span { color: #fb7185; }

.lp-trial-form__field--full { grid-column: 1 / -1; }

/* ── Input wrapper with icon ── */
.lp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-input-wrap__icon {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.lp-input-wrap--textarea .lp-input-wrap__icon {
    top: 16px;
    transform: none;
}

.lp-input-wrap--select .lp-input-wrap__arrow {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.2s;
}

/* ── Unified field ── */
.lp-field {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-inline-end: 2.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--lp-white);
    font-family: var(--lp-font);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.lp-field::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.lp-field:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.lp-field:focus {
    border-color: var(--lp-blue-bright);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

/* ── Select field ── */
.lp-field--select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-inline-start: 2.25rem;
}

.lp-field--select option {
    background: var(--lp-navy);
    color: var(--lp-white);
    padding: 0.5rem;
}

.lp-input-wrap--select:focus-within .lp-input-wrap__arrow {
    color: var(--lp-blue-bright);
}

/* ── Tom Select (searchable dropdowns) ── */
.lp-input-wrap--ts .lp-input-wrap__arrow { display: none; }

.lp-input-wrap--ts .ts-wrapper {
    width: 100%;
    position: relative;
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control,
.lp-input-wrap--ts .ts-wrapper.multi .ts-control {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 1rem;
    padding-inline-end: 2.75rem;
    padding-inline-start: 2.25rem;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--lp-white);
    font-family: var(--lp-font);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.lp-input-wrap--ts .ts-wrapper.single.input-active .ts-control,
.lp-input-wrap--ts .ts-wrapper.single.focus .ts-control {
    border-color: var(--lp-blue-bright);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control input {
    color: var(--lp-white) !important;
    font-family: var(--lp-font);
    font-size: 0.95rem;
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control .item {
    color: var(--lp-white);
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: #0f2744;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    margin-top: 6px;
    overflow: hidden;
    z-index: 2000;
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .dropdown-input-wrap {
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .dropdown-input {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--lp-white);
    font-family: var(--lp-font);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .dropdown-input:focus {
    border-color: var(--lp-blue-bright);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .ts-dropdown-content {
    max-height: 240px;
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .option {
    padding: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--lp-font);
    font-size: 0.92rem;
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .option.active {
    background: rgba(59, 130, 246, 0.22);
    color: var(--lp-white);
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .option:hover {
    background: rgba(59, 130, 246, 0.14);
}

.lp-input-wrap--ts .ts-wrapper .ts-dropdown .optgroup-header {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.lp-ts-no-results {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    text-align: center;
}

.lp-input-wrap--ts .ts-wrapper.single .ts-control::after {
    border-color: rgba(255, 255, 255, 0.55) transparent transparent;
    inset-inline-end: 14px;
    inset-inline-start: auto;
}

/* ── Textarea field ── */
.lp-field--textarea {
    resize: vertical;
    min-height: 100px;
    padding-inline-end: 1rem;
    line-height: 1.7;
}

.lp-input-wrap--textarea {
    display: block;
}

/* ── Submit button ── */
.lp-trial-form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-blue-bright), #2563eb);
    color: var(--lp-white);
    font-family: var(--lp-font);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.lp-trial-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.45);
}

.lp-trial-form__submit:active {
    transform: translateY(0);
}

.lp-trial-form__submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-size: 0.9rem;
    transition: transform 0.25s;
}

.lp-trial-form__submit:hover .lp-trial-form__submit-arrow {
    transform: translateX(-4px);
}

/* ── Alerts ── */
.lp-alert {
    max-width: 760px;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lp-alert__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
}

.lp-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #d1fae5;
}

.lp-alert--success .lp-alert__icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.lp-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.lp-alert--error .lp-alert__icon {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.lp-alert__list {
    margin: 0;
    padding-right: 1.25rem;
}

@media (max-width: 640px) {
    .lp-trial-form__grid { grid-template-columns: 1fr; }
    .lp-form-card { padding: 1.5rem 1.25rem; border-radius: 16px; }
}

/* ── Footer ── */
.lp-footer {
    background: var(--lp-bg);
    padding: 4rem 0 0;
    border-top: 1px solid var(--lp-border);
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--lp-navy);
    margin-bottom: 0.75rem;
}

.lp-footer__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 5px 14px;
    border: 1px solid var(--lp-border);
    flex-shrink: 0;
}

.lp-footer__logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.lp-footer__logo-fallback {
    font-size: 1.4rem;
}

.lp-footer__name {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.2;
}

.lp-footer__tagline {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    line-height: 1.75;
    margin: 0;
    max-width: 280px;
}

.lp-footer__heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin: 0 0 1rem;
}

.lp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-footer__links li { margin-bottom: 0.55rem; }

.lp-footer__links a {
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.lp-footer__bottom {
    border-top: 1px solid var(--lp-border);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .lp-nav__links,
    .lp-nav__actions { display: none; }

    .lp-nav__mobile-tools { display: flex; }

    .lp-nav__toggle { display: flex; }

    .lp-nav__logo-box { padding: 5px 14px; }

    .lp-nav__logo-img {
        height: 38px;
        max-width: 130px;
    }

    .lp-nav__name { font-size: 1.1rem; }

    .lp-features__grid,
    .lp-pricing__grid,
    .lp-testimonials__grid { grid-template-columns: repeat(2, 1fr); }

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

    .lp-stats__grid { grid-template-columns: repeat(2, 1fr); }

    .lp-stat:nth-child(3)::before { display: none; }

    .lp-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-section { padding: 3.5rem 0; }

    .lp-nav__brand { gap: 0.5rem; }

    .lp-nav__logo-box { padding: 4px 10px; border-radius: 8px; }

    .lp-nav__logo-img {
        height: 32px;
        max-width: 100px;
    }

    .lp-nav__name { font-size: 1rem; }

    .lp-lang-switch--bar {
        min-width: 2.75rem;
        height: 2.75rem;
        padding: 0 0.5rem;
    }

    .lp-lang-switch--bar .lp-lang-switch__label {
        font-size: 0.78rem;
    }

    .lp-features__grid,
    .lp-pricing__grid,
    .lp-testimonials__grid,
    .lp-steps,
    .lp-stats__grid { grid-template-columns: 1fr; }

    .lp-stat + .lp-stat::before { display: none; }

    .lp-hero__actions { flex-direction: column; align-items: stretch; }

    .lp-cta__form { flex-direction: column; }

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

    .lp-footer__bottom { flex-direction: column; text-align: center; }

    .lp-price-card--featured { order: -1; }
}

/* ── Language switcher ── */
.lp-lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.25rem;
    padding: 0 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: var(--lp-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s, border-color 0.2s;
    gap: 0.35rem;
}

.lp-lang-switch:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--lp-white);
}

.lp-lang-switch__icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.lp-lang-switch--bar {
    flex-direction: column;
    gap: 0.1rem;
    min-width: 3rem;
    height: auto;
    padding: 0.35rem 0.45rem;
    border-radius: 10px;
    line-height: 1;
}

.lp-lang-switch--bar .lp-lang-switch__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lp-lang-switch--menu {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.75rem;
    height: auto;
    padding: 0.85rem 1rem;
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    justify-content: flex-start;
}

/* ── Directional arrows ── */
.lp-arrow::before {
    content: '←';
}

[dir="ltr"] .lp-arrow::before {
    content: '→';
}

[dir="ltr"] .lp-trial-form__submit:hover .lp-trial-form__submit-arrow {
    transform: translateX(4px);
}

/* ── English (LTR) typography ── */
body.lp-body--en {
    font-family: var(--lp-font-en);
}
