/* ===========================================================
   Vyktor — Landing page styles
   Brand: navy #0b1530 / #14213d  ·  blue #1f4e9c → #3b82f6
   =========================================================== */

:root {
  --navy-900: #0b1530;
  --navy-800: #14213d;
  --navy-700: #1c2c4f;
  --blue-700: #1f4e9c;
  --blue-600: #2f6fd6;
  --blue-500: #3b82f6;
  --blue-400: #5b9bf0;
  --blue-100: #e8f0fd;
  --ink: #131a2b;
  --muted: #5b6679;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --grad: linear-gradient(135deg, #14213d 0%, #1f4e9c 55%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #f7faff 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, .12);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1140px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--navy-800); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 214, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(47, 111, 214, .45); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-700); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--blue-700); margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.section { padding: 84px 0; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 16px auto 0; font-size: 1.08rem; }
.section-sub.left { text-align: left; margin-left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand-name { font-weight: 800; font-size: 1.3rem; color: var(--navy-800); letter-spacing: -.02em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; color: var(--muted); font-size: .96rem; transition: color .15s; }
.nav a:hover { color: var(--navy-800); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 80% -10%, #e8f0ff 0%, rgba(232, 240, 255, 0) 60%), var(--bg);
  padding-top: 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
.lede { font-size: 1.18rem; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 26px; padding: 0; margin: 34px 0 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--navy-700); }
.hero-badges svg { width: 20px; height: 20px; fill: #fff; background: var(--blue-600); border-radius: 50%; padding: 3px; }

/* phone card */
.hero-visual { display: flex; justify-content: center; }
.phone-card {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.phone-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 2px);
  background: var(--grad); z-index: -1; opacity: .14; filter: blur(14px);
}
.phone-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.phone-head strong { display: block; font-family: var(--font-head); color: var(--navy-800); }
.status { font-size: .78rem; color: #1f9d57; display: inline-flex; align-items: center; gap: 6px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #25c46a; box-shadow: 0 0 0 3px rgba(37,196,106,.18); }
.bubble { padding: 11px 15px; border-radius: 16px; font-size: .94rem; max-width: 86%; animation: rise .5s ease both; }
.bubble.in { background: var(--bg-soft); color: var(--navy-800); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--grad); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble.tag { background: #e7f8ee; color: #15894c; font-weight: 600; font-size: .85rem; align-self: stretch; max-width: 100%; text-align: center; }
.bubble.in:nth-child(3) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* trust */
.trust { margin-top: 64px; padding-top: 30px; padding-bottom: 6px; border-top: 1px solid var(--line); text-align: center; }
.trust > span { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.trust-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 22px; }
.trust-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy-800); }
.trust-stats small { color: var(--muted); font-size: .88rem; }

/* ---------- Generic cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card-num { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--blue-700); display: block; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
.card.lift { transition: transform .2s, box-shadow .2s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card.lift h3 { margin-bottom: 10px; }

.problem { background: var(--bg-soft); }

/* ---------- Features ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8e3f6; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 16px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- How ---------- */
.how { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.how::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 0%, rgba(59,130,246,.22), transparent 60%); pointer-events: none; }
.how .eyebrow { color: var(--blue-400); }
.how .section-title { color: #fff; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 50px 0 0; padding: 0; position: relative; z-index: 1; }
.steps li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px 26px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.steps h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.steps p { margin: 0; color: #aeb9cf; }

/* ---------- Security ---------- */
.security { background: var(--bg-soft); }
.security-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 38px; color: var(--muted); }
.check-list strong { color: var(--navy-800); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff;
  font-size: .8rem; font-weight: 700;
}
.security-badge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 40px 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.security-badge .shield { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; background: var(--grad-soft); border: 1px solid var(--line); }
.security-badge .shield svg { width: 46px; height: 46px; fill: var(--blue-700); }
.security-badge strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); letter-spacing: .02em; }
.security-badge span { color: var(--muted); font-size: .95rem; }
.badge-host { width: 100%; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badge-host-label { font-size: .72rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.scw-logo { height: 20px; width: auto; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg); }
.newsletter-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.newsletter-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 0% 100%, rgba(59,130,246,.28), transparent 60%); pointer-events: none; }
.newsletter-copy { padding: 52px 46px; color: #fff; position: relative; z-index: 1; }
.newsletter-copy .eyebrow { color: var(--blue-400); }
.newsletter-copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.newsletter-copy p { color: #b9c4da; margin: 16px 0 24px; }
.mini-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-check li { position: relative; padding-left: 30px; color: #dbe3f2; font-size: .96rem; }
.mini-check li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-400); font-weight: 800; }

.newsletter-form { background: #fff; padding: 44px 40px; position: relative; z-index: 1; display: grid; gap: 16px; align-content: center; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.field input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #aab2c2; }
.field input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,.14); }
.field input:invalid:not(:placeholder-shown) { border-color: #e2576b; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .85rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-600); }
.form-msg { margin: 2px 0 0; font-size: .92rem; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: #15894c; }
.form-msg.err { color: #d83a52; }
.form-legal { margin: 0; font-size: .78rem; color: #9aa3b3; }
.form-legal a { color: var(--blue-700); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq-list details[open] { border-color: #d2e0f7; }
.faq-list summary { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); cursor: pointer; list-style: none; padding: 16px 0; position: relative; padding-right: 34px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue-600); transition: transform .2s; line-height: 1; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--grad); }
.final-cta-inner { text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.final-cta p { color: rgba(255,255,255,.86); margin: 14px 0 28px; font-size: 1.1rem; }
.final-cta .btn-primary { background: #fff; color: var(--blue-700); box-shadow: 0 12px 30px rgba(11,21,48,.3); }
.final-cta .btn-primary:hover { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c2cbdc; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 16px 0 0; color: #93a0ba; max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #9aa6bf; padding: 5px 0; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7e8aa3; }

/* ---------- Listen / audio ---------- */
.listen { background: var(--bg-soft); }
.listen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list.compact { margin-top: 20px; gap: 12px; }
.check-list.compact li { padding-left: 34px; }

.powered-by {
  display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 0;
  font-size: .86rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; box-shadow: var(--shadow-sm);
}
.powered-by strong { color: var(--navy-800); font-family: var(--font-head); }
.pb-logo { height: 15px; width: auto; display: inline-block; vertical-align: -2px; }
.pb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }

.audio-player {
  margin: 0; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.audio-player::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 300px at 100% 0%, rgba(59,130,246,.28), transparent 60%); pointer-events: none; }
.audio-head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.audio-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--grad); }
.audio-ico svg { width: 24px; height: 24px; fill: #fff; }
.audio-head strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.audio-head small { color: #9fb0cf; font-size: .82rem; }

.audio-controls { display: flex; align-items: center; gap: 16px; margin-top: 22px; position: relative; z-index: 1; }
.audio-play {
  width: 56px; height: 56px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: transform .15s;
}
.audio-play:hover { transform: scale(1.05); }
.audio-play:active { transform: scale(.97); }
.audio-play svg { width: 24px; height: 24px; fill: var(--navy-800); }
.audio-play .ic-play { margin-left: 3px; }
.audio-track { flex: 1; }
#audioSeek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--blue-400) 0%, var(--blue-400) var(--p, 0%), rgba(255,255,255,.18) var(--p, 0%));
  cursor: pointer;
}
#audioSeek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
#audioSeek::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
.audio-time { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; color: #9fb0cf; font-variant-numeric: tabular-nums; }
.audio-note { margin: 16px 0 0; font-size: .85rem; color: #cdd9ee; position: relative; z-index: 1; }
.audio-transcript { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; position: relative; z-index: 1; }
.tr-line {
  margin: 0; font-size: .9rem; color: #8e9bb6; line-height: 1.5;
  padding: 7px 12px; border-left: 2px solid transparent; border-radius: 8px;
  cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.tr-line:hover { color: #c2cbdc; }
.tr-line b { color: #6f7e9c; font-family: var(--font-head); margin-right: 6px; transition: color .2s; }
.tr-line.active {
  color: #f1f5fc; background: rgba(59, 130, 246, .12); border-left-color: var(--blue-400);
}
.tr-line.active b { color: var(--blue-400); }

/* ---------- Platform ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.platform-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8e3f6; }
.platform-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 16px; }
.platform-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.platform-card p { margin: 0 0 18px; color: var(--muted); }
.platform-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.tag-chip img { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .security-grid { grid-template-columns: 1fr; gap: 36px; }
  .listen-grid { grid-template-columns: 1fr; gap: 36px; }
  .newsletter-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 22px 20px; box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 10px 0; }
  .cards-3, .cards-grid, .steps, .platform-grid { grid-template-columns: 1fr; }
  .newsletter-copy, .newsletter-form { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
