/* ============================================================
   PATTAS360 — Premium Product Showcase
   Design system: LIGHT warm "ember-on-cream", liquid-glass
============================================================ */

:root {
  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Figtree, Helvetica, Arial, sans-serif;

  /* Brand */
  --red:    #D93208;
  --orange: #E85F1A;
  --amber:  #F08A20;
  --gold:   #F5A623;
  --yellow: #F9CC50;
  --accent: #DC4A0C;           /* readable orange for small text/icons on light */

  /* Surfaces (light) */
  --bg:    #FFF8F2;
  --bg-1:  #FFFCF9;
  --bg-2:  #FFF2E8;
  --smoke: #FBE7D8;

  /* Ink */
  --ink:     #2A1206;
  --ink-soft:#6A4D3B;
  --muted:   #94765F;
  --faint:   #BCA694;

  /* Glass (frosted white) */
  --glass:      rgba(255, 255, 255, 0.55);
  --glass-2:    rgba(255, 255, 255, 0.78);
  --glass-brd:  rgba(200, 110, 50, 0.16);
  --glass-brd2: rgba(200, 90, 30, 0.32);

  /* Device bezel */
  --bezel:  #1b181c;
  --bezel-2:#2a262b;

  /* Gradients */
  --grad-fire: linear-gradient(100deg, #D93208 0%, #E85F1A 38%, #F5A623 72%, #F9CC50 100%);
  --grad-fire-rev: linear-gradient(280deg, #D93208 0%, #F5A623 60%, #F9CC50 100%);
  --grad-text: linear-gradient(92deg, #D93208 0%, #E85F1A 55%, #F08A20 100%);

  /* Soft warm shadows */
  --sh-sm: 0 8px 22px -12px rgba(150, 60, 20, 0.30);
  --sh-md: 0 24px 56px -26px rgba(140, 55, 18, 0.34);
  --sh-lg: 0 50px 100px -40px rgba(120, 45, 14, 0.42);

  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans), system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(232,95,26,0.22); color: var(--red); }

/* ---- Ambient backdrop ------------------------------------ */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 52% at 12% 6%,  rgba(232,95,26,0.16), transparent 60%),
    radial-gradient(52% 46% at 90% 14%, rgba(245,166,35,0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 116%, rgba(217,50,8,0.10), transparent 60%),
    var(--bg);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.30; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}

/* ---- Layout --------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
section { position: relative; }

/* ---- Type ----------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.display {
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  font-size: clamp(40px, 7vw, 92px);
  color: var(--ink);
}
h2.display { font-size: clamp(34px, 5.5vw, 70px); }
/* Section-scoped overrides — keeps inline style="" out of HTML */
.section-head h2.display { font-size: clamp(32px, 4.6vw, 60px); }
.split-copy   h2.display { font-size: clamp(32px, 4.4vw, 58px); }
.hpin-head    h2.display { font-size: clamp(30px, 4.4vw, 60px); max-width: 18ch; margin-top: 14px; }
h3.title {
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lede {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { margin-top: 22px; }
.section-head h2 { margin-top: 18px; }

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans), sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em;
  padding: 14px 28px; border-radius: 100px; cursor: pointer; border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-fire); color: #fff; box-shadow: 0 12px 30px -8px rgba(232,95,26,0.5), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -8px rgba(232,95,26,0.6), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--glass-brd2); box-shadow: var(--sh-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--red); }

/* ---- Glass card ----------------------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--sh-sm);
  position: relative;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.6), transparent 42%);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .35s ease, background .4s, backdrop-filter .4s, border-color .4s, box-shadow .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.nav-hidden { transform: translateY(calc(-100% - 4px)); }
.nav.scrolled {
  background: rgba(255,250,245,0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--glass-brd);
  box-shadow: 0 10px 30px -20px rgba(140,55,18,0.4);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-word { height: 46px; width: auto; display: block; }
.footer .brand-logo { height: 52px; }
.footer .brand-word { height: 52px; }
.nav-links { margin-left: auto; display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-family: var(--font-sans), sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0; color: var(--ink-soft);
  transition: color .25s; position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; border-radius:2px; background:var(--grad-fire); transition: width .3s var(--ease); }
.nav-links a:hover::after { width:100%; }
.nav-login { margin-left: 8px; padding: 9px 18px; font-size: 14px; }
.nav-cta { margin-left: 8px; padding: 11px 22px; font-size: 15px; }
.nav-burger { display:none; margin-left:auto; background:none; border:none; cursor:pointer; padding:8px; }
.nav-burger span { display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.3s; border-radius:2px; }

/* ============================================================
   HERO
============================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: clip; }
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; will-change: transform; }
.orb.a { width: 460px; height: 460px; background: radial-gradient(circle, rgba(217,50,8,0.5), transparent 70%); top: -80px; left: -60px; }
.orb.b { width: 540px; height: 540px; background: radial-gradient(circle, rgba(245,166,35,0.5), transparent 70%); bottom: -160px; right: -90px; opacity: 0.45; }
.orb.c { width: 320px; height: 320px; background: radial-gradient(circle, rgba(232,95,26,0.45), transparent 70%); top: 30%; left: 45%; opacity: 0.3; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-copy { display: flex; flex-direction: column; }
.hero-copy .display { margin: 22px 0 26px; }
.hero-copy .lede { font-size: clamp(17px, 1.6vw, 21px); }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-right {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 20px;
  padding-top: 44px;
}

.hero-stage { position: relative; flex: 1; min-height: 380px; }
.hero-dev { position: absolute; bottom: 0; }
.hero-desk { left: 0; z-index: 1; zoom: 0.54; }
.hero-tab  { right: 12%; z-index: 2; zoom: 0.27; bottom: 20px; }
.hero-ph   { right: 0; z-index: 3; zoom: 0.38; }

.hero-stats { display: flex; gap: 38px; margin-top: 0; }
.hero-stats .stat .n { font-family: var(--font-sans), sans-serif; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.hero-stats .stat .l { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---- Hero price advertisement card — light glass (matches price plan cards) ---- */
.hero-price-ad {
  display: block;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--r-lg);
  padding: 18px 20px 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  box-shadow:
    0 6px 28px rgba(120, 50, 10, 0.12),
    inset 0 2px 0 rgba(255,255,255,0.96),
    inset 0 0 0 1.5px rgba(255,255,255,0.32);
  transition: background .32s ease, border-color .32s ease, box-shadow .32s ease, transform .32s var(--ease);
  text-decoration: none;
  cursor: pointer;
}

/* No top accent line */
.hero-price-ad::before { display: none; }

/* Diagonal glass shine — same as price cards */
.hero-price-ad::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg,
    rgba(255,255,255,0.90) 0%,
    rgba(255,255,255,0.35) 20%,
    rgba(255,255,255,0.08) 44%,
    transparent 64%);
  z-index: 0;
}

.hero-price-ad:hover {
  transform: translateY(-4px);
  background: rgba(255, 248, 235, 0.38);
  border-color: rgba(232, 95, 26, 0.40);
  box-shadow:
    0 18px 50px rgba(150, 60, 10, 0.22),
    inset 0 2px 0 rgba(255,255,255,0.96),
    inset 0 0 40px rgba(255,175,60,0.14),
    inset 0 0 0 1.5px rgba(255,200,80,0.20);
}

