/* ============================================================
   Web Asa - Design system + landing page
   Brand: crimson-pink #e5254e, dark navy #28303f
   ============================================================ */

/* ---------- Local font: IRANYekanX ---------- */
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-UltraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-DemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('../fonts/IRANYekanX-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    --brand: #e5254e;
    --brand-600: #cf1c42;
    --brand-700: #b4173a;
    --brand-soft: #fdeef1;
    --brand-glow: rgba(229, 37, 78, 0.35);

    --navy: #28303f;
    --navy-800: #212836;
    --navy-900: #1a202b;
    --ink: #1f2733;
    --muted: #6b7688;
    --line: #e9edf3;

    --bg: #f6f7fb;
    --card: #ffffff;
    --white: #ffffff;

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

    --shadow-sm: 0 4px 14px rgba(31, 39, 51, 0.06);
    --shadow: 0 18px 45px rgba(31, 39, 51, 0.10);
    --shadow-lg: 0 30px 70px rgba(31, 39, 51, 0.16);
    --shadow-brand: 0 16px 40px rgba(229, 37, 78, 0.30);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --container: 1180px;
    --header-h: 78px;

    --font: "IRANYekanX", "Segoe UI", Tahoma, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.9;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 19px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.4;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px var(--brand-glow); }
.btn-ghost {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-lg { padding: 12px 24px; font-size: 14.5px; border-radius: 13px; }

/* shine sweep on hover */
.btn::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 26px rgba(31, 39, 51, 0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span b { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    padding: 9px 15px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    position: relative;
    transition: color .3s, background .3s;
}
.nav a::before {
    content: "";
    position: absolute;
    bottom: 4px; right: 15px; left: 15px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::before { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 8px 16px; font-size: 13px; border-radius: 11px; }
.header-actions .btn svg { width: 16px; height: 16px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); align-items: center; justify-content: center; }
.menu-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.menu-toggle span::before, .menu-toggle span::after { content:""; position:absolute; left:0; width:20px; height:2px; background:var(--ink); transition:.3s; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 72px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(229,37,78,.10), transparent 42%),
        radial-gradient(circle at 8% 85%, rgba(40,48,63,.06), transparent 45%);
    z-index: -2;
}
.hero-grid-lines {
    position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(40,48,63,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40,48,63,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-soft);
    color: var(--brand-700);
    padding: 7px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 700;
    margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--brand-glow);} 70%{box-shadow:0 0 0 10px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.hero h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.4; font-weight: 800; letter-spacing: -.3px; }
.hero h1 .accent { color: var(--brand); position: relative; }
.hero p.lead { color: var(--muted); font-size: 15.5px; margin: 18px 0 26px; max-width: 32em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .hs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.hero-stats .hs svg { width: 20px; height: 20px; color: var(--brand); }

/* Hero server visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual .glow {
    position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(229,37,78,.22), transparent 62%);
    filter: blur(20px); z-index: 0;
    animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{transform:scale(1);opacity:.8;} 50%{transform:scale(1.12);opacity:1;} }
.hero-visual img { position: relative; z-index: 1; width: 100%; max-width: 520px; filter: drop-shadow(0 40px 60px rgba(40,48,63,.28)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-18px);} }

.orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); z-index: 2; opacity: .8; }
.orbit-dot.d1 { top: 18%; left: 8%; animation: floaty 4s ease-in-out infinite; }
.orbit-dot.d2 { bottom: 22%; right: 6%; width: 14px; height: 14px; animation: floaty 5s ease-in-out .6s infinite; }
.orbit-dot.d3 { top: 55%; left: 2%; width: 7px; height: 7px; background: var(--navy); animation: floaty 4.5s ease-in-out .3s infinite; }

/* ============================================================
   Section shell
   ============================================================ */
section { position: relative; }
.section { padding: 62px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 42px; }
.section-head .eyebrow { color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 14.5px; }
.section-head .divider { width: 60px; height: 4px; border-radius: 4px; background: var(--brand); margin: 16px auto 0; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: grid; place-items: center; margin: 0 auto 18px;
    background: var(--brand-soft); color: var(--brand);
    transition: transform .5s var(--ease), background .3s, color .3s;
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: #fff; }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13.5px; }

/* Stats band */
.stats-band { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content:""; position:absolute; left:0; top:15%; height:70%; width:1px; background:var(--line); }
.stat .num { font-size: 34px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.stat .label { color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.stat .stat-ic { color: var(--brand); margin-bottom: 6px; display:inline-flex; }
.stat .stat-ic svg { width: 26px; height: 26px; }

/* Panel preview */
.panel-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.panel-mock {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-mock .pm-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.pm-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.pm-dot.r { background: #ff5f57; } .pm-dot.y { background: #febc2e; } .pm-dot.g { background: #28c840; }
.pm-body { padding: 22px; }
.pm-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.pm-card { background: #fbfcfe; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.pm-card b { font-size: 22px; color: var(--ink); } .pm-card small { color: var(--muted); font-size: 11.5px; }
.pm-bar { height: 9px; border-radius: 6px; background: #eef1f6; overflow: hidden; margin: 9px 0 15px; }
.pm-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--brand-700)); width: 0; transition: width 1.4s var(--ease); }
.pm-row { display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); }

.panel-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.4; }
.panel-text .divider { width: 56px; height: 4px; border-radius: 4px; background: var(--brand); margin: 16px 0 18px; }
.panel-text p { color: var(--muted); margin-bottom: 26px; }
.panel-text .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA / trust band (verified logo) */
.cta-band {
    background: linear-gradient(120deg, var(--navy-900), var(--navy));
    border-radius: var(--radius-lg);
    padding: 46px;
    color: #fff;
    display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px;
    position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle,var(--brand-glow),transparent 65%); top:-120px; inset-inline-start:-80px; pointer-events:none; }
.cta-visual, .cta-text { min-width: 0; }   /* allow grid tracks to shrink */
.cta-visual img { width: 100%; max-width: 320px; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.4)); animation: floaty 6s ease-in-out infinite; }
.cta-text h2 { font-size: clamp(20px, 3vw, 32px); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.cta-text p { color: rgba(255,255,255,.72); margin: 16px 0 24px; overflow-wrap: anywhere; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--navy-900), #12161f);
    color: rgba(255,255,255,.62);
    padding: 56px 0 0;
    overflow: hidden;
    margin-top: 20px;
}
.site-footer::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.footer-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 65%); top: -230px; inset-inline-start: 50%; transform: translateX(-50%); opacity: .5; pointer-events: none; }

.footer-top {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-brand .footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand p { font-size: 13.5px; line-height: 2; max-width: 30em; }

.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.footer-socials a svg { width: 19px; height: 19px; }
.footer-socials a:hover { transform: translateY(-4px); background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 10px 22px var(--brand-glow); }

.footer-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--brand); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .fc-plain {
    display: inline-flex; align-items: center; gap: 9px;
    color: rgba(255,255,255,.62); font-size: 13.5px; font-weight: 600;
    transition: color .25s, transform .25s;
}
.footer-col a svg, .fc-plain svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; transition: transform .25s; }
.footer-col a:hover { color: #fff; transform: translateX(-4px); }
.footer-col li { line-height: 1; }
.footer-cta { margin-top: 18px; }

.footer-bottom {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer-made { color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { inset-inline-start: 50%; transform: translateX(-50%); }
    .footer-col ul { align-items: center; }
    .footer-socials { justify-content: center; }
    .footer-brand p { margin-inline: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(40px); }
[data-reveal="right"] { transform: translateX(-40px); }
[data-reveal="zoom"]  { transform: scale(.9); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { order: -1; margin-bottom: 10px; }
    .hero-visual img { max-width: 380px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .stat:nth-child(2)::after { display: none; }
    .panel-showcase { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; }
    .cta-visual { order: -1; }
    .cta-visual img { max-width: 220px; }
}
@media (max-width: 720px) {
    .nav, .header-actions .btn { display: none; }
    .menu-toggle { display: flex; }
    .nav.open {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: var(--header-h); right: 22px; left: 22px;
        background: #fff; border: 1px solid var(--line); border-radius: 16px;
        padding: 12px; box-shadow: var(--shadow);
    }
    .pm-cards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
    .features-grid, .stats-grid { grid-template-columns: 1fr; }
    .stat::after { display: none !important; }
    .section { padding: 56px 0; }
    .cta-band { padding: 28px 18px; }
    .cta-visual img { max-width: 180px; }
    .cta-text h2 { font-size: 19px; line-height: 1.55; }
    .cta-text p { font-size: 13.5px; }
}

/* ---------- Plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
    position: relative;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex; flex-direction: column;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan-card.featured {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--brand), var(--brand-700)) border-box;
    border: 2px solid transparent;
    transform: translateY(-6px);
}
.plan-tag {
    position: absolute; top: -13px; inset-inline-start: 26px;
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 999px;
    box-shadow: var(--shadow-brand);
}
.plan-card h3 { font-size: 20px; font-weight: 800; }
.plan-price { margin: 14px 0 20px; display: flex; align-items: baseline; gap: 7px; }
.plan-price b { font-size: 30px; color: var(--brand); font-weight: 800; }
.plan-price small { color: var(--muted); font-size: 13px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #414b5c; }
.plan-features li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* ---------- Mini feature cards ---------- */
.mini-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.mini-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; display: flex; align-items: center; gap: 14px;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mini-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.mini-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.mini-ic svg { width: 22px; height: 22px; }
.mini-card b { display: block; font-size: 14.5px; font-weight: 800; }
.mini-card small { color: var(--muted); font-size: 12.5px; }

@media (max-width: 980px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .mini-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mini-features { grid-template-columns: 1fr; }
}

/* ============================================================
   Landing extras: paths, plan tabs, steps, FAQ, final CTA
   ============================================================ */
.hidden { display: none !important; }

/* Two service paths */
.paths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.path-card {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; color: inherit;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.path-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.path-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.path-ic.navy { background: #eaf0f6; color: var(--navy); }
.path-ic svg { width: 30px; height: 30px; }
.path-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.path-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.path-body p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.path-link { color: var(--brand); font-weight: 700; font-size: 13.5px; }

/* Plan tabs */
.plan-tabs { position: relative; display: inline-flex; margin: 0 auto 34px; background: #eef1f6; border-radius: 14px; padding: 5px; gap: 4px; }
.plan-tabs { display: flex; width: fit-content; margin-inline: auto; }
.plan-tabs button { position: relative; z-index: 1; border: none; background: none; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--muted); padding: 11px 30px; border-radius: 10px; cursor: pointer; transition: color .3s; }
.plan-tabs button.active { color: var(--brand); }
.plan-tabs .pt-pill { position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 5px); background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.plan-tabs[data-active="vps"] .pt-pill { transform: translateX(-100%); }
.plan-pane { animation: cardUpFade .4s var(--ease) both; }
@keyframes cardUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.plan-cat { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: 13px; margin: 4px 0 0; min-height: 38px; }

/* Work-process steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 22px; position: relative; overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.step-num { font-size: 40px; font-weight: 800; color: var(--brand-soft); line-height: 1; display: block; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

/* Migration CTA steps */
.cta-step { color: #fff; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; opacity: .92; }

/* FAQ accordion */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s, box-shadow .3s; background: var(--card); }
.faq-item.open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: none; border: none; font-family: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; text-align: start; }
.faq-q svg { width: 20px; height: 20px; color: var(--brand); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 2; margin: 0; }

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    border-radius: var(--radius-lg); padding: 50px 40px; text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.final-cta::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); top: -120px; inset-inline-end: -80px; }
.final-cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; position: relative; }
.final-cta p { color: rgba(255,255,255,.85); margin: 14px 0 26px; position: relative; }
.final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

@media (max-width: 980px) {
    .paths-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .steps-grid { grid-template-columns: 1fr; }
    .plan-tabs button { padding: 10px 22px; }
}

/* Inner page hero */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 56px) 0 44px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(229,37,78,.08), transparent 60%);
    overflow: hidden;
}
.page-hero .hero-badge { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 16px; max-width: 40em; margin: 14px auto 0; }

