/* ===== Design System v4 — Purple/Teal Modern SaaS (Landing Pages) ===== */
:root {
  --pri: #5B3FE5;
  --pri-d: #4327C2;
  --pri-l: #7B62F0;
  --pri-ll: #A494F8;
  --pri-bg: #F0EDFD;
  --pri-bg2: #F7F5FE;
  --teal: #00C896;
  --teal-d: #00A87E;
  --teal-l: #33D4AB;
  --teal-bg: #E6FAF3;
  --bg: #FFFFFF;
  --bg-soft: #F8F9FC;
  --bg-soft2: #F1F3F9;
  --dark: #0D0B1E;
  --dark2: #1A1633;
  --ink: #111022;
  --ink2: #3A3A52;
  --muted: #6B6B82;
  --muted-l: #9B9BB0;
  --rule: #E6E6F0;
  --rule-d: #2A2545;
  --grad-pri: linear-gradient(135deg, #5B3FE5 0%, #7B62F0 100%);
  --grad-teal: linear-gradient(135deg, #00C896 0%, #33D4AB 100%);
  --grad-dark: linear-gradient(160deg, #0D0B1E 0%, #1A1633 50%, #130F2C 100%);
  --grad-mix: linear-gradient(120deg, #5B3FE5 0%, #00C896 100%);
  --sh-sm: 0 1px 3px rgba(13,11,30,.05);
  --sh-md: 0 4px 14px rgba(13,11,30,.07);
  --sh-lg: 0 14px 40px rgba(13,11,30,.09);
  --sh-xl: 0 24px 64px rgba(13,11,30,.13);
  --sh-glow: 0 0 40px rgba(91,63,229,.15);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip { position: absolute; top: -100px; left: 0; background: var(--pri); color: #fff; padding: 10px 20px; z-index: 9999; transition: top .3s; }
.skip:focus { top: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; font-size: .9rem; font-weight: 600; border-radius: var(--r-sm); transition: all .22s; white-space: nowrap; }
.btn-p { background: var(--grad-pri); color: #fff; box-shadow: 0 4px 14px rgba(91,63,229,.25); }
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,63,229,.35); }
.btn-t { background: var(--grad-teal); color: #fff; box-shadow: 0 4px 14px rgba(0,200,150,.22); }
.btn-t:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,150,.32); }
.btn-o { background: transparent; color: var(--pri); border: 1.5px solid var(--rule); }
.btn-o:hover { border-color: var(--pri); background: var(--pri-bg); }

.btn-phone { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: .85rem; font-weight: 700; color: var(--pri); background: var(--pri-bg); border: 1.5px solid var(--pri-ll); border-radius: var(--r-sm); transition: all .22s; letter-spacing: .3px; }
.btn-phone:hover { background: var(--pri); color: #fff; border-color: var(--pri); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(91,63,229,.25); }
.btn-phone svg { flex-shrink: 0; }
.btn-ow { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.btn-ow:hover { background: rgba(255,255,255,.16); }

/* ===== Header — with dropdown nav ===== */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: var(--sh-md); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.lg { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--pri); flex-shrink: 0; }
.lg-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; background: transparent; border-radius: 0; }
.navm { display: flex; align-items: center; gap: 18px; }
.navm a { font-size: .82rem; font-weight: 500; color: var(--ink2); transition: color .2s; position: relative; cursor: pointer; white-space: nowrap; }
.navm a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--pri); transform: scaleX(0); transition: transform .25s; }
.navm a:hover { color: var(--pri); }
.navm a:hover::after { transform: scaleX(1); }
.navm a.active { color: var(--pri); font-weight: 600; }
.navm a.active::after { transform: scaleX(1); }
/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 8px; min-width: 220px; display: none; flex-direction: column; gap: 2px; z-index: 100; }
.nav-drop:hover .nav-drop-menu { display: flex; }
.nav-drop-menu a { padding: 10px 14px; border-radius: var(--r-sm); font-size: .82rem; color: var(--ink2); }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--pri-bg); color: var(--pri); }
.nav-drop-menu a.active { background: var(--pri-bg); color: var(--pri); font-weight: 600; }

