/* ============================================
   Pamosi AI — Landing page styles
   Brand: Forest #1B4332 · Gold #C9A227 · Cream #FAF7EE
   ============================================ */

:root {
  --forest: #1B4332;
  --forest-deep: #0F2A1F;
  --gold: #C9A227;
  --gold-soft: #E5C04F;
  --cream: #FAF7EE;
  --cream-deep: #F2EBD8;
  --charcoal: #1A1A1A;
  --ink: #2A2A2A;
  --muted: #6B6B6B;
  --line: #E6E1D2;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 8px 28px rgba(27, 67, 50, 0.10);
  --shadow-lg: 0 24px 60px rgba(27, 67, 50, 0.18);

  --max-width: 1180px;
}

/* Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: 96px 0;
}

.section-cream {
  background: var(--cream);
}

.section-forest {
  background: var(--forest);
  color: var(--white);
}

.section-forest h2,
.section-forest h3,
.section-forest h4 {
  color: var(--white);
}

.center { text-align: center; }
.center-section { text-align: center; }
.max-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow.center {
  display: block;
  text-align: center;
}

.eyebrow.gold {
  color: var(--gold-soft);
}

/* Lede */
.lede {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin: 0 0 28px;
}

.lede-dark {
  font-size: 1.1rem;
  color: var(--ink);
  max-width: 760px;
}

.section .lede-dark.center {
  margin-left: auto;
  margin-right: auto;
}

.white { color: var(--white); }

.micro {
  font-size: 0.92rem;
  color: var(--muted);
}

.micro-trust {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
}

.section .micro-trust {
  color: var(--muted);
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

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

.brand-mark {
  display: inline-flex;
  line-height: 0;
}

.brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand-ai {
  color: var(--gold);
  font-weight: 400;
  margin-left: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-links .cta-link {
  background: var(--forest);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-links .cta-link:hover {
  background: var(--forest-deep);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--white);
  padding: 88px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16) 0%, transparent 70%);
  top: -120px;
  right: -120px;
  pointer-events: none;
}

.hero h1 {
  color: var(--white);
}

.hero .highlight {
  color: var(--gold);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy .eyebrow {
  color: var(--gold-soft);
}

/* Waitlist forms */
.waitlist-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.10);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 460px;
}

.waitlist-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 1rem;
  color: var(--white);
  font-family: inherit;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.waitlist-form button {
  background: var(--gold);
  color: var(--forest);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.waitlist-form.success input {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-form.big {
  margin: 28px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.waitlist-form.big input {
  color: var(--ink);
}

.waitlist-form.big input::placeholder {
  color: var(--muted);
}

.waitlist-form.big button {
  background: var(--forest);
  color: var(--white);
}

.waitlist-form.big button:hover {
  background: var(--forest-deep);
}

/* Hero phone mockup */
.hero-art {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  background: #0B1A14;
  border-radius: 38px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-screen {
  background: #0E2C20;
  border-radius: 26px;
  padding: 22px 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble {
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 13px;
  border-radius: 14px;
  max-width: 86%;
  word-wrap: break-word;
}

.wa-them {
  align-self: flex-start;
  background: #1F3D31;
  color: rgba(255, 255, 255, 0.92);
  border-bottom-left-radius: 4px;
}

.wa-us {
  align-self: flex-end;
  background: #C9A227;
  color: var(--forest-deep);
  border-bottom-right-radius: 4px;
}

.wa-us strong {
  color: var(--forest-deep);
}

.wa-attach {
  font-style: italic;
  opacity: 0.85;
}

/* ============================================
   Try-bot section
   ============================================ */
.try-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 36px auto 0;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.try-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 24px;
}

.try-steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 50px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.55;
}

.try-steps li:first-child { border-top: none; }

.try-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 12px;
  width: 32px; height: 32px;
  background: var(--forest);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.92rem;
}

.try-steps code {
  background: var(--cream-deep);
  color: var(--forest);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.93rem;
  font-family: 'SFMono-Regular', Menlo, monospace;
}

.try-steps code.num { font-weight: 600; }

.try-ctas {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--forest);
  color: var(--white) !important;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.cta-secondary {
  background: transparent;
  color: var(--forest) !important;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--line);
}

.cta-secondary:hover {
  background: var(--cream);
}

/* ============================================
   Trust bar
   ============================================ */
.trust-bar {
  background: var(--cream-deep);
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-bar p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.lang-chips span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
}

/* ============================================
   Steps (How it works)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--ink);
  font-size: 0.98rem;
  margin: 0;
}

/* ============================================
   Modules grid
   ============================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.module {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.module:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--white);
}

.module h4 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 6px;
}

.module p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================
   Audience grid (forest section)
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.audience {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.audience h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.audience p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  margin: 0;
}

/* ============================================
   Pricing grid
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  margin-bottom: 24px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.price-card-featured:hover {
  transform: translateY(-9px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card h4 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest);
  margin: 4px 0 22px;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: normal;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.price-card ul li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-left: 22px;
}

.price-card ul li:first-child {
  border-top: none;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-mark {
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  font-size: 0.95rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.footer-contact {
  margin-top: 14px !important;
  color: var(--gold) !important;
  font-weight: 500;
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .section { padding: 72px 0; }

  .hero {
    padding: 64px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price-card-featured {
    transform: none;
  }

  .price-card-featured:hover {
    transform: translateY(-3px);
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .container { padding: 0 18px; }

  .section { padding: 56px 0; }

  .waitlist-form {
    flex-direction: column;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.10);
    padding: 12px;
  }

  .waitlist-form input {
    text-align: center;
  }

  .waitlist-form button {
    width: 100%;
    padding: 14px;
  }

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

  .phone-frame { width: 280px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
