/* Car Cast — site stylesheet (converted from "Car Cast Bold" design) */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: #101828;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, sans-serif;
}
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: #007BE4; text-decoration: none; }
a:hover { color: #0060B4; }
::-webkit-scrollbar { height: 0; width: 0; }

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

/* ---------- Page shell ---------- */
.page {
  width: 100%;
  overflow-x: hidden;
  background-color: #F4F6FA;
  background-image:
    linear-gradient(rgba(16,24,40,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,0.028) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247,249,252,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #DFE5EE;
}
.site-header .bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
}
.site-header .logo-link { flex: 0 0 auto; display: block; }
.site-header .logo-link:hover { opacity: 0.75; }
.site-header .logo-link img {
  height: clamp(22px, 3vw, 27px);
  width: auto;
  filter: invert(1) brightness(0.12);
}
.nav-desktop {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-desktop a { color: #525A6B; }
.nav-desktop a:hover { color: #101828; }
.header-spacer { flex: 1 1 auto; display: none; }
.btn-player {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #FFCE00;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  white-space: nowrap;
  gap: 8px;
}
.btn-player:hover { background: #F2C400; color: #101828; }
.btn-player svg { width: 16px; height: 16px; flex: 0 0 auto; }
.burger {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-right: -6px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  display: none;
}
.burger span {
  display: block;
  height: 2px;
  width: 22px;
  border-radius: 2px;
  background: #101828;
}
.mobile-panel {
  border-top: 1px solid #E1E6EE;
  background: #FFFFFF;
  display: none;
}
.mobile-panel.open { display: block; }
.mobile-panel nav {
  display: flex;
  flex-direction: column;
  padding: 6px clamp(16px, 4vw, 32px) 16px;
  font-size: 17px;
  font-weight: 700;
}
.mobile-panel nav a {
  color: #101828;
  padding: 14px 0;
  border-bottom: 1px solid #EEF1F6;
}
.mobile-panel nav a:last-child { border-bottom: 0; }
.mobile-panel nav a:hover { color: #007BE4; }

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .header-spacer { display: block; }
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #EDF1F8;
  background-image:
    linear-gradient(rgba(0,123,228,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,228,0.035) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,123,228,0.13), rgba(0,123,228,0) 68%),
    linear-gradient(180deg, #E8EDF6 0%, #F4F6FA 80%);
  background-size: 32px 32px, 32px 32px, auto, auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 32px) 0;
}
.hero .inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.2vw, 24px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #EAF3FE;
  color: #0060B4;
  border: 1px solid #CFE3FB;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 999px; background: #007BE4; }
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 17ch;
  text-wrap: balance;
}
.hero .sub {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: #525A6B;
  max-width: 52ch;
  text-wrap: pretty;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}
.store-buttons a { display: block; }
.store-buttons a:hover { opacity: 0.85; }
.store-buttons img { height: clamp(46px, 5vw, 54px); width: auto; }
.hero-shot {
  width: 100%;
  margin-top: clamp(24px, 3.5vw, 44px);
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(16,24,40,0.18);
}
.hero-shot img {
  width: 100%;
  height: clamp(220px, 42vw, 560px);
  object-fit: cover;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: clamp(20px, 3vw, 32px) 0 clamp(28px, 4vw, 48px);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #DCE3EE;
  color: #3B4354;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}
.pill svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; background: transparent; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 32px); }
.section .inner { max-width: 1120px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 4.5vw, 56px); }
.eyebrow { font-size: 14px; font-weight: 700; color: #007BE4; margin-bottom: 12px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
.section-head .lede {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #606979;
  text-wrap: pretty;
}
.section-tinted {
  background-color: #EBEFF7;
  background-image:
    linear-gradient(rgba(0,123,228,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,228,0.032) 1px, transparent 1px),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,123,228,0.09), rgba(0,123,228,0) 70%);
  background-size: 32px 32px, 32px 32px, auto;
  border-top: 1px solid #DFE5EE;
  border-bottom: 1px solid #DFE5EE;
}
.section-tinted.glow-bottom {
  background-image:
    linear-gradient(rgba(0,123,228,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,228,0.032) 1px, transparent 1px),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,123,228,0.09), rgba(0,123,228,0) 70%);
}

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.card {
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: #CFE3FB; box-shadow: 0 12px 28px rgba(16,24,40,0.07); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EAF3FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #606979;
  text-wrap: pretty;
}

