:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e6e1;
  --fg-muted: #9a9890;
  --accent: #d4a039;
  --accent-glow: rgba(212, 160, 57, 0.15);
  --accent-soft: #b8893a;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent-soft), var(--border), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  background: var(--accent-glow);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 6rem 0;
  position: relative;
}

.problem::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 20ch;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s;
}

.pain-card:hover {
  border-color: rgba(212, 160, 57, 0.3);
}

.pain-card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pain-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---- FEATURES ---- */
.features {
  padding: 6rem 0;
  position: relative;
}

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3.5rem;
  max-width: 22ch;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

.feature-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.feature-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-visual-row:last-child {
  border-bottom: none;
}

.fv-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.fv-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.fv-value.up { color: #4ecb71; }
.fv-value.down { color: #e85c5c; }

.fv-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 0;
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.closing h2 em {
  font-style: normal;
  color: var(--accent);
}

.closing p {
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---- FOOTER ---- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ---- CONTACT ---- */
.contact {
  padding: 6rem 0 5rem;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-inner {
  max-width: 560px;
}

.contact-header {
  margin-bottom: 2.5rem;
}

.contact-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.contact-header h2 em {
  font-style: normal;
  color: var(--accent);
}

.contact-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(154, 152, 144, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-soft);
}

.field-error {
  color: #e85c5c;
  font-size: 0.8rem;
  min-height: 1em;
}

.form-actions {
  padding-top: 0.25rem;
}

.btn-submit {
  align-items: center;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #0a0a0f;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  transition: background 0.2s, opacity 0.2s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--accent-soft);
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 15, 0.3);
  border-top-color: #0a0a0f;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-submit.loading .btn-label { opacity: 0.7; }
.btn-submit.loading .btn-spinner { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  align-items: center;
  background: rgba(78, 203, 113, 0.08);
  border: 1px solid rgba(78, 203, 113, 0.25);
  border-radius: 8px;
  color: #4ecb71;
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero-stats { gap: 2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .container { padding: 0 1.25rem; }
}