/* =========================================================================
 * PVCommander marketing site
 * Dark navy + traffic-light accents matching the desktop dashboard
 * ========================================================================= */

:root {
  --bg:        #0B1220;
  --navy:      #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --white:     #F8FAFC;
  --cyan:      #06B6D4;
  --amber:     #F59E0B;
  --green:     #10B981;
  --orange:    #F97316;
  --red:       #EF4444;
  --radius:    18px;
  --shadow:    0 24px 60px -20px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--slate-200);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--white); font-weight: 600; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15,23,42,.55) 35%, rgba(15,23,42,.55) 65%, transparent); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .9rem;
}

h1, h2, h3, h4 { color: var(--white); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.muted { color: var(--slate-400); }
.lede { font-size: 1.15rem; color: var(--slate-200); max-width: 32rem; margin: 1.4rem 0 2rem; line-height: 1.65; }
.lede-sm { color: var(--slate-200); margin: 1rem 0 1.6rem; line-height: 1.65; }

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--green) 40%, var(--amber) 75%, var(--red));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: hue-shift 8s linear infinite;
}
@keyframes hue-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ------------- ambient blobs ------------- */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .35; }
.blob-1 { width: 540px; height: 540px; background: var(--cyan);  top: -160px; left: -120px;  animation: float 18s ease-in-out infinite; }
.blob-2 { width: 480px; height: 480px; background: var(--amber); top: 30%;    right: -150px; animation: float 22s ease-in-out infinite reverse; }
.blob-3 { width: 600px; height: 600px; background: var(--green); bottom: -200px; left: 30%;  animation: float 26s ease-in-out infinite; opacity: .22; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.06); }
}

/* ------------- nav ------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 18, 32, .55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transform: translateY(0);
  transition: transform .35s ease;
  will-change: transform;
}
.nav.nav-hidden { transform: translateY(-110%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { display: inline-flex; align-items: center; position: relative; padding: .25rem .6rem; }
.brand::before {
  content: "";
  position: absolute;
  inset: -10px -18px;
  background: radial-gradient(60% 80% at 50% 50%,
                rgba(6,182,212,.45) 0%,
                rgba(245,158,11,.22) 45%,
                transparent 75%);
  filter: blur(18px);
  opacity: .9;
  z-index: -1;
  pointer-events: none;
  animation: brand-pulse 5s ease-in-out infinite;
}
@keyframes brand-pulse {
  0%, 100% { opacity: .75; transform: scale(.98); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
.brand-logo { height: 64px; width: auto; display: block; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(6,182,212,.35)); }
/* Logo svg already contains the wordmark — hide the duplicate text node. */
.brand-text { display: none; }
/* footer logo bigger still */
footer .brand-logo { height: 84px; }
@media (max-width: 560px) {
  .brand-logo { height: 44px; }
  footer .brand-logo { height: 60px; }
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--slate-200); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--white); }

