/* ── Variables ─────────────────────────────────────── */
:root {
  --bg:        #f4f7fb;
  --bg-card:   #ffffff;
  --bg-card2:  #eaf0f8;
  --accent:    #f56b00;
  --accent-h:  #ff8c2a;
  --text:      #1a2332;
  --text-muted:#52677a;
  --border:    rgba(245,107,0,.35);
  --border-ui: rgba(0,0,0,.09);
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }

ul { list-style: none; }

.hidden { display: none !important; }

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

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-ui);
}
.btn--ghost:hover {
  border-color: rgba(0,0,0,.25);
  color: var(--text);
}

/* ── Section title ─────────────────────────────────── */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 56px;
  position: relative;
  color: var(--text);
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ══════════════════════════════════════════ HERO ══ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,35,.30) 0%,
    rgba(10,20,35,.20) 40%,
    rgba(10,20,35,.75) 100%
  );
  z-index: 1;
}

/* content block sits at the bottom, above the arrow */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px 28px;
  width: 100%;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
  max-width: 600px;
  margin: 0 auto;
}

/* scroll arrow — absolute at very bottom */
.hero__arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(245,107,0,.18);
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent);
  animation: bounce 2s infinite;
  transition: background var(--transition);
}
.hero__arrow:hover { background: rgba(245,107,0,.38); }
.hero__arrow svg { width: 24px; height: 24px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* sound toggle button — top-right corner */
.hero__sound {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background var(--transition), border-color var(--transition);
}
.hero__sound:hover {
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.5);
}
.hero__sound svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════ PAIN POINTS ══ */
.pain {
  padding: 100px 0;
  background: var(--bg);
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.pain__card {
  background: var(--bg-card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pain__card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.pain__icon { font-size: 2.4rem; display: block; margin-bottom: 16px; }

.pain__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.pain__card-text {
  color: var(--text-muted);
  font-size: .95rem;
}

.pain__cta { text-align: center; }

/* ════════════════════════════════════════════ PLANS ══ */
.plans {
  padding: 100px 0;
  background: var(--bg-card2);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.plan-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.plan-card__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.plan-card__features {
  margin-bottom: 28px;
}
.plan-card__features li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border-ui);
  color: var(--text-muted);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-card__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-card__btn { width: 100%; text-align: center; }

/* ── Order form ────────────────────────────────────── */
.order-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-form {
  background: var(--bg-card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.order-form__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}
.order-form__title span { color: var(--accent); }

.order-form__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .875rem;
  color: var(--text-muted);
}
.field input {
  background: var(--bg);
  border: 1px solid var(--border-ui);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.field input:focus { border-color: var(--accent); }
.field input::placeholder { color: #aab8c6; }

.order-form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-form__msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
}
.order-form__msg--success {
  background: rgba(34,197,94,.1);
  color: #15803d;
  border: 1px solid rgba(34,197,94,.3);
}
.order-form__msg--error {
  background: rgba(239,68,68,.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,.25);
}

/* ══════════════════════════════════════════ FOOTER ══ */
.footer {
  padding: 60px 24px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border-ui);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer__copy {
  color: var(--text-muted);
  font-size: .85rem;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 600px) {
  .order-form { padding: 28px 20px; }
  .order-form__actions { flex-direction: column; }
  .order-form__actions .btn { width: 100%; text-align: center; }
}
