/* ==========================================================================
   روشيتة - صفحة الهبوط
   ========================================================================== */

:root {
    --brand: #0284c7;
    --brand-600: #0369a1;
    --brand-700: #075985;
    --brand-100: #e0f2fe;
    --brand-50: #f0f9ff;

    --accent: #059669;
    --accent-600: #047857;
    --accent-50: #ecfdf5;

    --amber: #f59e0b;
    --amber-50: #fffbeb;

    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --muted-2: #94a3b8;

    --line: #e2e8f0;
    --line-2: #f1f5f9;

    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --dark: #0b1220;
    --dark-2: #131c2e;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
    --shadow-brand: 0 14px 34px rgba(2, 132, 199, .28);

    --container: 1200px;
    --header-h: 76px;

    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--ink-2);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.3;
    font-weight: 800;
}

:focus-visible {
    outline: 3px solid rgba(2, 132, 199, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Layout helpers ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.section {
    padding: 96px 0;
    position: relative;
}

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

.section--tight {
    padding: 72px 0;
}

.section__head {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-50);
    color: var(--brand-600);
    border: 1px solid var(--brand-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.section__title {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.section__lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 14px;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
    box-shadow: 0 18px 40px rgba(2, 132, 199, .38);
}

.btn--accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(5, 150, 105, .28);
}

.btn--accent:hover {
    box-shadow: 0 18px 40px rgba(5, 150, 105, .38);
}

.btn--outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
    border-color: var(--brand);
    color: var(--brand-600);
}

.btn--ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .16);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 14px;
}

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

/* ---------- Top bar ---------- */

.topbar {
    background: var(--dark);
    color: #cbd5e1;
    font-size: 13.5px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 44px;
    flex-wrap: wrap;
}

.topbar__group {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color .2s var(--ease);
}

.topbar__item:hover {
    color: #fff;
}

.topbar__item svg {
    width: 15px;
    height: 15px;
    color: var(--brand);
    flex: none;
}

.topbar__item span {
    direction: ltr;
    unicode-bidi: embed;
}

.topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #86efac;
    font-weight: 600;
}

.topbar__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-2);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.is-stuck {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, .96);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand > span:last-child {
    min-width: 0;
}

.brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: var(--shadow-brand);
    overflow: hidden;
    flex: none;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand__name {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-600);
    line-height: 1.2;
    white-space: nowrap;
}

.brand__tag {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav {
    margin-inline-start: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    display: block;
    padding: 9px 13px;
    border-radius: var(--radius-full);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    background: var(--brand-50);
    color: var(--brand-600);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav__toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    place-items: center;
    flex: none;
}

.nav__toggle svg {
    width: 22px;
    height: 22px;
    color: var(--ink);
}

.nav__toggle .icon-close {
    display: none;
}

.nav__toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav__toggle[aria-expanded="true"] .icon-close {
    display: block;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 84px 0 96px;
    background:
        radial-gradient(1100px 520px at 88% -8%, rgba(2, 132, 199, .13), transparent 62%),
        radial-gradient(900px 480px at 4% 8%, rgba(5, 150, 105, .12), transparent 60%),
        linear-gradient(180deg, #f6fdfb 0%, #ffffff 72%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(2, 132, 199, .11) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 62%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 62%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    padding: 7px 8px 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 24px;
}

.hero__eyebrow b {
    background: var(--accent-50);
    color: var(--accent-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
}

.hero__title {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 20px;
}

.hero__title mark {
    background: none;
    color: var(--brand);
}

.hero__lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 58ch;
    margin-bottom: 30px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-bottom: 40px;
}

.hero__point {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.hero__point svg {
    width: 19px;
    height: 19px;
    color: var(--accent);
    flex: none;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 34px;
    border-top: 1px dashed var(--line);
}

/* الأرقام تُقرأ من اليسار لليمين لكنها تُحاذى مع النص العربي أسفلها */
.stat__value {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--brand-600);
    line-height: 1.2;
    direction: ltr;
    unicode-bidi: embed;
    text-align: end;
}

.stat__label {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 600;
}

/* Hero visual */

.hero__visual {
    position: relative;
}

.mockup {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1400px) rotateY(4deg) rotateX(2deg);
    transition: transform .5s var(--ease);
}

.mockup:hover {
    transform: perspective(1400px) rotateY(0) rotateX(0);
}

.mockup__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}

.mockup__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
    flex: none;
}

.mockup__dot:nth-child(1) {
    background: #f87171;
}

.mockup__dot:nth-child(2) {
    background: #fbbf24;
}

.mockup__dot:nth-child(3) {
    background: #34d399;
}

.mockup__url {
    margin-inline-start: 10px;
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 11.5px;
    color: var(--muted-2);
    direction: ltr;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup__screen {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    object-fit: cover;
    background: var(--bg-soft);
}

/* معاينة لوحة التحكم (بديل الصورة) */

.app-mock {
    display: flex;
    aspect-ratio: 16 / 10.5;
    background: var(--bg-soft);
    font-size: 11px;
    line-height: 1.5;
    overflow: hidden;
}

.app-mock__side {
    flex: none;
    width: 27%;
    max-width: 150px;
    background: var(--dark);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.app-mock__logo {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 6px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.app-mock__logo i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    flex: none;
}

.app-mock__logo b {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.app-mock__nav {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.app-mock__nav i {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: rgba(148, 163, 184, .35);
    flex: none;
}

.app-mock__nav.is-active {
    background: rgba(2, 132, 199, .22);
    color: #7dd3fc;
}

.app-mock__nav.is-active i {
    background: var(--brand);
}

.app-mock__main {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
}

.app-mock__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.app-mock__top b {
    font-size: 13px;
    color: var(--ink);
    font-weight: 800;
}

.app-mock__pill {
    background: var(--brand-50);
    color: var(--brand-600);
    border-radius: var(--radius-full);
    padding: 3px 11px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.app-mock__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.app-mock__tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 10px;
    min-width: 0;
}

.app-mock__tile span {
    display: block;
    color: var(--muted);
    font-size: 9.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-mock__tile b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    direction: ltr;
    unicode-bidi: embed;
    text-align: end;
}

.app-mock__tile--brand b {
    color: var(--brand-600);
}

.app-mock__tile--accent b {
    color: var(--accent-600);
}

.app-mock__panels {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    flex: 1;
    min-height: 0;
}

.app-mock__panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.app-mock__panel > span {
    font-size: 10px;
    font-weight: 800;
    color: var(--ink);
}

.app-mock__chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex: 1;
    min-height: 54px;
}

.app-mock__bar {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--brand) 0%, #7dd3fc 100%);
    opacity: .9;
}

.app-mock__bar:nth-child(4) {
    background: linear-gradient(180deg, var(--accent) 0%, #6ee7b7 100%);
}

.app-mock__row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.app-mock__avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 800;
    flex: none;
}

.app-mock__lines {
    flex: 1;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.app-mock__lines i {
    display: block;
    height: 5px;
    border-radius: 3px;
    background: var(--line);
}

.app-mock__lines i:first-child {
    width: 72%;
    background: #cbd5e1;
}

.app-mock__lines i:last-child {
    width: 45%;
}

.app-mock__chip {
    flex: none;
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: var(--accent-50);
    color: var(--accent-600);
    white-space: nowrap;
}

.app-mock__chip--wait {
    background: var(--amber-50);
    color: #b45309;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.float-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
}

.float-card__icon svg {
    width: 21px;
    height: 21px;
}

.float-card__icon--brand {
    background: var(--brand-50);
    color: var(--brand);
}

.float-card__icon--accent {
    background: var(--accent-50);
    color: var(--accent);
}

.float-card__label {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
}

.float-card__value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    white-space: nowrap;
}

/* البطاقات العائمة على الجهة المقابلة للقائمة الجانبية داخل المعاينة */
.float-card--a {
    inset-inline-end: -42px;
    top: 13%;
    animation: floaty 5s ease-in-out infinite;
}

.float-card--b {
    inset-inline-end: -22px;
    bottom: 10%;
    animation: floaty 5s ease-in-out .9s infinite;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}

/* ---------- Trust strip ---------- */

.trust {
    border-block: 1px solid var(--line-2);
    background: #fff;
    padding: 26px 0;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 20px;
}

.trust__item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.trust__item svg {
    width: 26px;
    height: 26px;
    color: var(--brand);
    flex: none;
}

.trust__item b {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 700;
}

.trust__item span {
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- Features ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
}

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform .35s var(--ease);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}

.card:hover::before {
    transform: scaleX(1);
}

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.card__icon svg {
    width: 27px;
    height: 27px;
}

.card__title {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.card__text {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Modules ---------- */

.modules {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.module {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 15px 16px;
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.module:hover {
    transform: translateY(-3px);
    border-color: var(--brand-100);
    box-shadow: var(--shadow-sm);
}

.module__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    flex: none;
}

.module__icon svg {
    width: 19px;
    height: 19px;
}

.module span {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Why choose (dark) ---------- */

.why {
    background:
        radial-gradient(760px 420px at 88% 0%, rgba(2, 132, 199, .3), transparent 62%),
        radial-gradient(700px 400px at 6% 100%, rgba(5, 150, 105, .26), transparent 62%),
        var(--dark);
    color: #cbd5e1;
    padding: 104px 0;
}

.why .section__title {
    color: #fff;
}

.why .section__lead {
    color: #94a3b8;
}

.why .eyebrow {
    background: rgba(2, 132, 199, .16);
    border-color: rgba(2, 132, 199, .3);
    color: #7dd3fc;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
}

.why-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .085);
    border-color: rgba(125, 211, 252, .34);
}

.why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: rgba(125, 211, 252, .14);
    color: #7dd3fc;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.why-card__icon svg {
    width: 25px;
    height: 25px;
}

.why-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 9px;
}

.why-card p {
    color: #94a3b8;
    font-size: 14.5px;
}

/* ---------- Pricing ---------- */

.pricing__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    padding: 5px;
    margin-inline: auto;
    margin-bottom: 46px;
    box-shadow: var(--shadow-xs);
}

