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

:root {
  --primary:   #667eea;
  --secondary: #764ba2;
  --dark:      #1a1a2e;
  --text:      #2c3e50;
  --muted:     #666;
  --light-bg:  #f7f8fc;
  --radius:    12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  padding: 12px 24px;
  display: flex; align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 34px; }
.nav-logo span { font-size: 19px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 6px 14px; border-radius: 7px; font-size: 14px; font-weight: 500;
  text-decoration: none; color: var(--muted); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #f0f2ff; }
.nav-links a.nav-login {
  color: var(--primary); border: 2px solid var(--primary); font-weight: 600;
  padding: 5px 14px; margin-left: 6px;
}
.nav-links a.nav-login:hover { background: var(--primary); color: #fff; }
.nav-burger {
  display: none; background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--text); margin-left: auto; padding: 4px 8px;
}
.nav-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #eee;
  flex-direction: column; padding: 8px 16px 16px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { padding: 10px 8px; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.nav-drawer a:last-child { border-bottom: none; }

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  nav { position: sticky; flex-wrap: wrap; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; padding: 52px 24px; text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p  { font-size: 1rem; opacity: .88; max-width: 480px; margin: 0 auto; }

/* ── HERO (home) ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; padding: 64px 24px 72px; text-align: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px; padding: 4px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.2;
  margin-bottom: 16px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero p {
  font-size: clamp(.95rem, 2.5vw, 1.15rem); opacity: .9;
  max-width: 520px; margin: 0 auto 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-hero-primary {
  padding: 13px 28px; border-radius: 10px; background: #fff; color: var(--primary);
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); transition: transform .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-wa {
  padding: 13px 28px; border-radius: 10px; background: #25d366; color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: background .2s;
}
.btn-hero-wa:hover { background: #1ebe5d; }
.hero-note { margin-top: 22px; font-size: 13px; opacity: .75; }

/* ── SECTIONS ── */
.section { padding: 56px 24px; }
.section-inner { max-width: 1040px; margin: 0 auto; }
.section-label {
  text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--primary); text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  text-align: center; font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800; color: var(--text); margin-bottom: 10px;
}
.section-sub {
  text-align: center; font-size: .95rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 40px;
}
.how-section { background: var(--light-bg); }
.alt-section  { background: var(--light-bg); }

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--light-bg); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p  { font-size: 13.5px; color: var(--muted); }

/* ── MODULE ROWS (product page) ── */
.module-row {
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
  margin-bottom: 56px;
}
.module-row.reverse { flex-direction: row-reverse; }
.module-visual {
  flex: 0 0 auto; width: 200px; height: 200px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.module-text { flex: 1; min-width: 240px; }
.module-tag {
  display: inline-block; background: #eef0ff; color: var(--primary);
  border-radius: 50px; padding: 3px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px;
}
.module-text h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.module-text p  { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.module-bullets { list-style: none; }
.module-bullets li {
  font-size: .9rem; color: var(--muted); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.module-bullets li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── FOR WHOM (product page) ── */
.whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.whom-card {
  border: 2px solid #e8ebf0; border-radius: var(--radius);
  padding: 22px 16px; text-align: center;
  transition: border-color .2s;
}
.whom-card:hover { border-color: var(--primary); }
.whom-card .whom-icon { font-size: 34px; margin-bottom: 10px; }
.whom-card h4 { font-size: 14px; font-weight: 700; }

/* ── HOW IT WORKS ── */
.steps-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; align-items: flex-start;
}
.step { flex: 1; min-width: 190px; max-width: 240px; text-align: center; padding: 8px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p  { font-size: 13.5px; color: var(--muted); }
.step-arrow { font-size: 22px; color: var(--primary); margin-top: 12px; flex-shrink: 0; }
@media (max-width: 600px) { .step-arrow { display: none; } }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; text-align: center; padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p  { font-size: .95rem; opacity: .9; max-width: 440px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-cta-white {
  padding: 13px 28px; border-radius: 10px; background: #fff; color: var(--primary);
  font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s;
}
.btn-cta-white:hover { transform: translateY(-2px); }
.btn-cta-wa {
  padding: 13px 28px; border-radius: 10px; background: #25d366; color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: background .2s;
}
.btn-cta-wa:hover { background: #1ebe5d; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-box {
  background: var(--light-bg); border-radius: var(--radius); padding: 32px;
}
.contact-form-box h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid #dde1ea; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%; padding: 13px; border-radius: 10px;
  background: #25d366; color: #fff; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s; margin-top: 4px;
}
.btn-submit:hover { background: #1ebe5d; }

.contact-info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item-body strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-item-body a, .contact-item-body span { font-size: 14px; color: var(--muted); text-decoration: none; display: block; }
.contact-item-body a:hover { color: var(--primary); }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: 32px 24px 24px; text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 28px; filter: brightness(0) invert(1); }
.footer-logo span { font-size: 17px; font-weight: 700; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 14px; }
.footer-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 16px; }
.footer-contacts a {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: 13.5px;
  display: flex; align-items: center; gap: 5px; transition: color .2s;
}
.footer-contacts a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

/* ── FLOATING WA ── */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: #25d366; color: #fff;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
