/* === BASE TOKENS === */
:root {
  --bg: #FFFBF5;
  --bg-alt: #FFF5E8;
  --fg: #111111;
  --fg-muted: #666666;
  --accent: #FF4D00;
  --accent-light: #FFF0E8;
  --border: #E8DDD4;
  --radius: 16px;
}

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

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

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 80px 40px 100px;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  max-width: 860px;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-accent {
  color: var(--accent);
}
.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px 0 0;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FF4D0012 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #FF4D0008 0%, transparent 70%);
  bottom: -50px;
  right: 200px;
}

/* === SECTION LABELS === */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 56px;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 80px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 960px;
}
.step {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: 40px; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === PRICING === */
.pricing {
  padding: 80px 40px;
  background: var(--bg);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: #FFF8F5;
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.06);
}
.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.card-price {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.card-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0;
}
.card-features {
  list-style: none;
  margin-bottom: 28px;
}
.card-features li {
  font-size: 15px;
  color: var(--fg);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 20px;
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.card-note {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* === PROOF === */
.proof {
  padding: 80px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin-bottom: 64px;
}
.proof-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.proof-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.proof-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.proof-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.proof-callout {
  background: var(--fg);
  color: white;
  border-radius: var(--radius);
  padding: 40px 48px;
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.callout-stat {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -1px;
}
.callout-body {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 100px 40px 120px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.closing-inner {
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
}
.closing-shapes {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}
.closing-shape {
  border-radius: 50%;
  position: absolute;
}
.cs-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #FF4D0020 0%, transparent 70%);
  top: -200px;
  right: -200px;
}
.cs-2 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  opacity: 0.08;
  top: 0;
  right: 0;
}
.cs-3 {
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent);
  opacity: 0.15;
  bottom: -50px;
  right: 100px;
  background: transparent;
}

/* === FOOTER === */
.footer {
  background: var(--fg);
  color: white;
  padding: 48px 40px;
  text-align: center;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 400px;
  margin: 0 auto 24px;
}
.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* === PORTAL LAYOUT === */
.portal-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}
.portal-header {
  margin-bottom: 48px;
}
.portal-title {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.portal-subtitle {
  font-size: 17px;
  color: var(--fg-muted);
}
.portal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.portal-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* === FORM ELEMENTS === */
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
}
.form-label-hint {
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 13px;
  margin-left: 4px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.color-picker-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

/* === FILE UPLOAD === */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--bg);
}
.upload-zone:hover { border-color: var(--accent); background: var(--accent-light); }
.upload-zone-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.upload-zone-text {
  font-size: 14px;
  color: var(--fg-muted);
}
.upload-zone-text strong { color: var(--accent); }
.upload-preview {
  max-width: 120px;
  max-height: 80px;
  border-radius: 8px;
  margin-top: 12px;
}
.hidden-input { display: none; }

/* === SOCIAL HANDLES === */
.social-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.social-prefix {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}
.btn-primary:hover { background: #e64500; box-shadow: 0 6px 16px rgba(255, 77, 0, 0.4); }
.btn-secondary {
  background: white;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); }
.btn-full { width: 100%; }

/* === CONTENT PACK === */
.content-pack-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.pack-badge {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pack-month {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-top: 8px;
}
.pack-desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.content-item:last-child { border-bottom: none; }
.content-item-info { display: flex; align-items: center; gap: 16px; }
.content-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.content-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.content-item-meta {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.content-item-actions { display: flex; gap: 10px; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.download-btn:hover { background: #e64500; }

/* === EMPTY / NO PACK STATE === */
.empty-pack {
  text-align: center;
  padding: 60px 40px;
}
.empty-pack-icon { font-size: 48px; margin-bottom: 16px; }
.empty-pack-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.empty-pack-body {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 400px;
  margin: 0 auto 28px;
}

/* === SUCCESS STATE === */
.success-banner {
  background: #F0FFF4;
  border: 1px solid #C6F6D5;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.success-icon { font-size: 24px; flex-shrink: 0; }
.success-text { font-size: 15px; color: #276749; }
.success-text strong { display: block; margin-bottom: 2px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 0; }
  .step:not(:first-child) { padding-left: 0; }
  .step:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-callout { flex-direction: column; gap: 20px; padding: 32px; }
  .callout-stat { font-size: 28px; }
  .how-it-works, .pricing, .proof { padding: 60px 24px; }
  .closing { padding: 80px 24px 100px; }
  .footer { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 34px; }
  .section-headline { font-size: 28px; }
}