@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap");

:root {
  --bg: #f5f7ff;
  --card: #ffffff;
  --text: #13213b;
  --muted: #657086;
  --brand: #2954e9;
  --brand-dark: #1738a8;
  --accent: #ff8f2e;
  --border: #e3e9f6;
  --navy: #0f1a34;
  --content-max: 1480px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.1px;
}
.container {
  width: min(var(--content-max), 96%);
  max-width: 100%;
  margin: 0 auto;
  padding-left: clamp(16px, 2.5vw, 28px);
  padding-right: clamp(16px, 2.5vw, 28px);
}
.small { font-size: 0.88rem; color: var(--muted); }

.topbar { background: var(--navy); color: #e3ecff; font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; }

header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { font-size: 1.35rem; font-weight: 700; color: var(--brand); }
.logo-dark { color: #e1061b; text-transform: uppercase; letter-spacing: 0.6px; }
.logo-dark span { color: #0e1422; text-transform: lowercase; font-size: 1.05rem; }
nav a { text-decoration: none; color: var(--text); margin-left: 18px; font-size: 0.95rem; font-weight: 600; }
nav a.active, nav a:hover { color: var(--brand); }
.site-logo {
  display: inline-flex;
  align-items: center;
}
.site-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brand); color: #fff; font-weight: 700; border-radius: 999px;
  padding: 12px 22px; box-shadow: 0 10px 20px rgba(41, 84, 233, 0.25);
}
.btn:hover { background: var(--brand-dark); }
.btn-outline {
  display: inline-block; text-decoration: none; font-weight: 700;
  border: 1px solid #cfd8ef; color: var(--text); padding: 10px 18px; border-radius: 999px;
}

section { padding: 42px 0; }
.section-title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}
.section-kicker {
  color: var(--accent);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 6px;
}