.hdr-cta { display: flex; gap: 10px; flex-shrink: 0; }
.hdr-cta .btn { padding: 9px 20px; font-size: .82rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.burger.on span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero — split screen ===== */
.hero { padding-top: 64px; background: var(--bg-soft); overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: 0; right: -10%; width: 60%; height: 100%; background: radial-gradient(ellipse at 70% 40%, rgba(91,63,229,.07) 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; min-height: calc(100vh - 64px); padding: 60px 0; position: relative; }
.hero-left { z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: var(--pri-bg); border: 1px solid rgba(91,63,229,.15); border-radius: 100px; font-size: .76rem; font-weight: 600; color: var(--pri); margin-bottom: 24px; }
.hero-badge .pulse { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad-mix); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.hero-trust .ck { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-bg); color: var(--teal-d); display: flex; align-items: center; justify-content: center; font-size: .65rem; }

/* Hero visual — dashboard mockup */
.hero-right { position: relative; z-index: 2; }
.dash { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-xl); }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.dash-top .ttl { font-size: .9rem; font-weight: 700; color: var(--ink); }
.dash-top .live { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; color: var(--teal-d); background: var(--teal-bg); padding: 3px 10px; border-radius: 100px; }
.dash-top .live .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
.dash-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.dm-card { background: var(--bg-soft); border-radius: var(--r-md); padding: 14px; text-align: center; }
.dm-card .n { font-size: 1.5rem; font-weight: 800; color: var(--pri); }
.dm-card .n.green { color: var(--teal-d); }
.dm-card .l { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.dash-chart { height: 120px; background: var(--bg-soft); border-radius: var(--r-md); padding: 16px; display: flex; align-items: flex-end; gap: 6px; }
.bar { flex: 1; border-radius: 4px 4px 0 0; transition: height .8s ease; }
.bar.b1 { background: var(--pri-ll); }
.bar.b2 { background: var(--pri-l); }
.bar.b3 { background: var(--pri); }
.bar.b4 { background: var(--teal-l); }
.bar.b5 { background: var(--teal); }
.dash-ai { margin-top: 16px; padding: 14px; background: var(--pri-bg2); border-radius: var(--r-md); }
.dash-ai .q { font-size: .76rem; color: var(--muted); margin-bottom: 6px; }
.dash-ai .a { font-size: .82rem; color: var(--ink); font-weight: 500; display: flex; align-items: flex-start; gap: 6px; }
.dash-ai .a .tag { display: inline-block; padding: 1px 6px; background: var(--grad-pri); color: #fff; border-radius: 4px; font-size: .66rem; font-weight: 700; white-space: nowrap; }

/* ===== Stats bar ===== */
.stats { background: var(--dark); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid var(--rule-d); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-item .num .u { font-size: 1rem; color: var(--pri-ll); }
.stat-item .lbl { font-size: .82rem; color: var(--muted-l); margin-top: 4px; }

/* ===== Section common ===== */
section { padding: 90px 0; }
.sec-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; background: var(--pri-bg); border-radius: 6px; font-size: .72rem; font-weight: 600; color: var(--pri); letter-spacing: .03em; margin-bottom: 14px; }
.sec-badge.teal { background: var(--teal-bg); color: var(--teal-d); }
.sec-h { font-size: clamp(1.6rem, 3.8vw, 2.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 12px; }
.sec-p { font-size: .98rem; color: var(--muted); line-height: 1.7; max-width: 580px; }
.tc { text-align: center; }
.tc .sec-p { margin: 0 auto 40px; }
.sec-head { margin-bottom: 48px; }

/* ===== Pain points ===== */
.pain { background: var(--bg); }
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pain-card { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 32px 28px; transition: all .3s; }
.pain-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-3px); }
.pain-ic { width: 52px; height: 52px; border-radius: 14px; background: #FFF0F0; color: #E5484D; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pain-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.pain-card p { font-size: .85rem; color: var(--muted); line-height: 1.75; }

/* ===== Comparison table ===== */
.cmp { background: var(--bg-soft); }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.cmp-table th, .cmp-table td { padding: 16px 24px; text-align: left; font-size: .85rem; border-bottom: 1px solid var(--rule); }
.cmp-table th { background: var(--pri-bg2); font-weight: 700; color: var(--ink); font-size: .82rem; }
.cmp-table td { color: var(--ink2); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .col-h { font-weight: 700; color: var(--ink); }
.cmp-table .yes { color: var(--teal-d); font-weight: 600; }
.cmp-table .no { color: #E5484D; font-weight: 600; }

/* ===== Feature grid (detailed) ===== */
.feat { background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feat-card { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 32px; transition: all .3s; }
.feat-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-3px); }
.feat-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--pri-bg); color: var(--pri); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-ic.teal { background: var(--teal-bg); color: var(--teal-d); }
.feat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: .85rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.feat-card ul { display: flex; flex-direction: column; gap: 8px; }
.feat-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--ink2); }
.feat-card ul li .ck { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--teal-bg); color: var(--teal-d); display: flex; align-items: center; justify-content: center; font-size: .6rem; margin-top: 1px; }

