/* Profile Camera — marketing site styles. Palette mirrors the app. */
:root {
  --bg: #0b0f14;
  --surface: #111820;
  --card: #18212b;
  --primary: #0a84ff;
  --green: #30d158;
  --orange: #ff9f0a;
  --purple: #bf5af2;
  --danger: #ff453a;
  --text: #f5f7fa;
  --text-2: #a1aab5;
  --border: #263241;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.muted { color: var(--text-2); }
.accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: .92; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 15, 20, .72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--purple));
}
.brand .logo svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 480px;
  background: radial-gradient(60% 80% at 30% 0%, rgba(10, 132, 255, .22), transparent 70%),
              radial-gradient(50% 70% at 85% 10%, rgba(191, 90, 242, .16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(48, 209, 88, .12); color: var(--green);
  border: 1px solid rgba(48, 209, 88, .25); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(135deg, #5ab0ff, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin-top: 20px; font-size: 19px; color: var(--text-2); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-2); }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; width: 280px; height: 580px; margin: 0 auto;
  background: #000; border-radius: 44px; padding: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.02);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #1a1f27, #0b0f14);
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #000; border-radius: 14px; z-index: 3;
}
.cam-top { display: flex; justify-content: space-between; padding: 22px 18px 0; color: #fff; opacity: .9; }
.cam-top svg { width: 22px; height: 22px; }
.cam-view { flex: 1; display: grid; place-items: center; position: relative; }
.cam-view .frame-grid {
  position: absolute; inset: 40px 24px; border: 1px solid rgba(255,255,255,.08);
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; z-index: 2;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.chip .dot { width: 18px; height: 18px; border-radius: 6px; background: var(--primary); display: grid; place-items: center; }
.chip .dot svg { width: 11px; height: 11px; }
.cam-bottom { padding: 18px 0 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cam-modes { display: flex; gap: 18px; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.cam-modes .on { color: var(--orange); }
.cam-modes .off { color: rgba(255,255,255,.5); }
.cam-row { display: flex; align-items: center; gap: 40px; }
.cam-thumb { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(135deg, #2a3340, #18212b); }
.shutter { width: 62px; height: 62px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter span { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.cam-flip { width: 34px; height: 34px; color: #fff; opacity: .9; }
.toast {
  position: absolute; bottom: 150px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 4;
  padding: 10px 12px; border-radius: 14px; background: rgba(24,33,43,.85);
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
  animation: floaty 3.4s ease-in-out infinite;
}
.toast .tn { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg,#34d399,#0a84ff); }
.toast .tt { font-size: 12px; }
.toast .tt b { display: block; font-size: 13px; }
@keyframes floaty { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); letter-spacing: -.02em; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(10,132,255,.5); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* tints */
.t-blue { background: rgba(10,132,255,.14); color: var(--primary); }
.t-green { background: rgba(48,209,88,.14); color: var(--green); }
.t-orange { background: rgba(255,159,10,.14); color: var(--orange); }
.t-purple { background: rgba(191,90,242,.14); color: var(--purple); }
.t-red { background: rgba(255,69,58,.14); color: var(--danger); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 12px; }
.step .num {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: var(--surface); border: 1px solid var(--border); color: var(--primary);
}
.step h3 { font-size: 17px; }
.step p { color: var(--text-2); font-size: 15px; margin-top: 6px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.plan.pro { border-color: rgba(255,159,10,.5); background: linear-gradient(180deg, rgba(255,159,10,.06), var(--card)); }
.plan .tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); }
.plan.pro .tag { color: var(--orange); }
.plan h3 { font-size: 24px; margin-top: 6px; }
.plan ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.plan li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
.plan li .check { color: var(--green); }
.plan li .star { color: var(--orange); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  font-size: 16px; font-weight: 600; padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .plus { color: var(--text-2); font-size: 22px; transition: transform .2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-card {
  background: linear-gradient(135deg, rgba(10,132,255,.16), rgba(191,90,242,.14));
  border: 1px solid var(--border); border-radius: 28px; padding: 56px 28px;
}
.cta-card h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.cta-card p { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.cta-card .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--text-2); font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 22px; }

/* ---------- Legal page ---------- */
.legal { padding: 64px 0; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.legal .eff { color: var(--text-2); margin-top: 8px; font-size: 14px; }
.legal h2 { font-size: 21px; margin-top: 36px; font-weight: 700; }
.legal p, .legal li { color: var(--text-2); margin-top: 12px; font-size: 16px; }
.legal ul { margin-top: 8px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--primary); }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--text-2); font-size: 14px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .features, .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 64px; left: 0; right: 0; padding: 20px 24px;
    background: var(--surface); border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