/* ============================================================
   Contact page + shared alerts (public)
   ============================================================ */
.alert { padding: 13px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; }
.alert-error { background: #fdecef; color: #c01d3f; }
.alert-success { background: #e7f8ef; color: #1c8a52; }
.alert-info { background: #eaf1ff; color: #2a5bd7; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; color: inherit;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--brand); }
.contact-card .ci-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ci-ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 14.5px; }
.contact-card small { color: var(--muted); font-size: 13px; }

.contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.cf-group label { font-size: 13px; font-weight: 700; color: #3a4658; }
.contact-form input, .contact-form textarea {
    padding: 13px 15px; border: 1.6px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 14.5px; color: var(--ink); background: #f6f7fb;
    outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aab2c0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .cf-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Motion polish + new animated elements
   ============================================================ */

/* Animated gradient on the hero accent word */
.hero h1 .accent {
    background: linear-gradient(90deg, var(--brand), #ff6a8b, var(--brand-700), var(--brand));
    background-size: 280% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: hueShift 7s linear infinite;
}
@keyframes hueShift { to { background-position: 280% 0; } }

/* Floating blurred orbs in the hero */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .45; z-index: -1; pointer-events: none; }
.hero-orb.o1 { width: 340px; height: 340px; background: radial-gradient(circle, #ff5b7f, transparent 70%); top: -70px; inset-inline-end: 6%; animation: orbFloat 13s ease-in-out infinite; }
.hero-orb.o2 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(122,162,255,.5), transparent 70%); bottom: -50px; inset-inline-start: 3%; animation: orbFloat 16s ease-in-out -5s infinite; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-24px, 22px) scale(1.08); } }

/* Animated sweep on section dividers */
.section-head .divider { position: relative; overflow: hidden; }
.section-head .divider::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    transform: translateX(-100%); animation: dividerSweep 2.8s ease-in-out infinite;
}
@keyframes dividerSweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* Extra reveal variant: blur-in */
[data-reveal="blur"] { opacity: 0; filter: blur(12px); transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
[data-reveal="blur"].is-visible { opacity: 1; filter: blur(0); transform: none; }

/* Featured plan soft glow pulse */
.plan-card.featured { animation: featuredGlow 3.4s ease-in-out infinite; }
@keyframes featuredGlow { 0%,100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 22px 55px var(--brand-glow); } }

/* Card shine sweep on hover (plan-card excluded: its featured tag pokes out the top) */
.feature-card, .path-card, .step-card { position: relative; overflow: hidden; }
.feature-card::after, .path-card::after, .step-card::after {
    content: ""; position: absolute; top: 0; inset-inline-start: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-18deg); transition: inset-inline-start .7s var(--ease); pointer-events: none;
}
.feature-card:hover::after, .path-card:hover::after, .step-card:hover::after { inset-inline-start: 130%; }

