:root {
  --bg: #0A1628;
  --bg-card: #122040;
  --bg-nav: rgba(10, 22, 40, 0.96);
  --border: #1E3550;
  --accent: #4A9EFF;
  --accent-soft: rgba(74, 158, 255, 0.15);
  --text-primary: #E8F4FD;
  --text-secondary: #8BA4BC;
  --text-muted: #4A6880;
  --success: #2ECC71;
}

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

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

a { color: var(--accent); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-primary);
  font-weight: 800; font-size: 54px;
}
.logo-icon { font-size: 66px; }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* HERO */
.hero {
  padding: 90px 0 100px;
  background: linear-gradient(135deg, #0A1628 0%, #0E2040 50%, #0A1628 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 64px;
}
.hero-content { flex: 1; }

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(74, 158, 255, 0.3);
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 28px; text-transform: uppercase;
}
.hero-content h1 {
  font-size: 54px; font-weight: 900; line-height: 1.05;
  margin-bottom: 22px; color: var(--text-primary);
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px; color: var(--text-secondary);
  margin-bottom: 40px; max-width: 460px; line-height: 1.75;
}

/* STORE BUTTONS */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.store-buttons.centered { justify-content: center; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); text-decoration: none;
  padding: 13px 22px; border-radius: 13px;
  transition: all 0.2s; min-width: 168px;
}
.store-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 158, 255, 0.15);
}
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-label { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.store-name { display: block; font-size: 16px; font-weight: 700; }
.coming-soon { font-size: 13px; color: var(--text-muted); }

/* HERO VISUAL */
.hero-visual {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  flex-shrink: 0;
}
.phone-mockup {
  width: 190px; height: 350px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 36px; padding: 18px 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(74,158,255,0.1);
}
.phone-screen {
  background: #061020; border-radius: 22px;
  height: 100%; display: flex; align-items: center; justify-content: center;
}
.screen-content { text-align: center; padding: 16px; width: 100%; }
.screen-score { font-size: 52px; font-weight: 900; color: var(--success); line-height: 1; }
.screen-label { font-size: 11px; color: var(--text-muted); margin: 4px 0 20px; letter-spacing: 0.5px; }
.screen-bars { display: flex; flex-direction: column; gap: 8px; }
.screen-bar { height: 5px; background: var(--accent); border-radius: 3px; opacity: 0.6; }

/* QR */
.qr-section { text-align: center; }
.qr-placeholder {
  width: 110px; height: 110px;
  border: 2px solid var(--border);
  border-radius: 12px; background: var(--bg-card);
  margin: 0 auto 10px;
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 2px; padding: 10px; position: relative;
}
.qr-placeholder::after {
  content: 'Soon'; position: absolute;
  inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  background: rgba(10,22,40,0.7); border-radius: 10px;
}
.qr-dot { background: var(--border); border-radius: 1px; }
.qr-dot.on { background: var(--text-secondary); }
.qr-label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.qr-sub { font-size: 11px; color: var(--text-muted); }

/* FEATURES */
.features { padding: 88px 0; }
.features h2, .how-it-works h2, .cta h2 {
  font-size: 38px; font-weight: 800; text-align: center;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-sub { text-align: center; color: var(--text-secondary); font-size: 17px; margin-bottom: 52px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px; transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--accent); transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(74,158,255,0.1);
}
.feature-icon { font-size: 34px; margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* HOW IT WORKS */
.how-it-works {
  padding: 88px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-top: 52px;
}
.step { text-align: center; max-width: 210px; }
.step-num {
  width: 56px; height: 56px; background: var(--accent);
  color: #fff; border-radius: 50%;
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.step-arrow { font-size: 26px; color: var(--text-muted); padding-top: 18px; }

/* CTA */
.cta { padding: 88px 0; text-align: center; }
.cta p { color: var(--text-secondary); font-size: 17px; margin: 14px 0 36px; }

/* FOOTER */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 52px 0 24px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 36px; flex-wrap: wrap; gap: 28px;
}
.footer-brand { max-width: 260px; }
.footer-brand .nav-logo { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #0E2040, #0A1628);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 44px; text-align: center;
}
.page-header h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.page-header p { color: var(--text-secondary); font-size: 15px; }

/* CONTENT PAGES */
.page-content { max-width: 780px; margin: 0 auto; padding: 64px 24px 80px; }
.page-content h2 {
  font-size: 20px; font-weight: 700;
  margin: 40px 0 14px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  color: var(--text-secondary); font-size: 15px;
  line-height: 1.8; margin-bottom: 16px;
}
.page-content ul {
  color: var(--text-secondary); font-size: 15px;
  line-height: 1.8; margin-bottom: 16px; padding-left: 22px;
}
.page-content li { margin-bottom: 8px; }
.page-content strong { color: var(--text-primary); font-weight: 600; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 28px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.contact-card h2 {
  font-size: 16px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin: 0 0 20px; border: none; padding: 0;
}
.contact-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-size: 15px; color: var(--text-primary); }
.contact-value a { color: var(--accent); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
.notice-box {
  background: var(--accent-soft); border: 1px solid rgba(74,158,255,0.25);
  border-radius: 12px; padding: 20px 24px;
}
.notice-box p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0; }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 7px; }
.form-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px;
  color: var(--text-primary); font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; outline: none;
}
.form-input:focus { border-color: var(--accent); }
.form-input option { background: var(--bg-card); }
textarea.form-input { resize: vertical; }
.form-submit {
  width: 100%; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; padding: 13px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* DEMO PAGE */
.demo-wrap { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.demo-upload-area {
  border: 2px dashed var(--border); border-radius: 16px;
  padding: 48px 24px; text-align: center; cursor: pointer;
  transition: border-color 0.2s; margin-bottom: 24px;
  background: var(--bg-card);
}
.demo-upload-area:hover, .demo-upload-area.drag-over { border-color: var(--accent); }
.demo-upload-area p { color: var(--text-secondary); font-size: 14px; margin-top: 12px; }
.demo-upload-icon { font-size: 48px; }
#demo-preview { max-width: 100%; border-radius: 12px; margin-bottom: 16px; display: none; }
.demo-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.demo-score-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
}
.demo-score-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.demo-score-value { font-size: 28px; font-weight: 800; color: var(--accent); }
.demo-score-bar { height: 6px; background: var(--border); border-radius: 3px; margin-top: 8px; }
.demo-score-fill { height: 100%; border-radius: 3px; background: var(--accent); transition: width 0.6s ease; }
.demo-recs { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.demo-recs h3 { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.demo-rec-item { color: var(--text-secondary); font-size: 14px; line-height: 1.7; padding: 8px 0; border-bottom: 1px solid var(--border); }
.demo-rec-item:last-child { border-bottom: none; padding-bottom: 0; }
.demo-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-disclaimer { font-size: 12px; color: var(--text-muted); font-style: italic; text-align: center; margin-top: 16px; }

@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 48px; text-align: center; }
  .hero-content h1 { font-size: 38px; }
  .hero-sub { max-width: 100%; }
  .store-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .step-arrow { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
}
