:root {
    --bg: #0b1020;
    --bg-soft: #111a30;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-solid: #111827;
    --surface: #f7f8fc;
    --surface-alt: #ffffff;
    --text: #101828;
    --text-soft: #667085;
    --white: #ffffff;
    --primary: #d4af37;
    --primary-dark: #b6901f;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(3, 7, 18, 0.18);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 28%),
        linear-gradient(180deg, #0a0f1e 0%, #10192f 30%, #f4f6fb 30%, #f4f6fb 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #7a5b08;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f5d66f);
    color: #151515;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(212, 175, 55, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.light-btn {
    background: var(--white);
    color: #111827;
    border-color: rgba(17, 24, 39, 0.08);
}

.light-btn:hover {
    background: #f8fafc;
}

/* =========================
   Navbar
========================= */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 30, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
        padding 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    transition: all 0.25s ease;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--white);
    transition: all 0.25s ease;
}

.brand-logo-only {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen;
    transition: height 0.25s ease, transform 0.25s ease, filter 0.28s ease;
}

.footer-logo {
    height: 54px;
    width: auto;
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    transition: all 0.25s ease;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.25s ease, opacity 0.25s ease, font-size 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.nav-cta {
    min-height: 46px;
    padding: 0 20px;
    transition: all 0.25s ease;
}

.lang-toggle {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, min-height 0.25s ease, padding 0.25s ease, font-size 0.25s ease;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

/* =========================
   Hero
========================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 38px 0 72px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 214, 111, 0.22), transparent 25%),
        radial-gradient(circle at 85% 10%, rgba(77, 111, 255, 0.18), transparent 22%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-content {
    color: var(--white);
    padding: 48px 0;
}

.hero-content h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.hero-content p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    font-size: 14px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    padding: 22px;
}

.dashboard-frame {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.dashboard-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.dashboard-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.dashboard-frame img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   Stats
========================= */

.stats-section {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 34px 0 42px;
    background: #f4f6fb;
}

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

.stat-card {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    color: #101828;
}

.stat-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   Sections
========================= */

.features-section,
.preview-section,
.steps-section {
    padding: 90px 0;
}

.features-section {
    background: #f4f6fb;
}

.home-section {
    padding: 90px 0;
}

.home-section-soft {
    background: #f8faff;
}

.home-section-white {
    background: #ffffff;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.section-heading h2 {
    margin: 12px 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
    color: #101828;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

.section-heading-left {
    max-width: 760px;
    margin: 0 0 42px;
    text-align: right;
}

.section-heading-left h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
    color: #101828;
}

.section-heading-left p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

/* =========================
   Cards
========================= */

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

.feature-card {
    position: relative;
    display: block;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #b6901f, #f5d66f);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(182, 144, 31, 0.22);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.36));
    color: #7a5b08;
    font-weight: 800;
    font-size: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.9;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b6a11;
    font-weight: 700;
    font-size: 15px;
}

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

.solution-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #b6901f, #f5d66f);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(182, 144, 31, 0.22);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.36));
    color: #7a5b08;
    font-weight: 800;
    font-size: 18px;
}

.solution-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.solution-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.9;
}

.solution-list {
    display: grid;
    gap: 10px;
}

.solution-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

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

.showcase-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.showcase-card h3 {
    margin: 18px 0 12px;
    font-size: 30px;
    color: #101828;
}

.showcase-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.95;
}

.showcase-points {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.showcase-point {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.showcase-point strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 18px;
}

.showcase-point span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.stats-strip-card {
    padding: 26px 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    text-align: center;
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-strip-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.5;
    color: #101828;
}

.stats-strip-card span {
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 15px;
}

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

.core-feature-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.core-feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.core-feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 16px;
}

.core-feature-list {
    display: grid;
    gap: 10px;
}

.core-feature-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

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

.audience-card {
    padding: 24px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.audience-card strong {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-size: 18px;
}

.audience-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 14px;
}

.home-note-box {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #6d5310;
    line-height: 1.9;
    font-size: 15px;
    font-weight: 700;
}

/* =========================
   Preview
========================= */

.preview-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
    align-items: center;
}

.preview-image {
    position: relative;
}

.preview-glow {
    position: absolute;
    inset: 10% 8% auto auto;
    width: 220px;
    height: 220px;
    background: rgba(212, 175, 55, 0.24);
    filter: blur(60px);
    z-index: 0;
}

