:root {
    --blue: #3390ec;
    --blue-dark: #1976d2;
    --blue-deep: #1257a6;
    --blue-light: #eaf4ff;
    --blue-pale: #f5faff;
    /* Accessible accent for text/icons on light surfaces (5.4:1+ on --blue-light) */
    --accent: #1a63b0;
    /* Button/tab fills that carry white text (5.1:1+) */
    --accent-btn: #1f6fc4;
    --accent-btn-dark: #1a63b0;
    --navy: #14263d;
    --text: #52677d;
    --white: #ffffff;
    --border: #e2effc;
    --green: #187a56;
    --radius: 20px;
    --shadow-sm: 0 8px 30px #174e7a14;
    --shadow-lg: 0 25px 65px #2474b91c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--navy);
    background: white;
    line-height: 1.9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 90%); margin: auto; }

/* HEADER */
header {
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.navbar { height: 100%; display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }

.brand-icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--accent-btn), var(--accent-btn-dark));
    color: white;
    border-radius: 13px;
    font-size: 22px;
    box-shadow: 0 8px 20px #3390ec40;
}
.brand-icon svg { width: 22px; height: 22px; fill: currentColor; }

.brand-name { color: var(--navy); }
.brand-name span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--text); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after {
    content: ""; position: absolute; right: 0; left: 0; bottom: -6px;
    height: 2px; border-radius: 2px; background: var(--blue);
    transform: scaleX(0); transform-origin: right; transition: transform .25s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    background: var(--accent-btn);
    color: white;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: .25s;
    box-shadow: 0 8px 20px #3390ec30;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }

.menu-btn { display: none; background: none; border: 0; color: var(--navy); font-size: 26px; }

/* HERO */
.hero {
    position: relative;
    padding: 92px 0 108px;
    background:
        radial-gradient(ellipse at 85% 15%, #e2f1ff 0%, transparent 42%),
        radial-gradient(ellipse at 8% 92%, #eef8ff 0%, transparent 38%),
        white;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(#cfe6fb 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    opacity: .55; pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: .96fr 1.04fr;
    gap: 55px;
    align-items: center;
    position: relative;
}

.hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); background: var(--blue-light);
    border: 1px solid #d5e9fd;
    border-radius: 50px; padding: 7px 15px;
    font-size: 12px; font-weight: 600; margin-bottom: 22px;
}
.hero-label i {
    width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
    box-shadow: 0 0 0 0 #3390ec66; animation: ping 2s infinite;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 #3390ec66; }
    70% { box-shadow: 0 0 0 8px #3390ec00; }
    100% { box-shadow: 0 0 0 0 #3390ec00; }
}

.hero h1 {
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.65;
    font-weight: 800;
    letter-spacing: -.5px;
}
.hero h1 span { color: var(--blue); }

.hero-description {
    color: var(--text); font-size: 14px; line-height: 2.5;
    margin: 20px 0 28px; max-width: 490px;
}

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

.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    justify-content: center;
    padding: 12px 23px; border-radius: 12px;
    font-size: 13px; font-weight: 600; transition: .25s;
}
.btn-primary {
    background: var(--accent-btn); color: white; box-shadow: 0 10px 26px #3390ec3d;
}
.btn-primary:hover { background: var(--accent-btn-dark); transform: translateY(-3px); box-shadow: 0 14px 32px #3390ec45; }
.btn-secondary { color: var(--accent); background: white; border: 1px solid #cde4fb; }
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-3px); }

.hero-stats {
    display: flex; gap: 26px; flex-wrap: wrap;
    margin-top: 34px; padding-top: 26px;
    border-top: 1px solid var(--border);
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font-size: 20px; font-weight: 800; color: var(--blue-dark); }
.hero-stats small { font-size: 11px; color: var(--text); }

/* HERO VISUAL */
.hero-visual { position: relative; min-width: 0; }

.hero-desktop {
    width: 100%; aspect-ratio: 16/10;
    border: 7px solid white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #eaf4ff;
    transition: transform .5s ease;
}
.hero-desktop img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-phone {
    position: absolute; left: -22px; bottom: -42px;
    width: 138px; height: 250px;
    border: 6px solid white;
    border-radius: 26px;
    overflow: hidden;
    background: #dceeff;
    box-shadow: 0 18px 40px #174e7a2b;
    transition: transform .5s ease;
}
.hero-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-bubble {
    position: absolute; right: -18px; top: 18px;
    background: white; padding: 12px 17px;
    border-radius: 14px; box-shadow: var(--shadow-sm);
    color: var(--blue-dark); font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    animation: float 5s ease-in-out infinite;
}
.hero-bubble .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
/* COMMON SECTIONS */
section { padding: 92px 0; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag {
    display: inline-block;
    color: var(--accent); background: var(--blue-light);
    border: 1px solid #d8eafd;
    font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 40px;
    margin-bottom: 14px;
}
.section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.3px; }
.section-head p { font-size: 13px; color: var(--text); line-height: 2.3; }

/* CATEGORY */
.category-title { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.category-title h3 { font-size: 19px; font-weight: 800; }
.category-title span {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    color: var(--accent); background: var(--blue-light);
    border-radius: 11px;
}
.category-title span svg { width: 20px; height: 20px; fill: currentColor; }

/* FEATURE CARDS */
.features { background: white; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 52px;
}

.feature-card {
    position: relative;
    border: 1px solid var(--border);
    background: white;
    border-radius: 18px;
    padding: 22px 22px 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.feature-card::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 100% 0%, #eaf4ff 0%, transparent 55%);
    opacity: 0; transition: opacity .3s; pointer-events: none;
}
.feature-card:hover { border-color: #a9d4fa; box-shadow: 0 14px 34px #3390ec14; transform: translateY(-5px); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--blue-light);
    color: var(--accent);
    display: grid; place-items: center;
    font-size: 21px;
    margin-bottom: 15px;
    position: relative; z-index: 1;
}
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }

.feature-card h4 { font-size: 14px; margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 12px; color: var(--text); line-height: 2.1; position: relative; z-index: 1; }

/* STICKER CARDS — an animated Lottie sits above the copy.
   Sizes are set per context via --sticker-h so brand/advanced/platform
   cards stay compact while feature cards get the full show. */
.feature-card.has-sticker {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}
.sticker {
    --sticker-h: 132px;
    width: 100%;
    height: var(--sticker-h);
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: none;
}
.sticker > svg:not(.sticker-fallback) {
    height: var(--sticker-h) !important;
    width: auto !important;
    max-width: 100%;
}
.sticker .sticker-fallback {
    width: calc(var(--sticker-h) * .55);
    height: calc(var(--sticker-h) * .55);
    fill: var(--accent);
    opacity: .9;
}
.sticker.is-loaded .sticker-fallback { display: none; }

.advanced-card .sticker { --sticker-h: 104px; margin-bottom: 6px; }
.platform-card .sticker { --sticker-h: 88px; margin: 0 auto 12px; }
.feature-card.has-sticker .sticker { --sticker-h: 132px; }

/* Brand mark (header + footer) — a compact animated logo */
.brand-icon.sticker {
    --sticker-h: 30px;
    width: 42px; height: 42px;
    margin: 0; flex: none;
    background: linear-gradient(140deg, var(--accent-btn), var(--accent-btn-dark));
    border-radius: 13px;
    box-shadow: 0 8px 20px #3390ec40;
}
.brand-icon.sticker > svg:not(.sticker-fallback) {
    height: 30px !important; width: 30px !important;
}
.brand-icon.sticker .sticker-fallback {
    width: 22px; height: 22px;
    fill: #fff;
    opacity: 1;
}

/* ADVANCED */
.advanced { background: linear-gradient(180deg, var(--blue-pale), #f7fbff); }

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.advanced-card {
    background: white;
    border: 1px solid #e3f0fc;
    border-radius: 18px;
    padding: 24px;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.advanced-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px #3390ec14; }
.advanced-card h4 { font-size: 14px; margin-bottom: 8px; }
.advanced-card p { font-size: 12px; color: var(--text); line-height: 2.1; }
.advanced-label {
    display: inline-block; margin-top: 12px;
    padding: 4px 11px; border-radius: 30px;
    background: #eaf4ff; color: var(--accent);
    font-size: 10px; font-weight: 700;
}

/* INTEGRATION HIGHLIGHT */
.highlight { background: white; }
.highlight-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
}
.highlight-image {
    width: 100%; overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--blue-pale);
}
.highlight-image img { display: block; width: 100%; height: auto; }

.highlight-text h2 { font-size: 29px; line-height: 1.75; margin-bottom: 16px; letter-spacing: -.3px; }
.highlight-text > p { color: var(--text); font-size: 13px; line-height: 2.3; margin-bottom: 22px; }

.highlight-list { display: grid; gap: 12px; }
.highlight-list div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.tick {
    flex: none;
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: #e5f7f0; color: var(--green);
    font-size: 12px; font-weight: 700;
}

/* PLATFORM */
.platform { background: linear-gradient(180deg, var(--blue-pale), white); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform-card {
    text-align: center; padding: 28px 15px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    transition: transform .3s ease, box-shadow .3s ease;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px #3390ec14; }
.platform-card .feature-icon { margin: 0 auto 14px; width: 56px; height: 56px; }
.platform-card h4 { font-size: 14px; }
.platform-card p { font-size: 11px; color: var(--text); margin-top: 4px; }

/* GALLERY */
.gallery { background: white; }
.gallery-tabs {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 9px; margin-bottom: 28px;
}
.gallery-tab {
    background: white; border: 1px solid var(--border);
    color: var(--text); border-radius: 11px;
    padding: 10px 17px; font-size: 12px; font-weight: 600;
    transition: .2s;
}
.gallery-tab.active, .gallery-tab:hover {
    background: var(--accent-btn); border-color: var(--accent-btn); color: white;
    box-shadow: 0 8px 20px #3390ec30;
}
.gallery-window {
    max-width: 940px; margin: auto; padding: 12px;
    border: 1px solid var(--border); border-radius: 22px;
    box-shadow: 0 18px 50px #3390ec12;
    background: white;
}
.gallery-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #eaf4ff;
    border-radius: 14px;
    transition: opacity .25s;
}
/* Landscape shots fill the window like before. Portrait (phone) shots are
   capped in height so they never take over the viewport on a real phone. */
.gallery-image[data-orientation="landscape"] {
    aspect-ratio: 16 / 9;
    max-height: none;
}
.gallery-image[data-orientation="portrait"] {
    width: auto;
    max-width: 100%;
    max-height: min(52vh, 420px);
    border-radius: 20px;
    border: 5px solid #fff;
    box-shadow: 0 14px 36px #174e7a22;
}
@media (max-width: 600px) {
    .gallery-image[data-orientation="portrait"] {
        max-height: min(58vh, 380px);
        border-width: 4px;
    }
}
.gallery-info {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 8px 5px; gap: 15px;
}
.gallery-info h3 { font-size: 14px; }
.gallery-info p { color: var(--text); font-size: 11px; }
.device-label {
    background: var(--blue-light); color: var(--accent);
    padding: 5px 12px; border-radius: 30px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* WHY US + FAQ (sales) */
.why { background: white; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 20px;
    background: linear-gradient(180deg, #fff, var(--blue-pale));
    transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px #3390ec14; }
.why-card h3 { font-size: 15px; margin: 12px 0 8px; }
.why-card p { font-size: 12px; color: var(--text); line-height: 2.1; }
.why-num {
    width: 38px; height: 38px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--accent-btn); color: #fff;
    font-size: 14px; font-weight: 800;
}

.faq { background: var(--blue-pale); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer; list-style: none;
    padding: 17px 18px; font-size: 14px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; color: var(--accent); font-size: 19px; font-weight: 400; flex: none;
    transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--blue-light); }
.faq-item p {
    padding: 0 18px 17px; font-size: 13px; color: var(--text); line-height: 2.15;
}

/* NUMBERS & PHONE — bidi-safe.
   Digits are weak-directionality runs: in RTL text a spaced group like
   "۰۲۱ ۸۷۲۱ ۰۱۲۸" reorders, and "+888" can flip to "888+". Isolate every
   number run and keep phone digits as one continuous LTR string so copy
   into Telegram/WhatsApp stays correct. */
.ltr {
    direction: ltr;
    unicode-bidi: isolate;
}
.phone {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

/* TECHNICAL ARTICLE LAYOUT (/technology/) */
.article { max-width: 800px; margin: 0 auto; }
.article h2 {
    font-size: 25px; line-height: 1.75; letter-spacing: -.3px;
    margin: 0 0 16px;
}
.article h3 { font-size: 17px; margin: 26px 0 12px; }
.article p {
    color: var(--text); font-size: 13.5px; line-height: 2.35;
    margin-bottom: 15px;
}
.article p strong { color: var(--navy); font-weight: 700; }
.article .lead {
    font-size: 15px; color: var(--navy); line-height: 2.3; font-weight: 500;
}
.article ul { margin: 6px 0 20px; padding: 0; list-style: none; display: grid; gap: 11px; }
.article li {
    position: relative; padding-right: 24px;
    color: var(--text); font-size: 13px; line-height: 2.15;
}
.article li::before {
    content: ""; position: absolute; right: 2px; top: 11px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-btn);
}
.article li b { color: var(--navy); }
.tech-section { padding: 58px 0; }
.tech-section + .tech-section { border-top: 1px solid var(--border); }
.tech-section:nth-child(even) { background: var(--blue-pale); }
.callout {
    border-right: 3px solid var(--accent-btn);
    background: var(--blue-light);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 6px 0 20px;
}
.callout p { margin: 0; color: var(--navy); font-size: 13px; line-height: 2.2; }
.tech-hero { padding: 70px 0 20px; }

/* SCALE STATS BAND — the "strong numbers" strip under the hero */
.stats {
    background: linear-gradient(120deg, #12233a 0%, #173c62 55%, #1c4b7a 100%);
    color: #fff;
    padding: 54px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(#ffffff14 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
}
.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.stat { text-align: center; padding: 6px 8px; }
.stat b {
    display: block;
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.25;
    color: #fff;
}
.stat .lbl {
    display: block;
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.95;
    color: #a9c6e4;
}
.stat.is-cdn b {
    font-size: clamp(20px, 2.4vw, 28px);
    color: #7fc0ff;
}
.stat.is-cdn .lbl { color: #c6ddf2; }
.stats-note {
    position: relative;
    margin-top: 26px;
    text-align: center;
    font-size: 12px;
    color: #a9c6e4;
    line-height: 2.1;
}
.stats-note b { color: #fff; font-weight: 700; }

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { padding: 42px 0; }
}

/* CUSTOMERS & ENGAGEMENT MODELS */
.customers { background: white; }
.models {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-bottom: 34px;
}
.model-chip {
    border: 1px solid var(--border);
    background: var(--blue-pale);
    border-radius: 40px;
    padding: 9px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
}
.logo-row {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: stretch;
    gap: 16px;
    margin-bottom: 22px;
}
.logo-plate {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 26px;
    display: grid; place-items: center;
    min-width: 210px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.logo-plate:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px #3390ec18;
}
.logo-plate img {
    display: block;
    max-height: 62px;
    max-width: 230px;
    width: auto; height: auto;
    object-fit: contain;
}
.name-row {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 12px;
}
.name-plate {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 13px; font-weight: 600;
    background: linear-gradient(180deg, #fff, var(--blue-pale));
    color: var(--navy);
}
.name-plate .sub {
    display: block;
    font-size: 10.5px; font-weight: 500;
    color: var(--text); margin-top: 3px;
}

/* DOCS CENTRE (/docs/) */
.crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 12px; color: var(--text);
    padding: 26px 0 0;
}
.crumb a { color: var(--accent); }
.crumb a:hover { text-decoration: underline; }
.crumb .sep { opacity: .5; }
.crumb strong { color: var(--navy); font-weight: 700; }

.docs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
a.doc-card {
    display: block;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.doc-card:hover {
    border-color: #a9d4fa;
    box-shadow: 0 14px 34px #3390ec14;
    transform: translateY(-5px);
}
a.doc-card .tag {
    display: inline-block;
    color: var(--accent); background: var(--blue-light);
    border-radius: 30px; padding: 3px 11px;
    font-size: 10.5px; font-weight: 700; margin-bottom: 11px;
}
a.doc-card h3 { font-size: 15px; line-height: 1.85; margin-bottom: 8px; }
a.doc-card p { font-size: 12px; color: var(--text); line-height: 2.05; }
a.doc-card .more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 13px; color: var(--accent);
    font-size: 11.5px; font-weight: 700;
}

.related {
    margin-top: 30px; padding-top: 22px;
    border-top: 1px solid var(--border);
}
.related h3 { font-size: 14px; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.related a {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-size: 13px; font-weight: 600;
}
.related a:hover { text-decoration: underline; }

@media (max-width: 900px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .docs-grid { grid-template-columns: 1fr; } }

/* ARCHITECTURE TEASER (links to the technical page) */
.teaser {
    background: linear-gradient(180deg, var(--blue-pale), #fff);
}
.teaser .section-head { margin-bottom: 26px; }
.center-cta { text-align: center; }

/* CTA */
.cta { padding: 85px 0; }
.cta-box {
    position: relative; overflow: hidden; text-align: center;
    color: white; padding: 66px 25px; border-radius: 26px;
    background: linear-gradient(120deg, #16497f, #1a63b0 55%, #2266b3);
    box-shadow: 0 25px 60px #2474b92e;
}
.cta-box::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(#ffffff22 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: .5;
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: 27px; margin-bottom: 12px; }
.cta-box p { font-size: 13px; color: #e7f3ff; margin-bottom: 26px; }
.cta-button {
    display: inline-block; padding: 13px 28px;
    background: white; color: var(--blue-dark);
    border-radius: 12px; font-size: 13px; font-weight: 700;
    transition: .25s;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #0002; }

/* FOOTER */
footer { background: #14263d; color: white; padding: 45px 0 20px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-description { font-size: 12px; color: #b8d0e7; margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: #d6e8f7; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid #ffffff1f; padding-top: 20px; text-align: center; font-size: 11px; color: #b1c6d9; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media(max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-content-text { text-align: center; }
    .hero-description { margin-right: auto; margin-left: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { max-width: 680px; margin: auto; width: 100%; }
    .feature-grid, .advanced-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: 1fr; gap: 38px; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 600px) {
    header { height: 68px; }
    .menu-btn { display: block; }
    .nav-cta { display: none; }
    .nav-links {
        display: none; position: absolute; top: 68px; right: 0; left: 0;
        background: white; padding: 20px 5%;
        flex-direction: column; align-items: flex-start; gap: 15px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .hero { padding: 62px 0 80px; }
    .hero h1 { font-size: 30px; }
    section { padding: 64px 0; }
    .section-head h2, .highlight-text h2 { font-size: 24px; }
    .feature-grid, .advanced-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .feature-card.has-sticker { flex-direction: row; align-items: center; gap: 12px; padding-top: 18px; }
    .feature-card.has-sticker .sticker {
        --sticker-h: 84px;
        width: 84px; height: 84px; margin: 0; flex: none;
    }
    .hero-phone { width: 96px; height: 172px; left: -6px; bottom: -26px; }
    .hero-bubble { right: -4px; font-size: 10px; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-info { align-items: flex-start; flex-direction: column; }
    .cta-box { padding: 46px 18px; }
    .cta-box h2 { font-size: 22px; }
    .footer-top { flex-direction: column; }
}

@media(prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
