/* Base */
:root {
  --bg: #0b0e14;
  --muted: #b7c1d6;
  --text: #f1f5ff;
  --brand: #6ddcff;
  --brand-2: #7f60ff;
  --border: #1f2536;
  --section: #0e121a;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 500;
}
img { display:block; max-width:100%; height:auto; }
a { color: inherit; text-decoration: none; }
.section { padding: 88px 20px; background: var(--section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section{ position: relative; }
.section::before{ content:""; position:absolute; inset:0; pointer-events:none; background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="128" height="128" filter="url(%23n)" opacity="0.03"/></svg>'); background-size: 200px 200px; }
.section-title { text-align:center; font-size: 34px; margin: 0 0 36px; letter-spacing: .2px; }
.
.section-title { position: relative; display:inline-block; }
.section-title.reveal.show { animation: titleGlow 1s ease forwards; }
@keyframes titleGlow { from { text-shadow: none; } to { text-shadow: 0 4px 24px rgba(125,96,255,.35); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(11,14,20,.7); border-bottom: 1px solid var(--border); }
.nav { max-width: 980px; margin: 0 auto; padding: 12px 16px; display:flex; align-items:center; gap:16px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; }
.brand-icon { width:28px; height:28px; border-radius:6px; }
.brand-name { letter-spacing:.2px; }
.nav-links { margin-left:auto; display:flex; gap:22px; list-style:none; padding:0; }
.nav-toggle { display:none; margin-left:auto; background:transparent; color:var(--text); border:0; font-size:20px; }

/* Hero */
.hero { padding: 72px 20px 52px; background: linear-gradient(180deg, #0b0e14 0%, #0f1420 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(125,96,255,0.1) 0%, transparent 70%); animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-inner { max-width:980px; margin:0 auto; display:grid; grid-template-columns: 1.05fr .95fr; gap:44px; align-items:center; position: relative; z-index: 2; }
/* Trust and Conversion Elements */
.trust-badges { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.trust-badge { background: rgba(0,255,136,0.1); color: #00ff88; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; border: 1px solid rgba(0,255,136,0.2); }
.gradient-text { font-size: 52px; line-height:1.1; margin:0 0 18px; background: linear-gradient(135deg, #ffffff, #c9d2ff 45%, #8ae7ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.hero-subtitle { color: var(--text); margin:0 0 16px; font-size: 18px; line-height: 1.6; font-weight: 500; }
.urgency-banner { background: linear-gradient(90deg, #ff4757, #ff6b7a); border-radius: 25px; padding: 12px 20px; margin-bottom: 24px; text-align: center; }
.urgency-text { color: white; font-weight: 600; font-size: 15px; }
.cta-info { display: flex; flex-direction: column; margin-left: 16px; }
.free-text { color: var(--brand); font-weight: 700; font-size: 16px; }
.subtitle { color: var(--muted); font-size: 14px; }
.cta-row { display:flex; gap:16px; align-items:center; }
.apple-badge { transition: transform 0.3s ease; }
.apple-badge:hover { transform: scale(1.05); }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(109, 220, 255, 0.4); } 70% { box-shadow: 0 0 0 20px rgba(109, 220, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(109, 220, 255, 0); } }
.apple-badge img { height:64px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.apple-badge.large img { height:72px; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.floating-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 20px; padding: 24px; width: 320px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.status-indicator { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #00ff88, #00cc6a); box-shadow: 0 0 10px rgba(0,255,136,0.5); }
.card-header h4 { margin: 0; font-size: 16px; font-weight: 600; }
.confidence-meter { margin-bottom: 16px; }
.meter-track { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.meter-fill { height: 100%; background: linear-gradient(90deg, #ff4757, #ff6b7a); transition: width 2s ease; border-radius: 4px; }
.confidence-score { font-size: 14px; color: var(--brand); font-weight: 600; }
.detection-badges { display: flex; gap: 8px; }
.badge { padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ai-badge { background: rgba(255,71,87,0.2); color: #ff4757; border: 1px solid rgba(255,71,87,0.3); }
.face-badge { background: rgba(255,107,122,0.2); color: #ff6b7a; border: 1px solid rgba(255,107,122,0.3); }

/* Floating Elements */
.floating-elements { position: absolute; width: 100%; height: 100%; }
.floating-icon { position: absolute; width: 60px; height: 60px; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand); }
.icon-1 { top: 20%; left: 10%; animation: float 4s ease-in-out infinite; }
.icon-2 { top: 60%; right: 15%; animation: float 5s ease-in-out infinite reverse; }
.icon-3 { bottom: 30%; left: 20%; animation: float 6s ease-in-out infinite; }

/* Features */
.feature-grid { max-width:980px; margin:0 auto; display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.feature-card { background: rgba(255,255,255,.03); border:1px solid var(--border); border-radius:14px; padding:20px; min-height:160px; box-shadow: 0 8px 28px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.feature-card i { font-size:22px; width:40px; height:40px; display:grid; place-items:center; border-radius:10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color:#0b0d13; margin-bottom:10px; }
.feature-card h3 { margin:8px 0 6px; font-size:18px; }
.feature-card p { margin:0; color:var(--muted); font-size:15px; }

/* How It Works */
.how-it-works .steps-container { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.step-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; padding: 32px 24px; text-align: center; min-width: 240px; flex: 1; max-width: 280px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #000; font-size: 14px; }
.step-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; color: #000; }
.step-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.step-arrow { font-size: 24px; color: var(--brand); }

/* Stats */
.stats .stats-container { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: 42px; font-weight: 700; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: 16px; font-weight: 500; }

/* Lightbox */
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.85); display:grid; place-items:center; z-index:50; }
.lightbox.hidden { display:none; }
.lightbox-img { max-width: min(92vw, 980px); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.lightbox-close { position:absolute; top:18px; right:18px; background:rgba(255,255,255,.08); color:#fff; border:1px solid var(--border); width:40px; height:40px; border-radius:50%; display:grid; place-items:center; cursor:pointer; }
.lb-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.1); color:#fff; border:1px solid var(--border); width:44px; height:44px; border-radius:50%; display:grid; place-items:center; cursor:pointer; }
.lb-prev { left:24px; }
.lb-next { right:24px; }

/* Download */
.download-inner { max-width:980px; margin:0 auto; display:grid; grid-template-columns: 1fr; gap:32px; align-items:center; }
.download p { color:var(--muted); margin-bottom:16px; }
.download-shot img { border-radius:14px; border:1px solid var(--border); box-shadow: 0 16px 60px rgba(0,0,0,.35); max-width: 360px; margin-left:auto; }
.benefits-list { margin: 24px 0 32px; }
.benefit-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.benefit-item i { color: var(--brand); font-size: 18px; }
.benefit-item span { color: var(--text); font-size: 16px; }

/* Social Proof */
.social-proof { margin: 24px 0; }
.testimonial { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center; }
.stars { font-size: 18px; margin-bottom: 12px; }
.testimonial p { margin: 0 0 8px; font-style: italic; color: var(--text); }
.testimonial cite { color: var(--muted); font-size: 14px; }

/* Final CTA */
.final-cta { text-align: center; }
.download-stats { display: flex; justify-content: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.download-stats .stat { color: var(--muted); font-size: 14px; font-weight: 500; }
.download-urgency { font-size: 18px; font-weight: 500; color: var(--text); }

/* Footer */
.site-footer { border-top:1px solid var(--border); padding:22px; text-align:center; color:var(--muted); background: #0b0e14; }

/* (removed) Mobile sticky CTA styles */

/* Animations */
.reveal { opacity:0; transform: translateY(12px); transition: all .45s ease; }
.reveal.show { opacity:1; transform:none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap:28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-inner { grid-template-columns: 1fr; }
  .nav-toggle { display:inline-grid; }
  .nav-links { display:none; }
  .nav.open .nav-links { display:flex; position:absolute; top:56px; right:16px; background: rgba(11,14,20,.95); border:1px solid var(--border); padding:12px; border-radius:10px; flex-direction:column; gap:12px; }
  .steps-container { flex-direction: column; gap: 20px !important; }
  .step-arrow { transform: rotate(90deg); }
  .stats-container { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
}

@media (max-width: 640px) {
  .section { padding:64px 16px; }
  .gradient-text { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .apple-badge img { height:60px; }
  .stats-container { grid-template-columns: 1fr !important; gap: 20px; }
  .floating-card { width: 280px; padding: 20px; }
  .hero-visual { min-height: 320px; }
  .step-arrow { display: none; }
  .trust-badges { justify-content: center; }
  .cta-row { flex-direction: column; align-items: center; gap: 12px; }
  .cta-info { margin-left: 0; text-align: center; }
  .download-stats { flex-direction: column; gap: 8px; }
  .urgency-banner { margin: 16px 0; }
  .urgency-text { font-size: 14px; }
  .modal-content { width: 95%; padding: 16px; max-width: 260px; }
  .modal-body h3 { font-size: 15px; }
  .step-text { font-size: 13px; }
  .done { font-size: 12px; }
}

/* Prose (privacy) */
.prose { max-width: 820px; margin: 0 auto; color: var(--text); }
.prose .muted { color: var(--muted); }
.prose h2 { font-size: 30px; margin: 0 0 10px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose p { margin: 8px 0 12px; color: var(--text); }
.prose ul { margin: 8px 0 16px 18px; color: var(--muted); }
.prose a { color: var(--brand); }

/* Clean Minimal TikTok Modal */
.bypass-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}
.bypass-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: scale(1);
  transition: transform 0.3s ease;
}
.bypass-modal.hidden .modal-content {
  transform: scale(0.9);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}
.modal-body p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.steps {
  margin-bottom: 16px;
}
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.step-num {
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.step-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.step-text strong {
  color: var(--brand);
}

.done {
  text-align: center;
  font-size: 13px;
  color: #00ff88;
  padding: 8px;
  background: rgba(0,255,136,0.1);
  border-radius: 6px;
  border: 1px solid rgba(0,255,136,0.2);
}

/* In-App Browser Warning Banner */
.in-app-banner { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(90deg, #ff4757, #ff6b7a); color: white; z-index: 999; padding: 12px 16px; font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.banner-content { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 980px; margin: 0 auto; }
.banner-close { background: none; border: none; color: white; font-size: 20px; cursor: pointer; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; }
.banner-close:hover { background: rgba(255,255,255,0.2); }
.in-app-banner + .site-header { margin-top: 50px; }

/* Contact Form Styles */
.contact-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-subtitle {
  text-align: center;
  color: var(--muted);
  margin: -10px 0 30px;
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(109,220,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(183,193,214,0.5);
}

.submit-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(109,220,255,0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-status.loading,
.form-status.success,
.form-status.error {
  display: block;
}

.form-status.loading {
  background: rgba(109,220,255,0.1);
  border: 1px solid rgba(109,220,255,0.2);
  color: var(--brand);
}

.form-status.success {
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.2);
  color: #00ff88;
}

.form-status.error {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.2);
  color: #ff4757;
}

.alternative-contact {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.alternative-contact a {
  color: var(--brand);
  text-decoration: underline;
}

.alternative-contact a:hover {
  color: var(--brand-2);
}