.preview-image img,
.system-preview-video {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    background: var(--white);
}

.preview-content {
    max-width: 560px;
}

.preview-content h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.28;
    color: #101828;
}

.preview-content p {
    margin: 0 0 22px;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 17px;
}

.preview-points {
    display: grid;
    gap: 16px;
}

.preview-point {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.preview-point strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 18px;
}

.preview-point span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   Steps + CTA
========================= */

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

.step-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.step-card span {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #111827;
    color: var(--white);
    font-weight: 800;
    font-size: 17px;
}

.step-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 22px;
}

.step-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 16px;
}

.cta-section {
    padding: 0 0 90px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--white);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
}

.cta-panel::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -40px;
    top: -80px;
    background: rgba(212, 175, 55, 0.18);
    filter: blur(40px);
}

.cta-copy,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-copy h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 38px);
}

.cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   Footer
========================= */

.site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 26%),
        linear-gradient(180deg, #09101f 0%, #0b1020 100%);
    color: var(--white);
    padding: 72px 0 28px;
}

.site-footer.reveal-section {
    overflow: hidden;
}

.site-footer > .container {
    width: min(var(--container), calc(100% - 32px));
    max-width: var(--container);
    margin-inline: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 1fr;
    gap: 22px;
    align-items: stretch;
    width: 100%;
}

.footer-grid > div {
    position: relative;
    padding: 28px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    min-width: 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.footer-brand-box {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin: 0;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 18px;
    font-size: 19px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-contact a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgba(255, 255, 255, 0.78);
    padding: 6px 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-copy {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
}

/* =========================
   Modal
========================= */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 20px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-card {
    position: relative;
    width: min(520px, 100%);
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.thank-you-card {
    width: min(460px, 100%);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #f2f4f7;
    color: #667085;
    font-size: 24px;
    cursor: pointer;
}

.modal-card h2 {
    margin: 16px 0 10px;
    color: #111827;
    font-size: 30px;
    line-height: 1.3;
}

.modal-text {
    margin: 0 0 20px;
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 15px;
}

.modal-form {
    display: grid;
    gap: 14px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 14px 16px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: rgba(182, 144, 31, 0.8);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.modal-submit {
    width: 100%;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #18a84f);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.25);
}

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

/* =========================
   Shared Feature Pages
========================= */

.feature-page .site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 30, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-page .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.feature-page .page-hero {
    padding: 56px 0 34px;
    position: relative;
    overflow: hidden;
}

.feature-page .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(245, 214, 111, 0.18), transparent 22%),
        radial-gradient(circle at 82% 0%, rgba(77, 111, 255, 0.16), transparent 20%);
    pointer-events: none;
}

.feature-page .hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 760px;
}

.feature-page .hero-content h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.6px;
}

.feature-page .hero-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.9;
    max-width: 650px;
}

.feature-page .feature-main {
    padding: 34px 0 90px;
}

.feature-page .feature-layout {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 24px;
    align-items: center;
}

.feature-page .feature-layout.single-column {
    grid-template-columns: 1fr;
}

.feature-page .feature-card,
.feature-page .feature-image-card,
.feature-page .mini-feature-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.feature-page .feature-card {
    padding: 30px;
}

.feature-page .feature-card h2 {
    margin: 18px 0 10px;
    font-size: 36px;
    color: #101828;
}

.feature-page .feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.95;
    font-size: 17px;
}

.feature-page .feature-points-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.feature-page .feature-points-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-page .mini-feature-card {
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.feature-page .mini-feature-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: #111827;
}

.feature-page .mini-feature-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.feature-page .feature-image-card {
    padding: 20px;
    position: relative;
}

.feature-page .feature-image-card img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    background: var(--white);
}

.feature-page .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.feature-page .btn-dark {
    background: #111827;
    color: #ffffff;
}

.feature-page .site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 26%),
        linear-gradient(180deg, #09101f 0%, #0b1020 100%);
    color: var(--white);
    padding: 72px 0 28px;
}

