/* ============================================
   SAUSAGE GURU — Main Stylesheet
   Brand: Teal #1D7071 | Brown #5A2E17 | Beige #FFF9F0
   ============================================ */

:root {
  --teal:    #1D7071;
  --teal-dk: #155556;
  --teal-lt: #2a9a9b;
  --brown:   #5A2E17;
  --brown-lt:#8B4A28;
  --beige:   #FFF9F0;
  --beige-dk:#F5EFE0;
  --white:   #ffffff;
  --text:    #2C1810;
  --text-mid:#5a4a3a;
  --text-lt: #8a7a6a;
  --shadow:  rgba(90, 46, 23, 0.15);
  --radius:  14px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(29,112,113,0.35);
}
.btn-primary:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(29,112,113,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- CONTAINERS ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- SECTION LABELS ---- */
.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 56px;
  color: var(--brown);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 249, 240, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.25s !important;
}
.nav-cta:hover { background: var(--teal-dk) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--brown);
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  overflow: visible;
}
.hero-bg-texture {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(29,112,113,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(90,46,23,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.hero-content {
  flex: 1;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-block;
  background: var(--brown);
  color: var(--beige);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  color: var(--brown);
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--teal); }
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--beige-dk);
  color: var(--text-lt);
  border: 1.5px solid var(--beige-dk);
}
.hero-phone {
  flex: 0 0 300px;
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}
.phone-frame {
  width: 280px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(90,46,23,0.25), 0 0 0 10px var(--brown);
  position: relative;
  z-index: 2;
}
.phone-frame img {
  width: 100%;
  display: block;
}
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(29,112,113,0.3), transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--white);
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1.5px solid var(--beige-dk);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}
.feature-card--highlight {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal-dk);
}
.feature-card--highlight h3 { color: var(--white); }
.feature-card--highlight p { color: rgba(255,255,255,0.85); }
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { color: var(--brown); margin-bottom: 10px; }
.feature-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.65; }

/* ============================================
   SCREENSHOTS
   ============================================ */
.screenshots {
  padding: 100px 0;
  background: var(--beige);
}
.screenshots .section-title { text-align: center; }
.screenshots .section-label { text-align: center; }
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr;
  gap: 20px;
  align-items: end;
}
.screenshot-item {
  text-align: center;
}
.screenshot-item img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px var(--shadow);
  border: 3px solid var(--brown);
  transition: transform 0.3s;
}
.screenshot-item img:hover { transform: translateY(-6px) scale(1.02); }
.screenshot-item p {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-lt);
  font-weight: 700;
}
.screenshot-item--featured img {
  transform: scale(1.06);
  box-shadow: 0 24px 70px rgba(90,46,23,0.3);
}
.screenshot-item--featured img:hover { transform: scale(1.09) translateY(-4px); }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--white);
  padding: 100px 0;
}
.pricing .section-title { text-align: center; }
.pricing .section-label { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1.5px solid var(--beige-dk);
  text-align: center;
  position: relative;
  transition: transform 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown-lt);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(90,46,23,0.3);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brown);
}
.pricing-card--featured .plan-name { color: var(--beige); }
.plan-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 28px;
}
.pricing-card--featured .plan-price { color: var(--teal-lt); }
.plan-price span { font-size: 0.9rem; color: var(--text-lt); }
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}
.plan-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pricing-card--featured .plan-features li { color: rgba(255,249,240,0.85); border-bottom-color: rgba(255,255,255,0.1); }
.plan-features li.disabled { color: var(--text-lt); opacity: 0.5; }

/* ============================================
   WAITLIST
   ============================================ */
.waitlist {
  background: var(--teal);
  padding: 100px 24px;
  text-align: center;
}
.waitlist-inner { max-width: 680px; margin: 0 auto; }
.waitlist .section-label { color: rgba(255,249,240,0.7); }
.waitlist-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.waitlist-sub {
  color: rgba(255,249,240,0.85);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.75;
}
.waitlist-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: border 0.2s;
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.6); }
.waitlist-form input:focus { border-color: rgba(255,255,255,0.7); }
.waitlist-form .btn-primary {
  background: var(--brown);
  box-shadow: 0 4px 18px rgba(90,46,23,0.4);
}
.waitlist-form .btn-primary:hover { background: var(--brown-lt); }
.form-note {
  font-size: 0.82rem;
  color: rgba(255,249,240,0.65);
}
.form-note a { color: rgba(255,249,240,0.9); text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brown);
  padding: 60px 0 40px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--beige);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p { color: rgba(255,249,240,0.65); font-size: 0.9rem; }
.footer-copy { margin-top: 16px !important; font-size: 0.8rem !important; color: rgba(255,249,240,0.45) !important; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.45);
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,249,240,0.75);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--beige); }

/* ============================================
   SUBPAGES — shared header style
   ============================================ */
.page-hero {
  background: var(--brown);
  padding: 120px 24px 60px;
  text-align: center;
}
.page-hero h1 {
  color: var(--beige);
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.page-hero p {
  color: rgba(255,249,240,0.75);
  margin-top: 12px;
  font-size: 1rem;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.page-content h2 {
  font-size: 1.5rem;
  color: var(--brown);
  margin: 36px 0 12px;
}
.page-content h3 {
  font-size: 1.15rem;
  color: var(--brown);
  margin: 24px 0 8px;
}
.page-content p, .page-content li {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content a { color: var(--teal); }
.page-content a:hover { text-decoration: underline; }
.page-content .last-updated {
  font-size: 0.82rem;
  color: var(--text-lt);
  margin-bottom: 40px;
  display: block;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions, .hero-stores { justify-content: center; }
  .hero-phone { flex: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-item--featured img { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--beige); padding: 20px; gap: 16px; box-shadow: 0 8px 24px var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 40px; }
  .waitlist-form .form-row { flex-direction: column; align-items: stretch; }
  .waitlist-form input { min-width: unset; }
  .phone-frame { width: 220px; }
}
