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

:root {
  --blue:    #2563EB;
  --blue-dk: #1D4ED8;
  --blue-lt: #EFF6FF;
  --gray-50: #F8FAFC;
  --gray-100:#F1F5F9;
  --gray-600:#475569;
  --gray-800:#1E293B;
  --green:   #16A34A;
  --yellow:  #CA8A04;
  --red:     #DC2626;
  --radius:  16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover  { background: var(--blue-dk); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.65rem 1.4rem; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--blue-lt); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--gray-600);
  padding: 0.7rem 1.5rem; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s;
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; border-radius: 14px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--gray-800);
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.header__nav {
  display: flex; align-items: center; gap: 1.5rem;
  margin-left: auto;
}
.header__nav a:not(.btn-primary):not(.btn-outline) {
  text-decoration: none; color: var(--gray-600);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.header__nav a:not(.btn-primary):not(.btn-outline):hover { color: var(--blue); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--gray-800);
               border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, var(--blue-lt) 0%, #fff 60%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center;
  background: var(--blue-lt); color: var(--blue);
  padding: 0.3rem 0.9rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.grad {
  background: linear-gradient(135deg, var(--blue) 0%, #7C3AED 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 480px; margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero__note { font-size: 0.8rem; color: var(--gray-600); }

/* Phone mockup */
.hero__phone { display: flex; justify-content: center; }
.phone-mock {
  width: 240px; height: 420px;
  background: var(--gray-800);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(37,99,235,.25), 0 4px 16px rgba(0,0,0,.15);
}
.phone-mock__screen {
  background: #fff; border-radius: 26px;
  height: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mock-result { padding: 1.5rem; width: 100%; }
.mock-verdict {
  font-weight: 700; font-size: 0.9rem; padding: 0.4rem 0.8rem;
  border-radius: 8px; display: inline-block; margin-bottom: 0.75rem;
}
.mock-verdict--safe { background: #F0FDF4; color: var(--green); }
.mock-score {
  font-size: 3rem; font-weight: 800; color: var(--green);
  line-height: 1; margin-bottom: 1rem;
}
.mock-list { display: flex; flex-direction: column; gap: 6px; }
.mock-item {
  font-size: 0.78rem; padding: 0.4rem 0.7rem;
  border-radius: 8px; font-weight: 500;
}
.mock-item--safe    { background: #F0FDF4; color: var(--green); }
.mock-item--neutral { background: #FEFCE8; color: var(--yellow); }
.mock-item--danger  { background: #FEF2F2; color: var(--red); }

/* ===== Section title ===== */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  text-align: center; margin-bottom: 3rem;
}

/* ===== How it works ===== */
.how { padding: 5rem 0; background: var(--gray-50); }
.steps {
  display: flex; align-items: flex-start;
  gap: 1rem; justify-content: center;
}
.step {
  flex: 1; max-width: 280px; text-align: center;
}
.step__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p  { font-size: 0.9rem; color: var(--gray-600); }
.step__arrow {
  font-size: 1.5rem; color: var(--gray-600);
  padding-top: 1.5rem; flex-shrink: 0;
}

/* ===== Categories ===== */
.categories { padding: 5rem 0; }
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-card {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; transition: box-shadow 0.2s, border-color 0.2s;
}
.cat-card:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,.1);
  border-color: var(--blue);
}
.cat-card__emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.cat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.cat-card p  { font-size: 0.875rem; color: var(--gray-600); }

/* ===== Pricing ===== */
.pricing { padding: 5rem 0; background: var(--gray-50); }
.plans {
  display: flex; gap: 1.5rem; justify-content: center;
  align-items: flex-start;
}
.plan {
  background: #fff; border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 2rem;
  flex: 1; max-width: 340px; position: relative;
}
.plan--premium {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,.15);
}
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  padding: 0.2rem 1rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  white-space: nowrap;
}
.plan__name   { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan__price  { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__period { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.plan__features { list-style: none; margin-bottom: 1.5rem; }
.plan__features li {
  padding: 0.4rem 0; font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}
.plan__features li:last-child { border-bottom: none; }
.plan__features .dim { color: var(--gray-600); }
.plan .btn-primary, .plan .btn-outline { width: 100%; }

/* ===== Footer ===== */
.footer { padding: 3rem 0; border-top: 1px solid var(--gray-100); }
.footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; text-align: center;
}
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 0.875rem; color: var(--gray-600); text-decoration: none;
}
.footer__links a:hover { color: var(--blue); }
.footer__copy { font-size: 0.8rem; color: var(--gray-600); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 3rem 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__phone { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .plans { flex-direction: column; align-items: center; }
  .plan { width: 100%; max-width: 400px; }

  .header__nav {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-100);
    padding: 1rem 1.5rem; gap: 1rem;
  }
  .header__nav.open { display: flex; }
  .burger { display: flex; }
}
