/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --border: #1e1e2e;
  --accent: #6c63ff;
  --accent2: #9d97ff;
  --text: #e8e8f0;
  --muted: #7a7a9a;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* === TYPOGRAPHY === */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--muted); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo-img { height: 44px; width: auto; display: block; }

/* Hero logo */
.hero-logo {
  height: 140px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  mix-blend-mode: screen;
  filter: contrast(1.4) brightness(1.1) drop-shadow(0 0 16px rgba(108, 99, 255, 0.5));
}

/* Why section watermark */
.why { position: relative; overflow: hidden; }
.why-watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.why-watermark img { height: 420px; width: auto; mix-blend-mode: screen; }
.why .container { position: relative; z-index: 1; }

/* === HERO === */
.hero {
  padding: 60px 0 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--accent2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-proof span::before { content: ''; }

/* === SECTION LABELS === */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* === WHAT WE DO === */
.what {
  padding: 80px 0;
  background: var(--bg2);
}
.what h2 { margin-bottom: 48px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; color: var(--white); }
.card p { font-size: 0.9rem; }

/* === PRICING === */
.pricing { padding: 80px 0; }
.pricing h2 { margin-bottom: 48px; }
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.tier {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.tier-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(108,99,255,0.08) 0%, var(--bg3) 60%);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-name { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.tier-price { font-size: 2.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.tier-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.tier ul { list-style: none; margin-bottom: 28px; }
.tier ul li { font-size: 0.9rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.tier ul li:last-child { border-bottom: none; }
.tier .btn { width: 100%; justify-content: center; }

/* === WHY === */
.why {
  padding: 80px 0;
  background: var(--bg2);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text h2 { margin-bottom: 20px; }
.why-text p { margin-bottom: 14px; font-size: 0.95rem; }
.why-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stat {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.stat-label { font-size: 0.875rem; color: var(--muted); }

/* === CONTACT === */
.contact { padding: 80px 0; }
.contact h2 { margin-bottom: 12px; }
.contact-sub { margin-bottom: 40px; font-size: 1rem; }
.contact-form { max-width: 640px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 14px 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form .btn { margin-top: 4px; }
.contact-alt { margin-top: 20px; font-size: 0.875rem; color: var(--muted); }
.contact-alt a { color: var(--accent); text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-copy a { color: var(--muted); text-decoration: none; }
.footer-copy a:hover { color: var(--accent); }

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Mobile */
@media (max-width: 600px) {

  /* Base */
  body { font-size: 15px; }
  .container { padding: 0 18px; }

  /* Nav */
  .nav { padding: 12px 0; }
  .nav-inner { gap: 10px; }
  .logo { font-size: 1rem; }
  .btn-sm { padding: 8px 14px; font-size: 0.82rem; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero-logo { height: 80px; margin-bottom: 18px; }
  .hero-badge { font-size: 0.78rem; padding: 5px 12px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 14px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 28px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-proof { flex-direction: column; gap: 6px; align-items: center; font-size: 0.82rem; }

  /* Sections */
  .what, .pricing, .why, .contact { padding: 48px 0; }
  h2 { font-size: 1.5rem; }
  .section-label { font-size: 0.75rem; }
  .what h2, .pricing h2 { margin-bottom: 28px; }

  /* Cards — single column, tighter */
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; }
  .card-icon { font-size: 1.5rem; margin-bottom: 10px; }
  .card h3 { font-size: 1rem; }

  /* Pricing */
  .tiers { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
  .tier { padding: 24px 20px; }
  .tier-price { font-size: 2rem; }
  .tier-featured { margin-top: 8px; }
  .tier ul li { font-size: 0.875rem; }

  /* Why */
  .why-inner { grid-template-columns: 1fr; gap: 28px; }
  .why-stats { flex-direction: column; gap: 16px; }
  .stat { border-left-width: 2px; padding-left: 14px; }
  .stat-num { font-size: 1.6rem; }
  .why-watermark { display: none; } /* hide on mobile — too distracting */

  /* Contact */
  .contact h2 { margin-bottom: 10px; }
  .contact-sub { font-size: 0.9rem; margin-bottom: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* critical: prevents iOS auto-zoom on focus */
    padding: 13px 14px;
  }
  .contact-form .btn { width: 100%; justify-content: center; padding: 14px; }
  .contact-alt { font-size: 0.85rem; text-align: center; }

  /* Footer */
  .footer { padding: 24px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .footer-links a { font-size: 0.82rem; }
  .footer-copy { font-size: 0.75rem; line-height: 1.5; }
}
