/* ============================================================
   Formshot — Website Styles
   Design language: dark (#0f0f0f) + amber (#F0A500 / #E8941C)
   ============================================================ */

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --amber: #F0A500;
  --amber-dark: #E8941C;
  --amber-dim: rgba(240, 165, 0, 0.15);
  --bg: #0f0f0f;
  --bg2: #181818;
  --bg3: #222222;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-sub: rgba(255, 255, 255, 0.75);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1100px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: opacity .2s;
}

a:hover {
  opacity: .8;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sub);
  font-size: .95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

.nav-cta {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .9rem !important;
  opacity: 1 !important;
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.4);
  opacity: 1 !important;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-dim);
  border: 1px solid rgba(240, 165, 0, 0.3);
  color: var(--amber);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #000;
  box-shadow: 0 4px 24px rgba(240, 165, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(240, 165, 0, 0.45);
  color: #000;
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text);
  opacity: 1;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* Phone mockup stack */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 560px;
}

.phone {
  position: absolute;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-back {
  width: 220px;
  transform: rotate(-8deg) translate(-70px, 20px);
  opacity: .7;
  z-index: 1;
}

.phone-front {
  width: 240px;
  transform: rotate(2deg) translate(20px, 0);
  z-index: 2;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Sections shared ---------- */
.section {
  padding: 96px 5vw;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .25s, transform .25s;
}

.step:hover {
  border-color: rgba(240, 165, 0, 0.3);
  transform: translateY(-4px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.step p {
  font-size: .92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s;
}

.feature-card:hover {
  border-color: rgba(240, 165, 0, 0.25);
  transform: translateY(-3px);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--amber-dim);
  border: 1px solid rgba(240, 165, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--amber);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.feature-list li {
  font-size: .88rem;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li::before {
  content: "•";
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Screenshots ---------- */
.screenshots {
  background: var(--bg2);
}

.screens-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg3) transparent;
}

.screens-scroll::-webkit-scrollbar {
  height: 4px;
}

.screens-scroll::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 2px;
}

.screen-item {
  flex-shrink: 0;
  width: 220px;
}

.screen-item img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.screen-caption {
  text-align: center;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Privacy highlight ---------- */
.privacy-band {
  background: linear-gradient(135deg, #141414, #1a1a1a);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.privacy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.privacy-icon {
  font-size: 2rem;
}

.privacy-item h4 {
  font-size: 1rem;
  font-weight: 700;
}

.privacy-item p {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--bg2);
  border-radius: 24px;
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 48px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 64px rgba(240, 165, 0, 0.08);
}

.pricing-badge {
  display: inline-block;
  background: var(--amber-dim);
  border: 1px solid rgba(240, 165, 0, 0.3);
  color: var(--amber);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-sub {
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.7;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-sub);
}

.pricing-list li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Download CTA ---------- */
.download {
  text-align: center;
}

.download .section-title {
  margin-bottom: 12px;
}

.download-sub {
  color: var(--text-sub);
  margin-bottom: 40px;
  font-size: 1rem;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.store-btn:hover {
  border-color: rgba(240, 165, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: var(--text);
  opacity: 1;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 5vw 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.footer-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero {
  padding: calc(var(--nav-h) + 64px) 5vw 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-hero .updated {
  font-size: .85rem;
  color: var(--text-muted);
}

.legal-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 5vw 96px;
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--amber);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: .95rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-body ul li {
  font-size: .95rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.legal-body a {
  color: var(--amber);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-phones {
    height: 420px;
  }

  .phone-back {
    width: 180px;
    transform: rotate(-8deg) translate(-60px, 10px);
  }

  .phone-front {
    width: 200px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: span 1;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 5vw;
    gap: 20px;
  }

  .nav-burger {
    display: block;
  }

  .hero-phones {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}