/* ============================================================
   OziCalculator – style.css
   Modern SaaS UI · Mobile-First · Soft Blue/Green/White
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --sky-400:  #38bdf8;
  --sky-500:  #0ea5e9;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --green-50: #f0fdf4;
  --green-400:#4ade80;
  --green-500:#22c55e;
  --slate-50: #f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;
  --white:    #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(37,99,235,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(37,99,235,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 60px rgba(37,99,235,.15), 0 8px 24px rgba(0,0,0,.1);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --transition: all .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-700); }

/* ---------- CONTAINER ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- SCROLL FADE IN ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--sky-500));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-600);
}
.btn-outline:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}

/* ---------- SECTION LABELS & TITLES ---------- */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 560px;
  margin-bottom: 48px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(37,99,235,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-800);
  letter-spacing: -.01em;
}
.logo-text strong { color: var(--blue-600); font-weight: 800; }
.logo:hover .logo-text { color: var(--blue-600); }

/* Nav */
.main-nav ul {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--blue-50); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--blue-700) 0%, var(--blue-600) 40%, var(--sky-500) 80%, var(--teal-400) 100%);
  padding: 140px 0 90px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.shape-1 { width: 500px; height: 500px; background: #bfdbfe; top: -120px; left: -100px; }
.shape-2 { width: 400px; height: 400px; background: #a5f3fc; bottom: -80px; right: -80px; }
.shape-3 { width: 300px; height: 300px; background: #6ee7b7; bottom: 40px; left: 30%; opacity: .18; }

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.stat span { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.25); }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 90px 0;
  background: var(--slate-50);
}
.features .container { text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-100);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.feature-card p { font-size: .9rem; color: var(--slate-500); line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 90px 0;
  background: var(--white);
  text-align: center;
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--slate-100);
  text-align: left;
  transition: var(--transition);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--blue-200);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--slate-500); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--blue-200);
  font-weight: 300;
}

/* ============================================================
   CALCULATORS SECTION
   ============================================================ */
.calculators-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.calculators-section .container { text-align: center; }

/* Tabs */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.calc-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.calc-tab:hover { border-color: var(--blue-300, #93c5fd); color: var(--blue-600); }
.calc-tab.active {
  background: linear-gradient(135deg, var(--blue-600), var(--sky-500));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}

/* Panels */
.calc-panel { display: none; }
.calc-panel.active { display: block; }

/* Card */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
}
.calc-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 32px 0;
}
.calc-icon { font-size: 2.2rem; line-height: 1; }
.calc-title { font-size: 1.3rem; font-weight: 800; color: var(--slate-900); margin-bottom: 4px; }
.calc-desc { font-size: .9rem; color: var(--slate-500); }
.calc-body { padding: 24px 32px 32px; }

