/* ScreenTailor landing page — brand palette derived from the mascot icon:
   deep navy capture frame · recording red · measuring-tape cream. */

:root {
  --navy-900: #07122a;
  --navy-800: #0a1730;
  --navy-700: #0d1f44;
  --navy-600: #122a5c;
  --blue: #3b82f6;
  --blue-bright: #5b9bff;
  --red: #ff4d4d;
  --red-deep: #e5484d;
  --cream: #ead9b6;
  --text: #eef2fb;
  --muted: #9fb0d0;
  --muted-dim: #7286ad;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --card-hover: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --maxw: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(91, 155, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 0%, rgba(124, 92, 255, 0.12), transparent 55%),
    var(--navy-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(229, 72, 77, 0.7);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(229, 72, 77, 0.85); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--card-border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 999px;
}
.badge-soon { background: rgba(255, 77, 77, 0.15); color: #ff9b9b; border: 1px solid rgba(255,77,77,.3); }
.badge-pill {
  background: rgba(91, 155, 255, 0.12); color: var(--blue-bright);
  border: 1px solid rgba(91,155,255,.28); text-transform: uppercase; font-size: 11px;
}
.badge-soon::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,77,77,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,77,.55); }
  70% { box-shadow: 0 0 0 7px rgba(255,77,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 18, 42, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 80px; height: 80px; border-radius: 22%; }
.brand-wordmark { height: 80px; width: auto; display: block; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links > a:hover { color: var(--text); }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-dim); }
.lang-switch [aria-current] { color: var(--text); font-weight: 600; }
.lang-switch a { color: var(--muted-dim); }
.lang-switch a:hover { color: var(--blue-bright); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.hero-copy { text-align: center; }
.hero-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; margin: 18px 0; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 16px; justify-content: center; }
.hero-meta { font-size: 14px; color: var(--muted-dim); }
.hero-notify { font-size: 13px; color: var(--muted-dim); margin-top: 10px; }
.hero-notify a { color: var(--muted); }
.hero-notify a:hover { color: var(--blue-bright); }
.hero-caption { text-align: center; color: var(--muted-dim); font-size: 13px; margin-top: 14px; }
.trust-line {
  text-align: center; color: var(--cream); font-weight: 500; opacity: .9;
  margin-top: 48px; font-size: clamp(15px, 1.6vw, 18px);
}

/* media frame (placeholder + future video) */
.media-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px;
  border: 1px solid var(--card-border);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-700));
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.media-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px;
}
.media-badge { position: absolute; top: 14px; left: 14px; }
.media-mascot { opacity: .9; border-radius: 16px; }
.media-play {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); border: 1px solid var(--card-border);
  color: #fff; font-size: 20px; padding-left: 4px;
}
.media-label { font-weight: 600; color: var(--text); }
.media-note { font-size: 13px; color: var(--muted-dim); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: rgba(255,255,255,0.018); border-block: 1px solid rgba(255,255,255,0.05); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px 24px; transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { background: var(--card-hover); transform: translateY(-3px); border-color: rgba(91,155,255,.3); }
.card-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(91,155,255,.22), rgba(124,92,255,.18));
  border: 1px solid rgba(91,155,255,.25); font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card-video {
  width: 100%; aspect-ratio: 16 / 9; margin-top: 12px;
  border-radius: 10px; background: var(--navy-700);
  display: block; object-fit: cover; cursor: pointer;
}

/* ---------- Steps / showcase ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }
.shot {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px;
  border: 1px solid var(--card-border);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-700));
}
.step-num {
  position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--red); color: #fff;
}
.shot .media-label { position: absolute; bottom: 14px; left: 0; right: 0; font-size: 13px; color: var(--muted-dim); }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, rgba(91,155,255,.08), var(--card));
  border: 1px solid var(--card-border); border-radius: 22px; padding: 36px 32px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}
.price-beta-note {
  display: inline-block; font-size: 13px; color: var(--cream); margin-bottom: 14px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(234, 217, 182, 0.08); border: 1px solid rgba(234, 217, 182, 0.22);
}
.price-plan { color: var(--muted); margin-top: 18px; font-weight: 500; }
.price-amount { font-size: 56px; font-weight: 800; margin: 6px 0 4px; letter-spacing: -0.03em; }
.price-unit { display: block; font-size: 14px; font-weight: 500; color: var(--muted-dim); letter-spacing: 0; }
.price-list { list-style: none; padding: 0; margin: 24px 0; text-align: left; display: grid; gap: 12px; }
.price-list li { position: relative; padding-left: 30px; color: var(--text); font-size: 15px; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue-bright); font-weight: 700;
  background: rgba(91,155,255,.14); width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}
.price-note { font-size: 13px; color: var(--muted-dim); margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 4px 20px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-bright); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cta-band p { color: var(--muted); margin: 14px 0 28px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-tagline { color: var(--muted); font-size: 14px; }
.footer-meta { text-align: right; font-size: 14px; }
.footer-meta a:hover { color: var(--blue-bright); }
.muted { color: var(--muted-dim); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { max-width: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav { height: 76px; }
  .brand-logo { width: 56px; height: 56px; }
  .brand-wordmark { height: 56px; }
  .nav-links { gap: 14px; }
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .nav { height: 60px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-wordmark { height: 36px; }
  .lang-switch { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge-soon::before { animation: none; }
  html { scroll-behavior: auto; }
}