.hpa-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,95,26,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hpa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(232,95,26,0.08);
  border: 1px solid rgba(232,95,26,0.22);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hpa-body {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hpa-left { flex: 1; min-width: 0; }

.hpa-from {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 4px;
}

.hpa-price {
  font-family: var(--font-sans), sans-serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hpa-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}

.hpa-maint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.hpa-divider {
  width: 1px;
  height: 64px;
  background: rgba(120,60,20,0.14);
  flex-shrink: 0;
}

.hpa-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hpa-feats li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-soft);
}

.hpa-feats li svg { color: var(--accent); flex-shrink: 0; }

.hpa-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(120,60,20,0.10);
  position: relative;
  z-index: 1;
}

.hpa-footer svg { transition: transform .3s var(--ease); }
.hero-price-ad:hover .hpa-footer svg { transform: translateX(4px); }


/* ============================================================
   SECTION SCAFFOLD
============================================================ */
.band { padding: clamp(56px, 7vw, 100px) 0; }
.band.tight { padding: clamp(40px, 5vw, 72px) 0; }

.divider-line { height:1px; background: linear-gradient(90deg, transparent, var(--glass-brd2), transparent); }

/* ---- WHY / comparison ----------------------------------- */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.vs-col { padding: 34px; border-radius: var(--r-md); }
.vs-old { background: #fff; border: 1px solid rgba(40,18,6,0.08); box-shadow: var(--sh-sm); }
.vs-new { background: linear-gradient(160deg, rgba(217,50,8,0.10), rgba(245,166,35,0.06)); border: 1px solid var(--glass-brd2); box-shadow: 0 26px 60px -28px rgba(217,50,8,0.4); }
.vs-col h4 { font-family:var(--font-sans),sans-serif; font-weight:700; letter-spacing:-0.01em; font-size:24px; margin-bottom:6px; color:var(--ink); }
.vs-tag { font-size:12px; letter-spacing:0.18em; text-transform:uppercase; margin-bottom:22px; font-weight:600; }
.vs-old .vs-tag { color: var(--faint); }
.vs-new .vs-tag { color: var(--accent); }
.vs-list { list-style:none; display:flex; flex-direction:column; gap:16px; }
.vs-list li { display:flex; gap:13px; align-items:flex-start; font-size:15px; }
.vs-list li .ic { flex:0 0 22px; height:22px; border-radius:7px; display:grid; place-items:center; margin-top:1px; }
.vs-list li .ic svg { width:13px; height:13px; }
.vs-old li { color: var(--muted); }
.vs-old .ic { background: rgba(220,30,30,0.10); color: #D93030; }
.vs-new li { color: var(--ink-soft); }
.vs-new .ic { background: rgba(34,160,80,0.14); color: #1A9E52; }
.vs-mid { display:flex; align-items:center; justify-content:center; }
.vs-arrow { width:56px; height:56px; border-radius:50%; background: var(--grad-fire); display:grid; place-items:center; box-shadow: 0 14px 30px -8px rgba(232,95,26,0.6); }
.vs-arrow svg { width:24px; height:24px; color:#fff; }

/* ============================================================
   HORIZONTAL PINNED FEATURE SCROLLER
   (vertical scroll drives horizontal motion)
============================================================ */
.hpin { position: relative; padding: clamp(56px,7vw,100px) 0; }
.hpin-sticky { display: block; }
.hpin-inner { width: 100%; }
.hpin-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom: clamp(22px,3vw,40px); }
.hpin-head .eyebrow { margin-bottom: 14px; }
.hpin-track { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-left:clamp(20px,5vw,48px); padding-bottom:16px; cursor:grab; user-select:none; }
.hpin-track.is-dragging { cursor:grabbing; scroll-snap-type:none; }
.hpin-track::-webkit-scrollbar { display:none; }
.hpin-track::after { content:''; flex: 0 0 clamp(20px,5vw,48px); }

.story-card {
  flex: 0 0 340px; height: clamp(420px, 58vh, 500px); border-radius: var(--r-lg); overflow: hidden;
  position: relative; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 26px 26px 28px; scroll-snap-align: start;
  background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px);
  box-shadow: var(--sh-md); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
  user-select: none;
}
.story-card:hover { border-color: var(--glass-brd2); transform: translateY(-8px); box-shadow: var(--sh-lg); }
/* Pause all SVG animations inside a card on hover */
.story-card:hover svg * { animation-play-state: paused; }
.story-card .num {
  position: absolute; top: 22px; left: 26px;
  font-family: var(--font-sans),sans-serif; font-weight: 800; font-size: 54px; line-height: 1;
  color: rgba(217,50,8,0.10);
}

/* Illustration panel */
.story-card .card-illus {
  margin-top: 48px;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,250,246,0.88);
  border: 0.5px solid rgba(242,196,168,0.6);
  flex-shrink: 0;
  height: 176px;
}
.story-card .card-illus svg { width: 100%; height: 176px; display: block; }

/* Push title + desc to bottom */
.story-card h3 { margin-top: auto; margin-bottom: 10px; }
.story-card p { color: var(--ink-soft); font-size: 14.5px; max-width: 36ch; line-height: 1.55; }
.story-card img { -webkit-user-drag: none; }
.story-card .glow-edge { position:absolute; inset:auto -40% -50% -40%; height:60%; background: radial-gradient(ellipse at center, rgba(232,95,26,0.22), transparent 70%); filter: blur(40px); }

/* ---- Feature card grid ---------------------------------- */
.card-grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.feat {
  padding: 30px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px); box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .4s;
  position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-7px); border-color: rgba(232,95,26,0.28); background: var(--glass-2); box-shadow: var(--sh-md), 0 0 0 1px rgba(232,95,26,0.1); }
