/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0D1B2A;
  --bg-elevated:  #112233;
  --surface:      #132030;
  --surface2:     #1A2D42;
  --border:       #1E3448;
  --border-accent:rgba(88, 204, 2, 0.35);
  --text:         #f7f7f7;
  --text-muted:   rgba(247,247,247,0.70);
  --text-dim:     rgba(247,247,247,0.45);
  --accent:       #58cc02;
  --accent-dark:  #3d8c01;
  --accent-soft:  rgba(88,204,2,0.12);
  --cyan:         #00C8FF;
  --cyan-soft:    rgba(0,200,255,0.10);
  --red:          #ff4b4b;
  --amber:        #ffc800;
  --radius:       14px;
  --radius-lg:    20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  z-index: 1;

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6edc1a; }

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

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 56px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface);
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 10px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.accent { color: var(--accent); }
.cyan   { color: var(--cyan); }
.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.18s;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--surface);
  border-radius: 36px;
  border: 2px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 6px rgba(88,204,2,0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  width: 70px;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
}
.phone-inner {
  text-align: center;
  padding: 20px;
}
.phone-inner img { width: 80px; margin: 0 auto 16px; }
.phone-inner .grade-badge {
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}
.phone-inner .tagline { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* ── Section base ── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feature-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num  { font-size: 32px; font-weight: 900; color: var(--accent); }
.stat-label{ color: var(--text-muted); font-size: 13px; font-weight: 600; margin-top: 4px; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.about-highlight {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  font-style: italic;
}
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-card-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border-radius: 12px;
  flex-shrink: 0;
}
.about-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.about-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Safety section ── */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.safety-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.safety-item .check {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.safety-item p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Legal pages ── */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-wrap .legal-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.legal-wrap .legal-meta {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-section { margin-top: 36px; }
.legal-section h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  padding-top: 8px;
}
.legal-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 8px;
}
.legal-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.legal-section ul li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  padding-left: 8px;
}
.legal-section ul li::before {
  content: '•';
  color: var(--text-dim);
  flex-shrink: 0;
}
.legal-section .contact-block {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 12px;
}
.legal-section .contact-block p { margin: 0; line-height: 1.8; }
.legal-footer-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}

/* ── Delete Account form ── */
.delete-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.delete-page .delete-header { margin-bottom: 36px; }
.delete-page .delete-icon {
  width: 60px; height: 60px;
  background: rgba(255,75,75,0.12);
  border: 1.5px solid rgba(255,75,75,0.35);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.delete-page h1 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.delete-page .delete-sub { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.delete-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; appearance: none; }
.form-group select:disabled { opacity: 0.7; cursor: not-allowed; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .field-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.form-warn {
  background: rgba(255,200,0,0.08);
  border: 1.5px solid rgba(255,200,0,0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-warn .warn-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.form-warn p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.form-warn p strong { color: var(--amber); }

.btn-danger { background: var(--red); color: #fff; width: 100%; justify-content: center; padding: 15px; font-size: 16px; }
.btn-danger:hover { background: #e03c3c; color: #fff; }
.btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.form-success h2 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.form-error {
  background: rgba(255,75,75,0.08);
  border: 1.5px solid rgba(255,75,75,0.35);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--red);
}

/* ── Footer ── */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 48px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; line-height: 1.65; max-width: 220px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.15s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.social-btn.x-btn { font-weight: 900; font-size: 13px; }

.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--text); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-contact-item a { color: var(--text-muted); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--text-dim); font-size: 12px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 56px 24px 48px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
  }

  /* Hero */
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Phone mockup — hide on mobile, too large and pushes text below fold */
  .hero-visual { display: none; }

  /* Sections */
  .section { padding: 48px 20px; }
  .section h2 { font-size: 24px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .safety-grid   { grid-template-columns: 1fr; }
  .stats-inner   { grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 20px; }
  .stat-num      { font-size: 26px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  /* Legal pages */
  .legal-wrap { padding: 36px 20px 60px; }
  .legal-wrap .legal-title { font-size: 26px; }
  .legal-section h2 { font-size: 15px; }

  /* Delete form */
  .delete-page { padding: 36px 20px 60px; }
  .delete-page h1 { font-size: 24px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero-eyebrow { font-size: 11px; }
  .phone-mockup { width: 190px; height: 380px; }
  .stat-num { font-size: 22px; }
}
