/* Novi dizajn: landing, login, registracija */
:root {
  --navy-950: #06143b;
  --navy-900: #081b4b;
  --navy-800: #102a66;
  --blue-600: #0878ef;
  --blue-500: #1897ff;
  --cyan-400: #2fd5df;
  --green-500: #65ca31;
  --pink-500: #f62b68;
  --violet-500: #7b45e6;
  --ink: #10204b;
  --muted: #5d6985;
  --surface: #ffffff;
  --surface-soft: #f5f8ff;
  --line: #dce5f5;
  --shadow-sm: 0 12px 30px rgba(12, 36, 88, .10);
  --shadow-lg: 0 28px 70px rgba(6, 24, 72, .22);
  --radius: 24px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--soft { background: var(--surface-soft); }
.section--navy { color: #fff; background: var(--navy-900); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: inherit; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.6rem, 5.3vw, 5rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.6vw, 3.35rem); }
h3 { margin-bottom: 12px; font-size: 1.25rem; }
.lead { max-width: 680px; color: #dbe8ff; font-size: clamp(1.08rem, 2vw, 1.24rem); }
.section-copy { color: var(--muted); font-size: 1.08rem; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 999; padding: 12px 18px; color: #fff; background: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-toggle:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.button--primary { color: var(--navy-950); background: linear-gradient(135deg, #78edca, #57d7e7); box-shadow: 0 14px 30px rgba(47, 213, 223, .25); }
.button--primary:hover { box-shadow: 0 18px 38px rgba(47, 213, 223, .34); }
.button--blue { color: #fff; background: linear-gradient(135deg, var(--blue-600), #3158e9); box-shadow: 0 14px 30px rgba(8, 120, 239, .24); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.button--ghost-dark { color: var(--navy-900); border-color: var(--line); background: #fff; }
.button--small { min-height: 44px; padding: 11px 17px; font-size: .92rem; }
.button svg { width: 19px; height: 19px; }

.hero-shell {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(110, 69, 230, .58), transparent 30%),
    radial-gradient(circle at 22% 80%, rgba(8, 120, 239, .40), transparent 34%),
    linear-gradient(135deg, var(--navy-950) 0%, #102f7a 54%, #5836c5 100%);
}
.hero-shell::before, .hero-shell::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}
.hero-shell::before { width: 520px; height: 520px; right: -180px; top: 120px; }
.hero-shell::after { width: 300px; height: 300px; left: -160px; bottom: -120px; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(6, 20, 59, .42);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 160px; height: 50px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { color: rgba(255,255,255,.84); font-size: .94rem; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.button):hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); border-radius: 12px; }
.nav-toggle svg { width: 24px; }

.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: 68px; align-items: center; min-height: 680px; padding: 76px 0 94px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 21px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10); border-radius: 999px; color: #e8f2ff; font-size: .86rem; font-weight: 800; }
.hero-badge span { width: 8px; height: 8px; background: var(--green-500); border-radius: 50%; box-shadow: 0 0 0 6px rgba(101,202,49,.14); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-reassurance { display: flex; flex-wrap: wrap; gap: 18px; margin: 23px 0 0; padding: 0; color: #d9e7ff; font-size: .9rem; list-style: none; }
.hero-reassurance li { display: flex; align-items: center; gap: 7px; }
.hero-reassurance svg { width: 17px; height: 17px; color: #78edca; }

.app-visual { position: relative; max-width: 570px; margin-left: auto; }
.app-window { overflow: hidden; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 17px; border-bottom: 1px solid #edf1f8; background: #fafcff; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5eaf3; }
.app-body { display: grid; grid-template-columns: 78px 1fr; min-height: 415px; }
.app-sidebar { display: flex; flex-direction: column; align-items: center; gap: 19px; padding: 23px 12px; color: #fff; background: linear-gradient(180deg, #0d2f78, #0b1e52); }
.app-logo-mini { display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy-950); background: var(--green-500); border-radius: 12px; font-weight: 900; }
.side-icon { width: 30px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.24); }
.side-icon.active { background: var(--cyan-400); }
.question-panel { padding: 24px 25px 20px; }
.question-top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 21px; }
.subject-name { color: var(--blue-600); font-size: .79rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.question-number { color: var(--muted); font-size: .8rem; font-weight: 700; }
.progress-track { height: 7px; margin-bottom: 24px; overflow: hidden; background: #eaf0f8; border-radius: 99px; }
.progress-track span { display: block; width: 60%; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); border-radius: inherit; }
.question-title { margin-bottom: 17px; font-size: 1.08rem; font-weight: 800; line-height: 1.45; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e2e8f3; border-radius: 11px; color: #35415f; font-size: .9rem; font-weight: 700; }
.answer b { display: grid; width: 24px; height: 24px; place-items: center; color: var(--navy-800); background: #eef4ff; border-radius: 7px; font-size: .78rem; }
.answer.selected { color: #075fae; border-color: #6bcdf2; background: #eefaff; }
.answer.selected b { color: #fff; background: var(--blue-600); }
.question-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.question-footer small { color: var(--muted); font-weight: 700; }
.next-mini { padding: 10px 16px; color: #fff; background: var(--blue-600); border-radius: 9px; font-size: .82rem; font-weight: 800; }
.floating-card { position: absolute; right: -28px; bottom: 42px; width: 190px; padding: 17px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); border-radius: 17px; box-shadow: 0 22px 50px rgba(5, 20, 60, .28); transform: rotate(-3deg); }
.floating-card small { display: block; color: var(--muted); font-weight: 700; }
.floating-score { display: flex; align-items: baseline; gap: 7px; margin: 5px 0 8px; }
.floating-score strong { color: var(--blue-600); font-size: 2rem; line-height: 1; }
.floating-score span { color: var(--green-500); font-size: .75rem; font-weight: 900; }
.recommendation { color: #59647e; font-size: .76rem; line-height: 1.35; }
.hero-caption { margin: 14px 0 0; color: rgba(255,255,255,.64); font-size: .75rem; text-align: right; }

.proof-wrap { position: relative; z-index: 3; margin-top: -38px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.proof-item { min-height: 132px; padding: 24px 26px; border-right: 1px solid var(--line); }
.proof-item:last-child { border: 0; }
.proof-item strong { display: block; margin-bottom: 3px; color: var(--navy-900); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1; letter-spacing: -.05em; }
.proof-item:nth-child(1) strong { color: #44aa20; }
.proof-item:nth-child(2) strong { color: var(--blue-600); }
.proof-item:nth-child(3) strong { color: #0fba87; }
.proof-item:nth-child(4) strong { color: var(--pink-500); }
.proof-item span { display: block; color: var(--muted); font-size: .9rem; font-weight: 700; line-height: 1.35; }
.proof-source { margin: 12px 0 0; color: #7b869e; font-size: .74rem; text-align: center; }

.demo-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 80px; align-items: center; }
.check-list { display: grid; gap: 15px; margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #35415f; font-weight: 700; }
.check-list svg { flex: 0 0 auto; width: 23px; height: 23px; padding: 4px; color: #fff; background: #18af7b; border-radius: 50%; }
.registration-card { position: relative; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.registration-card::before { content: ""; position: absolute; inset: -14px 26px auto; height: 28px; z-index: -1; background: #dceaff; border-radius: 18px 18px 0 0; }
.registration-card .mini-label { color: var(--blue-600); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.registration-card h3 { margin: 6px 0 8px; font-size: 1.6rem; }
.registration-card > p { color: var(--muted); font-size: .92rem; }
.fake-field { display: flex; align-items: center; min-height: 48px; margin-top: 10px; padding: 0 14px; color: #8b95aa; border: 1px solid #dbe3f0; border-radius: 10px; background: #fbfcff; font-size: .88rem; }
.registration-card .button { width: 100%; margin-top: 16px; }
.login-link { margin: 14px 0 0 !important; text-align: center; }
.login-link a { color: var(--blue-600); font-weight: 800; }
.safe-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; color: #68748d; font-size: .78rem; }
.safe-note svg { width: 15px; color: #18af7b; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 31px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.step-number { display: grid; width: 52px; height: 52px; margin-bottom: 25px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--violet-500)); border-radius: 15px; font-size: 1.15rem; font-weight: 900; box-shadow: 0 10px 25px rgba(40, 89, 218, .23); }
.step p { margin: 0; color: var(--muted); }

.ai-section { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #071a49, #103d91 56%, #5833bd); }
.ai-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; }
.ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
.ai-section .eyebrow { color: #75e5ee; }
.ai-section .section-copy { color: #d9e6ff; }
.ai-intro { max-width: 600px; }
.ai-promise { display: flex; align-items: flex-start; gap: 13px; margin-top: 26px; padding: 17px 18px; color: #e8f3ff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 15px; font-size: .92rem; font-weight: 700; }
.ai-promise svg { flex: 0 0 auto; width: 22px; height: 22px; color: #74e7ca; }
.ai-engine { position: relative; padding: 27px; background: rgba(4,17,54,.48); border: 1px solid rgba(255,255,255,.17); border-radius: 25px; box-shadow: 0 26px 60px rgba(2,12,40,.30); }
.ai-engine-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.ai-engine-title { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.ai-orb { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: #071a49; background: linear-gradient(135deg, #77efce, #62d9ed); border-radius: 15px; font-size: .9rem; font-weight: 950; box-shadow: 0 10px 24px rgba(74,220,211,.26); }
.ai-engine-head small { color: #a9bce7; font-weight: 700; }
.ai-route { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-node { min-height: 135px; padding: 19px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.ai-node-number { display: inline-flex; margin-bottom: 13px; color: #78edca; font-size: .73rem; font-weight: 900; letter-spacing: .11em; }
.ai-node h3 { margin-bottom: 7px; font-size: 1.02rem; letter-spacing: -.02em; }
.ai-node p { margin: 0; color: #becdef; font-size: .82rem; line-height: 1.45; }
.ai-cycle { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; padding: 11px 14px; color: #dce8ff; background: rgba(47,213,223,.10); border-radius: 11px; font-size: .78rem; font-weight: 800; }
.ai-cycle svg { width: 17px; height: 17px; color: #75e5ee; }

.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.product-visual { position: relative; padding: 22px; background: linear-gradient(145deg, #edf4ff, #f7fbff); border: 1px solid var(--line); border-radius: 28px; }
.product-visual img { width: 100%; height: auto; object-fit: cover; }
.subject-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.subject-cloud span { padding: 9px 13px; color: #2f3d61; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 800; }
.subject-cloud span:nth-child(1), .subject-cloud span:nth-child(2), .subject-cloud span:nth-child(3) { color: #075fae; border-color: #b9ddff; background: #eff8ff; }
.product-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 31px; }
.product-bullet { display: flex; align-items: flex-start; gap: 11px; color: #33405f; font-size: .93rem; font-weight: 700; }
.product-bullet svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--blue-600); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 25px rgba(15, 44, 98, .05); }
.feature-icon { display: grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; border-radius: 15px; }
.feature:nth-child(1) .feature-icon { color: #075fae; background: #e6f4ff; }
.feature:nth-child(2) .feature-icon { color: #0a9e75; background: #e6fbf3; }
.feature:nth-child(3) .feature-icon { color: #c4215a; background: #ffebf2; }
.feature:nth-child(4) .feature-icon { color: #6535c8; background: #f0eaff; }
.feature-icon svg { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); }


.results-showcase { overflow: hidden; border: 1px solid #dce8f7; background: linear-gradient(160deg,#f4faff,#edf6ff); border-radius: 28px; box-shadow: var(--shadow-sm); }
.results-banner { position: relative; display: flex; align-items: center; min-height: 280px; padding: clamp(24px,4vw,52px); background: linear-gradient(90deg,rgba(244,250,255,.99) 0%,rgba(244,250,255,.97) 30%,rgba(244,250,255,.58) 56%,rgba(244,250,255,.08) 100%),url('/img/novi/rezultati-pozadina.webp') right center / cover no-repeat; }
.results-banner-content { position: relative; max-width: 610px; }
.results-kicker { display: inline-block; margin-bottom: 12px; color: #0579de; font-weight: 850; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.results-banner h3 { margin: 0 0 12px; font-size: clamp(1.65rem,3.2vw,2.85rem); line-height: 1.13; letter-spacing: -.045em; color: #091d52; }
.results-banner p { margin: 0; max-width: 460px; color: #37557d; font-size: .98rem; }
.results-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 18px; }
.result-card { --result-color:#1385f5; --result-tint:#eaf5ff; padding: 23px 16px 22px; text-align: center; background: #fff; border: 1px solid color-mix(in srgb,var(--result-color) 24%,white); border-radius: 20px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.result-card--green { --result-color:#4fbf20; --result-tint:#f0fbe9; }
.result-card--blue { --result-color:#148bfc; --result-tint:#eaf5ff; }
.result-card--mint { --result-color:#17cda8; --result-tint:#e7fbf5; }
.result-card--pink { --result-color:#f43173; --result-tint:#fff0f5; }
.result-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; color: var(--result-color); background: var(--result-tint); border-radius: 50%; }
.result-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.result-card h4 { margin: 0; min-height: 48px; color: #0b1e51; text-transform: uppercase; font-size: .83rem; line-height: 1.35; letter-spacing: -.015em; }
.result-ring { display: grid; place-items: center; width: min(100%,170px); aspect-ratio: 1; margin: 18px auto 15px; padding: 13px; border-radius: 50%; background: conic-gradient(var(--result-color) var(--ring),#e4e8ed 0); }
.result-ring-inner { display: grid; place-items: center; width: 100%; height: 100%; background: #fff; border-radius: 50%; }
.result-number { font-size: clamp(1.8rem,3vw,2.9rem); font-weight: 900; line-height: 1; letter-spacing: -.065em; color: #0b1e51; white-space: nowrap; }
.result-card p { margin: auto 0 0; color: #2b4167; font-size: .87rem; line-height: 1.5; }
.result-highlights { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; margin: 0 18px 18px; background: white; border-radius: 16px; border: 1px solid #e4edf7; }
.result-highlight { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; padding: 16px 10px; color: #14346e; font-size: .76rem; font-weight: 700; line-height: 1.35; }
.result-highlight + .result-highlight { border-left: 1px solid #e4edf7; }
.result-highlight svg { flex: 0 0 23px; width: 23px; height: 23px; color: #117be1; }
.results-footnote { margin: 0; padding: 0 22px 20px; font-size: .78rem; color: #60738f; }
@media (max-width: 1050px) {
  .results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .result-highlight { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .results-showcase { border-radius: 20px; }
  .results-banner { min-height: 265px; align-items: flex-end; padding: 115px 21px 22px; background: linear-gradient(0deg,rgba(245,250,255,1) 0%,rgba(245,250,255,.98) 38%,rgba(245,250,255,.22) 100%),url('/img/novi/rezultati-pozadina.webp') center 24% / cover no-repeat; }
  .results-banner h3 { font-size: clamp(1.55rem,6vw,2.25rem); }
  .results-banner p { font-size: .87rem; }
  .results-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .result-card { display: grid; grid-template-columns: 94px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 16px; text-align: left; align-items: center; }
  .result-icon { display: none; }
  .result-card h4 { min-height: 0; grid-column: 2; grid-row: 1; margin: 0 0 7px; font-size: .84rem; }
  .result-ring { grid-column: 1; grid-row: 1 / 3; width: 94px; margin: 0; padding: 9px; }
  .result-number { font-size: 1.5rem; }
  .result-card p { grid-column: 2; grid-row: 2; font-size: .81rem; line-height: 1.4; }
  .result-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 12px 12px; }
  .result-highlight { padding: 14px 8px; font-size: .72rem; }
  .result-highlight + .result-highlight { border-left: 0; }
  .result-highlight:nth-child(even) { border-left: 1px solid #e4edf7; }
  .result-highlight:nth-child(n+3) { border-top: 1px solid #e4edf7; }
  .result-highlight:last-child { grid-column: 1 / -1; flex-direction: row; }
  .results-footnote { padding: 0 16px 18px; line-height: 1.55; }
}
@media (max-width: 370px) {
  .result-card { grid-template-columns: 80px 1fr; gap: 11px; padding: 12px; }
  .result-ring { width: 80px; padding: 8px; }
  .result-number { font-size: 1.29rem; }
}

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 15px; }
summary { position: relative; padding: 21px 54px 21px 22px; cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 18px; right: 20px; display: grid; width: 28px; height: 28px; place-items: center; color: var(--blue-600); background: #eef6ff; border-radius: 8px; font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.final-cta { position: relative; overflow: hidden; padding: 66px; text-align: center; background: linear-gradient(135deg, #0a2868, #1750b6 58%, #633bd2); border-radius: 30px; box-shadow: var(--shadow-lg); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.final-cta::before { width: 360px; height: 360px; right: -180px; top: -130px; }
.final-cta::after { width: 230px; height: 230px; left: -100px; bottom: -120px; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { max-width: 760px; margin-inline: auto; }
.final-cta p { max-width: 630px; margin: 0 auto 28px; color: #dce8ff; font-size: 1.08rem; }
.final-cta .small-print { margin: 14px auto 0; color: rgba(255,255,255,.68); font-size: .78rem; }

.site-footer { padding: 48px 0 28px; color: #becaec; background: #06143b; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-logo { width: 160px; height: 50px; object-fit: contain; margin-bottom: 15px; }
.footer-about { max-width: 430px; color: #9eafd8; font-size: .9rem; }
.site-footer h3 { color: #fff; font-size: .96rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #becaec; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); color: #8294bd; font-size: .78rem; }

@media (max-width: 1050px) {
  .main-nav { gap: 17px; }
  .main-nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .app-visual { width: min(100%, 620px); margin: 0 auto; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .demo-grid, .product-grid, .faq-layout, .ai-grid { grid-template-columns: 1fr; gap: 52px; }
  .product-visual { order: 2; }
  .product-copy { order: 1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .site-header { position: relative; }
  .header-inner { min-height: 70px; }
  .brand img { width: 142px; height: auto; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px 26px;
    background: rgba(6,20,59,.98);
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.button) { display: block; padding: 8px 0; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1.35fr; }
  .hero { gap: 52px; padding: 58px 0 76px; }
  h1 { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  .hero-actions .button { width: 100%; }
  .hero-reassurance { display: grid; gap: 9px; }
  .app-body { grid-template-columns: 50px 1fr; min-height: 375px; }
  .app-sidebar { padding-inline: 8px; }
  .app-logo-mini { width: 32px; height: 32px; }
  .question-panel { padding: 18px 16px; }
  .answers { grid-template-columns: 1fr; }
  .floating-card { display: none; }
  .hero-caption { text-align: center; }
  .proof-wrap { margin-top: -28px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { min-height: 120px; padding: 20px 17px; }
  .proof-item strong { font-size: 1.7rem; }
  .proof-item span { font-size: .78rem; }
  .registration-card { padding: 25px 20px; }
  .steps, .features { grid-template-columns: 1fr; }
  .ai-engine { padding: 19px; }
  .ai-route { grid-template-columns: 1fr; }
  .ai-node { min-height: auto; }
  .product-bullets { grid-template-columns: 1fr; }
  .final-cta { padding: 48px 22px; border-radius: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
}

.flash-message { position: fixed; top: 16px; left: 50%; z-index: 1000; transform: translateX(-50%); padding: 14px 22px; color: #0b5a3e; background: #e6fbf3; border: 1px solid #9be3c6; border-radius: 12px; box-shadow: var(--shadow-sm); font-weight: 700; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