.feat::after {
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px;
  background: url('https://pub-f374a30221b140dc8327f404ad8e5e2b.r2.dev/logo/Pattas360-logo.png') center/contain no-repeat;
  opacity: 0;
  transform: scale(0.5) rotate(25deg);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.feat:hover::after { opacity: 0.75; transform: scale(1) rotate(0deg); }
.feat .ic {
  width: 48px; height: 48px; border-radius: 13px; display:grid; place-items:center; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(217,50,8,0.16), rgba(245,166,35,0.10));
  border: 1px solid var(--glass-brd2); color: var(--accent);
  transition: transform .4s var(--ease), background .3s;
}
.feat:hover .ic { transform: scale(1.1); background: linear-gradient(150deg, rgba(217,50,8,0.26), rgba(245,166,35,0.16)); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h4 { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:21px; letter-spacing:-0.01em; margin-bottom:9px; color:var(--ink); }
.feat p { color: var(--muted); font-size: 14.5px; }

/* ---- Staff & Security dark cards ----------------------- */
.sec-band { background: linear-gradient(180deg, var(--bg) 0%, #f5ede4 100%); }
.sec-card {
  padding: 30px; border-radius: var(--r-md);
  background: linear-gradient(145deg, #1e1a20, #141215);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 48px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .4s, border-color .4s;
}
.sec-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: var(--grad-fire); opacity: 0.7;
}
.sec-card:hover { transform: translateY(-7px); box-shadow: 0 32px 64px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.06); border-color: rgba(232,95,26,0.3); }
.sec-card::after {
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px;
  background: url('https://pub-f374a30221b140dc8327f404ad8e5e2b.r2.dev/logo/Pattas360-logo.png') center/contain no-repeat;
  opacity: 0;
  transform: scale(0.5) rotate(25deg);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.sec-card:hover::after { opacity: 0.65; transform: scale(1) rotate(0deg); }
.sec-ic {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 20px;
  background: rgba(232,95,26,0.18); border: 1px solid rgba(232,95,26,0.3);
  color: #F08A20;
  transition: transform .4s var(--ease), background .3s;
}
.sec-card:hover .sec-ic { transform: scale(1.1); background: rgba(232,95,26,0.28); }
.sec-ic svg { width: 24px; height: 24px; }
.sec-card h4 { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:21px; letter-spacing:-0.01em; margin-bottom:9px; color:#fff; }
.sec-card p { color: rgba(255,255,255,0.5); font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   PLATFORM SPECIFICATION BANNER — Apple bento grid
============================================================ */
.spec-band { background: linear-gradient(180deg, var(--bg) 0%, rgba(240,228,216,0.6) 100%); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 16px;
  grid-template-areas:
    "sc-hero sc-hero sc-mod     sc-https  "
    "sc-hero sc-hero sc-dual    sc-jwt    "
    "sc-lang sc-med  sc-med     sc-reports"
    "sc-rbac sc-stf  sc-cust    sc-brand  ";
}

.spec-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}

/* Grid area assignments */
.sca-hero    { grid-area: sc-hero;    display: flex; flex-direction: column; justify-content: space-between; }
.sca-mod     { grid-area: sc-mod; }
.sca-https   { grid-area: sc-https; }
.sca-dual    { grid-area: sc-dual; }
.sca-jwt     { grid-area: sc-jwt; }
.sca-med     { grid-area: sc-med;     display: flex; align-items: stretch; }
.sca-lang    { grid-area: sc-lang; }
.sca-reports { grid-area: sc-reports; }
.sca-rbac    { grid-area: sc-rbac; }
.sca-stf     { grid-area: sc-stf; }
.sca-cust    { grid-area: sc-cust; }
.sca-brand   { grid-area: sc-brand; }

/* -- Mini icon cluster (0.5×0.5 cards) ------------------- */
.sc-mini-cluster {
  grid-area: sc-https;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.sc-mini-card.sc-glass {
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  flex-direction: column;
}
.sc-mini-ic  { font-size: 38px; display: block; position: relative; z-index: 1; line-height: 1; }
.sc-mini-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); position: relative; z-index: 1; }

/* -- Dark card -------------------------------------------- */
.sc-dark {
  background: linear-gradient(150deg, #1a0f05 0%, #12080a 60%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 32px;
}
.sc-dark:hover { transform: translateY(-5px); box-shadow: 0 28px 64px rgba(0,0,0,0.36), 0 0 0 1px rgba(232,95,26,0.22); }
.sc-dark::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-fire); }
.sc-glow {
  position: absolute; bottom: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,95,26,0.4) 0%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}

/* Hero headline */
.sc-hero-hl {
  font-family: var(--font-sans), sans-serif; font-weight: 800;
  font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -0.04em;
  color: #fff; margin-top: 10px;
}
.sc-hero-sub { font-size: 13px; color: rgba(255,255,255,0.42); margin-top: 10px; line-height: 1.6; }
.sc-eyebrow-sm { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--amber); }

/* Hero feature mini-grid */
.sc-feat-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 22px; position: relative; z-index: 1;
}
.sc-feat-mini {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11);
}
.sc-feat-ic  { font-size: 18px; flex-shrink: 0; }
.sc-feat-lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.68); line-height: 1.3; }

/* -- Glass card ------------------------------------------- */
.sc-glass {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.52);
  backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  box-shadow: 0 6px 28px rgba(120,50,10,0.10), inset 0 2px 0 rgba(255,255,255,0.96), inset 0 0 0 1.5px rgba(255,255,255,0.32);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.sc-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.35) 22%, transparent 48%);
  z-index: 0;
}
.sc-glass:hover { transform: translateY(-5px); border-color: rgba(232,95,26,0.40); box-shadow: 0 16px 48px rgba(140,55,18,0.22), inset 0 2px 0 rgba(255,255,255,0.96), inset 0 0 0 1.5px rgba(255,200,80,0.22); }

/* Badge text (HTTPS / JWT / RBAC) */
.sc-badge { font-family: var(--font-sans),sans-serif; font-size: clamp(24px,2.6vw,38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; position: relative; z-index: 1; }
.sc-badge.fire { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sc-badge.dark { color: var(--ink); }
.sc-badge.amber { color: #D97706; }

/* Counter on glass */
.sc-count-num {
  font-family: var(--font-sans),sans-serif; font-size: clamp(34px,3.6vw,52px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; z-index: 1;
}
.sc-card-title { font-family: var(--font-sans),sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; position: relative; z-index: 1; margin: 0; }
.sc-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.55; position: relative; z-index: 1; margin: 0; }
.sc-ic-bubble  { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg,rgba(217,50,8,0.16),rgba(245,166,35,0.10)); border: 1px solid var(--glass-brd2); font-size: 22px; position: relative; z-index: 1; flex-shrink: 0; }
.sc-notif-icons { display: flex; gap: 12px; position: relative; z-index: 1; margin: 4px 0; }
.sc-notif-ic    { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.sc-notif-wa    { background: rgba(37,211,102,0.14); color: #25D366; border: 1px solid rgba(37,211,102,0.24); }
.sc-notif-email { background: rgba(232,95,26,0.12); color: var(--orange); border: 1px solid rgba(232,95,26,0.20); }

/* -- Fire tall card --------------------------------------- */
.sc-fire {
  background: linear-gradient(160deg, #D93208 0%, #E85F1A 50%, #F08A20 100%);
  border: none;
  padding: 32px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sc-fire:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(217,50,8,0.38); }
.sc-fire::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(155deg,rgba(255,255,255,0.26) 0%,rgba(255,255,255,0.08) 40%,transparent 65%); pointer-events: none; }
.sc-eyebrow-on-fire { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.65); position: relative; z-index: 1; }
.sc-fire-title { font-family: var(--font-sans),sans-serif; font-size: clamp(22px,2.4vw,34px); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-top: 12px; line-height: 1.1; position: relative; z-index: 1; }
.sc-fire-sub   { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); margin-top: 4px; position: relative; z-index: 1; }
.sc-fire-desc  { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 14px; line-height: 1.55; position: relative; z-index: 1; }
.sc-check-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1; }
.sc-check-list li { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 8px; }
.sc-check-list li::before { content: '✦'; color: rgba(255,255,255,0.6); font-size: 9px; }

/* Compact fire card tags (dual pricing 1×1) */
.sc-fire-tags { display: flex; flex-direction: column; gap: 7px; position: relative; z-index: 1; }
.sc-fire-tag { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.72); padding: 5px 11px; border-radius: 100px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.20); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.sc-fire-tag::before { content: '✦'; font-size: 9px; color: rgba(255,255,255,0.5); }

