/* QuipCrack marketing site — visual language borrowed from qlti.net (Quantum Leap Studios) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --background: #0c1626;
  --foreground: #ece8de;
  --card: #101d30;
  --card-border: #1a2f4d;
  --border: #1a2f4d;
  --muted-foreground: #a9b6c4;
  --primary: #cda947;
  --primary-soft: #e3c66d;
  --primary-foreground: #0c1626;
  --accent: #8c2636;
  --accent-soft: #b13347;
  --radius: 0.25rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --container: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background texture: faint radial glow, like qlti.net's dark hero */
body {
  background-image:
    radial-gradient(60% 50% at 50% -10%, rgba(205, 169, 71, 0.10), transparent 60%),
    radial-gradient(40% 40% at 90% 10%, rgba(140, 38, 54, 0.12), transparent 60%);
  background-repeat: no-repeat;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 22, 38, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.nav-links a:hover { color: var(--primary-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--card-border);
}

.btn-outline:hover { border-color: var(--primary); }

/* Hero */
.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-soft);
  background: rgba(205, 169, 71, 0.1);
  border: 1px solid rgba(205, 169, 71, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

h1 .accent-text {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero-note { font-size: 0.85rem; color: var(--muted-foreground); }

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  border-radius: 2.4rem;
  border: 1px solid var(--card-border);
  background: var(--card);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(205,169,71,0.08);
  overflow: hidden;
}

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

.phone-placeholder {
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, #142339, #0c1626);
}

/* Sections */
section { padding: 4.5rem 0; }

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.section-sub { color: var(--muted-foreground); font-size: 1.02rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(205, 169, 71, 0.12);
  border: 1px solid rgba(205, 169, 71, 0.25);
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Screenshot gallery */
.shot-strip {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x proximate;
}

.shot-strip::-webkit-scrollbar { height: 6px; }
.shot-strip::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }

.shot {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  border-radius: 1.6rem;
  border: 1px solid var(--card-border);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.55);
}

.shot img { width: 100%; }

.shot .phone-placeholder { aspect-ratio: 9/19.5; }

/* Pricing / IAP */
.pricing-card {
  max-width: 30rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  text-align: center;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
}

.price-note { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 1.5rem; }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  display: inline-block;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--foreground);
  margin-bottom: 0.6rem;
}

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

/* CTA band */
.cta-band {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--primary-soft); }

/* Privacy policy page */
.policy {
  max-width: 42rem;
  margin: 0 auto;
}

.policy h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.policy .updated { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.policy p, .policy li { color: var(--muted-foreground); font-size: 0.98rem; }
.policy ul { padding-left: 1.2rem; }
.policy strong { color: var(--foreground); }
.policy a { color: var(--primary-soft); text-decoration: underline; }

/* FAQ / guide / support pages */
.page-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted-foreground); font-size: 1.05rem; }

.narrow { max-width: 42rem; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
}

.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.faq-item p, .faq-item li { color: var(--muted-foreground); font-size: 0.96rem; margin: 0; }
.faq-item ul { padding-left: 1.2rem; margin: 0.5rem 0 0; }
.faq-item p + p { margin-top: 0.5rem; }

.guide-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.guide-step .step-num {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(205, 169, 71, 0.12);
  border: 1px solid rgba(205, 169, 71, 0.25);
  color: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.guide-step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.guide-step p, .guide-step li { color: var(--muted-foreground); font-size: 0.96rem; }
.guide-step ul { padding-left: 1.2rem; margin: 0.4rem 0 0; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.support-links {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.support-links h3 { margin: 0 0 1rem; font-size: 1.05rem; }
.support-links ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.support-links li { margin-bottom: 0.65rem; }
.support-links a { color: var(--primary-soft); }
.support-links a:hover { text-decoration: underline; }
.support-links p { color: var(--muted-foreground); font-size: 0.92rem; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--foreground);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row textarea { resize: vertical; min-height: 7rem; }

.form-note { font-size: 0.82rem; color: var(--muted-foreground); margin-top: 0.75rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .support-grid { grid-template-columns: 1fr; }
}