/* ---------- How it works ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(14px, 1.8vw, 20px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 22px 60px rgba(16,24,40,0.18);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(20px, 2.6vw, 28px);
}
.step {
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { border-color: #CFE3FB; box-shadow: 0 12px 28px rgba(16,24,40,0.08); }
.step .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; color: #A4AEBE; }
.step .row { display: flex; align-items: center; gap: 12px; }
.step .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #EAF3FE;
  color: #007BE4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .icon svg { width: 22px; height: 22px; }
.step .title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #606979; text-wrap: pretty; }

/* ---------- Use cases ---------- */
.usecases { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 84px); }
.usecase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.usecase img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(16,24,40,0.14);
}
.usecase .tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007BE4;
  margin-bottom: 12px;
}
.usecase h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
.usecase p { margin: 0; font-size: 17px; line-height: 1.6; color: #606979; text-wrap: pretty; }
.usecase.reversed .media { order: 2; }
.usecase.reversed .copy { order: 1; }
@media (max-width: 700px) {
  .usecase.reversed .media { order: 1; }
  .usecase.reversed .copy { order: 2; }
}

/* ---------- Pricing ---------- */
#pricing .inner { max-width: 940px; }
.currency-toggle-wrap { display: flex; justify-content: center; margin-bottom: clamp(20px, 2.6vw, 30px); }
.currency-toggle {
  display: inline-flex;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  padding: 5px;
  border-radius: 12px;
}
.currency-toggle button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease;
  background: transparent;
  color: #606979;
}
.currency-toggle button.active { background: #007BE4; color: #fff; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  align-items: stretch;
}
.price-card {
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card.featured {
  position: relative;
  border: 2px solid #007BE4;
  box-shadow: 0 16px 40px rgba(0,123,228,0.12);
}
.price-card .plan-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card .plan-name { font-size: 15px; font-weight: 700; color: #525A6B; }
.price-card.featured .plan-name { color: #007BE4; }
.price-card .badge {
  background: #EAF3FE;
  color: #0060B4;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.price-card .amount-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-card .amount {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card .period { font-size: 15px; font-weight: 600; color: #78808F; }
.price-card .desc { margin: 0; font-size: 16.5px; line-height: 1.5; color: #3B4354; text-wrap: pretty; }
.pricing-note { margin: 18px 0 0; text-align: center; font-size: 15px; color: #78808F; }

/* ---------- FAQ ---------- */
#faq .inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 16px); }
.faq-item {
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: #CFE3FB; box-shadow: 0 12px 28px rgba(16,24,40,0.06); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 22px) clamp(20px, 2.6vw, 26px);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: 0 0 auto; transition: transform 0.2s ease; color: #007BE4; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .answer {
  padding: 0 clamp(20px, 2.6vw, 26px) clamp(18px, 2.2vw, 22px);
  font-size: 15.5px;
  line-height: 1.6;
  color: #606979;
}
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner-section { padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 32px); background: transparent; }
.cta-banner {
  max-width: 1120px;
  margin: 0 auto;
  background: #007BE4;
  border-radius: clamp(18px, 2.4vw, 28px);
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-banner h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 22ch;
  text-wrap: balance;
}

/* ---------- Sub-page hero + legal content ---------- */
.page-hero {
  background-color: #EDF1F8;
  background-image:
    linear-gradient(rgba(0,123,228,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,228,0.035) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,123,228,0.13), rgba(0,123,228,0) 68%);
  background-size: 32px 32px, 32px 32px, auto;
  border-bottom: 1px solid #DFE5EE;
  padding: clamp(48px, 6vw, 84px) clamp(16px, 4vw, 32px);
  text-align: center;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
.page-hero .sub {
  margin: 14px auto 0;
  font-size: 17px;
  line-height: 1.55;
  color: #525A6B;
  max-width: 56ch;
  text-wrap: pretty;
}
.legal-content { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 32px); }
.legal-content .inner {
  max-width: 880px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
}
.legal-content .inner [name="termly-embed"] { text-align: left; }
.support-content { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 32px); }
.support-content .inner {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E1E6EE;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: #3B4354;
}
.support-content .inner p { margin: 0 0 14px; }
.support-content .inner p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E1420;
  color: #B7BFCC;
  padding: clamp(32px, 4.5vw, 52px) clamp(16px, 4vw, 32px);
}
.site-footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer .logo { height: 24px; width: auto; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 14.5px;
  font-weight: 600;
}
.site-footer nav a { color: #B7BFCC; }
.site-footer nav a:hover { color: #fff; }
.site-footer .copyright { font-size: 14px; color: #7C8697; }

/* ---------- A11y ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #007BE4;
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #007BE4;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }
