/* ===== Variables ===== */
:root {
  --primary:       #E8A820;
  --primary-dark:  #C8901A;
  --accent:        #3A6EA5;
  --bg:            #FFFDF5;
  --text:          #1C1409;
  --text-muted:    #7A6A52;
  --border:        #EDE3CC;
  --card-bg:       #FFFFFF;
  --success:       #22A55B;
  --radius:        14px;
  --max-w:         1100px;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ===== Utility ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.nav-cta:hover  { background: var(--primary-dark); }
.nav-cta:active { transform: scale(0.97); }

/* ===== Hero ===== */
.hero {
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left column */
.hero-badge {
  display: inline-block;
  background: rgba(232, 168, 32, 0.15);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-heading {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(232, 168, 32, 0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(232, 168, 32, 0.45);
}

.btn-primary:active { transform: scale(0.97); }

.btn-large {
  font-size: 18px;
  padding: 17px 36px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

/* Right column — popup mock */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-mascot-wrap {
  position: absolute;
  bottom: -30px;
  right: -10px;
}

.hero-mascot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(232, 168, 32, 0.3);
  animation: bounce 2.4s ease-in-out infinite;
}

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

/* Popup mock card */
.popup-mock {
  width: 320px;
  background: #FFFDF5;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 20px 60px rgba(0,0,0,0.12),
    0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 48px;
  background: var(--primary);
  color: #fff;
}

.mock-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.mock-title {
  font-size: 15px;
  font-weight: 700;
}

.mock-rescan {
  font-size: 18px;
  opacity: 0.7;
  cursor: default;
}

.mock-site {
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.mock-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.mock-section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mock-section-icon {
  font-size: 13px;
}

.mock-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  flex: 1;
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.mock-dot.blue { background: #3B82F6; }

.mock-rows {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

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

.mock-row:first-child { padding-top: 0; }

.mock-row-name  { font-weight: 600; color: var(--text); }
.mock-row-time  { color: var(--text-muted); }
.mock-row-cost  { font-weight: 700; color: var(--text); text-align: right; }

.mock-threshold {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mock-returns {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-returns-window {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mock-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 10px;
}

.mock-badge.free {
  background: rgba(34, 165, 91, 0.12);
  color: var(--success);
}

.mock-btn {
  width: 100%;
  padding: 11px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: default;
  margin-top: 2px;
}

/* ===== Section shared ===== */
.section-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 56px;
}

/* ===== How it works ===== */
.how {
  padding: 100px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(232, 168, 32, 0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: var(--border);
  padding: 0 8px;
  margin-top: 12px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 14px;
}

/* ===== Features ===== */
.features {
  padding: 100px 24px;
  background: var(--bg);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CTA section ===== */
.cta-section {
  padding: 100px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta-mascot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(232, 168, 32, 0.3);
  margin-bottom: 4px;
}

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Policy pages ===== */
.policy-wrap {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.policy-wrap h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.policy-wrap .policy-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.policy-wrap h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 10px;
}

.policy-wrap p, .policy-wrap li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-wrap ul {
  padding-left: 20px;
  margin: 8px 0;
}

.policy-wrap a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub { max-width: 100%; }

  .hero-actions { align-items: center; }

  .hero-visual { justify-content: center; }

  .hero-mascot-wrap {
    bottom: -24px;
    right: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin-top: 0;
    padding-top: 0;
  }

  .step { max-width: 320px; padding: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 60px 20px 80px; }

  .nav-inner { padding: 0 16px; }

  .nav-cta {
    font-size: 13px;
    padding: 8px 16px;
  }

  .feature-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .popup-mock { width: 290px; }
}