.pricing__toggle-wrap {
    display: flex;
    justify-content: center;
}

.pricing__toggle button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.pricing__toggle button.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-600));
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.pricing__toggle .save {
    background: var(--accent-50);
    color: var(--accent-600);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-inline-start: 6px;
}

.pricing__toggle button.is-active .save {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
    align-items: start;
}

.plan {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.plan--featured {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.plan--featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, var(--brand), var(--accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plan__ribbon {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-brand);
    white-space: nowrap;
}

.plan__name {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.plan__desc {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 22px;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line-2);
}

.plan__amount {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    direction: ltr;
    unicode-bidi: embed;
}

.plan__currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
}

.plan__period {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 600;
}

.plan__list {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.plan__list svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none;
    margin-top: 3px;
}

/* ---------- Testimonials ---------- */

.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 24px;
}

.quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.quote__stars {
    display: flex;
    gap: 3px;
    color: var(--amber);
}

.quote__stars svg {
    width: 17px;
    height: 17px;
}

.quote__text {
    color: var(--ink-2);
    font-size: 15px;
    flex: 1;
}

.quote__person {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}

.quote__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-100), var(--accent-50));
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    flex: none;
}

.quote__name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
}

.quote__role {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 840px;
    margin-inline: auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq-item.is-open {
    border-color: var(--brand-100);
    box-shadow: var(--shadow-sm);
}

.faq-item__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: start;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.faq-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    flex: none;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.faq-item__icon svg {
    width: 17px;
    height: 17px;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
    background: var(--brand);
    color: #fff;
}

.faq-item__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}

.faq-item__panel p {
    padding: 0 22px 22px;
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* ---------- Contact ---------- */

.contact__grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 30px;
    align-items: start;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-xs);
}

.panel__title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.panel__lead {
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 26px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

a.contact-row:hover {
    transform: translateY(-3px);
    border-color: var(--brand-100);
    background: #fff;
}

.contact-row__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--brand-50);
    color: var(--brand-600);
}

.contact-row__icon svg {
    width: 21px;
    height: 21px;
}

.contact-row__icon--wa {
    background: #dcfce7;
    color: #16a34a;
}

.contact-row__icon--amber {
    background: var(--amber-50);
    color: #b45309;
}

.contact-row__label {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}

.contact-row__value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.45;
    word-break: break-word;
}

.contact-row__value.ltr {
    direction: ltr;
    unicode-bidi: embed;
    text-align: end;
}

