/* ─────────────────────────────────────────────────────
   styles.css — Godena site
   ───────────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --cream:        #f5f0e8;
  --paper:        #faf8f4;
  --card:         #fffcf7;
  --ink:          #1e1510;
  --ink-soft:     #4a3728;
  --muted:        #7a6b60;
  --muted-light:  #b5a498;
  --terracotta:   #c4622d;
  --terra-soft:   rgba(196, 98, 45, 0.10);
  --olive:        #7a8c5c;
  --border:       #e2d0be;
  --border-soft:  rgba(226, 208, 190, 0.55);
  --shadow-xs:    0 1px 2px rgba(30,21,16,0.04);
  --shadow-sm:    0 1px 4px rgba(30,21,16,0.06), 0 2px 8px rgba(30,21,16,0.04);
  --shadow-md:    0 4px 20px rgba(30,21,16,0.09), 0 1px 4px rgba(30,21,16,0.04);
  --shadow-phone: 0 32px 72px rgba(30,21,16,0.20), 0 8px 20px rgba(30,21,16,0.10);
  --radius-card:  20px;
  --radius-hero:  26px;
  --radius-pill:  999px;
  --max-w:        1180px;
  --gutter:       clamp(20px, 6vw, 80px);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }

/* ── Base ───────────────────────────────────────────── */
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════
   SITE NAV  (shared)
   ══════════════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 60px;
  background: rgba(245,240,232,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,208,190,0.50);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a       { color: var(--muted); transition: color 0.13s; }
.nav-links a:hover { color: var(--terracotta); text-decoration: none; }

.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s, opacity 0.15s !important;
}
.nav-cta:hover { background: #af551f; text-decoration: none !important; }


/* ══════════════════════════════════════════════════════
   PHONE MOCKUP  (reused across sections)
   ══════════════════════════════════════════════════════ */

.phone {
  position: relative;
  background: #111;
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.09),
    inset 0 0 0 1px rgba(0,0,0,0.75),
    var(--shadow-phone);
  flex-shrink: 0;
}

.phone img {
  width: 100%;
  border-radius: 35px;
  object-fit: cover;
}


/* ══════════════════════════════════════════════════════
   MARKETING HOME PAGE
   ══════════════════════════════════════════════════════ */

body.marketing {
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(196,98,45,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 85%, rgba(122,140,92,0.05) 0%, transparent 55%);
}

/* ── Hero ───────────────────────────────────────────── */

.hero-section {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vh, 96px) var(--gutter);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-text { max-width: 480px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.hero-section h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 34px;
  max-width: 420px;
}

/* Store badges */
.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 13px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  min-width: 148px;
}
.store-badge:hover { opacity: 0.82; transform: translateY(-1px); text-decoration: none; }
.store-badge svg   { flex-shrink: 0; opacity: 0.80; }

.store-badge-text { display: flex; flex-direction: column; gap: 1px; }
.store-badge small { font-size: 10px; opacity: 0.60; letter-spacing: 0.02em; line-height: 1; }
.store-badge strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }

/* Hero phones */
.hero-phones {
  position: relative;
  width: 340px;
  height: 540px;
  flex-shrink: 0;
}

.phone-primary {
  width: 224px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  transform: rotate(2deg);
}

.phone-secondary {
  width: 200px;
  position: absolute;
  left: 0;
  top: 64px;
  z-index: 1;
  transform: rotate(-5deg);
  opacity: 0.75;
  filter: brightness(0.96);
}

/* ── Value strip ────────────────────────────────────── */

.value-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.42);
}

.value-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: stretch;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 32px 26px 0;
  flex: 1;
}
.value-item:first-child { padding-left: 0; }

.value-sep {
  width: 1px;
  background: var(--border);
  margin: 16px 32px 16px 0;
  flex-shrink: 0;
}

.value-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.value-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.value-desc  { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ── Feature sections ───────────────────────────────── */

.features-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 120px);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "visual text";
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.feature-block.flip {
  grid-template-areas: "text visual";
}

.feature-visual { grid-area: visual; position: relative; display: flex; justify-content: center; }
.feature-text   { grid-area: text; }

.feature-visual .phone { width: 248px; z-index: 2; }

.feature-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.feature-blob-terra { background: radial-gradient(circle, rgba(196,98,45,0.10) 0%, transparent 68%); }
.feature-blob-olive { background: radial-gradient(circle, rgba(122,140,92,0.10) 0%, transparent 68%); }
.feature-blob-warm  { background: radial-gradient(circle, rgba(201,168,76,0.09) 0%, transparent 68%); }

.feature-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 12px;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 380px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.feature-bullets li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ── Demo video ─────────────────────────────────────── */