/* ===== Platform/Engine cards ===== */
.engines { background: var(--bg-soft); }
.engine-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.engine-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); padding: 24px 16px; text-align: center; transition: all .3s; }
.engine-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-3px); }
.engine-card .e-name { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.engine-card .e-status { display: inline-block; padding: 3px 10px; background: var(--teal-bg); color: var(--teal-d); border-radius: 100px; font-size: .68rem; font-weight: 600; }
.engine-card .e-desc { font-size: .72rem; color: var(--muted); margin-top: 8px; }

/* ===== Process — horizontal stepper ===== */
.process { background: var(--bg-soft); }
.steps { display: flex; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(to right, var(--pri), var(--teal)); opacity: .2; z-index: 0; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.step-num { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--pri); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: var(--pri); transition: all .3s; }
.step:hover .step-num { background: var(--grad-pri); color: #fff; transform: scale(1.08); box-shadow: var(--sh-glow); }
.step:nth-child(even) .step-num { border-color: var(--teal); color: var(--teal-d); }
.step:nth-child(even):hover .step-num { background: var(--grad-teal); color: #fff; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.step .deliver { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.step .deliver .d { padding: 2px 8px; background: var(--pri-bg); border-radius: 4px; font-size: .68rem; color: var(--pri); font-weight: 500; }
.step:nth-child(even) .deliver .d { background: var(--teal-bg); color: var(--teal-d); }

/* ===== Cases — card grid ===== */
.cases { background: var(--bg); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--rule); transition: all .35s; }
.case-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-3px); }
.case-top { padding: 28px 28px 0; }
.case-top .row1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.case-tag { padding: 4px 12px; border-radius: 6px; font-size: .72rem; font-weight: 600; }
.case-tag.pri { background: var(--pri-bg); color: var(--pri); }
.case-tag.teal { background: var(--teal-bg); color: var(--teal-d); }
.case-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.case-card .desc { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.case-metrics { display: flex; gap: 32px; padding: 0 28px 28px; }
.case-metric .n { font-size: 2rem; font-weight: 800; color: var(--pri); letter-spacing: -.02em; }
.case-metric .n.teal { color: var(--teal-d); }
.case-metric .l { font-size: .76rem; color: var(--muted); }

/* ===== Pricing ===== */
.pricing { background: var(--bg); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 32px 28px; background: #fff; transition: all .3s; position: relative; }
.price-card:hover { box-shadow: var(--sh-lg); border-color: var(--pri-l); }
.price-card.popular { border: 2px solid var(--pri); box-shadow: var(--sh-glow); }
.price-card.popular .pop-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-pri); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.price-card .pd { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.price-card .pp { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price-card .pp .amt { font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.price-card .pp .unit { font-size: .82rem; color: var(--muted); }
.price-card .pf { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-card .pf .pi { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--ink2); }
.price-card .pf .pi .ck { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--teal-bg); color: var(--teal-d); display: flex; align-items: center; justify-content: center; font-size: .6rem; margin-top: 1px; }

/* ===== FAQ — accordion ===== */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; transition: all .25s; }
.faq-item.open { box-shadow: var(--sh-md); border-color: var(--pri-l); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; }
.faq-q .q-text { font-size: .92rem; font-weight: 600; color: var(--ink); }
.faq-q .q-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--pri-bg); color: var(--pri); display: flex; align-items: center; justify-content: center; transition: transform .25s; font-size: .8rem; font-weight: 700; }
.faq-item.open .q-ic { transform: rotate(45deg); background: var(--grad-pri); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: .85rem; color: var(--muted); line-height: 1.8; }

