/* Grow Poultry SEO — lightweight stylesheet (mobile-first, light theme). */

:root {
  --green: #0a7d32;
  --green-dark: #086528;
  --green-tint: #e8f5ec;
  --ink: #1a1a1a;
  --muted: #5b6b60;
  --bg: #ffffff;
  --surface: #f6f8f6;
  --border: #e2e8e3;
  --yellow: #f4b400;
  --up: #0a7d32;
  --down: #c0392b;
  --steady: #8a6d00;
  --radius: 12px;
  --wrap: 1100px;
  --font: "Poppins", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 6px 24px rgba(16, 40, 24, .08);
  --shadow-sm: 0 2px 8px rgba(16, 40, 24, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
h2 { font-size: 1.4rem; margin: 1.6rem 0 .8rem; }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.25rem; }
.brand-grow { color: var(--yellow); }
.brand-poultry { color: var(--green); }
.site-nav { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.site-nav a.active { color: var(--green); }
.lang-switch { display: flex; gap: 8px; }
.lang-switch a { font-size: .85rem; color: var(--muted); }
.lang-switch a.active { color: var(--green); font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; font-size: 1.4rem; background: none; border: 0; color: var(--ink); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; margin-left: 0; }
  body.nav-open .site-nav { display: flex; }
  .lang-switch { width: 100%; }
}

/* ---- hero / sections ---- */
.page-hero { background: var(--green-tint); padding: 32px 0; }
.page-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }
.home-hero { background: linear-gradient(160deg, var(--green-tint), var(--bg)); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
section { padding: 8px 0; }
.why, .features, .related, .faq, .rate-list, .rate-cards { padding: 20px 0; }

/* ---- buttons ---- */
.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 700; border: 2px solid transparent; }
.btn-store { background: var(--green); color: #fff; }
.btn-store:hover { background: var(--green-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; text-decoration: none; }

/* ---- cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--ink); }
.card:hover { border-color: var(--green); text-decoration: none; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.card-link { color: var(--green); font-weight: 700; font-size: .9rem; }

/* ---- rate posts ---- */
.rate-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.rate-card-head h3 { margin: 0 0 4px; font-size: 1.15rem; }
.rate-sub { margin: 0; color: var(--muted); font-weight: 600; }
.rate-date { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.rate-trend { font-weight: 700; margin: 10px 0; }
.rate-trend.up { color: var(--up); }
.rate-trend.down { color: var(--down); }
.rate-trend.steady { color: var(--steady); }
.rate-body { white-space: normal; background: var(--bg); border: 1px dashed var(--border); border-radius: 8px; padding: 12px; font-size: .98rem; }
.updated-chip { display: inline-block; background: var(--green); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.notice { background: var(--green-tint); border: 1px solid var(--border); border-radius: 8px; padding: 14px; }

/* ---- locked / app-only rates card ---- */
.locked { padding: 10px 0; }
.locked-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--green-tint), var(--bg));
  border: 1px dashed var(--green);
  border-radius: var(--radius);
  padding: 18px;
}
.locked-main { display: flex; align-items: flex-start; gap: 12px; }
.locked-card h2 { margin: 0 0 4px; font-size: 1.15rem; }
.locked-card p { margin: 0; color: var(--muted); }
.lock-ico { font-size: 1.6rem; line-height: 1; }

/* ---- city page ---- */
.city-today { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 6px 0 16px; }
.city-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.city-price-label { color: var(--muted); font-weight: 600; }
.city-price-value { font-size: 2.2rem; font-weight: 800; color: var(--green); }
.trend { font-weight: 700; font-size: .95rem; padding: 2px 10px; border-radius: 999px; }
.trend.up { color: #fff; background: var(--up); }
.trend.down { color: #fff; background: var(--down); }
.trend.steady { color: var(--ink); background: var(--border); }
.city-line { margin: 8px 0 0; font-style: italic; }
.hist-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hist-table th, .hist-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.hist-table th { color: var(--muted); font-weight: 700; }
.chip-link { background: var(--green-tint); border-color: var(--green); color: var(--green); font-weight: 600; }
.chip-link:hover { background: var(--green); color: #fff; text-decoration: none; }

/* ===================================================================
   Professional theme upgrade (hero, features, steps, polish)
   =================================================================== */
h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.section-head p { color: var(--muted); }
.card, .feature, .step, .rate-card, .city-today, .locked-card, .feature-grid li { box-shadow: var(--shadow-sm); }
.card:hover, .feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card, .feature { transition: transform .15s ease, box-shadow .15s ease; }

/* ---- hero ---- */
.hero { background:
    radial-gradient(1200px 400px at 80% -10%, rgba(244,180,0,.18), transparent 60%),
    linear-gradient(160deg, var(--green-tint), var(--bg) 70%);
  padding: 40px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(10,125,50,.1); color: var(--green);
  font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 999px; letter-spacing: .02em; }
.hero-copy h1 { margin: 14px 0 10px; }
.hero-copy .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .tick { color: var(--green); font-weight: 800; }
.hero-media { display: flex; justify-content: center; }
.hero-media img, .hero-media svg { width: 100%; max-width: 420px; height: auto;
  border-radius: 20px; }
.hero-media .hero-illus { filter: drop-shadow(var(--shadow)); }

/* ---- features ---- */
.features { padding: 40px 0; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feat-ico { display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint); margin-bottom: 12px; }
.feat-ico svg { width: 26px; height: 26px; fill: var(--green); }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- how it works ---- */
.steps { padding: 40px 0; background: var(--surface); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 820px) {
  h1 { font-size: 1.9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img, .hero-media svg { max-width: 300px; }
}

/* ---- breadcrumbs ---- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 8px 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }

/* ---- related links ---- */
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.link-grid li { padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 8px; }
.link-note { color: var(--muted); font-size: .8rem; }

/* ---- chips / counts ---- */
.chips-block { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.count-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 20px; }
.count-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.count-badge { background: var(--green-tint); color: var(--green); border-radius: 999px; padding: 0 10px; font-weight: 700; }

/* ---- features ---- */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.feature-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; font-weight: 600; }

/* ---- article ---- */
.article .prose { color: var(--ink); }
.article-section { margin-bottom: 8px; }
.article-intro { max-width: 820px; }

/* ---- faq ---- */
.faq-item { border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; margin: 8px 0; background: var(--surface); }
.faq-item summary { font-weight: 700; cursor: pointer; }
.faq-answer { margin-top: 8px; color: var(--muted); }

/* ---- app cta ---- */
.app-cta { background: var(--green); color: #fff; margin-top: 24px; }
.app-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 16px; flex-wrap: wrap; }
.app-cta h2 { color: #fff; margin: 0 0 6px; }
.app-cta p { margin: 0; opacity: .95; }
.app-cta .btn-store { background: #fff; color: var(--green); }
.app-cta .btn-ghost { border-color: #fff; color: #fff; }
.app-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 28px 16px; }
.footer-col h3 { font-size: 1rem; margin: 0 0 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--ink); }
.brand-footer { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 14px 16px; }

/* ---- brand icon in header ---- */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-icon { width: 36px; height: 36px; border-radius: 9px; display: block; }

/* ---- mobile bottom tab bar (app-style) ---- */
.tabbar { display: none; }

@media (max-width: 760px) {
  /* leave room so the fixed bar never covers content */
  body { padding-bottom: 68px; }

  .tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar .tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 2px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
    text-decoration: none;
  }
  .tabbar .tab svg { width: 23px; height: 23px; fill: currentColor; }
  .tabbar .tab.active { color: var(--green); }
  .tabbar .tab-app { color: var(--green); }
  .tabbar .tab-app svg { fill: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 15px; height: 15px; }
  .tabbar .tab:active { background: var(--green-tint); border-radius: 10px; }

  /* the app-cta bar can sit flush above the tab bar */
  .app-cta { margin-bottom: 0; }
}