/* Language pills */
.sc-lang-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; position: relative; z-index: 1; }
.sc-lang-pill  { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 100px; background: rgba(217,50,8,0.12); color: var(--accent); letter-spacing: 0.01em; }

/* Reports mini bar chart */
.sc-mini-bars {
  display: flex; align-items: flex-end; gap: 7px;
  height: 64px; margin-top: auto; position: relative; z-index: 1;
}
.sc-mini-bar {
  flex: 1; height: 0; border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, rgba(217,50,8,0.5) 0%, rgba(245,166,35,0.22) 100%);
  border: 1px solid rgba(217,50,8,0.20);
  transition: height 1.3s var(--ease);
}
.in .sc-mini-bar { height: var(--bh); }
.sc-mini-bars .sc-mini-bar:nth-child(1) { transition-delay: 0.08s; }
.sc-mini-bars .sc-mini-bar:nth-child(2) { transition-delay: 0.18s; }
.sc-mini-bars .sc-mini-bar:nth-child(3) { transition-delay: 0.28s; }
.sc-mini-bars .sc-mini-bar:nth-child(4) { transition-delay: 0.38s; }
.sc-mini-bars .sc-mini-bar:nth-child(5) { transition-delay: 0.48s; }
.sc-mini-bars .sc-mini-bar:nth-child(6) { transition-delay: 0.58s; }
.sc-mini-bar-hi { background: var(--grad-fire); border-color: transparent; box-shadow: 0 4px 14px rgba(217,50,8,0.36); }

/* Customer management action icons */
.sc-cust-actions { display: flex; gap: 8px; margin-top: auto; position: relative; z-index: 1; }
.sc-cust-action  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; border-radius: var(--r-sm); background: rgba(217,50,8,0.08); }
.sc-cust-ic      { font-size: 22px; line-height: 1; }
.sc-cust-lbl     { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }

/* Brand card compact pills */
.sc-cat-pills-sm { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; position: relative; z-index: 1; }