/* ------------- buttons ------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.4rem;
  font-weight: 600; font-size: .98rem;
  border-radius: 12px;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 0;
}
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0e7490);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(6,182,212,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(6,182,212,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* ------------- hero ------------- */
.hero { position: relative; padding: 9rem 0 4rem; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .55; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero-content { max-width: 36rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.35);
  color: var(--cyan);
  font-weight: 600; font-size: .82rem;
  margin-bottom: 1.4rem;
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.85); } }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.stat-n { font-size: 2.2rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.stat-l { font-size: .82rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .1em; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.25); border-radius: 12px; z-index: 2; }
.hero-scroll span { display: block; width: 3px; height: 7px; background: var(--white); border-radius: 2px; margin: 6px auto 0; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%, 20% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

/* hero visual: live power flow (SVG) */
.hero-visual { position: relative; width: 100%; max-width: 540px; justify-self: center; padding-bottom: 4.5rem; }
#flow-svg { width: 100%; height: auto; display: block; overflow: visible; }
#flow-svg .node text { font-family: 'Inter', sans-serif; }
#flow-svg .node circle { transition: filter .3s; }
#flow-svg .node:hover circle:first-child { filter: drop-shadow(0 0 18px currentColor); }
.flow-readout {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex;
  padding: .9rem 1.6rem;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.7);
  z-index: 3;
  white-space: nowrap;
  width: 380px;
  max-width: 92vw;
}
.rd-cell {
  flex: 1 1 0;          /* equal widths */
  display: flex; flex-direction: column; align-items: center; line-height: 1.1;
  min-width: 0;
}
.rd-label { color: var(--slate-400); font-size: .65rem; letter-spacing: .18em; font-weight: 700; margin-bottom: .25rem; }
.rd-val { font-weight: 800; font-size: 1.05rem; color: var(--white); font-variant-numeric: tabular-nums; }
.rd-green { color: var(--green); }
.rd-cyan  { color: var(--cyan); }
.rd-amber { color: var(--amber); }
.rd-red   { color: var(--red); }
.rd-purple { color: #c084fc; }

/* gentle inverter pulse (using opacity, not transform — SVG translate stays intact) */
@keyframes inv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
#flow-svg .node-inv > g { animation: inv-pulse 2.4s ease-in-out infinite; }

/* ------------- dashboard mockup ------------- */
.dashboard-strip { padding: 2rem 0 6rem; position: relative; z-index: 2; }
.dash-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  background: var(--slate-800);
}
.dash-chrome {
  display: flex; align-items: center; padding: .7rem .9rem;
  background: #0c1322;
  border-bottom: 1px solid rgba(255,255,255,.05);
  gap: .35rem;
}
.dash-chrome span:nth-child(-n+3) { width: 12px; height: 12px; border-radius: 50%; }
.dash-chrome span:nth-child(1) { background: #ff5f57; }
.dash-chrome span:nth-child(2) { background: #ffbd2e; }
.dash-chrome span:nth-child(3) { background: #28c941; }
.dash-title { margin-left: 1rem; font-size: .85rem; color: var(--slate-400); font-family: 'JetBrains Mono', monospace; }
.dash-img { display: block; width: 100%; }
.dash-caption { text-align: center; color: var(--slate-400); margin-top: 1.4rem; font-size: .95rem; }
.dash-corner { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; }
.dash-corner-tr { background: var(--cyan); top: -50px; right: -50px; }
.dash-corner-bl { background: var(--amber); bottom: -80px; left: -50px; }

/* ------------- section heads ------------- */
.section-head { text-align: center; max-width: 36rem; margin: 0 auto 4rem; }

/* ------------- live data callout ------------- */
.live-callout { padding: 3rem 0 5rem; }
.live-card {
  display: grid;
  grid-template-columns: 90px 1fr 280px;
  gap: 2rem;
  align-items: center;
  padding: 2.6rem;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(6,182,212,.08));
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -22px rgba(16,185,129,.35);
}
.live-card h2 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); margin-bottom: .8rem; }
.live-card h2 em { color: var(--green); font-weight: 800; font-style: normal; }
.live-card p { color: var(--slate-200); margin: 0; line-height: 1.65; font-size: .98rem; }
.live-card p em { color: var(--white); font-weight: 700; }
.live-pulse {
  position: relative; width: 80px; height: 80px;
  display: grid; place-items: center;
  align-self: center;
}
.live-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); position: relative; z-index: 2; }
.live-ring, .live-ring.r2 {
  position: absolute; inset: 0;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: live-ping 2s ease-out infinite;
}
.live-ring.r2 { animation-delay: 1s; }
@keyframes live-ping {
  0%   { transform: scale(.3); opacity: .9; }
  100% { transform: scale(1.2); opacity: 0; }
}
.live-vs { display: flex; flex-direction: column; gap: .85rem; }
.vs-row { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; align-items: center; }
.vs-label { color: var(--slate-400); font-size: .8rem; font-weight: 600; }
.vs-val   { color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-bar { grid-column: 1 / -1; height: 8px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.vs-bar span { display: block; height: 100%; border-radius: 4px; }
.vs-bar-them span { background: linear-gradient(90deg, var(--amber), var(--red)); }
.vs-bar-us span   { background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 0 12px var(--green); }
@media (max-width: 800px) {
  .live-card { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem; text-align: left; }
  .live-pulse { justify-self: start; }
}

/* ------------- features grid row titles ------------- */
.feat-row-title {
  display: flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-400);
  margin: 3rem 0 1.2rem;
}
.feat-row-title:first-of-type { margin-top: 0; }

/* ------------- features grid ------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: rgba(30, 41, 59, .55);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px circle at var(--mx, 50%) var(--my, 0%), rgba(6,182,212,.08), transparent 40%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,.35); box-shadow: 0 18px 40px -16px rgba(6,182,212,.18); }
.feature-card:hover::before { opacity: 1; }
.feature-card.span-2 { grid-column: span 2; }
.feature-card p { color: var(--slate-400); font-size: .95rem; line-height: 1.6; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.3rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.icon-cyan  { background: rgba(6,182,212,.12);  color: var(--cyan); }
.icon-amber { background: rgba(245,158,11,.12); color: var(--amber); }
.icon-green { background: rgba(16,185,129,.12); color: var(--green); }
.icon-red   { background: rgba(239,68,68,.12);  color: var(--red); }

/* ------------- two-col sections ------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-visual { order: 1; }
.check-list { list-style: none; margin-top: 1.4rem; }
.check-list li { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; color: var(--slate-200); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-cyan  { background: var(--cyan);  box-shadow: 0 0 10px var(--cyan); }
.dot-amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.dot-green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot-red   { background: var(--red);   box-shadow: 0 0 10px var(--red); }

/* automation rule visual */
.rule-card {
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(30,41,59,.7), rgba(15,23,42,.7));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rule-row { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; background: rgba(0,0,0,.25); border-radius: 12px; margin-bottom: .6rem; }
.rule-pill {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  background: rgba(6,182,212,.15); color: var(--cyan);
  padding: .25rem .55rem; border-radius: 6px;
}
.rule-pill-do { background: rgba(16,185,129,.15); color: var(--green); }
.rule-text { color: var(--slate-200); font-size: .98rem; }
.rule-text em { color: var(--white); }
.rule-op { text-align: center; color: var(--slate-400); font-weight: 700; font-size: .8rem; letter-spacing: .2em; padding: .35rem 0; }
.rule-arrow { display: flex; justify-content: center; padding: .5rem 0; color: var(--slate-600); }
.rule-arrow svg { width: 24px; height: 24px; }
.rule-meta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.06); color: var(--slate-400); font-size: .85rem; display: flex; align-items: center; gap: .55rem; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: pulse-ring 1.6s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* analytics visual */
.analytics-card { padding: 2rem; background: linear-gradient(180deg, rgba(30,41,59,.7), rgba(15,23,42,.7)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow); }
.analytics-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.analytics-label { color: var(--slate-400); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 700; }
.analytics-value { font-size: 3rem; font-weight: 900; color: var(--white); line-height: 1; margin: .5rem 0; }
.analytics-value .suf { font-size: 1.5rem; color: var(--green); margin-left: .15rem; }
.analytics-sub { color: var(--slate-400); font-size: .9rem; }
.ring-gauge { width: 110px; height: 110px; flex-shrink: 0; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 1rem 0 .5rem; }
.bar { flex: 1; background: linear-gradient(180deg, var(--cyan), var(--green)); border-radius: 4px 4px 0 0; height: var(--h); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 4px; min-height: 12px; transition: opacity .2s; opacity: .85; }
.bar:hover { opacity: 1; }
.bar span { font-size: .65rem; color: rgba(255,255,255,.8); font-weight: 700; }
.analytics-foot { color: var(--slate-400); font-size: .85rem; text-align: center; }

