/* ============================================================
   AIR FRYER JOURNY — Global Site Stylesheet
   Brand: #6B9E9A (teal), Typography: Playfair Display + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  --brand:       #6B9E9A;
  --brand-h:     #568a86;
  --brand-dark:  #2d6a65;
  --brand-light: #eef6f5;
  --brand-xlt:   #f4fbfa;
  --gold:        #aae5e0;
  --cream:       #FFF8F2;
  --text:        #1a202c;
  --text-mute:   #718096;
  --border:      #dde8e7;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 4px 32px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── SITE HEADER ── */
.site-header {
  background: #1a2e2d;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.site-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.site-nav a.active { color: var(--gold); }

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--brand-h) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px; transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a2e2d 0%, var(--brand-dark) 50%, var(--brand) 100%);
  color: #fff;
  padding: 90px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(107,158,154,.3) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(170,229,224,.15) 0%, transparent 55%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-h); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(107,158,154,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-dark { background: #1a2e2d; color: #fff; }
.btn-dark:hover { background: #2d4947; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--brand-xlt); }
.section-dark { background: #1a2e2d; color: #fff; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--gold); }

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.section-dark h2.section-title { color: #fff; }

p.section-lead {
  font-size: 1.05rem;
  color: var(--text-mute);
  max-width: 620px;
  line-height: 1.7;
}
.section-dark p.section-lead { color: rgba(255,255,255,0.7); }

/* ── TOOL CARDS GRID (homepage) ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.tool-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.tool-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(107,158,154,0.18);
  color: inherit;
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-icon { font-size: 2.4rem; line-height: 1; }
.tool-name { font-size: 1rem; font-weight: 800; color: var(--text); }
.tool-desc { font-size: 0.82rem; color: var(--text-mute); flex: 1; line-height: 1.5; }
.tool-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.8rem; font-weight: 700; color: var(--brand);
  margin-top: 4px;
}
.tool-link::after { content: '→'; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item { text-align: center; padding: 8px; }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--brand-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.feature-item h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; color: var(--text-mute); line-height: 1.6; }

/* ── CONTENT PROSE ── */
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
.prose h1 { font-size: 2rem; font-weight: 900; }
.prose h2 { font-size: 1.5rem; font-weight: 800; }
.prose h3 { font-size: 1.15rem; font-weight: 700; font-family: 'DM Sans', sans-serif; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0.75rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; line-height: 1.65; }
.prose strong { font-weight: 700; color: var(--text); }
.prose a { color: var(--brand); font-weight: 600; }
.prose hr { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }

/* ── DATA TABLES ── */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5rem 0 2rem;
}
.data-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table-wrap thead { background: #1a2e2d; color: #fff; }
.data-table-wrap thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.data-table-wrap tbody tr { border-bottom: 1px solid var(--border); transition: background 0.12s; }
.data-table-wrap tbody tr:hover { background: var(--brand-xlt); }
.data-table-wrap tbody tr:last-child { border-bottom: none; }
.data-table-wrap td { padding: 9px 14px; vertical-align: middle; }
.data-table-wrap td:first-child { font-weight: 600; }
.data-table-wrap tr:nth-child(even) td { background: var(--brand-xlt); }
.data-table-wrap tr:hover td { background: var(--brand-light) !important; }

/* ── CALLOUT BOXES ── */
.callout {
  border-radius: 10px;
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.65;
}
.callout-tip { background: var(--brand-light); border-left: 4px solid var(--brand); color: var(--brand-dark); }
.callout-warn { background: #fffbeb; border-left: 4px solid #f6c90e; color: #7b4f00; }
.callout-info { background: #ebf4ff; border-left: 4px solid #3b82f6; color: #1e3a5f; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-q-badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-a { font-size: 0.93rem; color: var(--text-mute); line-height: 1.7; padding-left: 30px; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, #1a2e2d, var(--brand-dark));
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-strip p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1rem; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── SITE FOOTER ── */
.site-footer {
  background: #0f1e1d;
  color: rgba(255,255,255,0.65);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { font-size: 0.83rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1140px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--text-mute);
}
.breadcrumb a { color: var(--brand); font-weight: 600; }
.breadcrumb span { margin: 0 7px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #1a2e2d 0%, var(--brand-dark) 60%, var(--brand) 100%);
  color: #fff;
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(170,229,224,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 750px;
  margin: 0 auto 16px;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.65;
}
.page-hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.page-hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── TOOL SECTION ── */
.tool-section { background: var(--brand-xlt); padding: 60px 0; }

/* ── RELATED TOOLS ── */
.related-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.related-card:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(107,158,154,0.15); color: inherit; }
.related-card .icon { font-size: 1.6rem; }
.related-card .name { font-size: 0.9rem; font-weight: 800; color: var(--text); }
.related-card .desc { font-size: 0.78rem; color: var(--text-mute); line-height: 1.5; }
.related-card .arrow { font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-top: auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-tools { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-tools { grid-template-columns: 1fr; }
  .hero { padding: 64px 16px 72px; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 0; }
  .site-nav { display: none; }
  .hamburger { display: block; }
  .cta-strip { padding: 36px 20px; }
  .page-hero { padding: 48px 16px 56px; }
}
@media (max-width: 400px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #1a2e2d;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 16px;
}

/* ── PRINT ── */
@media print {
  .site-header, .site-footer, .cta-strip, .related-tools, .page-hero .btn { display: none !important; }
}

/* ============================================================
   DROPDOWN NAV — added for PHP version
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; transition: all 0.15s;
  white-space: nowrap; text-decoration: none;
}
.nav-dropdown-trigger:hover { color: #fff !important; background: rgba(255,255,255,0.1); }
.nav-arrow { font-size: .6rem; transition: transform .2s; }
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); background: #1a2e2d;
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  padding: 16px; min-width: 480px; z-index: 9000;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;
}
.nav-dropdown-heading {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35);
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-dropdown-col a {
  display: block; padding: 7px 10px; border-radius: 8px;
  color: rgba(255,255,255,.72) !important; font-size: .82rem;
  font-weight: 500; transition: all .15s; text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-col a:hover {
  background: rgba(255,255,255,.09); color: #fff !important;
}

/* ============================================================
   MOBILE MENU SECTION HEADINGS
   ============================================================ */
.mob-section {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35);
  padding: 14px 20px 6px; border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 6px;
}

/* ── FOOTER BRAND GUIDE LINKS ── */
.footer-brand ul { list-style: none; }
.footer-brand ul li { margin-bottom: 6px; }
.footer-brand ul a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-brand ul a:hover { color: var(--gold); }
