/* Photo Booth Studio — booth-studio.com */
:root {
  --purple-950: #1d0640;
  --purple-900: #2a0a54;
  --purple-700: #4b0fa8;
  --purple-600: #5b21b6;
  --purple-500: #7c3aed;
  --purple-100: #ede9fe;
  --purple-50: #f7f4ff;
  --gold: #f6c34c;
  --gold-dark: #d9a12e;
  --ink: #241b35;
  --ink-soft: #5c5470;
  --line: #e6e0f2;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(43, 10, 84, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.site-nav a:hover { color: var(--purple-600); }
.btn-nav {
  background: var(--purple-600); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 700;
}
.btn-nav:hover { background: var(--purple-700); }
@media (max-width: 760px) { .site-nav a:not(.btn-nav) { display: none; } }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 14px 30px; font-size: 1.02rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--purple-950); box-shadow: 0 8px 24px rgba(246, 195, 76, 0.35); }
.btn-gold:hover { background: #f8cd66; }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.appstore-badge img { height: 54px; width: auto; }
.appstore-badge { display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(124, 58, 237, 0.55), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(246, 195, 76, 0.18), transparent 55%),
    linear-gradient(155deg, var(--purple-950) 0%, var(--purple-900) 45%, var(--purple-700) 100%);
  color: #fff; overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: var(--gold); font-weight: 700; font-size: 0.85rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 18px; font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 34em; }
.hero-points { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.hero-points li { padding-left: 30px; position: relative; color: rgba(255,255,255,0.92); font-weight: 500; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--purple-950); background: var(--gold); border-radius: 50%;
  width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; margin-top: 3px;
}
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-rating { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.hero-rating .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.hero-shot { position: relative; }
.hero-shot img {
  border-radius: 32px; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  transform: rotate(2.5deg); border: 6px solid rgba(255,255,255,0.08);
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 56px; }
  .hero-shot { max-width: 300px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-tint { background: var(--purple-50); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 1.06rem; }
.eyebrow {
  display: inline-block; color: var(--purple-600); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem; margin-bottom: 10px;
}

/* ---------- Download strip ---------- */
.download-strip { padding: 40px 0; background: var(--purple-950); color: #fff; }
.download-strip .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.download-strip .dl-copy { display: flex; align-items: center; gap: 16px; }
.download-strip img.dl-icon { width: 56px; height: 56px; border-radius: 13px; }
.download-strip h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.download-strip p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

/* ---------- Screenshots ---------- */
.shots-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start;
}
.shot-card { text-align: center; }
.shot-card img {
  border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.shot-card img:hover { transform: translateY(-6px); }
.shot-card figcaption { margin-top: 14px; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.shots-ipad { margin-top: 40px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .shots-row { grid-template-columns: 1fr 1fr; }
  .shots-row .shot-card:last-child { grid-column: span 2; max-width: 60%; margin: 0 auto; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; box-shadow: 0 4px 18px rgba(43,10,84,0.06);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.feature .f-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--purple-100); font-size: 1.3rem; margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-500); }
.guide-card .g-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--purple-600); background: var(--purple-100);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.guide-card h3 { font-size: 1.04rem; line-height: 1.35; letter-spacing: -0.01em; }
.guide-card p { margin-top: 8px; color: var(--ink-soft); font-size: 0.9rem; }
.guide-card .g-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--purple-600); font-size: 0.9rem; }
@media (max-width: 860px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px;
}
.faq-list details[open] { border-color: var(--purple-500); box-shadow: 0 6px 24px rgba(43,10,84,0.08); }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; padding: 16px 0;
  list-style: none; position: relative; padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--purple-600); font-size: 1.5rem; font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-a { padding: 0 0 18px; color: var(--ink-soft); }
.faq-list .faq-a a { font-weight: 700; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(900px 400px at 15% -20%, rgba(246,195,76,0.22), transparent 55%),
    linear-gradient(140deg, var(--purple-700), var(--purple-950));
  color: #fff; text-align: center; border-radius: 28px; padding: 64px 32px;
}
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; }
.cta p { margin: 14px auto 28px; color: rgba(255,255,255,0.85); max-width: 40em; font-size: 1.08rem; }
.cta .cta-actions { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-section { padding-bottom: 90px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-950); color: rgba(255,255,255,0.75); padding: 56px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide article pages ---------- */
.article-hero {
  background: linear-gradient(150deg, var(--purple-950), var(--purple-700));
  color: #fff; padding: 56px 0 48px;
}
.breadcrumbs { font-size: 0.85rem; margin-bottom: 18px; color: rgba(255,255,255,0.7); }
.breadcrumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.article-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 21em; }
.article-hero .article-lede { margin-top: 16px; font-size: 1.12rem; color: rgba(255,255,255,0.85); max-width: 44em; }
.article-meta { margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 56px 0 72px; }
.article-body { max-width: 46em; min-width: 0; }
.article-body h2 { font-size: 1.55rem; letter-spacing: -0.015em; margin: 40px 0 14px; line-height: 1.25; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; color: #3b3350; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: #3b3350; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body img { border-radius: 18px; box-shadow: var(--shadow); margin: 26px auto; max-width: 320px; }
.article-body table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 0.95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--purple-50); }
.tip-box {
  background: var(--purple-50); border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 18px 20px; margin: 24px 0;
}
.tip-box strong { color: var(--purple-700); }

.article-aside { position: sticky; top: 92px; align-self: start; }
.aside-card {
  background: var(--purple-50); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; text-align: center;
}
.aside-card img.aside-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 14px; box-shadow: 0 8px 22px rgba(43,10,84,0.2); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.aside-card p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 16px; }
.aside-card .stars { color: var(--gold-dark); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 4px; }
.aside-links { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.aside-links h3 { font-size: 0.95rem; margin-bottom: 12px; }
.aside-links ul { list-style: none; }
.aside-links li { margin-bottom: 10px; font-size: 0.9rem; line-height: 1.4; }
.aside-links a { text-decoration: none; font-weight: 600; }
.aside-links a:hover { text-decoration: underline; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

.article-cta {
  margin-top: 44px; background: linear-gradient(140deg, var(--purple-700), var(--purple-950));
  border-radius: 20px; color: #fff; padding: 36px 32px; text-align: center;
}
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.45rem; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }
