/* === ORIGAMI BRAND — DESIGN TOKENS === */
:root {
  --bg: #0d0c0a;
  --surface: #141310;
  --surface-2: #1b1a16;
  --surface-3: #222019;
  --fg: #e8e4dc;
  --fg-muted: #8a8780;
  --fg-faint: #504d47;
  --accent: #c9a84c;
  --accent-dim: rgba(201, 168, 76, 0.10);
  --accent-hover: #d4b45e;
  --border: rgba(232, 228, 220, 0.07);
  --border-mid: rgba(232, 228, 220, 0.12);
  --font-display: 'Syne', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVIGATION === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 12, 10, 0.90);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 5px 8px;
  border-radius: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--fg);
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent-hover); }

/* === HERO === */
.hero {
  position: relative;
  padding: 104px 56px 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -240px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-text { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  color: var(--fg);
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-cta-wrap { display: flex; flex-direction: column; gap: 14px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0c0a;
  text-decoration: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 3px;
  border: none;
  transition: background 0.2s;
  width: fit-content;
}
.btn-primary:hover { background: var(--accent-hover); }

.hero-note { font-size: 13px; color: var(--fg-faint); }

.hero-visual { position: relative; }

.hero-image-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent 0%, rgba(13,12,10,0.85) 100%);
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-image-tag {
  font-size: 11px;
  color: rgba(232, 228, 220, 0.9);
  letter-spacing: 0.5px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.hero-fold {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.4;
}

/* === SECTIONS === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 64px;
}

/* === HOW IT WORKS === */
.how-it-works { padding: 112px 0; border-top: 1px solid var(--border); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: var(--border);
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step-card:hover::before { transform: scaleX(1); }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg-faint);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === AGENTS === */
.agents {
  padding: 112px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.agent-card {
  padding: 32px 24px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color 0.3s, transform 0.3s;
}

.agent-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}

.agent-card-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.agent-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
  letter-spacing: -0.2px;
}

.agent-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === PRICING === */
.pricing { padding: 112px 0; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.tier {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s;
}

.tier:hover { border-color: var(--border-mid); }

.tier-featured {
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, var(--surface) 60%);
}

.tier-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  margin-bottom: 24px;
}

.tier-name {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 32px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
}

.price-sub { font-size: 14px; color: var(--fg-muted); }

.tier-features { list-style: none; }

.tier-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

.tier-cta {
  display: block;
  margin-top: 32px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tier-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.tier-featured .tier-cta {
  background: var(--accent);
  color: #0d0c0a;
  border-color: var(--accent);
  font-weight: 600;
}

.tier-featured .tier-cta:hover {
  background: var(--accent-hover);
  color: #0d0c0a;
}

/* === DELIVERY === */
.delivery {
  padding: 112px 0;
  border-top: 1px solid var(--border);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: center;
}

.delivery-image-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.delivery-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.delivery-list { list-style: none; }

.delivery-list li {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.delivery-list li:last-child { border-bottom: none; }

.delivery-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.delivery-text h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.delivery-text p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 112px 56px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-rule {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  margin: 0 auto 48px;
  opacity: 0.5;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0c0a;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 3px;
  transition: background 0.2s;
}

.closing-cta:hover { background: var(--accent-hover); }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 56px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 12px; color: var(--fg-faint); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
  .delivery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 64px 24px; }
  .section-inner { padding: 0 24px; }
  .how-it-works, .agents, .pricing, .delivery { padding: 80px 0; }
  .tiers { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 24px; }
}

@media (max-width: 480px) {
  .agent-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; }
}