.demo-section {
  padding: clamp(64px, 8vw, 108px) var(--gutter);
  background: var(--cream);
}

.demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.demo-text { max-width: 440px; }

.demo-text h2 { margin-bottom: 14px; }

.demo-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.demo-phone-wrap {
  display: flex;
  justify-content: center;
}

.demo-phone {
  width: 240px;
  aspect-ratio: 9/19.5;
  overflow: hidden;
}

.demo-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

@media (max-width: 720px) {
  .demo-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .demo-text { max-width: 100%; }
  .demo-phone { width: 200px; }
}

/* ── Screenshot gallery ─────────────────────────────── */

.gallery-section {
  padding: clamp(40px, 5vw, 68px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
}

.gallery-header {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}

.gallery-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 8px;
}

.gallery-track {
  display: flex;
  gap: 18px;
  padding: 16px var(--gutter) 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black clamp(20px, 5vw, 60px),
    black calc(100% - clamp(20px, 5vw, 60px)),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black clamp(20px, 5vw, 60px),
    black calc(100% - clamp(20px, 5vw, 60px)),
    transparent
  );
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-phone {
  width: 174px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gallery-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ── CTA strip ──────────────────────────────────────── */

.cta-section {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.38);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}

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

/* ── Site footer ────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(32px, 5vw, 52px) var(--gutter);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.footer-logo:hover { text-decoration: none; }

.footer-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 3px;
}
.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.13s;
}
.footer-nav a:hover { color: var(--terracotta); text-decoration: none; }

.footer-copy {
  font-size: 12px;
  color: var(--muted-light);
  text-align: right;
  padding-top: 3px;
}
.footer-copy a { color: var(--muted); font-weight: 500; }


/* ══════════════════════════════════════════════════════
   POLICY PAGES
   ══════════════════════════════════════════════════════ */

body.policy {
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(196,98,45,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 90% 105%, rgba(160,130,100,0.06) 0%, transparent 55%);
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}

.policy-hero {
  padding: 32px 36px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  background: rgba(255,255,255,0.76);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 10px;
}

.policy-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.policy-hero .lead {
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 520px;
}

.policy-hero .meta {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ── Policy nav pills ───────────────────────────────── */

.pill-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.14s, color 0.14s, box-shadow 0.14s;
}
.pill:hover {
  border-color: rgba(196,98,45,0.45);
  color: var(--terracotta);
  box-shadow: 0 2px 10px rgba(196,98,45,0.12);
  text-decoration: none;
}
.pill.active {
  background: var(--terra-soft);
  border-color: rgba(196,98,45,0.30);
  color: var(--terracotta);
}

/* ── Policy content cards ───────────────────────────── */

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  border-radius: 1px;
}

.section-list { display: grid; gap: 8px; }

.card {
  position: relative;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background: var(--card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity 0.16s;
}
.card:hover { box-shadow: var(--shadow-sm); border-color: var(--border); }
.card:hover::before { opacity: 0.5; }

.card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ── Policy footer ──────────────────────────────────── */

.policy-footer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-light);
}
.policy-footer-links { display: flex; gap: 18px; }
.policy-footer a { color: var(--muted); font-weight: 500; transition: color 0.13s; }
.policy-footer a:hover { color: var(--terracotta); text-decoration: none; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    text-align: center;
  }
  .hero-text  { max-width: none; }
  .hero-sub   { max-width: none; }
  .eyebrow    { justify-content: center; }
  .store-row  { justify-content: center; }

  .hero-phones {
    width: 270px;
    height: 430px;
    margin: 0 auto;
  }
  .phone-primary   { width: 185px; }
  .phone-secondary { width: 165px; }

  .value-strip-inner { flex-direction: column; gap: 0; }
  .value-sep         { width: auto; height: 1px; margin: 0; }
  .value-item        { padding: 20px 0; }

  .feature-block,
  .feature-block.flip {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "text";
    text-align: center;
  }
  .feature-text p          { max-width: none; }
  .feature-bullets         { align-items: center; }
  .feature-bullets li      { justify-content: center; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-copy { text-align: left; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .nav-links .nav-hide { display: none; }

  .hero-section h1 { font-size: 40px; }
  .hero-phones     { width: 230px; height: 365px; }
  .phone-primary   { width: 158px; }
  .phone-secondary { width: 140px; }

  .store-row { flex-direction: column; align-items: center; }

  .gallery-phone { width: 152px; }

  .page            { padding: 28px 16px 72px; }
  .policy-hero     { padding: 22px 20px; }
  .policy-footer   { flex-direction: column; align-items: flex-start; gap: 10px; }
}
