/* ============================================================
   OKX-Style Original Multi-Page Template  |  Blue-White Schema
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#1e293b;background:#fff;
  line-height:1.7;overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}
button{cursor:pointer;font-family:inherit}

/* ---------- Utility ---------- */
.container{width:min(1200px,92%);margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ========== SHARED NAV ========== */
.site-header{
  position:sticky;top:0;z-index:999;
  background:rgba(15,23,42,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:1.25rem;letter-spacing:-.02em}
.logo svg{width:32px;height:32px}
.nav-links{display:flex;align-items:center;gap:6px}
.nav-links a{
  color:rgba(255,255,255,.72);padding:6px 14px;border-radius:8px;
  font-size:.9rem;font-weight:500;transition:.2s;
}
.nav-links a:hover,
.nav-links a.active{color:#fff;background:rgba(255,255,255,.09)}
.nav-cta{
  margin-left:18px;
  background:linear-gradient(135deg,#3b82f6,#2563eb);
  color:#fff!important;padding:8px 20px;border-radius:10px;
  font-weight:600;font-size:.85rem;
  box-shadow:0 2px 12px rgba(37,99,235,.35);
  transition:.25s;
}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 4px 20px rgba(37,99,235,.45)}

/* Mobile toggle */
.nav-toggle{display:none;background:none;border:none;color:#fff}
.nav-toggle span{display:block;width:22px;height:2px;background:#fff;margin:5px 0;border-radius:1px;transition:.3s}

@media(max-width:860px){
  .nav-toggle{display:block}
  .nav-links{
    position:fixed;top:64px;right:0;width:260px;height:calc(100vh - 64px);
    background:rgba(15,23,42,.97);flex-direction:column;padding:24px 20px;
    transform:translateX(100%);transition:.35s ease;
  }
  .nav-links.open{transform:translateX(0)}
  .nav-cta{margin-left:0;margin-top:12px;text-align:center}
}

/* ========== SHARED FOOTER ========== */
.site-footer{
  background:#0f172a;color:rgba(255,255,255,.5);
  padding:56px 0 28px;font-size:.85rem;
}
.site-footer .container{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.site-footer h4{color:#fff;font-size:.95rem;margin-bottom:14px;font-weight:700}
.site-footer a{color:rgba(255,255,255,.45);transition:.2s}
.site-footer a:hover{color:#60a5fa}
.footer-brand p{margin-top:10px;max-width:280px;line-height:1.65}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:40px;padding-top:20px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
@media(max-width:768px){
  .site-footer .container{grid-template-columns:1fr 1fr;gap:28px}
}

/* ============================================================
   PAGE 01 — INDEX  (Deep-blue gradient Hero · intro · features · FAQ)
   Body class: .pg-index
   ============================================================ */
body.pg-index{background:#020b18;color:#e2e8f0}

/* Hero */
.hero{
  position:relative;
  min-height:100vh;display:flex;align-items:center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%,rgba(37,99,235,.25) 0%,transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%,rgba(6,182,212,.12) 0%,transparent 60%),
    linear-gradient(165deg,#020b18 30%,#0a1628 100%);
  overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,.03)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='60' height='60'/%3E%3C/svg%3E");
  opacity:.7;
}
.hero .container{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:120px 0 80px}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.25);
  color:#93c5fd;padding:5px 14px;border-radius:999px;
  font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(2.4rem,5vw,3.75rem);font-weight:900;line-height:1.12;
  background:linear-gradient(135deg,#fff 40%,#93c5fd);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero h1 em{font-style:normal;color:#60a5fa}
.hero-sub{margin:22px 0 34px;color:rgba(226,232,240,.62);font-size:1.08rem;max-width:480px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.btn-primary{
  background:linear-gradient(135deg,#3b82f6,#1d4ed8);
  color:#fff;padding:14px 34px;border-radius:12px;
  font-weight:700;font-size:1rem;
  box-shadow:0 4px 24px rgba(37,99,235,.45);
  border:none;transition:.25s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 32px rgba(37,99,235,.55)}
.btn-outline{
  background:transparent;
  color:#93c5fd;padding:14px 34px;border-radius:12px;
  font-weight:600;font-size:1rem;
  border:1.5px solid rgba(148,197,253,.3);
  transition:.25s;display:inline-flex;align-items:center;gap:8px;
}
.btn-outline:hover{border-color:#60a5fa;background:rgba(96,165,250,.07)}

/* Hero visual — abstract grid */
.hero-art{position:relative;display:flex;justify-content:center;align-items:center}
.hero-chart{
  width:340px;height:340px;
  background:linear-gradient(145deg,rgba(37,99,235,.18),rgba(6,182,212,.08));
  border:1px solid rgba(96,165,250,.12);
  border-radius:28px;backdrop-filter:blur(6px);
  position:relative;overflow:hidden;
}
.hero-chart::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:55%;
  background:linear-gradient(to top,rgba(2,11,24,.95),transparent);
}
.chart-line{
  position:absolute;bottom:18%;left:8%;right:8%;height:55%;
}
.chart-line svg{width:100%;height:100%}

@media(max-width:860px){
  .hero .container{grid-template-columns:1fr;text-align:center;padding:140px 0 60px}
  .hero-sub{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .hero-art{min-height:220px}
}

/* ---------- Section white overlay (for sections below hero) ---------- */
.pg-index .section-light{background:#f8fafc;color:#1e293b}
.pg-index .section-dark{background:linear-gradient(180deg,#0c1929,#020b18);color:#e2e8f0}

.section-pad{padding:96px 0}
.sec-label{
  display:inline-block;color:#3b82f6;font-weight:700;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;
}
.sec-title{font-size:clamp(1.75rem,3.2vw,2.5rem);font-weight:900;line-height:1.2;margin-bottom:16px}
.sec-desc{color:inherit;opacity:.6;max-width:560px;font-size:1.02rem}

/* ---- Nav-intro cards ---- */
.nav-intro-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:44px}
.nav-card{
  background:#fff;border-radius:16px;padding:30px 24px;
  border:1px solid #e2e8f0;
  transition:.3s;position:relative;overflow:hidden;
}
.nav-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#3b82f6,#06b6d4);
  transform:scaleX(0);transition:.3s;transform-origin:left;
}
.nav-card:hover{transform:translateY(-4px);box-shadow:0 12px 36px rgba(15,23,42,.08)}
.nav-card:hover::before{transform:scaleX(1)}
.nav-card-icon{
  width:48px;height:48px;border-radius:12px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;font-size:1.3rem;
}
.nav-card h3{font-size:1.05rem;font-weight:700;margin-bottom:6px}
.nav-card p{font-size:.88rem;color:#64748b;line-height:1.6}
.nav-card-arrow{margin-top:14px;color:#3b82f6;font-weight:700;font-size:.85rem}

@media(max-width:1024px){.nav-intro-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.nav-intro-grid{grid-template-columns:1fr}}

/* ---- Feature blocks (zigzag) ---- */
.feature-row{
  display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;
  margin-top:64px;
}
.feature-row:nth-child(even){direction:ltr}
.feature-row:nth-child(odd) .feature-visual{order:0}
.feature-row:nth-child(even) .feature-visual{order:1}
.feature-num{
  font-size:3.6rem;font-weight:900;
  background:linear-gradient(135deg,#bfdbfe,#3b82f6);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;opacity:.25;line-height:1;margin-bottom:6px;
}
.feature-visual-box{
  background:linear-gradient(145deg,#1e3a5f,#0f2040);
  border-radius:20px;min-height:240px;
  border:1px solid rgba(96,165,250,.1);
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.feature-visual-box::after{
  content:'';
  width:80%;aspect-ratio:1.6/1;
  background:linear-gradient(90deg,rgba(59,130,246,.15) 0%,rgba(6,182,212,.08) 100%);
  border-radius:12px;border:1px dashed rgba(96,165,250,.18);
}
@media(max-width:860px){
  .feature-row.grid-template-columns{display:flex;flex-direction:column}
  .feature-row .feature-visual{order:0!important}
}

/* ---- FAQ Accordion ---- */
.faq-list{margin-top:40px;display:flex;flex-direction:column;gap:10px}
.faq-item{
  background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;
  transition:.2s;
}
.faq-item.open{border-color:#bfdbfe;box-shadow:0 2px 16px rgba(59,130,246,.06)}
.faq-q{
  width:100;display:flex;justify-content:space-between;align-items:center;
  padding:18px 22px;font-weight:700;font-size:.97rem;
  background:none;border:none;color:#0f172a;text-align:left;cursor:pointer;
}
.faq-q .ico{font-size:1.15rem;color:#3b82f6;transition:.3s;flex-shrink:0;margin-left:16px}
.faq-item.open .faq-q .ico{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;padding:0 22px}
.faq-item.open .faq-a{max-height:300px;padding:0 22px 18px}
.faq-a p{font-size:.9rem;color:#475569;line-height:1.7}

/* ============================================================
   PAGE 02 — PRODUCTS  (Light-air layout · horizontal timeline cards)
   Body class: .pg-products
   ============================================================ */
body.pg-products{background:#f0f9ff}

.prod-hero{
  background:linear-gradient(155deg,#eff6ff 0%,#ffffff 60%,#e0f2fe 100%);
  padding:140px 0 80px;text-align:center;
}
.prod-hero h1{font-size:clamp(2rem,4vw,3rem);font-weight:900;color:#0f172a}
.prod-hero p{color:#475569;max-width:560px;margin:16px auto 0;font-size:1.05rem}

/* Timeline rail */
.timeline{position:relative;padding:80px 0 60px}
.timeline::before{
  content:'';position:absolute;top:0;bottom:0;left:50%;width:2px;
  background:linear-gradient(to bottom,#bfdbfe,transparent);
  transform:translateX(-50%);
}
.tl-item{
  display:grid;grid-template-columns:1fr 60px 1fr;align-items:center;
  gap:0;margin-bottom:60px;position:relative;
}
.tl-item .tl-card{
  background:#fff;border-radius:18px;padding:32px 28px;
  border:1px solid #e2e8f0;
  box-shadow:0 4px 24px rgba(15,23,42,.04);
  transition:.3s;
}
.tl-item .tl-card:hover{transform:translateY(-3px);box-shadow:0 12px 40px rgba(15,23,42,.08)}
.tl-item .tl-card h3{font-weight:800;font-size:1.1rem;color:#0f172a;margin-bottom:8px}
.tl-item .tl-card p{font-size:.9rem;color:#475569;line-height:1.65}
.tl-dot{
  width:60px;display:flex;align-items:center;justify-content:center;
}
.tl-dot span{
  width:16px;height:16px;border-radius:50%;
  background:linear-gradient(135deg,#3b82f6,#06b6d4);
  box-shadow:0 0 0 5px #eff6ff,0 0 0 7px #bfdbfe;
  z-index:2;
}
.tl-item:nth-child(odd) .tl-card:first-child{text-align:right}
.tl-item:nth-child(even) .tl-card:last-child{text-align:left}
.tl-item .tl-blank{grid-column:span 1}

@media(max-width:860px){
  .timeline::before{left:20px}
  .tl-item{grid-template-columns:40px 1fr;gap:0}
  .tl-item .tl-blank{display:none}
  .tl-item .tl-card{text-align:left!important}
  .tl-dot{justify-content:flex-start}
}

/* stat bar */
.prod-stats{
  display:flex;gap:24px;flex-wrap:wrap;margin:60px 0 0;
}
.prod-stat{
  flex:1;min-width:160px;background:#fff;border-radius:14px;padding:28px 24px;
  border:1px solid #e2e8f0;text-align:center;
}
.prod-stat strong{display:block;font-size:2rem;font-weight:900;color:#2563eb}
.prod-stat span{font-size:.85rem;color:#64748b;margin-top:4px;display:block}

/* ============================================================
   PAGE 03 — SECURITY  (Dark navy · diagonal slice · icon-grid)
   Body class: .pg-security
   ============================================================ */
body.pg-security{background:#0b1120;color:#e2e8f0}

.sec-hero{
  position:relative;overflow:hidden;
  padding:150px 0 120px;
  background:
    linear-gradient(140deg,#0b1120 40%,#0f2040 100%);
}
.sec-hero::after{
  content:'';position:absolute;bottom:-1px;left:0;right:0;height:120px;
  background:#020b18;
  clip-path:polygon(0 60%,100% 0,100% 100%,0 100%);
}
.sec-hero .container{position:relative;z-index:2;text-align:center}
.sec-hero h1{font-size:clamp(2rem,4.5vw,3.2rem);font-weight:900;color:#fff}
.sec-hero h1 span{color:#06b6d4}
.sec-hero p{color:rgba(226,232,240,.55);max-width:580px;margin:18px auto 0;font-size:1.02rem}

/* Diagonal section */
.sec-diagonal{
  background:#020b18;padding:0 0 100px;
}
.sec-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
.sec-card{
  background:linear-gradient(165deg,rgba(30,58,95,.45),rgba(15,23,42,.8));
  border:1px solid rgba(96,165,250,.08);
  border-radius:16px;padding:32px 26px;
  transition:.3s;position:relative;overflow:hidden;
}
.sec-card::after{
  content:'';position:absolute;top:-20px;right:-20px;
  width:80px;height:80px;border-radius:50%;
  background:radial-gradient(circle,rgba(6,182,212,.1),transparent 70%);
}
.sec-card:hover{
  border-color:rgba(6,182,212,.2);
  box-shadow:0 8px 32px rgba(6,182,212,.06);
  transform:translateY(-3px);
}
.sec-card .ic{
  width:46px;height:46px;border-radius:10px;
  background:rgba(6,182,212,.1);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;font-size:1.25rem;
}
.sec-card h3{font-size:1rem;font-weight:700;color:#fff;margin-bottom:8px}
.sec-card p{font-size:.86rem;color:rgba(226,232,240,.5);line-height:1.65}

@media(max-width:960px){.sec-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.sec-grid{grid-template-columns:1fr}}

/* shield badge */
.shield-badge{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(6,182,212,.08);border:1px solid rgba(6,182,212,.15);
  padding:7px 18px;border-radius:999px;
  font-size:.8rem;color:#67e8f9;font-weight:600;margin-bottom:20px;
}

/* ============================================================
   PAGE 04 — DOWNLOAD  (Pure white · giant floating cards · soft shadows)
   Body class: .pg-download
   ============================================================ */
body.pg-download{background:#fff}

.dl-hero{
  text-align:center;padding:140px 0 40px;
}
.dl-hero h1{font-size:clamp(2rem,4vw,3rem);font-weight:900;color:#0f172a}
.dl-hero p{color:#64748b;max-width:520px;margin:14px auto 0;font-size:1.02rem}

.dl-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px;
  padding-bottom:100px;
}
.dl-card{
  background:#fff;border-radius:22px;padding:44px 32px 38px;
  border:1px solid #e2e8f0;
  box-shadow:0 2px 20px rgba(15,23,42,.04);
  text-align:center;
  transition:.3s;position:relative;overflow:hidden;
}
.dl-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  border-radius:22px 22px 0 0;
  background:var(--accent,linear-gradient(90deg,#3b82f6,#06b6d4));
}
.dl-card:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 48px rgba(15,23,42,.09);
}
.dl-icon{
  width:72px;height:72px;margin:0 auto 22px;
  border-radius:18px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  display:flex;align-items:center;justify-content:center;
  font-size:1.8rem;
}
.dl-card h3{font-weight:800;font-size:1.1rem;margin-bottom:8px;color:#0f172a}
.dl-card p{font-size:.88rem;color:#64748b;margin-bottom:22px;line-height:1.6}
.dl-btn{
  display:inline-block;
  background:linear-gradient(135deg,#3b82f6,#1d4ed8);
  color:#fff;padding:11px 30px;border-radius:10px;
  font-weight:700;font-size:.9rem;
  box-shadow:0 3px 14px rgba(37,99,235,.3);
  transition:.25s;
}
.dl-btn:hover{transform:translateY(-1px);box-shadow:0 5px 22px rgba(37,99,235,.4)}
.dl-version{margin-top:12px;font-size:.75rem;color:#94a3b8}

@media(max-width:900px){.dl-cards{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.dl-cards{grid-template-columns:1fr}}

/* ============================================================
   PAGE 05 — ABOUT / INSIGHTS  (Editorial magazine · generous whitespace)
   Body class: .pg-about
   ============================================================ */
body.pg-about{background:#f8fafc}

.abt-hero{
  padding:150px 0 60px;
  background:linear-gradient(160deg,#ffffff 0%,#eff6ff 100%);
}
.abt-hero .container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.abt-avatar{
  width:100%;aspect-ratio:4/3;
  background:linear-gradient(145deg,#dbeafe,#eff6ff);
  border-radius:20px;border:1px solid #e2e8f0;
  display:flex;align-items:center;justify-content:center;
  font-size:3rem;color:#93c5fd;
}
.abt-hero h1{font-size:clamp(2rem,4vw,3rem);font-weight:900;color:#0f172a;line-height:1.15}
.abt-hero h1 span{color:#3b82f6}
.abt-hero p{color:#475569;margin-top:16px;font-size:1rem;line-height:1.75}
@media(max-width:860px){.abt-hero .container{grid-template-columns:1fr}.abt-hero{priting:120px 0 40px;text-align:center}}

/* Insight cards — masonry feel */
.insights{padding:80px 0 100px}
.ins-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.in-card{
  background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid #e2e8f0;transition:.3s;
}
.in-card:hover{transform:translateY(-3px);box-shadow:0 10px 36px rgba(15,23,42,.07)}
.in-thumb{
  height:170px;
  background:linear-gradient(135deg,#dbeafe,#e0f2fe);
  display:flex;align-items:center;justify-content:center;
  font-size:2rem;color:#93c5fd;
}
.in-body{padding:22px 24px 26px}
.in-tag{
  display:inline-block;font-size:.7rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;
  color:#3b82f6;background:#eff6ff;padding:3px 10px;border-radius:6px;
  margin-bottom:10px;
}
.in-body h3{font-weight:800;font-size:1rem;color:#0f172a;margin-bottom:8px;line-height:1.45}
.in-body p{font-size:.87rem;color:#64748b;line-height:1.65}
.in-body a.more{display:inline-block;margin-top:14px;font-size:.85rem;font-weight:600;color:#2563eb}
@media(max-width:900px){.ins-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.ins-grid{grid-template-columns:1fr}}

/* ========== Scroll animation (micro) ========== */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}