/* ===== Contact ===== */
.contact { background: var(--bg); padding: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.contact-left { background: var(--grad-dark); padding: 64px 48px; color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-left::before { content: ''; position: absolute; bottom: -20%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(91,63,229,.1) 0%, transparent 60%); border-radius: 50%; }
.contact-left .sec-badge { background: rgba(91,63,229,.2); color: var(--pri-ll); }
.contact-left h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.3; margin-bottom: 14px; color: #fff; }
.contact-left > p { font-size: .92rem; color: var(--muted-l); line-height: 1.75; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 2; }
.ci { display: flex; align-items: center; gap: 14px; }
.ci .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(91,63,229,.15); display: flex; align-items: center; justify-content: center; color: var(--pri-ll); flex-shrink: 0; }
.ci .lbl { font-size: .72rem; color: var(--muted-l); }
.ci .val { font-size: .92rem; font-weight: 600; color: #fff; }
.contact-right { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.contact-right h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.contact-right > p { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .76rem; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 11px 14px; background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--ink); font-size: .88rem; font-family: inherit; transition: all .2s; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted-l); }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--pri-l); background: #fff; box-shadow: 0 0 0 3px var(--pri-bg); }
.fg textarea { resize: vertical; min-height: 80px; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { width: 100%; padding: 14px; background: var(--grad-pri); color: #fff; font-size: .9rem; font-weight: 700; border-radius: var(--r-sm); transition: all .25s; cursor: pointer; }
.form-submit:hover { box-shadow: 0 8px 24px rgba(91,63,229,.3); transform: translateY(-1px); }
.form-ok { display: none; padding: 12px; background: var(--teal-bg); border: 1px solid rgba(0,200,150,.25); border-radius: var(--r-sm); color: var(--teal-d); font-size: .82rem; margin-top: 12px; }
.form-ok.show { display: block; }

/* ===== About page — story, timeline, values ===== */
.about-hero { padding-top: 64px; background: var(--bg-soft); color: var(--ink); overflow: hidden; position: relative; }
.about-hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(91,63,229,.06) 0%, transparent 60%); border-radius: 50%; }
.about-hero::after { content: ''; position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,200,150,.04) 0%, transparent 60%); border-radius: 50%; }
.about-hero-in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.about-hero .hero-badge { background: var(--pri-bg); color: var(--pri); border-color: var(--pri-ll); }
.about-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 20px; color: var(--ink); }
.about-hero h1 .grad { background: var(--grad-mix); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-hero p { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.about-hero .hero-actions { justify-content: center; }
.about-hero .btn-ow { background: var(--bg-soft2); color: var(--ink2); border: 1.5px solid var(--rule); }
.about-hero .btn-ow:hover { background: var(--rule); }

.story { max-width: 100%; margin: 0 auto; }
.story p { font-size: .95rem; color: var(--ink2); line-height: 1.9; margin-bottom: 18px; }
.story p:last-child { margin-bottom: 0; }

.info-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 40px auto 0; }
.info-card { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 20px; text-align: center; }
.info-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--pri-bg); color: var(--pri); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.info-card .ic.teal { background: var(--teal-bg); color: var(--teal-d); }
.info-card .lbl { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.info-card .val { font-size: .85rem; font-weight: 700; color: var(--ink); }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.value-card { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; transition: all .3s; }
.value-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-3px); }
.value-card .v-ic { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.value-card .v-ic.p { background: var(--pri-bg); color: var(--pri); }
.value-card .v-ic.t { background: var(--teal-bg); color: var(--teal-d); }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: .8rem; color: var(--muted); line-height: 1.7; }