/* Feature icon subtle idle float */
@keyframes iconBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.feature-card:not(:hover) .feature-icon { animation: iconBob 4.5s ease-in-out infinite; }

/* ---------- Compact "shared base" strip ---------- */
.base-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.base-item {
    display: flex; align-items: center; gap: 13px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.base-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--brand); }
.base-item .bi-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: transform .5s var(--ease); }
.base-item:hover .bi-ic { transform: rotate(-8deg) scale(1.08); }
.base-item .bi-ic svg { width: 22px; height: 22px; }
.base-item b { font-size: 14.5px; font-weight: 800; }

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

@media (prefers-reduced-motion: reduce) {
    .hero h1 .accent, .hero-orb, .section-head .divider::after, .plan-card.featured,
    .feature-card:not(:hover) .feature-icon, .marquee-track { animation: none !important; }
    .hero h1 .accent { -webkit-text-fill-color: var(--brand); color: var(--brand); }
}

/* ============================================================
   Hero "Live Infrastructure" console panel
   ============================================================ */
/* Live-infrastructure showcase section */
.infra-showcase-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.infra-copy .eyebrow { color: var(--brand); font-weight: 800; font-size: 13px; }
.infra-copy h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin: 10px 0 12px; }
.infra-copy > p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.infra-points { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.infra-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #414b5c; font-weight: 600; }
.infra-points li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

.infra-panel {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(26,32,43,.97), rgba(40,48,63,.97));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 34px 70px rgba(26,32,43,.42);
    color: #fff;
    animation: floaty 7s ease-in-out infinite;
}
.ip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.ip-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.ip-dot { width: 8px; height: 8px; border-radius: 50%; background: #39d98a; box-shadow: 0 0 0 0 rgba(57,217,138,.5); animation: pulse 2s infinite; }
.ip-live { font-size: 11px; font-weight: 700; color: #39d98a; background: rgba(57,217,138,.14); padding: 3px 10px; border-radius: 999px; }

.ip-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.ip-chip { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 11px; padding: 9px 11px; }
.ip-chip svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.ip-chip b { font-size: 11.5px; display: block; line-height: 1.4; }
.ip-chip small { font-size: 9.5px; color: rgba(255,255,255,.5); }

.ip-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; }
.ipb-row { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.ipb-row b { color: #fff; }
.ip-bar { height: 7px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; }
.ip-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--brand), #ff6a8b); transition: width 1.4s var(--ease); }

.ip-events { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 11px 13px; margin-bottom: 14px; }
.ip-events-label { font-size: 9.5px; letter-spacing: 1.5px; color: rgba(255,255,255,.4); margin-bottom: 7px; }
.ip-event { display: flex; gap: 9px; font-size: 12px; align-items: center; transition: opacity .3s; }
.ip-event em { color: var(--brand); font-style: normal; direction: ltr; font-weight: 700; }
.ip-event span { color: rgba(255,255,255,.82); }

.ip-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; padding-top: 2px; }
.ip-health { color: #39d98a; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ip-health .ip-dot { animation: pulse 2s infinite; }
.ip-up { color: rgba(255,255,255,.72); font-weight: 700; }
.ip-up b { color: #39d98a; }

@media (max-width: 900px) {
    .infra-showcase-grid { grid-template-columns: 1fr; gap: 32px; }
    .infra-copy { text-align: center; }
    .infra-points { align-items: center; }
    .infra-panel { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) { .infra-panel { animation: none !important; } }