.feature-page .site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.feature-page .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.feature-page .footer-grid > div {
    position: relative;
    padding: 28px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feature-page .footer-links,
.feature-page .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-page .footer-links h3,
.feature-page .footer-contact h3 {
    margin: 0 0 18px;
    font-size: 19px;
}

.feature-page .footer-links a,
.feature-page .footer-contact a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgba(255, 255, 255, 0.78);
    padding: 6px 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.feature-page .footer-links a:hover,
.feature-page .footer-contact a:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.feature-page .footer-copy-text {
    margin: 0;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.feature-page .footer-copy {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
}

/* =========================
   Scroll Reveal
========================= */

.reveal-section {
    overflow: clip;
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal-item.stagger-1 {
    transition-delay: 0.12s;
}

.reveal-item.stagger-2 {
    transition-delay: 0.22s;
}

.reveal-item.stagger-3 {
    transition-delay: 0.32s;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* =========================
   LTR
========================= */

html[dir="ltr"] body {
    text-align: left;
}

html[dir="ltr"] .hero-content,
html[dir="ltr"] .preview-content,
html[dir="ltr"] .cta-copy,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact,
html[dir="ltr"] .footer-brand,
html[dir="ltr"] .section-heading-left,
html[dir="ltr"] .showcase-card,
html[dir="ltr"] .core-feature-card,
html[dir="ltr"] .solution-card {
    text-align: left;
}

html[dir="ltr"] .modal-close {
    right: 16px;
    left: auto;
}

html[dir="ltr"] .nav-links {
    direction: ltr;
}

html[dir="ltr"] .hero-highlights,
html[dir="ltr"] .hero-actions,
html[dir="ltr"] .cta-actions,
html[dir="ltr"] .footer-social {
    justify-content: flex-start;
}

html[dir="ltr"] .section-heading,
html[dir="ltr"] .hero-content,
html[dir="ltr"] .preview-content {
    direction: ltr;
}

html[dir="ltr"] input,
html[dir="ltr"] textarea {
    direction: ltr;
    text-align: left;
}

/* =========================
   Responsive
========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-item,
    .reveal-item.stagger-1,
    .reveal-item.stagger-2,
    .reveal-item.stagger-3 {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .preview-grid,
    .footer-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-content {
        padding-top: 20px;
    }

    .solutions-grid,
    .stats-strip,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .feature-page .feature-layout,
    .feature-page .feature-points-grid,
    .feature-page .feature-points-grid.two-col,
    .feature-page .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .preview-grid,
    .feature-grid,
    .steps-grid,
    .stats-grid,
    .footer-grid,
    .solutions-grid,
    .dual-showcase,
    .stats-strip,
    .core-features-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        padding-bottom: 10px;
    }

    .hero-content p,
    .feature-page .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-highlights,
    .cta-actions {
        justify-content: center;
    }

    .hero-visual {
        padding: 0 0 30px;
    }

    .cta-panel {
        flex-direction: column;
        text-align: center;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading-left {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .feature-page .site-nav {
        padding: 14px 0;
    }

    .feature-page .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-page .nav-links {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .feature-page .hero-content {
        text-align: center;
    }
}

@media (max-width: 520px) {
    body {
        background:
            radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%),
            linear-gradient(180deg, #0a0f1e 0%, #10192f 24%, #f4f6fb 24%, #f4f6fb 100%);
    }

    .container {
        width: min(var(--container), calc(100% - 22px));
    }

    .hero-section,
    .feature-page .page-hero {
        padding-top: 24px;
    }

    .hero-section {
        padding-bottom: 56px;
    }

    .hero-content h1,
    .feature-page .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p,
    .section-heading p,
    .preview-content p,
    .step-card p,
    .feature-card p,
    .cta-copy p,
    .section-heading-left p,
    .solution-card p,
    .showcase-card p,
    .showcase-point span,
    .core-feature-card p,
    .feature-page .feature-card p {
        font-size: 15px;
    }

    .btn,
    .feature-page .btn {
        width: 100%;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .modal-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .modal-card h2 {
        font-size: 24px;
    }

    .home-section {
        padding: 70px 0;
    }

    .solution-card,
    .showcase-card,
    .core-feature-card,
    .feature-page .feature-card,
    .feature-page .feature-image-card,
    .feature-page .mini-feature-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .feature-page .feature-card,
    .feature-page .feature-image-card {
        border-radius: 24px;
    }

    .stats-section {
        padding: 26px 0 34px;
    }

    .stats-strip-card {
        min-height: auto;
    }
}

/* =========================
   FINAL MOBILE NAVBAR COMPACT
========================= */

@media (max-width: 860px) {
    .site-nav {
        padding: 10px 0 !important;
    }

    .nav-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .brand {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .brand-logo {
        height: 40px !important;
    }

    .nav-links {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px 18px !important;
    }

    .nav-links a {
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    .nav-actions {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .lang-toggle,
    .nav-cta {
        width: 100% !important;
        min-height: 42px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }

    body.nav-scrolled .site-nav {
        padding: 4px 0 !important;
        background: rgba(10, 15, 30, 0.96) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20) !important;
    }

    body.nav-scrolled .nav-content {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body.nav-scrolled .brand {
        justify-self: start !important;
    }

    body.nav-scrolled .brand-logo {
        height: 22px !important;
    }

    body.nav-scrolled .nav-links {
        width: auto !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    body.nav-scrolled .nav-links::-webkit-scrollbar {
        display: none !important;
    }

    body.nav-scrolled .nav-links a {
        font-size: 10px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.nav-scrolled .nav-actions {
        width: auto !important;
        justify-content: flex-end !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    body.nav-scrolled .lang-toggle,
    body.nav-scrolled .nav-cta {
        width: auto !important;
        min-height: 28px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(var(--container), calc(100% - 16px)) !important;
    }

    .brand-logo {
        height: 34px !important;
    }

    .nav-links a {
        font-size: 12px !important;
    }

    body.nav-scrolled .brand-logo {
        height: 20px !important;
    }

    body.nav-scrolled .nav-links a {
        font-size: 9px !important;
    }

    body.nav-scrolled .lang-toggle,
    body.nav-scrolled .nav-cta {
        min-height: 26px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
    }
}

/* =========================
   Home Dashboard Layout
========================= */

.home-dashboard-layout {
    display: block;
}

.home-sidebar {
    display: none;
}

.sidebar-sticky {
    display: none;
}

.sidebar-title {
    display: none;
}

.sidebar-menu {
    display: none;
}

.sidebar-menu li a {
    display: none;
}

.sidebar-menu li a:hover {
    display: none;
}

.home-main {
    width: 100%;
}

@media (max-width: 980px) {
    .home-dashboard-layout {
        display: block;
    }
    .home-sidebar {
        display: none;
    }
    .sidebar-sticky {
        display: none;
    }
    .sidebar-menu {
        display: none;
    }
    .sidebar-title {
        display: none;
    }
    .home-main {
        width: 100%;
    }
}

/* =========================
   Home First Screen
========================= */

body.home-page {
    background: #eef1ff;
    color: #1d2344;
}

body.home-page .site-nav {
    position: sticky;
    top: 0;
    padding: 22px 0;
    background: rgba(238, 241, 255, 0.96);
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

body.home-page .nav-content {
    min-height: 84px;
    gap: 34px;
}

body.home-page .site-nav > .container,
body.home-page .hero-section > .container,
body.home-page .container {
    width: min(var(--container), calc(100% - 32px));
    max-width: var(--container);
    margin-inline: auto;
}

body.home-page .brand-wordmark {
    gap: 10px;
    color: #171d3b;
    font-size: 28px;
    line-height: 1;
}

body.home-page .site-logo-link {
    min-width: 0;
}

@media (min-width: 1100px) {
    body.home-page .site-logo-link {
        min-width: 116px;
    }
}

body.home-page .site-logo-img {
    height: 56px;
    max-width: 108px;
    object-fit: contain;
}

body.home-page .brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6478ff, #2537d8);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(62, 79, 224, 0.22);
}

body.home-page .brand-name {
    font-size: 31px;
    font-weight: 800;
    color: #171d3b;
}

body.home-page .nav-links {
    gap: 40px;
}

body.home-page .nav-links a,
body.home-page .nav-phone,
body.home-page .nav-login,
body.home-page .lang-toggle {
    color: #23294c;
    font-size: 18px;
    font-weight: 600;
}

body.home-page .nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.home-page .nav-link-menu::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.75;
}

body.home-page .nav-links a:hover,
body.home-page .nav-phone:hover,
body.home-page .nav-login:hover {
    color: #3148e8;
}

body.home-page .nav-actions {
    gap: 18px;
}

body.home-page .nav-contact-icon {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #47d879, #21b65c);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(35, 177, 91, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.home-page .nav-contact-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.home-page .nav-contact-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(35, 177, 91, 0.34);
}

body.home-page .nav-phone,
body.home-page .nav-login {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

body.home-page .lang-toggle {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.home-page .lang-toggle:hover {
    transform: none;
    background: transparent;
    color: #3148e8;
}

body.home-page .btn-primary {
    background: linear-gradient(180deg, #5f73ff 0%, #2f43df 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(47, 67, 223, 0.24);
}

body.home-page .btn-primary:hover {
    box-shadow: 0 22px 38px rgba(47, 67, 223, 0.3);
}

body.home-page .nav-cta {
    min-height: 50px;
    min-width: 0;
    padding: 0 20px;
    border-radius: 7px;
    font-size: 18px;
    white-space: nowrap;
}

@media (min-width: 1100px) {
    body.home-page .nav-cta {
        min-width: 180px;
        padding: 0 28px;
    }
}

body.home-page .hero-section {
    min-height: auto;
    padding: 132px 0 88px;
    background: #eef1ff;
}

body.home-page .hero-section::before {
    display: none;
}

body.home-page .hero-grid {
    display: block;
}

body.home-page .hero-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    color: #1d2344;
    text-align: center;
}

body.home-page .hero-content h1 {
    max-width: 1080px;
    margin: 0 auto 48px;
    color: #1b2142;
    font-size: clamp(42px, 4.65vw, 70px);
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: 0;
}

body.home-page .hero-content p.hero-lead {
    max-width: 1120px;
    margin: 0 auto 58px;
    color: #5d6488;
    font-size: clamp(22px, 2vw, 31px);
    font-weight: 500;
    line-height: 2.05;
}

body.home-page .hero-accent {
    display: inline;
    padding: 0 5px;
    background: linear-gradient(180deg, transparent 52%, rgba(99, 232, 223, 0.75) 52%);
    color: #172044;
}

body.home-page .hero-actions {
    justify-content: center;
    margin: 0 0 28px;
}

body.home-page .hero-actions .btn-primary {
    min-width: 280px;
    min-height: 70px;
    border-radius: 8px;
    font-size: 20px;
}

body.home-page .hero-trial-note {
    width: fit-content;
    margin: 0 auto;
    color: #1b2142;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: underline;
    text-decoration-color: rgba(111, 87, 230, 0.65);
    text-decoration-thickness: 6px;
    text-underline-offset: -2px;
}

body.home-page .hero-proof-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
    color: #1b2142;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

body.home-page .hero-proof-points span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(79, 99, 246, 0.13);
    box-shadow: 0 14px 30px rgba(45, 58, 140, 0.08);
}

body.home-page .hero-visual,
body.home-page .hero-highlights {
    display: none;
}

.floating-whatsapp {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1001;
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #49dc7c, #22ba60);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(35, 177, 91, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(35, 177, 91, 0.34);
}

@media (max-width: 1180px) {
    body.home-page .nav-content {
        gap: 20px;
    }

    body.home-page .nav-links {
        gap: 24px;
    }

    body.home-page .nav-links a,
    body.home-page .nav-phone,
    body.home-page .nav-login,
    body.home-page .lang-toggle {
        font-size: 16px;
    }

    body.home-page .nav-actions {
        gap: 18px;
    }
}

@media (max-width: 980px) {
    body.home-page .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    body.home-page .nav-links,
    body.home-page .nav-actions {
        width: 100%;
        justify-content: center;
    }

    body.home-page .hero-section {
        min-height: auto;
        padding: 92px 0 96px;
    }
}

@media (max-width: 860px) {
    body.home-page .site-nav {
        padding: 14px 0 !important;
        background: rgba(238, 241, 255, 0.98) !important;
        box-shadow: 0 10px 24px rgba(57, 69, 150, 0.08) !important;
    }

    body.home-page .nav-content,
    body.home-page.nav-scrolled .nav-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        min-height: auto;
    }

    body.home-page .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 15px;
    }

    body.home-page .brand-name {
        font-size: 24px;
    }

    body.home-page .site-logo-img {
        height: 44px;
        max-width: 86px;
    }

    body.home-page .nav-links {
        gap: 10px 18px !important;
    }

    body.home-page .nav-links a,
    body.home-page.nav-scrolled .nav-links a {
        color: #23294c !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    body.home-page .nav-actions,
    body.home-page.nav-scrolled .nav-actions {
        width: 100% !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    body.home-page .lang-toggle,
    body.home-page .nav-login,
    body.home-page.nav-scrolled .lang-toggle,
    body.home-page.nav-scrolled .nav-cta {
        width: auto !important;
        min-height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    body.home-page .nav-cta {
        min-width: 160px;
        min-height: 42px !important;
        font-size: 13px !important;
    }

    body.home-page .hero-content h1 {
        font-size: 34px;
        line-height: 1.45;
    }

    body.home-page .hero-content p.hero-lead {
        margin-bottom: 44px;
        font-size: 20px;
        line-height: 1.9;
    }

    body.home-page .hero-proof-points {
        gap: 9px;
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    body.home-page .nav-links {
        gap: 8px 12px !important;
    }

    body.home-page .nav-links a,
    body.home-page.nav-scrolled .nav-links a {
        font-size: 12px !important;
    }

    body.home-page .hero-section {
        padding: 64px 0 76px;
    }

    body.home-page .hero-content h1 {
        width: 100%;
        max-width: 330px;
        margin-bottom: 28px;
        font-size: 25px;
        line-height: 1.55;
    }

    body.home-page .hero-content p.hero-lead {
        max-width: 340px;
        font-size: 17px;
    }

    body.home-page .hero-actions,
    body.home-page .hero-actions .btn-primary {
        width: 100%;
    }

    body.home-page .hero-trial-note {
        font-size: 15px;
    }

    body.home-page .hero-proof-points {
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        font-size: 14px;
    }

    body.home-page .hero-proof-points span {
        justify-content: center;
        width: 100%;
        min-height: 40px;
    }

    .floating-whatsapp {
        left: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp svg {
        width: 27px;
        height: 27px;
    }
}

/* =========================
   Unified Light Theme
========================= */

:root {
    --bg: #eef1ff;
    --bg-soft: #e7ecff;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-solid: #ffffff;
    --surface: #f7f8ff;
    --surface-alt: #ffffff;
    --text: #1b2142;
    --text-soft: #66708f;
    --primary: #4f63f6;
    --primary-dark: #2f43df;
    --border: rgba(49, 72, 232, 0.14);
    --shadow: 0 22px 58px rgba(45, 58, 140, 0.12);
}

body {
    background: #eef1ff !important;
    color: var(--text) !important;
}

.site-nav,
.features-page .site-nav,
.feature-detail-page .site-nav,
.feature-page .site-nav {
    background: rgba(238, 241, 255, 0.96) !important;
    border-bottom: 1px solid rgba(49, 72, 232, 0.08) !important;
    box-shadow: 0 16px 38px rgba(45, 58, 140, 0.08) !important;
}

.nav-links a,
.features-page .nav-links a,
.feature-detail-page .nav-links a,
.feature-page .nav-links a,
.brand,
.features-page .brand,
.feature-detail-page .brand,
.feature-page .brand {
    color: #1b2142 !important;
}

.nav-links a:hover,
.nav-links a.active,
.features-page .nav-links a:hover,
.features-page .nav-links a.active,
.feature-detail-page .nav-links a:hover,
.feature-detail-page .nav-links a.active,
.feature-page .nav-links a:hover,
.feature-page .nav-links a.active {
    color: var(--primary-dark) !important;
}

.features-page .brand-logo,
.feature-detail-page .brand-logo,
.feature-page .brand-logo,
.pricing-page .brand-logo {
    display: block !important;
    height: 58px;
    width: auto;
    filter: drop-shadow(0 14px 28px rgba(49, 72, 232, 0.16)) !important;
}

.features-page .brand,
.feature-detail-page .brand,
.feature-page .brand,
.pricing-page .brand {
    gap: 10px !important;
    line-height: 1 !important;
}

.features-page .brand::before,
.feature-detail-page .brand::before,
.feature-page .brand::before,
.pricing-page .brand::before,
.features-page .brand::after,
.feature-detail-page .brand::after,
.feature-page .brand::after,
.pricing-page .brand::after {
    content: none !important;
    display: none !important;
}

.lang-toggle,
.features-page .lang-toggle,
.feature-detail-page .lang-toggle,
.feature-page .lang-toggle {
    border-color: rgba(49, 72, 232, 0.14) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #1b2142 !important;
    box-shadow: none !important;
}

.btn-primary,
.modal-submit,
.feature-page .btn-dark {
    background: linear-gradient(180deg, #5f73ff 0%, #2f43df 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(47, 67, 223, 0.24) !important;
}

.btn-primary:hover,
.modal-submit:hover,
.feature-page .btn-dark:hover {
    box-shadow: 0 22px 38px rgba(47, 67, 223, 0.3) !important;
}

.btn-secondary,
.light-btn {
    background: #ffffff !important;
    color: #1b2142 !important;
    border-color: rgba(49, 72, 232, 0.14) !important;
}

.section-badge,
.features-page .section-badge,
.feature-detail-page .section-badge,
.feature-page .section-badge {
    background: rgba(79, 99, 246, 0.1) !important;
    border-color: rgba(79, 99, 246, 0.18) !important;
    color: #2f43df !important;
}

.hero-section,
.page-hero,
.features-page .page-hero,
.feature-detail-page .page-hero,
.feature-page .page-hero {
    background: #eef1ff !important;
}

.hero-section::before,
.page-hero::before,
.features-page .page-hero::before,
.feature-detail-page .page-hero::before,
.feature-page .page-hero::before {
    display: none !important;
}

.hero-content,
.features-page .hero-content,
.feature-detail-page .hero-content,
.feature-page .hero-content {
    color: #1b2142 !important;
}

.hero-content h1,
.features-page .hero-content h1,
.feature-detail-page .hero-content h1,
.feature-page .hero-content h1,
.section-heading h2,
.section-heading-left h2,
.preview-content h2,
.showcase-card h3,
.solution-card h3,
.core-feature-card h3,
.feature-page .feature-card h2,
.feature-page .mini-feature-card strong {
    color: #131a35 !important;
}

.hero-content p,
.features-page .hero-content p,
.feature-detail-page .hero-content p,
.feature-page .hero-content p,
.section-heading p,
.section-heading-left p,
.preview-content p,
.solution-card p,
.showcase-card p,
.core-feature-card p,
.feature-page .feature-card p,
.feature-page .mini-feature-card span {
    color: #66708f !important;
}

.features-section,
.home-section,
.home-section-soft,
.home-section-white,
.stats-section,
.preview-section,
.steps-section,
.feature-main,
.features-page .main-section,
.features-page .features-showcase-section,
.feature-detail-page .feature-main,
.feature-page .feature-main {
    background: #f7f8ff !important;
}

.solution-card,
.showcase-card,
.core-feature-card,
.feature-card,
.step-card,
.stat-card,
.preview-point,
.stats-strip-card,
.feature-page .feature-card,
.feature-page .feature-image-card,
.feature-page .mini-feature-card,
.features-page .showcase-copy,
.features-page .rich-feature-card,
.features-page .benefit-card,
.feature-detail-page .detail-card,
.feature-detail-page .feature-summary-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(49, 72, 232, 0.11) !important;
    box-shadow: 0 20px 46px rgba(45, 58, 140, 0.1) !important;
}

.solution-icon,
.feature-icon,
.stat-icon,
.step-number,
.features-page .feature-number,
.features-page .showcase-number {
    background: rgba(79, 99, 246, 0.12) !important;
    color: #2f43df !important;
}

.solution-list span,
.showcase-point,
.preview-point,
.mini-feature-card,
.feature-page .mini-feature-card {
    background: rgba(238, 241, 255, 0.86) !important;
    border-color: rgba(49, 72, 232, 0.1) !important;
}

.cta-panel {
    background: linear-gradient(135deg, #eef1ff 0%, #ffffff 100%) !important;
    color: #1b2142 !important;
    border: 1px solid rgba(49, 72, 232, 0.12) !important;
    box-shadow: 0 22px 58px rgba(45, 58, 140, 0.12) !important;
}

.cta-panel::before {
    display: none !important;
}

.cta-copy p {
    color: #66708f !important;
}

@media (max-width: 860px) {
    body:not(.home-page) .nav-content,
    .features-page .nav-content,
    .feature-detail-page .nav-content,
    .feature-page .nav-content {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .features-page .brand-logo,
    .feature-detail-page .brand-logo,
    .feature-page .brand-logo,
    .pricing-page .brand-logo {
        height: 50px;
    }
}

body.home-page .lang-toggle {
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* =========================
   Pricing Page
========================= */

body.pricing-page {
    background: #f7f8ff !important;
    color: #151a35;
}

.pricing-main {
    background: #f7f8ff;
}

.pricing-hero {
    padding: 92px 0 54px;
    background:
        linear-gradient(180deg, #eef1ff 0%, #f7f8ff 100%);
}

.pricing-hero-inner {
    max-width: 880px;
    text-align: center;
}

.pricing-hero h1 {
    margin: 22px auto 18px;
    max-width: 820px;
    color: #121833;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.25;
    font-weight: 800;
}

.pricing-hero p {
    margin: 0 auto;
    max-width: 780px;
    color: #66708f;
    font-size: 20px;
    line-height: 1.9;
}

.pricing-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pricing-section {
    padding: 74px 0;
    background: #f7f8ff;
}

.pricing-section-soft {
    background: #eef2ff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    border: 1px solid rgba(49, 72, 232, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 42px rgba(45, 58, 140, 0.08);
}

.pricing-card-featured {
    border-color: rgba(49, 72, 232, 0.36);
    background:
        linear-gradient(180deg, rgba(238, 241, 255, 0.94), rgba(255, 255, 255, 0.92));
    box-shadow: 0 24px 52px rgba(49, 72, 232, 0.16);
    transform: translateY(-12px);
}

.pricing-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(71, 216, 121, 0.12);
    color: #138a45;
    font-size: 13px;
    font-weight: 800;
}

.pricing-card-featured .pricing-chip {
    background: rgba(49, 72, 232, 0.12);
    color: #3148e8;
}

.pricing-card h2 {
    margin: 20px 0 10px;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.35;
}

.pricing-card p {
    margin: 0;
    color: rgba(232, 244, 255, 0.9);
    line-height: 1.85;
}

.pricing-value {
    margin: 24px 0 20px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(49, 72, 232, 0.07);
    border: 1px solid rgba(49, 72, 232, 0.1);
}

.pricing-value strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
}

.pricing-value span {
    display: block;
    margin-top: 6px;
    color: rgba(226, 246, 255, 0.88);
    font-size: 14px;
}

.pricing-card ul {
    display: grid;
    gap: 11px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    position: relative;
    padding-inline-start: 28px;
    color: rgba(232, 244, 255, 0.92);
    line-height: 1.7;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #47d879;
    box-shadow: 0 0 0 4px rgba(71, 216, 121, 0.14);
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
}

.pricing-factors .section-heading,
.pricing-compare .section-heading {
    margin-bottom: 34px;
}

.pricing-factor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pricing-factor {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(49, 72, 232, 0.12);
    box-shadow: 0 14px 34px rgba(45, 58, 140, 0.06);
}

.pricing-factor strong {
    display: block;
    margin-bottom: 8px;
    color: #151a35;
    font-size: 18px;
}

.pricing-factor span {
    color: #66708f;
    line-height: 1.8;
}

.pricing-table {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(49, 72, 232, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(45, 58, 140, 0.08);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1.25fr repeat(2, 1fr);
    gap: 0;
    border-bottom: 1px solid rgba(49, 72, 232, 0.09);
}

.pricing-row:last-child {
    border-bottom: 0;
}

.pricing-row span {
    padding: 18px 20px;
    color: #333b61;
    line-height: 1.6;
    border-inline-start: 1px solid rgba(49, 72, 232, 0.08);
}

.pricing-row span:first-child {
    border-inline-start: 0;
    font-weight: 800;
    color: #151a35;
}

.pricing-row-head {
    background: linear-gradient(135deg, #6478ff, #2537d8);
}

.pricing-row-head span,
.pricing-row-head span:first-child {
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 980px) {
    .pricing-grid,
    .pricing-factor-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: none;
    }
}

@media (max-width: 680px) {
    .pricing-hero {
        padding: 70px 0 40px;
    }

    .pricing-hero h1 {
        font-size: 34px;
    }

    .pricing-hero p {
        font-size: 17px;
    }

    .pricing-section {
        padding: 52px 0;
    }

    .pricing-row {
        grid-template-columns: 1fr;
    }

    .pricing-row span {
        border-inline-start: 0;
        border-bottom: 1px solid rgba(49, 72, 232, 0.08);
    }

    .pricing-row span:last-child {
        border-bottom: 0;
    }
}

.features-page .hero-content p {
    color: #1b2142 !important;
    text-shadow: none !important;
    letter-spacing: 0 !important;
}