/* ------------- mobile showcase ------------- */
.phones-wrap {
  display: flex; gap: 2rem; justify-content: center; align-items: flex-end;
  perspective: 1400px;
}
.phone-frame {
  position: relative;
  width: 240px; aspect-ratio: 9/19.5;
  background: #0a0f1a;
  border-radius: 32px;
  border: 8px solid #1c2334;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.04);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 18px; background: #0a0f1a; border-radius: 0 0 12px 12px; z-index: 2; }
.phone-side { transition: transform .4s; }
.phone-left { transform: rotateY(20deg) translateX(20px); opacity: .8; }
.phone-right { transform: rotateY(-20deg) translateX(-20px); opacity: .8; }
.phone-center { transform: scale(1.08); position: relative; }
.phone-glow { position: absolute; inset: -40px; background: radial-gradient(circle, rgba(6,182,212,.4), transparent 60%); z-index: -1; filter: blur(40px); }

/* center phone — stacked screenshots that crossfade */
.phone-stack { position: relative; width: 100%; height: 100%; }
.phone-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease;
}
.phone-shot.is-active { opacity: 1; }
.phone-caption {
  position: absolute; left: 50%; bottom: -42px; transform: translateX(-50%);
  font-size: .85rem; font-weight: 600; color: var(--white);
  padding: .35rem .9rem;
  background: rgba(15,23,42,.75);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

/* ------------- integrations ------------- */
.integrations-section { position: relative; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 75%);
}
.int-row { margin-bottom: 3.2rem; }
.int-row-title {
  display: flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-400);
  margin-bottom: 1.2rem;
}
.int-cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.integrations-grid { display: grid; gap: 1rem; max-width: 1080px; margin: 0 auto; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.integration {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(180deg, rgba(30,41,59,.7), rgba(15,23,42,.55));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.integration::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--cyan));
  opacity: .65;
  transition: opacity .25s, width .25s;
}
.integration::after {
  content: "";
  position: absolute; inset: 0; border-radius: 14px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow, rgba(6,182,212,.15)), transparent 60%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.integration:hover {
  transform: translateY(-4px) rotateX(2deg);
  border-color: var(--accent, var(--cyan));
  box-shadow: 0 18px 40px -18px var(--accent-shadow, rgba(6,182,212,.5));
}
.integration:hover::before { width: 5px; opacity: 1; }
.integration:hover::after  { opacity: 1; }
.int-cyan   { --accent: var(--cyan);   --accent-glow: rgba(6,182,212,.18);  --accent-shadow: rgba(6,182,212,.45); }
.int-amber  { --accent: var(--amber);  --accent-glow: rgba(245,158,11,.18); --accent-shadow: rgba(245,158,11,.45); }
.int-green  { --accent: var(--green);  --accent-glow: rgba(16,185,129,.18); --accent-shadow: rgba(16,185,129,.45); }
.int-orange { --accent: var(--orange); --accent-glow: rgba(249,115,22,.18); --accent-shadow: rgba(249,115,22,.45); }
.int-red    { --accent: var(--red);    --accent-glow: rgba(239,68,68,.18);  --accent-shadow: rgba(239,68,68,.45); }