/* ===== Certificates ===== */
.certs { padding: 80px 0; background: var(--bg-soft); }
.cert-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 32px; }
.cert-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; transition: all .3s; display: flex; flex-direction: row; }
.cert-card:hover { box-shadow: var(--sh-md); border-color: transparent; transform: translateY(-2px); }
.cert-img { width: 130px; flex-shrink: 0; padding: 12px; background: linear-gradient(135deg,#f5f7ff 0%,#eefbf7 100%); display: flex; align-items: center; justify-content: center; }
.cert-img img { width: 100%; height: auto; max-height: 170px; object-fit: contain; border-radius: 4px; }
.cert-info { padding: 16px 18px; flex: 1; min-width: 0; }
.cert-info h3 { font-size: .92rem; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.4; }
.cert-info ul { list-style: none; padding: 0; margin: 0; }
.cert-info ul li { font-size: .74rem; color: var(--muted); line-height: 1.75; display: flex; }
.cert-info ul li span { color: var(--text); font-weight: 500; flex-shrink: 0; min-width: 60px; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: var(--muted-l); padding: 56px 0 24px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-d); }
.ft-brand .lg { color: #fff; margin-bottom: 14px; }
.ft-brand p { font-size: .82rem; line-height: 1.75; max-width: 300px; }
.ft-col h4 { font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.ft-col ul li { margin-bottom: 10px; }
.ft-col ul li a { font-size: .82rem; color: var(--muted-l); transition: color .2s; }
.ft-col ul li a:hover { color: var(--pri-ll); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-bottom p { font-size: .76rem; color: var(--muted-l); }

/* Floating CTA */
.fab { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; display: none; }
.fab-inner { display: flex; align-items: stretch; background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -4px 20px rgba(13,11,30,.08); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
.fab a { flex: 1; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; font-size: .9rem; font-weight: 700; color: #fff; position: relative; overflow: hidden; }
.fab a:active { transform: scale(.96); }
.fab .fab-ic { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fab .f1 { background: linear-gradient(135deg,#00c896 0%,#00a3ff 100%); box-shadow: 0 4px 12px rgba(0,200,150,.3); }
.fab .f2 { background: linear-gradient(135deg,#5b3fe5 0%,#8b5cf6 100%); box-shadow: 0 4px 12px rgba(91,63,229,.3); }
.fab .f1::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent); animation: fabShine 3s ease-in-out infinite; }
.fab .f2::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent); animation: fabShine 3s ease-in-out infinite; animation-delay: 1.5s; }
@keyframes fabShine { 0% { left: -100%; } 50%,100% { left: 100%; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.rv.on { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { max-width: 500px; }
  .pain-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .engine-cards { grid-template-columns: repeat(3,1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 40px 32px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .navm { display: none; }
  .navm.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--rule); box-shadow: var(--sh-lg); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-drop-menu { position: static; transform: none; display: flex; box-shadow: none; border: none; padding-left: 16px; min-width: 0; gap: 4px; }
  .nav-drop:hover .nav-drop-menu { display: flex; }
  .burger { display: flex; }
  .hdr-cta .btn-o, .hdr-cta .btn-phone { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid { min-height: auto; padding: 40px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 16px; border-bottom: 1px solid var(--rule-d); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-item .num { font-size: 1.6rem; }
  .engine-cards { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }
  .step { padding: 0; }
  .case-metrics { gap: 20px; }
  .case-metric .n { font-size: 1.5rem; }
  .cmp-table { font-size: .76rem; }
  .cmp-table th, .cmp-table td { padding: 12px 14px; }
  .fg2 { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; }
  .fab { display: block; }
  .fab a { height: 48px; padding: 0; border-radius: 12px; font-size: .9rem; }
  .fab .fab-ic { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .sec-h { font-size: 1.3rem; }
  .dash-metrics { grid-template-columns: 1fr; }
  .case-metrics { flex-direction: column; gap: 12px; }
  .engine-cards { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