.office {
    margin-top: 26px;
    padding: 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
    border: 1px solid var(--brand-100);
}

.office__label {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-600);
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.office__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.office__meta {
    font-size: 13.5px;
    color: var(--muted);
}

/* Form */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-2);
}

.field label .req {
    color: #ef4444;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    font-size: 14.5px;
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    resize: vertical;
    min-height: 108px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, .12);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-2);
}

.form-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--muted);
}

.form-note svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex: none;
}

/* ---------- CTA banner ---------- */

.cta {
    padding: 0 0 96px;
}

.cta__inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 62px 46px;
    text-align: center;
    background:
        radial-gradient(600px 320px at 82% 0%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 45%, var(--accent-600) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .5;
    pointer-events: none;
}

.cta__title {
    position: relative;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.cta__lead {
    position: relative;
    color: rgba(255, 255, 255, .85);
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 1.02rem;
}

.cta__actions {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta .btn--outline {
    background: #fff;
    color: var(--brand-700);
    border-color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 72px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 40px;
    padding-bottom: 46px;
}

.footer .brand__name {
    color: #fff;
}

.footer .brand__tag {
    color: #94a3b8;
}

.footer__about {
    margin-top: 18px;
    font-size: 14.5px;
    color: #94a3b8;
    max-width: 42ch;
}

.footer__title {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer__links {
    display: grid;
    gap: 11px;
}

.footer__links a {
    color: #94a3b8;
    font-size: 14.5px;
    transition: color .2s var(--ease), padding-inline-start .2s var(--ease);
}

.footer__links a:hover {
    color: #fff;
    padding-inline-start: 5px;
}

.footer__contact {
    display: grid;
    gap: 13px;
}

.footer__contact a,
.footer__contact div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: #94a3b8;
    transition: color .2s var(--ease);
}

.footer__contact a:hover {
    color: #fff;
}

.footer__contact svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
    flex: none;
    margin-top: 5px;
}

.footer__contact .ltr {
    direction: ltr;
    unicode-bidi: embed;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.footer__bottom a {
    color: #cbd5e1;
    font-weight: 700;
}

.footer__bottom a:hover {
    color: #fff;
}

/* ---------- Floating actions ---------- */

.fab {
    position: fixed;
    inset-inline-end: 22px;
    z-index: 800;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s var(--ease);
}

.fab:hover {
    transform: translateY(-4px) scale(1.05);
}

.fab--wa {
    bottom: 22px;
    background: #22c55e;
    color: #fff;
}

.fab--wa svg {
    width: 28px;
    height: 28px;
}

.fab--top {
    bottom: 88px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
}

.fab--top.is-visible {
    opacity: 1;
    visibility: visible;
}

.fab--top svg {
    width: 21px;
    height: 21px;
}

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero__lead {
        max-width: none;
    }

    .float-card--a,
    .float-card--b {
        inset-inline-end: 8px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 960px) {
    .nav {
        position: absolute;
        top: 100%;
        inset-inline: 0;
        margin-inline-start: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 14px 20px 22px;
        display: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav.is-open {
        display: block;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav__link {
        padding: 13px 14px;
        border-radius: var(--radius-sm);
        font-size: 15.5px;
    }

    .nav__toggle {
        display: grid;
        margin-inline-start: auto;
    }

    .header__actions .btn--outline {
        display: none;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 76px 0;
    }

    .why {
        padding: 82px 0;
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 68px;
    }

    .brand__tag {
        display: none;
    }

    .brand__mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 18px;
    }

    .site-header__inner {
        gap: 12px;
    }

    .header__actions .btn {
        padding: 9px 16px;
        font-size: 13.5px;
    }

    .topbar__inner {
        justify-content: center;
        gap: 10px 18px;
        padding-block: 8px;
    }

    .topbar__badge {
        display: none;
    }

    .hero {
        padding: 56px 0 72px;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: start;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .float-card {
        display: none;
    }

    .mockup {
        transform: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .cta__inner {
        padding: 46px 22px;
    }

    .panel {
        padding: 28px 20px;
    }

    .section {
        padding: 62px 0;
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {

    .topbar,
    .site-header,
    .fab,
    .cta {
        display: none !important;
    }
}