.i-glyph {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--accent, var(--cyan));
  flex-shrink: 0;
}
.i-glyph svg { width: 26px; height: 26px; }
.i-meta { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.integration strong { color: var(--white); font-size: 1rem; line-height: 1.2; }
.integration small  { color: var(--slate-400); font-size: .82rem; line-height: 1.4; }

.int-foot-card {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6,182,212,.08), rgba(16,185,129,.06) 50%, rgba(245,158,11,.08));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  text-align: center;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.int-foot-card p { color: var(--slate-200); margin-top: 1.2rem; font-size: 1rem; }
.int-foot-chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: .35rem .85rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ------------- support lists ------------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.support-title { color: var(--cyan); margin-bottom: 1rem; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.support-list { color: var(--slate-200); font-size: 1.05rem; line-height: 1.9; }

/* ------------- backup card ------------- */
.backup-card { padding: 1.5rem; background: linear-gradient(180deg, rgba(30,41,59,.7), rgba(15,23,42,.7)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow); }
.backup-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(0,0,0,.25); border-radius: 12px; margin-bottom: .7rem; }
.backup-row:last-child { margin-bottom: 0; }
.backup-row div { flex: 1; }
.backup-row strong { display: block; color: var(--white); font-size: .98rem; }
.backup-row small { color: var(--slate-400); font-size: .8rem; }
.bk-icon { width: 24px; height: 24px; color: var(--cyan); flex-shrink: 0; }
.bk-status { font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 6px; letter-spacing: .1em; }
.bk-ok { background: rgba(16,185,129,.15); color: var(--green); }

/* ------------- CTA ------------- */
.cta { padding: 8rem 0; position: relative; }
.cta-inner { text-align: center; max-width: 42rem; margin: 0 auto; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .9rem 1.5rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(255,255,255,.4); }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store-btn small { font-size: .7rem; opacity: .6; text-transform: uppercase; letter-spacing: .08em; }
.store-btn strong { font-size: 1rem; }
.store-btn-secondary { background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.12); }
.store-btn-secondary:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.cta-fine { margin-top: 2rem; color: var(--slate-400); font-size: .9rem; }
.cta-fine a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(6,182,212,.4); }
.cta-fine a:hover { text-decoration-color: var(--cyan); }

/* mobile-hero section gets a bit less top padding because it follows the hero immediately */
.mobile-hero { padding-top: 4rem; }

/* ------------- footer ------------- */
footer { padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,.06); position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-tag { color: var(--slate-400); margin-top: .8rem; }
.footer-links h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--slate-400); padding: .35rem 0; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; color: var(--slate-400); text-align: center; font-size: .85rem; }

/* ------------- responsive ------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  body.nav-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.5rem; background: rgba(15,23,42,.97); border-top: 1px solid rgba(255,255,255,.05); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse .col-text, .two-col.reverse .col-visual { order: initial; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-2 { grid-column: span 2; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .phones-wrap { gap: .5rem; }
  .phone-frame { width: 170px; }
  .phone-left, .phone-right { display: none; }
  .section { padding: 5rem 0; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: auto; }
  .integrations-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; flex-wrap: wrap; }
  .container { padding: 0 1.2rem; }
}