/* -- Starter plan wide card ------------------------------ */
.sc-plan-wrap {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; flex: 1; position: relative; z-index: 1;
}
.sc-plan-body { display: flex; align-items: center; gap: 32px; flex: 1; }
.sc-plan-left { flex: 0 0 auto; }
.sc-plan-eyebrow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.42); display: block; margin-bottom: 10px; }
.sc-plan-price {
  font-family: var(--font-sans),sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 60px); line-height: 1; letter-spacing: -0.04em; color: #fff;
}
.sc-plan-period { font-size: 0.38em; font-weight: 500; color: rgba(255,255,255,0.50); vertical-align: middle; letter-spacing: 0; }
.sc-plan-sub { font-size: 12px; color: rgba(255,255,255,0.38); margin-top: 7px; }
.sc-plan-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.sc-plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.sc-plan-feats li { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 9px; }
.sc-plan-feats li::before { content: '✓'; color: var(--amber); font-size: 13px; flex-shrink: 0; font-weight: 700; }
.sc-plan-footer { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 16px; margin-top: 16px; }
.sc-plan-link { font-size: 14px; font-weight: 700; color: var(--amber); text-decoration: none; transition: color .3s; }
.sc-plan-link:hover { color: #fff; }

/* -- Glass wide card (brand) ----------------------------- */
.sc-glass-wide { display: flex; gap: 20px; align-items: center; height: 100%; position: relative; z-index: 1; }
.sc-eyebrow-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); display: block; margin-bottom: 10px; }
.sc-cat-pills { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.sc-cat-pill { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 100px; background: rgba(217,50,8,0.10); color: var(--accent); white-space: nowrap; }

/* -- Spec banner responsive ------------------------------ */
@media (max-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: none;
    grid-auto-rows: minmax(170px, auto);
  }
  .sca-hero, .sca-mod, .sca-https, .sca-dual, .sca-jwt,
  .sca-med, .sca-lang, .sca-reports, .sca-rbac, .sca-stf,
  .sca-cust, .sca-brand, .sc-mini-cluster { grid-area: auto; }
  .sca-hero, .sca-med { grid-column: span 2; }
  .sc-mini-cluster { grid-column: span 1; }
}
@media (max-width: 640px) {
  .spec-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(160px, auto); }
  .sca-hero, .sca-med { grid-column: span 1; }
  .sc-plan-body   { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sc-plan-divider { width: 100%; height: 1px; align-self: auto; }
  .sc-glass-wide  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sc-feat-mini-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Split showcase (image + copy) ---------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-copy .feat-mini { display:flex; flex-direction:column; gap:18px; margin-top:30px; }
.split-copy .feat-mini .row { display:flex; gap:14px; align-items:flex-start; }
.split-copy .feat-mini .row .ic { flex:0 0 38px; height:38px; border-radius:11px; background:rgba(232,95,26,0.14); border:1px solid var(--glass-brd2); display:grid; place-items:center; color:var(--accent); }
.split-copy .feat-mini .row .ic svg{ width:19px; height:19px; }
.split-copy .feat-mini .row h5 { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:18px; letter-spacing:0.01em; color:var(--ink); }
.split-copy .feat-mini .row p { color: var(--muted); font-size:14px; }

/* Browser frame (light) */
.browser { border-radius: 16px; overflow: hidden; background: #ffffff; border: 1px solid var(--glass-brd2); box-shadow: var(--sh-lg); position: relative; }
.browser-bar { display:flex; align-items:center; gap:8px; padding: 11px 16px; background: #F6ECE3; border-bottom: 1px solid var(--glass-brd); }
.browser-bar .dot { width:11px; height:11px; border-radius:50%; }
.browser-bar .dot:nth-child(1){background:#ff5f57;} .browser-bar .dot:nth-child(2){background:#febc2e;} .browser-bar .dot:nth-child(3){background:#28c840;}
.browser-bar .url { margin-left:14px; flex:1; height:24px; border-radius:7px; background:rgba(40,18,6,0.05); display:flex; align-items:center; padding:0 12px; font-size:12px; color:var(--muted); font-family:var(--font-sans),sans-serif; }
.browser img { width: 100%; display:block; }
.glow-frame { position:absolute; inset:-6%; z-index:-1; background: radial-gradient(circle at 50% 40%, rgba(245,166,35,0.26), transparent 65%); filter: blur(40px); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Analytics charts ----------------------------------- */
.chart-card { padding: 28px; }
.bars { display:flex; align-items:flex-end; gap: 14px; height: 200px; margin-top: 20px; }
.bars .bar { flex:1; border-radius: 8px 8px 0 0; background: var(--grad-fire); position:relative; transition: height 1.1s var(--ease); }
.bars .bar.muted { background: rgba(40,18,6,0.10); }
.kpi-row { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.kpi {
  padding: 22px 20px 20px;
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.kpi:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.kpi::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:2.5px;
  background: var(--grad-fire);
}
.kpi-ic {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(232,95,26,0.12); border: 1px solid rgba(232,95,26,0.2);
  color: var(--accent); margin-bottom: 14px; flex-shrink: 0;
}
.kpi-ic svg { width: 18px; height: 18px; }
.kpi-val {
  font-family: var(--font-sans),sans-serif; font-weight: 800;
  font-size: clamp(26px,2.4vw,34px); line-height: 1; color: var(--ink);
}
.kpi-lbl { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.kpi-sub { font-size: 12px; color: var(--accent); margin-top: 5px; }

/* ---- Config engine cards -------------------------------- */
.config-grid { display:grid; grid-template-columns: repeat(5,1fr); gap:16px; }
.config { padding:26px 20px; border-radius:var(--r-md); text-align:center; transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.config:hover { transform: translateY(-6px); background: var(--glass-2); box-shadow: var(--sh-md); }
.config .ic { width:54px; height:54px; border-radius:16px; margin:0 auto 16px; display:grid; place-items:center; background: linear-gradient(150deg, rgba(217,50,8,0.16), rgba(245,166,35,0.10)); border:1px solid var(--glass-brd2); color:var(--accent); }
.config .ic svg{ width:26px; height:26px; }
.config h5 { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:17px; letter-spacing:-0.01em; color:var(--ink); }
.config p { font-size:12.5px; color:var(--muted); margin-top:6px; }

/* ---- Multi-language ------------------------------------- */
.lang-stage { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,72px); align-items:center; }
.lang-tabs { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.lang-tab { padding:12px 22px; border-radius:100px; font-family:var(--font-sans),sans-serif; font-weight:600; font-size:16px; letter-spacing:0.02em; cursor:pointer; background: #fff; border:1px solid var(--glass-brd); color: var(--ink-soft); box-shadow: var(--sh-sm); transition:.3s; }
.lang-tab:hover { border-color: var(--glass-brd2); color: var(--red); }
.lang-tab.active { background: var(--grad-fire); color:#fff; border-color:transparent; box-shadow: 0 12px 26px -10px rgba(232,95,26,0.6); }
.lang-preview { padding: 40px; border-radius: var(--r-lg); min-height: 360px; display:flex; flex-direction:column; justify-content:center; gap:18px; position:relative; overflow:hidden; background: #fff; box-shadow: var(--sh-lg); }
.lang-preview .lp-eyebrow { font-family:var(--font-sans),sans-serif; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; font-size:12px; color:var(--accent); }
.lang-preview .lp-title { font-family:var(--font-sans),sans-serif; font-weight:800; font-size:clamp(30px,3.6vw,48px); line-height:1.02; color:var(--ink); transition: opacity .4s, transform .4s; }
.lang-preview .lp-sub { color:var(--ink-soft); font-size:16px; transition: opacity .4s; }
.lang-preview .lp-btn { align-self:flex-start; margin-top:10px; padding:12px 26px; border-radius:100px; background:var(--grad-fire); color:#fff; font-family:var(--font-sans),sans-serif; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; font-size:15px; }
.lang-preview.swap .lp-title, .lang-preview.swap .lp-sub { opacity:0; transform: translateY(8px); }

/* ============================================================
   DEVICE CAROUSEL — realistic frames
============================================================ */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 44px 0; }
.carousel-track { display:flex; align-items:center; gap: clamp(20px,4vw,56px); transition: transform .7s var(--ease); will-change: transform; cursor: grab; }
.carousel-track.dragging { transition: none; cursor: grabbing; }
.dev-slide { flex: 0 0 auto; display:flex; justify-content:center; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); opacity: 0.45; filter: saturate(0.8); transform: scale(0.84); }
.dev-slide.active { opacity:1; filter:none; transform: scale(1); }

/* ---- Desktop / monitor ---- */
.mock-desktop { width: min(74vw, 900px); }
.mock-desktop .screen { border-radius: 16px 16px 0 0; overflow:hidden; border:2px solid var(--bezel); border-bottom:none; box-shadow: var(--sh-lg); background:#fff; }
.mock-desktop .topbar { display:flex; gap:7px; padding:11px 16px; background:#2a262b; }
.mock-desktop .topbar i { width:11px; height:11px; border-radius:50%; display:block; }
.mock-desktop .topbar i:nth-child(1){background:#ff5f57;}.mock-desktop .topbar i:nth-child(2){background:#febc2e;}.mock-desktop .topbar i:nth-child(3){background:#28c840;}
.mock-desktop .bezel-bottom { height: 18px; background: linear-gradient(180deg,#1b181c,#0f0d10); border-radius: 0 0 14px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.mock-desktop .stand { width:120px; height:46px; margin:0 auto; background:linear-gradient(180deg,#2a262b,#161417); clip-path: polygon(28% 0, 72% 0, 88% 100%, 12% 100%); }
.mock-desktop .stand-base { width:280px; height:12px; margin:-2px auto 0; background:linear-gradient(180deg,#2a262b,#19171a); border-radius:8px; box-shadow: var(--sh-md); }

/* ---- Tablet (landscape iPad-like) ---- */
.mock-tablet { width: min(70vw, 760px); }
.mock-tablet .frame { position:relative; border-radius: 30px; padding: 16px 44px; background: linear-gradient(135deg,#2a262b,#141215); box-shadow: var(--sh-lg), 0 0 0 1.5px rgba(0,0,0,0.2); }
.mock-tablet .screen { border-radius: 8px; overflow:hidden; background:#fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
.mock-tablet .screen img { display:block; width:100%; }
.mock-tablet .cam { position:absolute; left: 20px; top:50%; transform:translateY(-50%); width:7px; height:7px; border-radius:50%; background:#0c0a0d; box-shadow: inset 0 0 0 1.5px rgba(120,130,160,0.4); }

/* ---- Phone (modern, dynamic island + side buttons) ---- */
.mock-phone { width: min(64vw, 296px); }
.mock-phone .frame {
  position: relative; padding: 11px; border-radius: 52px;
  background: linear-gradient(150deg,#34303a,#17151a 60%);
  box-shadow: var(--sh-lg), 0 0 0 2px rgba(0,0,0,0.22), inset 0 1px 1px rgba(255,255,255,0.12);
}
.mock-phone .screen { position:relative; border-radius: 42px; overflow:hidden; background:#fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35); }
.mock-phone .screen img { display:block; width:100%; }
.mock-phone .island { position:absolute; top:12px; left:50%; transform:translateX(-50%); width:34%; height:26px; background:#08070a; border-radius:16px; z-index:4; display:flex; align-items:center; justify-content:flex-end; padding-right:8px; }
.mock-phone .island::after { content:''; width:8px; height:8px; border-radius:50%; background:#161a26; box-shadow: inset 0 0 0 1.5px rgba(90,120,180,0.45), 0 0 3px rgba(80,120,200,0.5); }
/* side buttons sit on the metal rail, outside the screen */
.mock-phone .side { position:absolute; background: linear-gradient(180deg,#3a363f,#201d23); border-radius: 3px; z-index:1; box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.mock-phone .btn-mute  { left:-3px; top:88px;  width:3px; height:26px; }
.mock-phone .btn-volup { left:-3px; top:128px; width:3px; height:50px; }
.mock-phone .btn-voldn { left:-3px; top:188px; width:3px; height:50px; }
.mock-phone .btn-power { right:-3px; top:150px; width:3px; height:74px; }

.carousel-nav { display:flex; align-items:center; justify-content:center; gap: 18px; margin-top: 26px; }
.cnav-btn { width:52px; height:52px; border-radius:50%; display:grid; place-items:center; cursor:pointer; background: #fff; border:1px solid var(--glass-brd2); color:var(--ink); box-shadow: var(--sh-sm); transition:.3s; }
.cnav-btn:hover { background: var(--grad-fire); border-color:transparent; color:#fff; transform: scale(1.06); }
.cnav-btn svg{ width:22px; height:22px; }
.carousel-dots { display:flex; gap:10px; }
.cdot { width:10px; height:10px; border-radius:50%; background:var(--glass-brd2); cursor:pointer; transition:.3s; border:none; padding:0; }
.cdot.active { width:30px; border-radius:6px; background:var(--grad-fire); }
.carousel-label { text-align:center; margin-bottom:6px; }
.carousel-label .name { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:22px; letter-spacing:-0.01em; color:var(--ink); }
.carousel-label .hint { font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }

/* ============================================================
   FINAL CTA
============================================================ */
.cta-band { padding: clamp(64px,8vw,120px) 0; text-align:center; position:relative; overflow:hidden; }
.cta-glow { position:absolute; inset:0; background: radial-gradient(60% 80% at 50% 120%, rgba(232,95,26,0.30), transparent 60%); z-index:0; }
.cta-inner { position:relative; z-index:2; }
.cta-inner .display { margin: 24px auto; max-width: 16ch; }
.cta-actions { display:flex; gap:16px; justify-content:center; margin-top:36px; flex-wrap:wrap; }

/* ============================================================
   FOOTER
============================================================ */
.footer { border-top: 1px solid var(--glass-brd); padding: 64px 0 36px; background: var(--bg-2); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; }
.footer h6 { font-family:var(--font-sans),sans-serif; font-weight:700; font-size:14px; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent); margin-bottom:18px; }
.footer ul { list-style:none; display:flex; flex-direction:column; gap:11px; }
.footer ul a { color: var(--muted); font-size:14.5px; transition:color .25s; }
.footer ul a:hover { color: var(--red); }
.footer .desc { color: var(--muted); font-size:14.5px; max-width:34ch; margin-top:16px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:54px; padding-top:26px; border-top:1px solid var(--glass-brd); color:var(--faint); font-size:13px; flex-wrap:wrap; gap:12px; }

/* Contact list */
.contact-list { list-style:none; display:flex; flex-direction:column; gap:14px; }
.contact-list li { display:flex; align-items:flex-start; gap:11px; color:var(--muted); font-size:14.5px; }
.contact-list .ci { flex:0 0 20px; height:20px; display:grid; place-items:center; color:var(--accent); margin-top:1px; }
.contact-list .ci svg { width:16px; height:16px; }
.contact-list a { color:var(--muted); transition:color .25s; }
.contact-list a:hover { color:var(--red); }
.contact-phones { display:flex; flex-direction:column; gap:6px; }

/* Footer social icon buttons */
.footer-socials { display:flex; gap:10px; margin-top:22px; }
.soc-btn {
  width:38px; height:38px; border-radius:11px; display:grid; place-items:center;
  background: var(--orange); color:#fff; border:1px solid transparent;
  box-shadow: 0 4px 14px rgba(232,95,26,0.38);
  transition: background .28s, box-shadow .28s, transform .3s var(--ease);
}
.soc-wa { background:#25D366; box-shadow:0 4px 14px rgba(37,211,102,0.38); }
.soc-ig { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); box-shadow:0 4px 14px rgba(220,39,67,0.35); }
.soc-fb { background:#1877F2; box-shadow:0 4px 14px rgba(24,119,242,0.38); }
.soc-btn svg { width:17px; height:17px; }
.soc-btn:hover {
  background: var(--grad-fire);
  box-shadow: 0 8px 22px rgba(232,95,26,0.52);
  transform: translateY(-3px);
}

/* ============================================================
   REVEAL + PARALLAX ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
.reveal.scale-in { transform: translateY(44px) scale(0.95); }
.reveal.scale-in.in { transform: none; }

/* Directional reveal variants */
.reveal-left  { opacity: 0; transform: translateX(-52px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(52px);  transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity:1 !important; transform:none !important; }
  html { scroll-behavior: auto; }
  .scroll-hint .mouse::after { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nav-links { display:none; }
  .nav-burger { display:block; }
  .nav-cta { display: none; }
  .nav-login { display: none; }
  /* Hero: single column — text first, then price card + mockup below */
  .hero { min-height: 0; align-items: flex-start; padding-bottom: 40px; }
  .hero-grid { display: flex; flex-direction: column; gap: 36px; }
  .hero-right { order: 1; align-self: auto; gap: 16px; }
  .hero-stage { flex: none; height: 360px; min-height: 0; }
  .hero-stats { margin-top: 4px; justify-content: center; text-align: center; }
  .hero-tab { display: none; }
  .hero-desk { zoom: 0.44; }
  .hero-ph { zoom: 0.30; }
  .hero-price-ad { margin-top: 0; }
  .g-3 { grid-template-columns: repeat(2,1fr); }
  .config-grid { grid-template-columns: repeat(3,1fr); }
  .split, .lang-stage { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
}

@media (max-width: 768px) {
  /* Phone: reorder hero so devices sit between lede and buttons */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-right { display: contents; }
  .hero-copy .eyebrow { order: 1; text-align: left; }
  .hero-copy .display { order: 2; margin-top: 12px; }
  .hero-copy .lede    { display: none; }
  .hero-stage         { order: 4; height: 280px; margin-top: 24px; }
  .hero-actions       { order: 5; margin-top: 24px; flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn  { font-size: 14px; padding: 12px 18px; white-space: nowrap; }
  .hero-price-ad      { order: 6; margin-top: 16px; }
  .hpa-divider        { height: 52px; }
  .hero-stats         { order: 7; margin-top: 28px; }
}

@media (max-width: 880px) {
  .story-card { flex-basis: 80vw; }
}

@media (max-width: 680px) {
  /* Grouped three-device display on small screens */
  .hero-stage {
    height: 200px;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    margin-top: 16px;
  }
  .hero-dev {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .hero-desk { zoom: 0.33; z-index: 1; margin-right: -8px; }
  .hero-tab  { display: block; zoom: 0.20; z-index: 2; margin-bottom: 18px; margin-left: -6px; margin-right: -6px; }
  .hero-ph   { zoom: 0.28; z-index: 3; }
  .hero-stats { gap: 20px; flex-wrap: wrap; margin-top: 16px; }
  /* WHY section — rotate only the arrow icon, not the whole circle */
  .vs-grid { grid-template-columns: 1fr; }
  .vs-mid { margin: 4px 0; }
  .vs-arrow svg { transform: rotate(90deg); }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .config-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mock-desktop { width: 88vw; } .mock-tablet { width: 86vw; } .mock-phone { width: 62vw; }
  .story-card { flex-basis: 84vw; }
  .hpin-head { flex-direction: column; align-items: flex-start; }
  .wa-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (max-width: 460px){
  .footer-grid{ grid-template-columns: 1fr; }
  .config-grid{ grid-template-columns: 1fr 1fr; }
  .footer-socials { flex-wrap: wrap; }
}

/* ============================================================
   TWEAK THEMES (applied by the Tweaks panel) — all light
============================================================ */
body.bg-cream .bg-field {
  background:
    radial-gradient(60% 52% at 12% 6%,  rgba(232,95,26,0.16), transparent 60%),
    radial-gradient(52% 46% at 90% 14%, rgba(245,166,35,0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 116%, rgba(217,50,8,0.10), transparent 60%),
    #FFF8F2;
}
body.bg-pearl { --bg:#FAFAFB; --bg-1:#FFFFFF; --bg-2:#F1F2F4; }
body.bg-pearl .bg-field {
  background:
    radial-gradient(60% 52% at 12% 6%,  rgba(232,95,26,0.10), transparent 60%),
    radial-gradient(52% 46% at 90% 14%, rgba(245,166,35,0.12), transparent 60%),
    radial-gradient(80% 60% at 50% 116%, rgba(217,50,8,0.07), transparent 60%),
    #FAFAFB;
}
body.bg-sand { --bg:#FBF1E2; --bg-1:#FEF8EF; --bg-2:#F6E6D1; --smoke:#F2DDC2; }
body.bg-sand .bg-field {
  background:
    radial-gradient(60% 52% at 12% 6%,  rgba(217,50,8,0.14), transparent 60%),
    radial-gradient(52% 46% at 90% 14%, rgba(245,166,35,0.22), transparent 60%),
    radial-gradient(80% 60% at 50% 116%, rgba(232,95,26,0.12), transparent 60%),
    #FBF1E2;
}
body.no-orbs .hero-orbs,
body.no-orbs .glow-frame,
body.no-orbs .glow-edge,
body.no-orbs .cta-glow { display: none !important; }
body.no-motion *, body.no-motion *::before, body.no-motion *::after {
  animation: none !important; transition: none !important;
}
body.no-motion .reveal, body.no-motion .reveal-left, body.no-motion .reveal-right { opacity: 1 !important; transform: none !important; }
body.no-motion .hpin-track { scroll-snap-type: none; }

/* ============================================================
   DEMO REQUEST FORM
============================================================ */
.demo-form-wrap {
  max-width: 640px;
  margin: 48px auto 0;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--r-lg);
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-brd2);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(232, 95, 26, 0.06);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-group label .req {
  color: var(--red);
  margin-left: 2px;
}

.form-group label .opt {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
  font-size: 11px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(200, 110, 50, 0.22);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: var(--font-sans), sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease-soft), box-shadow .25s var(--ease-soft), background .2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--faint);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(232, 95, 26, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(232, 95, 26, 0.13);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e63946;
  background: rgba(255, 240, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.10);
}

.field-err {
  font-size: 12px;
  color: #e63946;
  font-weight: 600;
  min-height: 16px;
  display: block;
  letter-spacing: 0.01em;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 17px;
  gap: 10px;
  margin-top: 4px;
}

.form-submit[data-loading] {
  opacity: 0.75;
  pointer-events: none;
}

.submit-label { display: flex; align-items: center; gap: 10px; }
.submit-spinner { display: none; align-items: center; gap: 10px; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin-form .65s linear infinite;
  flex-shrink: 0;
}

@keyframes spin-form { to { transform: rotate(360deg); } }

.form-status {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-sm);
  padding: 0;
  transition: all .3s var(--ease-soft);
}

.form-status.success {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  padding: 14px 20px;
  border: 1px solid rgba(22, 163, 74, 0.20);
}

.form-status.error {
  color: #e63946;
  background: rgba(230, 57, 70, 0.07);
  padding: 14px 20px;
  border: 1px solid rgba(230, 57, 70, 0.18);
}

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

/* ============================================================
   WHATSAPP FAB
============================================================ */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.50), 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.wa-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.60), 0 4px 12px rgba(0,0,0,0.14);
}

.wa-fab:hover .wa-tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateX(8px) translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
  letter-spacing: 0.01em;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .wa-pulse { animation: none; }
  .spinner  { animation: none; }
}

/* ---- Mobile menu (light) ---- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(255,250,245,0.97); backdrop-filter: blur(20px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px; opacity:0; pointer-events:none; transition: opacity .4s; }
.mobile-menu.open { opacity:1; pointer-events:auto; }
.mobile-menu a { font-family:var(--font-sans),sans-serif; font-weight:800; font-size:30px; text-transform:uppercase; letter-spacing:0.02em; color:var(--ink); }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .close { position:absolute; top:24px; right:24px; background:none; border:none; color:var(--ink); font-size:34px; cursor:pointer; line-height:1; }

/* ============================================================
   PRICING
============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 24px;
  row-gap: 0;
  margin-top: 56px;
}

.price-card {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 18px;
  border-radius: var(--r-lg);
  padding: 16px 16px 20px;
  position: relative;
  overflow: hidden;
  transition: background .32s ease, border-color .32s ease, box-shadow .32s ease;
  /* True glass: very translucent so blur is visible */
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(36px) saturate(200%) brightness(1.06);
  box-shadow:
    0 6px 28px rgba(120, 50, 10, 0.12),
    inset 0 2px 0 rgba(255,255,255,0.96),   /* bright top rim */
    inset 0 0 0 1.5px rgba(255,255,255,0.32); /* inner glow ring */
}

/* Strong diagonal shine — the main glass sheen */
.price-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(130deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.45) 18%,
      rgba(255,255,255,0.10) 42%,
      transparent 62%);
  z-index: 0;
}

/* Hover — vivid amber-fire fill, clearly visible color change */
.price-card:not(.pc-selected):hover {
  background: linear-gradient(145deg,
    rgba(255, 175, 70, 0.32) 0%,
    rgba(232, 95, 26, 0.22) 100%);
  border-color: rgba(232, 95, 26, 0.48);
  box-shadow:
    0 18px 52px rgba(160, 65, 10, 0.28),
    inset 0 2px 0 rgba(255,255,255,0.90),
    inset 0 0 55px rgba(255, 170, 50, 0.18),
    inset 0 0 0 1.5px rgba(255, 200, 80, 0.22);
}

/* Selected card — dark ember (applied on click) */
.price-card.pc-selected {
  background: linear-gradient(150deg, #1f1b22, #141015);
  border: 1px solid rgba(232,95,26,0.28);
  box-shadow:
    0 28px 64px rgba(0,0,0,0.28),
    0 0 0 1px rgba(232,95,26,0.14),
    inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: default;
}

.price-card.pc-selected::before {
  bottom: auto;
  height: 2px;
  background: var(--grad-fire);
  border-radius: 0;
  opacity: 1;
}

/* Maintenance fee line */
.pc-maint {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.25rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.pc-selected .pc-maint { color: rgba(255,255,255,0.38); }

/* Plan top block — opaque white card floating inside the glass outer card */
.pc-top {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 14px;
  padding: 18px 18px 16px;
  align-self: stretch;
  transition: background .32s ease, border-color .32s ease, box-shadow .32s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 2px 10px rgba(120,60,20,0.07);
}

.price-card:not(.pc-selected):hover .pc-top {
  background: rgba(255, 248, 235, 0.92);
  border-color: rgba(232, 120, 40, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 2px 14px rgba(160,70,10,0.12);
}

.pc-selected .pc-top {
  background: rgba(255,255,255,0.04);
  border-color: rgba(232,95,26,0.22);
  box-shadow: none;
}

.pc-name {
  display: block;
  font-family: var(--font-sans), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.pc-selected .pc-name { color: rgba(255,255,255,0.45); }

.pc-price {
  font-family: var(--font-sans), sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 3.4vw, 50px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pc-selected .pc-price { color: #fff; }

.pc-mo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 1px;
}

.pc-selected .pc-mo { color: rgba(255,255,255,0.38); }

.pc-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 10px;
  margin-bottom: 0;
}

.pc-selected .pc-desc { color: rgba(255,255,255,0.48); }

/* Feature list */
.pc-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  z-index: 1;
  align-self: start;
}

.pc-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pc-selected .pc-feats li { color: rgba(255,255,255,0.68); }

.pf-ic {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
}

.pf-ic svg { width: 12px; height: 12px; }
.pf-yes { background: none; color: #1A9E52; }
.pf-no  { background: none; color: var(--faint); }
.pc-selected .pf-yes { background: none; }
.pc-selected .pf-no  { background: none; color: rgba(255,255,255,0.2); }

/* Config sub-list inside a feature row */
.pf-config { align-items: flex-start !important; }
.pf-config-body { flex: 1; }
.pf-config-body b { font-size: 13px; color: var(--ink); display: block; margin-bottom: 4px; font-weight: 600; }
.pf-config-body ol { padding-left: 15px; margin: 0; }
.pf-config-body ol li { font-size: 12px; color: var(--ink-soft); line-height: 1.65; }
.pc-selected .pf-config-body b  { color: rgba(255,255,255,0.90); }
.pc-selected .pf-config-body ol li { color: rgba(255,255,255,0.60); }

/* CTA button */
.pc-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  z-index: 1;
}

.pc-cta .btn-arr { transition: transform .3s var(--ease); }
.pc-cta:hover .btn-arr { transform: translateX(5px); }

.pc-cta-fire {
  background: var(--grad-fire);
  color: #fff;
  border: none;
  box-shadow: 0 12px 32px -10px rgba(217,50,8,0.55), inset 0 1px 0 rgba(255,255,255,0.28);
}

.pc-cta-fire:hover {
  box-shadow: 0 18px 40px -10px rgba(217,50,8,0.7), inset 0 1px 0 rgba(255,255,255,0.28);
  transform: translateY(-3px);
}

/* CTA becomes fire-gradient when its card is selected */
.pc-selected .pc-cta {
  background: var(--grad-fire);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 32px -10px rgba(217,50,8,0.55), inset 0 1px 0 rgba(255,255,255,0.28);
}
.pc-selected .pc-cta:hover {
  box-shadow: 0 18px 40px -10px rgba(217,50,8,0.7), inset 0 1px 0 rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* ── Custom plan card ── */
.custom-plan-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 32px 36px;
  cursor: default;
}
.cpc-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 36px;
  position: relative;
  z-index: 1;
}
.cpc-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 4px 0 2px;
}
.cpc-rs {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}
.cpc-num {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 5.6ch;
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cpc-tag { position: relative; z-index: 1; }
@keyframes cpc-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-14px) scale(0.82); }
}
@keyframes cpc-in {
  from { opacity: 0; transform: translateY(16px) scale(0.82); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cpc-num.cpc-exiting { animation: cpc-out 0.28s cubic-bezier(0.4,0,1,1) forwards; }
.cpc-num.cpc-entering { animation: cpc-in  0.34s cubic-bezier(0,0,0.2,1) forwards; }
.cpc-sep {
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, transparent, rgba(232,95,26,0.24), transparent);
  margin: 0 36px;
}
.cpc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cpc-hed {
  font-family: var(--font-sans), sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.cpc-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 680px) {
  .custom-plan-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 26px 22px; }
  .cpc-left { padding-right: 0; }
  .cpc-sep { width: 100%; height: 1px; align-self: auto; margin: 0; background: linear-gradient(to right, transparent, rgba(232,95,26,0.24), transparent); }
}

/* ── Sample website card ── */
.sscard-left { align-items: flex-start; }
.sscard-icon {
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1;
  margin: 6px 0 2px;
  filter: drop-shadow(0 10px 20px rgba(232,95,26,0.28));
}
.sscard-cta {
  font-size: 17px;
  padding: 18px 34px;
}
@media (max-width: 680px) {
  .sscard-cta { width: 100%; }
}

/* ── Compare toggle ── */
.compare-wrap { margin-top: 60px; text-align: center; }

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans), sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.72);
  border: 1.5px solid var(--glass-brd2);
  padding: 13px 26px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .25s var(--ease), box-shadow .3s;
}

.compare-toggle:hover {
  background: #fff;
  border-color: var(--orange);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.ct-chevron { display: grid; place-items: center; transition: transform .4s var(--ease); }
.compare-toggle[aria-expanded="true"] .ct-chevron { transform: rotate(180deg); }

/* ── Comparison table ── */
.compare-table {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .8s var(--ease), opacity .5s;
  margin-top: 28px;
  border-radius: var(--r-lg);
  text-align: left;
}

.compare-table.open { max-height: 4000px; opacity: 1; }

.ctbl {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.78);
  border: 1.5px solid var(--glass-brd2);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.ctbl thead th {
  padding: 18px 16px 16px;
  text-align: left;
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--glass-brd2);
}

.ctbl thead th:not(.ctbl-feat) { text-align: center; }

.ctbl-feat { width: 42%; }
.ctbl-plan { width: 19.3%; }
.ctbl-pop  { background: rgba(232,95,26,0.06) !important; }
.ctbl thead .ctbl-pop { color: var(--red); }

.ctbl-grp td {
  padding: 10px 16px;
  font-family: var(--font-sans), sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(245,166,35,0.07);
  border-top: 1.5px solid var(--glass-brd2);
}

.ctbl td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(200,110,50,0.10);
  font-size: 13px;
  color: var(--ink-soft);
  vertical-align: middle;
}

.ctbl td small { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }
.ctbl-cell { text-align: center; }
.ctbl-pop.ctbl-cell { background: rgba(232,95,26,0.04); }

.ctbl-y { color: #1A9E52; }
.ctbl-n { color: var(--faint); }
.ctbl-y, .ctbl-n { width: 15px; height: 15px; }

.ctbl-val { font-size: 12px; color: var(--ink-soft); display: block; text-align: center; line-height: 1.4; }
.ctbl-val.hi { color: var(--red); font-weight: 600; }
.ctbl-part { font-size: 11.5px; color: #854F0B; font-weight: 600; }

.ctbl-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.6);
  border-top: 1px solid var(--glass-brd2);
  font-size: 12px;
  color: var(--ink-soft);
}

.ctbl-legend span { display: flex; align-items: center; gap: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  .price-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
    row-gap: 0;
  }
  .pc-feats { flex: 1; margin-bottom: 20px; }
  .price-card.pc-selected { transform: none; }
}

@media (max-width: 600px) {
  .price-grid { max-width: 100%; }
  .ctbl-feat { width: 38%; }
  .ctbl-plan { width: 20.7%; }
  .ctbl td, .ctbl th { padding: 10px 8px; font-size: 11.5px; }
  .compare-toggle { font-size: 13px; padding: 11px 20px; }
}
