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

:root {
  --purple:       #6C47FF;
  --purple-dark:  #4F35CC;
  --purple-light: #F0ECFF;
  --purple-mid:   #E8E0FF;
  --dark:         #16123A;
  --text:         #3D3D5C;
  --muted:        #7B7B9E;
  --white:        #FFFFFF;
  --radius:       14px;
  --shadow:       0 4px 24px rgba(108,71,255,.12);
  --transition:   .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

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

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(108,71,255,.35);
}
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 8px 28px rgba(108,71,255,.45); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple-light); }

.btn-white {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108,71,255,.08);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--purple); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 148px 0 96px;
  background: linear-gradient(145deg, #faf9ff 0%, #f0ecff 50%, #e8f4fd 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,71,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-light);
  color: var(--purple);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-tag-dot {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--purple); }
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ── Hero mockup ────────────────────────────────────────── */
.hero-visual {
  position: relative;
}
.mockup {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(108,71,255,.18), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
  border: 1px solid rgba(108,71,255,.1);
}
.mockup-bar {
  background: var(--purple);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.mockup-title {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}
.mockup-body { padding: 20px; }
.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--purple-light);
}
.mockup-row:nth-child(2) { background: #fff3e0; }
.mockup-row:nth-child(3) { background: #e8f5e9; }
.mockup-row:nth-child(4) { background: var(--purple-light); }
.mockup-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.mockup-row:nth-child(2) .mockup-avatar { background: #FF9800; }
.mockup-row:nth-child(3) .mockup-avatar { background: #4CAF50; }
.mockup-info { flex: 1; }
.mockup-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.mockup-service { font-size: 11px; color: var(--muted); }
.mockup-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}
.mockup-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}
.badge-green { background: #e8f5e9; color: #388e3c; }
.badge-yellow { background: #fff8e1; color: #f57c00; }
.badge-purple { background: var(--purple-light); color: var(--purple); }

.mockup-footer {
  padding: 0 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-today {
  font-size: 12px;
  color: var(--muted);
}
.mockup-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}

.hero-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid rgba(108,71,255,.08);
}
.badge-top-left { top: -20px; left: -30px; }
.badge-bottom-right { bottom: -20px; right: -30px; }
.badge-icon { font-size: 20px; }

/* ── Section base ───────────────────────────────────────── */
section { padding: 96px 0; }
.section-tag {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.text-center { text-align: center; }

/* ── For Who ────────────────────────────────────────────── */
.forwho { background: var(--white); }
.forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.forwho-card {
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid rgba(108,71,255,.1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.forwho-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.forwho-emoji { font-size: 40px; margin-bottom: 16px; }
.forwho-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.forwho-desc { font-size: 14px; color: var(--muted); }

/* ── Features ───────────────────────────────────────────── */
.features { background: linear-gradient(180deg, #faf9ff 0%, var(--white) 100%); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(108,71,255,.1);
  box-shadow: 0 2px 12px rgba(108,71,255,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(108,71,255,.25);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--purple-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── How it works ───────────────────────────────────────── */
.howitworks { background: var(--purple-light); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-mid), var(--purple), var(--purple-mid));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(108,71,255,.35);
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-desc { font-size: 14px; color: var(--muted); }

/* ── Benefits strip ─────────────────────────────────────── */
.benefits { background: var(--dark); padding: 72px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.benefit-icon { font-size: 32px; margin-bottom: 12px; }
.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.benefit-desc { font-size: 13px; color: rgba(255,255,255,.55); }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-banner::before { width: 500px; height: 500px; top: -200px; left: -100px; }
.cta-banner::after  { width: 400px; height: 400px; bottom: -150px; right: -50px; }

.cta-banner h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  position: relative;
}
.cta-banner .btn-white { position: relative; }

/* ── Contact ────────────────────────────────────────────── */
.contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.contact-info p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--dark); }
.contact-item-value a { color: var(--purple); }
.contact-item-value a:hover { text-decoration: underline; }

.contact-form {
  background: var(--purple-light);
  border-radius: 20px;
  padding: 36px;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(108,71,255,.2);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108,71,255,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.footer-brand {}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  max-width: 260px;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links ul a {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-links ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-copy a { color: rgba(255,255,255,.5); }
.footer-copy a:hover { color: var(--purple); }

/* ── CAPTCHA ────────────────────────────────────────────── */
.captcha-group label strong {
  color: var(--purple);
  font-weight: 700;
}
.captcha-row {
  display: flex;
  gap: 10px;
}
.captcha-row input {
  flex: 1;
}
.captcha-refresh {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(108,71,255,.2);
  border-radius: 10px;
  background: var(--white);
  color: var(--purple);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.captcha-refresh:hover {
  background: var(--purple-light);
  transform: rotate(180deg);
}

/* ── Form status ────────────────────────────────────────── */
.form-status {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}
.form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-status--error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #22c55e;
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .section-title { font-size: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(108,71,255,.08);
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-mobile-open .nav-cta {
    display: flex;
    padding: 0 24px 20px;
    flex-direction: column;
    background: white;
    position: absolute;
    top: auto;
    left: 0; right: 0;
    border-bottom: 1px solid rgba(108,71,255,.08);
  }
  .nav-mobile-open .nav-links { top: 68px; }
  .nav-mobile-open .nav-cta { top: calc(68px + 20px + 4 * 48px); }

  .hero { padding: 108px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .hero-visual { order: -1; }
  .hero-stats { gap: 20px; }
  .badge-top-left, .badge-bottom-right { display: none; }

  .forwho-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner h2 { font-size: 30px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .forwho-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
