/* =====================================================
   CashCowLab — Professional Theme
   Clean, trustworthy, cream + navy + amber
   ===================================================== */

:root {
  --bg: #faf9f6;
  --bg-alt: #f0efeb;
  --card: #ffffff;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --amber: #d97706;
  --amber-light: #f59e0b;
  --amber-bg: rgba(217,119,6,0.06);
  --amber-border: rgba(217,119,6,0.15);
  --green: #16a34a;
  --green-bg: rgba(22,163,74,0.06);
  --text: #0f172a;
  --text-body: #334155;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow: rgba(15,23,42,0.04);
  --shadow-md: rgba(15,23,42,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --font-th: 'Noto Sans Thai','IBM Plex Sans Thai', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-th);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,246,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow-md); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.logo-main { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.logo-sub { display: block; font-size: 0.58rem; color: var(--text-muted); letter-spacing: 0.5px; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 0.82rem; font-weight: 500; color: var(--text-body); transition: color 0.2s; }
.nav-link:hover { color: var(--navy); }
.nav-cta {
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff;
  font-size: 0.8rem; font-weight: 600; transition: all 0.2s;
}
.nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px var(--shadow-md); }
.nav-mobile { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; cursor: pointer; color: var(--text); }
.nav-mobile-menu { display: none; flex-direction: column; gap: 12px; padding: 16px 24px 20px; border-top: 1px solid var(--border); }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-size: 0.9rem; font-weight: 500; color: var(--text-body); padding: 8px 0; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff;
  font-family: var(--font-th); font-size: 0.9rem; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 6px 20px var(--shadow-md); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-body);
  font-family: var(--font-th); font-size: 0.9rem; font-weight: 600;
  border: 1px solid var(--border-dark); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(15,23,42,0.02); }
.btn-outline:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-full { width: 100%; text-align: center; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* --- Hero --- */
.hero {
  padding: 140px 24px 80px; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 24px; box-shadow: 0 1px 3px var(--shadow);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; line-height: 1.2; letter-spacing: -1px;
  color: var(--navy); margin-bottom: 20px;
}
.hero-highlight { color: var(--amber); }
.hero-p {
  font-size: 1rem; color: var(--text-body); max-width: 540px;
  margin: 0 auto 32px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 500; color: var(--green);
}
.trust-item svg { flex-shrink: 0; }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-flex; padding: 5px 14px; border-radius: 100px;
  background: var(--amber-bg); border: 1px solid var(--amber-border);
  font-size: 0.7rem; font-weight: 700; color: var(--amber);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 10px;
}
.section-head p { font-size: 0.9rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* --- Products --- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--border-dark); box-shadow: 0 8px 30px var(--shadow-md); transform: translateY(-3px); }
.product-card.featured { border-color: var(--amber); border-width: 2px; }
.product-badge {
  position: absolute; top: -10px; left: 20px;
  padding: 3px 12px; border-radius: 100px;
  background: var(--amber); color: #fff;
  font-size: 0.68rem; font-weight: 700;
}
.product-badge.soon { background: var(--text-muted); }
.product-icon { font-size: 2rem; margin-bottom: 12px; margin-top: 4px; }
.product-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.product-desc { font-size: 0.82rem; color: var(--text-body); line-height: 1.6; margin-bottom: 16px; }
.product-includes { list-style: none; margin-bottom: 20px; flex: 1; }
.product-includes li {
  font-size: 0.78rem; color: var(--text-body); padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.product-includes li:last-child { border-bottom: none; }
.product-pricing { margin-bottom: 16px; display: flex; align-items: baseline; gap: 8px; }
.price-old {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted);
  text-decoration: line-through;
}
.price-now { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.price-now.muted { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.price-note { font-size: 0.7rem; color: var(--text-muted); }

/* --- Why Grid --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.why-card {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); transition: all 0.2s;
}
.why-card:hover { border-color: var(--border-dark); box-shadow: 0 4px 16px var(--shadow); }
.why-num {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--amber); margin-bottom: 8px; letter-spacing: 1px;
}
.why-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 0.8rem; color: var(--text-body); line-height: 1.6; }

/* --- CASH Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card {
  padding: 28px; border-radius: var(--radius); text-align: center;
  border: 1px solid var(--border); background: var(--card); transition: all 0.25s;
}
.step-card:hover { border-color: var(--amber); box-shadow: 0 6px 24px var(--shadow-md); transform: translateY(-3px); }
.step-letter {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  color: var(--amber); margin-bottom: 4px;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.step-th { font-size: 0.75rem; color: var(--amber); font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 0.78rem; color: var(--text-body); line-height: 1.6; }

/* --- CTA --- */
.section-cta { padding: 60px 0 80px; }
.cta-box {
  text-align: center; padding: 48px 32px; border-radius: 16px;
  background: var(--navy); color: #fff;
}
.cta-box h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.cta-box .btn-primary { background: var(--amber); color: #fff; }
.cta-box .btn-primary:hover { background: var(--amber-light); }
.cta-note { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 16px !important; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo { font-size: 1.2rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.footer-copy { font-size: 0.7rem; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}