/* Form elements */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--slate-700); }
.form-group input {
  padding: 12px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-btn { width: 100%; margin-top: 8px; padding: 15px; font-size: 1rem; border-radius: var(--radius-md); }

/* Result */
.calc-result {
  margin-top: 20px;
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}
.calc-result.has-result {
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  border: 1px solid var(--blue-100);
  padding: 20px 22px;
}
.calc-result.has-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 14px 18px;
  color: #be123c;
  font-weight: 600;
  font-size: .9rem;
}
.result-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 4px;
}
.result-sub { font-size: .88rem; color: var(--slate-600); }
.result-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 8px;
}
.badge-green { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-blue { background: var(--blue-100); color: var(--blue-700); }

/* Percentage mode tabs */
.perc-mode-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
}
.perc-mode {
  padding: 7px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.perc-mode.active { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.perc-panel { display: none; }
.perc-panel.active { display: block; }

/* EMI result table */
.emi-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.emi-table td {
  padding: 8px 4px;
  font-size: .88rem;
  border-bottom: 1px solid var(--blue-100);
  color: var(--slate-700);
}
.emi-table td:last-child { font-weight: 700; color: var(--blue-700); text-align: right; }

/* ============================================================
   CONTENT SECTION
   ============================================================ */
.content-section {
  padding: 90px 0;
  background: var(--white);
}
.content-container { max-width: 820px; }
.main-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 40px 0 14px;
  line-height: 1.25;
}
.main-content h2:first-child { margin-top: 0; }
.main-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-700);
  margin: 28px 0 10px;
}
.main-content p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 18px;
}
.main-content strong { color: var(--slate-800); }
.main-content code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--slate-100);
  color: var(--blue-700);
  padding: 2px 7px;
  border-radius: 5px;
}
.main-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
  padding: 90px 0;
  background: var(--slate-50);
}
.blog-section .container { text-align: center; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
  text-align: left;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-thumb { position: relative; }
.blog-thumb-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  display: flex; align-items: center; justify-content: center;
}
.blog-thumb-placeholder span { font-size: 4rem; }
.blog-thumb-2 { background: linear-gradient(135deg, var(--teal-500), var(--blue-500)); }
.blog-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--blue-600);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.blog-content { padding: 24px; }
.blog-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; line-height: 1.4; }
.blog-content h3 a { color: inherit; }
.blog-content h3 a:hover { color: var(--blue-600); }
.blog-content p { font-size: .88rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 16px; }
.read-more { font-size: .85rem; font-weight: 700; color: var(--blue-600); }
.read-more:hover { color: var(--blue-700); }
.blog-cta { margin-top: 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 90px 0; background: var(--white); }
.faq-section .container { max-width: 760px; text-align: center; }
.faq-list { margin-top: 16px; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue-100); background: var(--blue-50); }
.faq-question {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--blue-500); font-weight: 400; transition: var(--transition); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 0 22px 18px; font-size: .9rem; color: var(--slate-600); line-height: 1.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo span { color: var(--slate-200); font-size: 1.1rem; }
.footer-logo strong { color: var(--sky-400); }
.footer-about p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--slate-400);
  margin-bottom: 12px;
}
.footer-email a { color: var(--sky-400); font-size: .88rem; }
.footer-email a:hover { color: var(--white); }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-200);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .88rem;
  color: var(--slate-400);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--sky-400); }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: var(--slate-500); line-height: 1.8; }
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--sky-400); }
.footer-disclaimer { color: var(--slate-600) !important; font-size: .78rem !important; margin-top: 4px; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.inner-hero {
  background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
  padding: 110px 0 60px;
  text-align: center;
  color: var(--white);
}
.inner-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.inner-hero p { font-size: 1.05rem; opacity: .85; }
.inner-content {
  padding: 70px 0 90px;
  max-width: 820px;
  margin: 0 auto;
}
.inner-content h2 { font-size: 1.45rem; font-weight: 800; color: var(--slate-900); margin: 36px 0 12px; }
.inner-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-700); margin: 24px 0 8px; }
.inner-content p { font-size: .97rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 16px; }
.inner-content ul, .inner-content ol { margin: 0 0 16px 22px; }
.inner-content li { font-size: .97rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 6px; }
.inner-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

/* Contact form */
.contact-form { background: var(--slate-50); border-radius: var(--radius-xl); padding: 36px; border: 1px solid var(--slate-200); margin-top: 32px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 7px; }

/* Blog article */
.blog-article { max-width: 820px; margin: 0 auto; padding: 70px 20px 90px; }
.blog-article .article-hero-img {
  width: 100%; height: 320px; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  margin-bottom: 36px;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
}
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.article-meta span { font-size: .82rem; color: var(--slate-500); }
.article-category {
  background: var(--blue-50); color: var(--blue-600);
  padding: 4px 12px; border-radius: 50px;
  font-size: .78rem; font-weight: 700;
}
.blog-article h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--slate-900); margin-bottom: 24px; line-height: 1.2; }
.blog-article h2 { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin: 36px 0 14px; }
.blog-article h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-700); margin: 24px 0 8px; }
.blog-article p { font-size: .97rem; color: var(--slate-600); line-height: 1.85; margin-bottom: 18px; }
.blog-article ul, .blog-article ol { margin: 0 0 18px 24px; }
.blog-article li { font-size: .97rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 7px; }
.blog-article a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.blog-article strong { color: var(--slate-800); }
.blog-article .highlight-box {
  background: var(--blue-50); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 20px; margin: 24px 0;
}
.blog-article .highlight-box p { margin: 0; color: var(--blue-800, #1e40af); }
.blog-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--slate-200); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
    padding: 12px 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .nav-link { padding: 11px 14px; display: block; border-radius: 10px; }

  .hero { padding: 120px 0 70px; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }

  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .calc-header { flex-direction: column; gap: 10px; }
  .calc-body { padding: 18px 20px 24px; }
  .calc-header { padding: 22px 20px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }

  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .inner-content { padding: 50px 0 70px; }

  .perc-mode-tabs { flex-direction: column; }
  .perc-mode { text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .calc-tabs { gap: 6px; }
  .calc-tab { padding: 8px 14px; font-size: .82rem; }
}
