/* ============================================================
   Repped — theme.css
   Vibe: bounty hunter / deal seeker. Dark, bold, purposeful.
   Fonts: Syne (display), Instrument Serif italic (hero pull),
          Satoshi (body).
   Accent: warm amber #f59e0b + deep orange #ea580c
   ============================================================ */

:root {
  --bg:         #0d0d0d;
  --bg-surface: #111111;
  --bg-card:    #181818;
  --bg-card-alt:#1e1e1e;
  --border:     rgba(255,255,255,0.07);
  --border-hover: rgba(245,158,11,0.35);

  --fg:         #f0ede8;
  --fg-muted:   #7c7870;
  --fg-mid:     #a8a49e;

  --accent:     #f59e0b;  /* amber */
  --accent-hot: #ea580c;  /* orange */
  --accent-glow: rgba(245,158,11,0.12);
  --green:      #22c55e;

  --radius:     12px;
  --max-width:  1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Satoshi', 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Display font for headings */
h1, h2, h3 {
  font-family: 'Syne', 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

a { color: inherit; text-decoration: none; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.header-cta {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 100px;
  padding: 7px 18px;
  transition: background 0.2s, color 0.2s;
}

.header-cta:hover {
  background: var(--accent);
  color: #000;
}

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 80px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow,
.hero-eyebrow {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  margin-bottom: 24px;
  color: var(--fg);
}

/* Italic serif pull inside headline */
.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-mid);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.btn-primary {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--accent-hot);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

/* Deal cards in hero */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  min-width: 280px;
  max-width: 320px;
  position: relative;
  transition: border-color 0.2s;
}

.deal-card:hover { border-color: var(--border-hover); }

.deal-card-1 { transform: translateX(-12px) rotate(-1deg); }
.deal-card-2 { transform: translateX(16px) rotate(0.8deg); }

.deal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.deal-item {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 14px;
}

.deal-prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.price-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.price-crossed {
  text-decoration: line-through;
  color: var(--fg-muted);
  font-weight: 400;
}

.price-found {
  color: var(--accent);
}

.deal-saving {
  font-size: 0.78rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ---- HOW IT WORKS ---- */
.hiw {
  background: var(--bg-surface);
  padding: 120px 40px;
}

.hiw-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hiw-header {
  margin-bottom: 72px;
}

.hiw-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--fg);
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hiw-divider {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: var(--border);
  margin-top: 24px;
  align-self: flex-start;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(245,158,11,0.18);
  letter-spacing: -0.04em;
}

.step-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.step-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 280px;
}

/* ---- FORM SECTION ---- */
.form-section {
  padding: 120px 40px;
  background: var(--bg);
}

.form-outer {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
  color: var(--fg);
  line-height: 1.05;
}

.form-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 360px;
}

.form-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-examples li {
  font-size: 0.92rem;
  color: var(--fg-mid);
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  padding-left: 16px;
  position: relative;
}

.form-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Form card */
.deal-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-mid);
  letter-spacing: 0.01em;
}

.optional {
  font-weight: 400;
  color: var(--fg-muted);
}

.field input,
.field textarea {
  background: var(--bg-card-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.96rem;
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  resize: vertical;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-muted);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.08);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.form-error {
  font-size: 0.88rem;
  color: #ef4444;
  min-height: 20px;
}

.btn-submit {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 16px 24px;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  width: 100%;
  text-align: center;
}

.btn-submit:hover:not(:disabled) {
  background: var(--accent-hot);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.form-success {
  background: var(--bg-card);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
}

.success-icon {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 16px;
  line-height: 1;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--fg);
}

.form-success p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-sep {
  color: var(--border);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 64px 24px;
    gap: 48px;
    text-align: left;
  }

  .hero-visual {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .deal-card {
    flex: 1;
    min-width: 240px;
    max-width: 100%;
  }

  .deal-card-1, .deal-card-2 {
    transform: none;
  }

  .hiw { padding: 80px 24px; }

  .hiw-steps {
    flex-direction: column;
    gap: 48px;
  }

  .hiw-divider {
    width: 1px;
    height: 40px;
    margin: 0;
    align-self: auto;
  }

  .form-section { padding: 80px 24px; }

  .form-outer {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-desc { max-width: 100%; }
  .deal-form { padding: 28px 24px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 20px; }

  .hero { padding: 48px 20px 64px; }
  .hero h1 { font-size: 2.4rem; }

  .hiw { padding: 64px 20px; }
  .hiw-header { margin-bottom: 48px; }

  .form-section { padding: 64px 20px; }
  .form-outer { gap: 36px; }
  .deal-form { padding: 24px 20px; gap: 20px; }

  .site-footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 4px; text-align: center; }

  .hero-visual { flex-direction: column; }
}