.hero {
  background: radial-gradient(circle at 10% 20%, #f8faff 0%, #eef3ff 45%, #edf2ff 100%);
  padding: 64px 0 50px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1.16; }
.hero p { margin: 0 0 20px; color: var(--muted); max-width: 600px; }
.theme-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #060b18 !important;
  border-bottom: 1px solid #1d2438 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.theme-header nav a {
  color: #f2f5ff;
}
.theme-header nav a.active,
.theme-header nav a:hover {
  color: #ff324f;
}
.hero-reference {
  min-height: 78vh;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 22, 54, 0.22) 0 18%, transparent 19%),
    linear-gradient(130deg, #050b1f 0%, #0b1638 55%, #1a1231 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}
.hero-reference::before,
.hero-reference::after {
  content: "";
  position: absolute;
  inset: -8%;
  pointer-events: none;
}
.hero-reference::before {
  background:
    linear-gradient(60deg, transparent 0 34%, rgba(255, 255, 255, 0.06) 35% 36%, transparent 37% 100%),
    linear-gradient(120deg, transparent 0 62%, rgba(255, 40, 70, 0.2) 63% 64%, transparent 65% 100%),
    linear-gradient(300deg, transparent 0 48%, rgba(255, 255, 255, 0.04) 49% 50%, transparent 51% 100%);
  transform: translateZ(-60px) rotateY(-8deg) rotateX(4deg);
  animation: heroDepthFloat 14s ease-in-out infinite alternate;
}
.hero-reference::after {
  background:
    radial-gradient(circle at 18% 72%, rgba(68, 124, 255, 0.28), transparent 32%),
    radial-gradient(circle at 82% 32%, rgba(255, 44, 75, 0.32), transparent 34%);
  filter: blur(2px);
  transform: translateZ(-20px);
  animation: heroGlowShift 9s ease-in-out infinite alternate;
}
.hero-overlay { width: 100%; padding: 80px 0; }
.hero-center { text-align: center; color: #fff; }
.hero-center .section-kicker { color: #ff4a4a; }
.hero-center h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.6rem); margin: 0 0 18px; }

.hero-card {
  background: linear-gradient(145deg, #2b56ec, #1a3db7);
  color: #fff; border-radius: 18px; padding: 24px;
  box-shadow: 0 18px 35px rgba(20, 45, 133, 0.32);
}
.hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 0; padding-left: 18px; }
.hero-card li { margin-bottom: 6px; }

.feature-strip { margin-top: -14px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  box-shadow: 0 10px 25px rgba(23, 44, 103, 0.08);
  min-height: 146px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.poster-cards-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.card {
  background: var(--card); border: 1px solid #dce5f5; border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 35, 76, 0.1);
}
.poster-view { position: relative; }
.poster-view img { width: 100%; height: 210px; object-fit: cover; display: block; }
.poster-card .poster-view img {
  height: 500px;
  object-fit: contain;
  background: #f2f4f8;
}
.poster-badge {
  position: absolute; left: 14px; bottom: 14px; background: rgba(15, 26, 52, 0.88);
  color: #fff; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 0.88rem;
}
.card-body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.price { margin: 8px 0 10px; font-weight: 700; color: var(--brand-dark); }

.hero .btn-outline { margin-left: 8px; background: #fff; }

.panel {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 8px 20px rgba(22, 41, 93, 0.06);
}
.ref-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  margin-bottom: 10px;
}
.ref-copy p {
  font-size: 1.03rem;
  color: #4f5c75;
}
.ref-copy ul {
  margin-top: 10px;
  display: grid;
  gap: 5px;
  font-size: 1.04rem;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.reference-split { padding: 64px 0; background: #f4f4f7; }
.ref-block { align-items: center; gap: 40px; }
.ref-copy p { color: #4c556b; }
.ref-copy ul { margin: 0; padding-left: 20px; color: #4c556b; }
.dark-panel { background: #09193f; border-radius: 0; padding: 0; gap: 0; overflow: hidden; }
.dark-copy { background: #071838; color: #fff; border: none; border-radius: 0; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.dark-copy .section-title { color: #ff2c4b; }
.dark-copy .section-kicker { color: #ff2c4b; }
.dark-copy p { color: #d6dff7; }
.red-btn { background: #f40f2c; box-shadow: 0 8px 16px rgba(244,15,44,.28); }
.theme-art {
  min-height: 400px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(19, 29, 55, 0.15);
  display: grid;
  place-items: center;
  padding: 22px;
}
.critical-art {
  padding: 0;
  background: #eef2fb;
}
.critical-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how-art {
  background:
    linear-gradient(rgba(5, 15, 38, 0.25), rgba(5, 15, 38, 0.25)),
    url("../videos/howwork-thumb.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  min-height: 390px;
}
.video-trigger {
  cursor: pointer;
  border: 0;
}
.play-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #f40f2c;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 12px 22px rgba(244, 15, 44, 0.35);
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.video-modal.open {
  display: block;
}
.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.video-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 92vw);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}
.video-shell video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}
.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #ff102f;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.price-art {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0)),
    linear-gradient(130deg, #1d335f 0%, #09193f 70%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
form { display: grid; gap: 10px; }
label { font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 10px; border: 1px solid #cdd8ee; border-radius: 8px; font-size: 0.95rem;
}
textarea { resize: vertical; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stat {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  text-align: center; font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 33, 71, 0.08);
}
.stat span { display: block; color: var(--muted); font-size: 0.86rem; font-weight: 600; margin-top: 4px; }

.page-hero { padding: 48px 0 16px; }
.policy { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }

footer { margin-top: 36px; background: #101a30; color: #d6dff5; border-top: 1px solid #1f2a49; }
.footer-wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; flex-wrap: wrap; }
.footer-links a { color: #d6dff5; margin-right: 14px; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.theme-footer { background: #090b12; border-top: 1px solid #1a1e2b; padding-top: 20px; }
.theme-footer .logo-dark span { color: #fff; }
.theme-footer p { color: #c6cde0; max-width: 360px; }
.theme-footer .footer-contact { margin-top: 14px; font-size: 0.88rem; color: #aeb6cc; line-height: 1.5; }
.theme-footer .footer-contact p { margin: 0 0 12px; max-width: 320px; }
.theme-footer .footer-contact strong { color: #d6dff5; font-weight: 600; }
.theme-footer .footer-contact a { color: #e8ecff; text-decoration: none; }
.theme-footer .footer-contact a:hover { text-decoration: underline; }
.footer-links.stacked { display: grid; gap: 8px; }
.foot-note { border-top: 1px solid #1a1e2b; padding: 14px 0 18px; color: #b6bfd6; font-size: 0.86rem; }

.inner-hero {
  background: linear-gradient(130deg, #070d22 0%, #101b43 65%, #1b1231 100%);
  color: #fff;
  padding: 56px 0;
}
.inner-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.inner-hero p { margin: 0; color: #d5def5; }

@keyframes heroDepthFloat {
  0% {
    transform: translateZ(-60px) rotateY(-8deg) rotateX(4deg) translateX(-1.5%);
  }
  100% {
    transform: translateZ(-60px) rotateY(-3deg) rotateX(2deg) translateX(1.5%);
  }
}

@keyframes heroGlowShift {
  0% {
    transform: translateZ(-20px) translateY(0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translateZ(-20px) translateY(-10px) scale(1.04);
    opacity: 1;
  }
}
.content-surface {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(19, 29, 55, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.theme-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mini-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.faq-reference {
  background: #ececef;
}
.faq-layout {
  gap: 0;
  align-items: stretch;
}
.faq-left {
  padding: 28px 32px 32px;
  background-color: #ececef;
  position: relative;
  z-index: 2;
  isolation: isolate;
  box-shadow: 8px 0 24px rgba(15, 22, 40, 0.08);
}
.faq-title {
  margin: 0 0 14px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.3px;
}
.faq-item {
  background-color: #ffffff;
  margin-bottom: 14px;
  border-radius: 0;
}
.faq-q {
  width: 100%;
  border: 0;
  background-color: #ffffff;
  text-align: left;
  cursor: pointer;
  padding: 18px 18px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #181b24;
  position: relative;
}
.faq-q::before {
  content: "›";
  margin-right: 12px;
  display: inline-block;
  transform: translateY(-1px);
}
.faq-item.active {
  background-color: #f4f4f6;
}
.faq-item.active .faq-q {
  background-color: #f00a23;
  color: #fff;
}
.faq-item.active .faq-q::before {
  content: "⌄";
}
.faq-a {
  padding: 18px;
  color: #3f475a;
  font-size: 1.02rem;
  line-height: 1.62;
  display: none;
  background-color: #f4f4f6;
}
.faq-item.active .faq-a {
  display: block;
}
.faq-right {
  position: relative;
  z-index: 1;
  min-height: 620px;
  overflow: hidden;
  background-color: #e8eaef;
  isolation: isolate;
}
.faq-right-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Photo already frames hand on the right; light crop toward that side */
  object-position: 92% center;
  transform: scale(1.12);
  transform-origin: right center;
  display: block;
}

@media (min-width: 1600px) {
  :root {
    --content-max: 1560px;
  }
}

@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .features, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dark-panel { gap: 12px; }
  .theme-links { grid-template-columns: 1fr; }
  .poster-cards-layout { gap: 18px; }
  .faq-right { min-height: 360px; }
  .faq-right-img {
    transform: scale(1.05);
    object-position: 88% center;
  }
}
@media (max-width: 620px) {
  .topbar .container { flex-direction: column; align-items: flex-start; }
  nav a { margin-left: 10px; font-size: 0.86rem; }
  .hero .btn-outline { margin-left: 0; margin-top: 10px; }
  .features, .cards, .stats { grid-template-columns: 1fr; }
  .hero-reference { min-height: 62vh; }
}
