/* ============================================================
   TikRPM.com — Main Stylesheet
   Stack: Pure CSS, CSS Custom Properties, Flexbox/Grid
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
ul, ol { padding-left: 1.4rem; }

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand */
  --accent:        #EE1D52;   /* TikTok red */
  --accent-dark:   #c4143f;
  --accent-light:  #fff0f3;
  --teal:          #69C9D0;   /* TikTok teal */
  --teal-dark:     #3eaeb6;

  /* Neutrals */
  --bg:            #f8f9fb;
  --surface:       #ffffff;
  --surface-2:     #f1f3f6;
  --border:        #e2e6ea;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;

  /* Status */
  --success:       #10b981;
  --error:         #ef4444;
  --warning:       #f59e0b;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.13);

  /* Layout */
  --container:     1160px;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p  { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
}

.navbar-brand .brand-rpm { color: var(--accent); }
.navbar-brand .brand-tik { color: var(--text); }

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: -.05em;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
}

.navbar-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .92rem;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Ad Slot Placeholders ──────────────────────────────────── */
.ad-slot {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  overflow: hidden;
}
.ad-slot--leaderboard { width: 100%; height: 90px; }
.ad-slot--in-article  { width: 100%; max-width: 728px; height: 90px; margin-inline: auto; }
.ad-slot--banner      { width: 100%; height: 90px; }

.ad-wrapper { padding: .75rem 0; text-align: center; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a0a12 50%, #0a1520 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(238,29,82,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(105,201,208,.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(238,29,82,.15);
  border: 1px solid rgba(238,29,82,.35);
  color: #ff6b8a;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 780px;
  margin-inline: auto;
}

.hero h1 span { color: var(--teal); }

.hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat span {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat small {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Section Wrappers ──────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--text); color: #fff; }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: var(--text-muted); max-width: 580px; margin-inline: auto; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* ── Calculator Card ───────────────────────────────────────── */
.calc-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--border);
}

.calc-header {
  background: linear-gradient(135deg, var(--accent) 0%, #c4143f 100%);
  color: #fff;
  padding: 1.5rem 2rem;
}

.calc-header h2 { color: #fff; font-size: 1.25rem; margin-bottom: .2rem; }
.calc-header p  { color: rgba(255,255,255,.8); font-size: .88rem; margin: 0; }

.calc-body { padding: 2rem; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .calc-grid { grid-template-columns: 1fr; }
}

/* Form Controls */
.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(238,29,82,.12);
}

.form-hint { font-size: .76rem; color: var(--text-light); }

/* RPM Range Slider */
.rpm-row {
  grid-column: 1 / -1;
}

.rpm-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rpm-slider-wrap { flex: 1; display: flex; flex-direction: column; gap: .5rem; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(238,29,82,.4);
  cursor: pointer;
  transition: transform .15s;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(238,29,82,.4);
  cursor: pointer;
}

.rpm-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--text-light);
}

.rpm-number {
  width: 90px;
  flex-shrink: 0;
}

/* Results Panel */
.calc-results {
  background: linear-gradient(135deg, #f8f9fb 0%, #fff0f3 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 500px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow .2s;
}

.result-card:hover { box-shadow: var(--shadow); }

.result-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fff 60%, var(--accent-light) 100%);
}

.result-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.result-card.highlight .result-value { color: var(--accent); }
.result-sub { font-size: .75rem; color: var(--text-light); margin-top: .2rem; }

/* Calc Action Buttons */
.calc-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .1s, box-shadow .2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(238,29,82,.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #a01030 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(238,29,82,.4);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}

.btn-teal:hover { background: linear-gradient(135deg, var(--teal-dark) 0%, #2e9aa2 100%); color: #fff; }

.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* Copy feedback */
.btn.copied { background: var(--success); color: #fff; }

/* ── Info / Notice Boxes ───────────────────────────────────── */
.info-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--text);
}

.info-box.teal {
  background: #edfcfd;
  border-left-color: var(--teal);
}

.info-box.success {
  background: #ecfdf5;
  border-left-color: var(--success);
  color: #065f46;
}

.info-box.error {
  background: #fef2f2;
  border-left-color: var(--error);
  color: #991b1b;
}

/* ── Content / Article ─────────────────────────────────────── */
.content-area h2 { margin-top: 2rem; margin-bottom: .75rem; }
.content-area h3 { margin-top: 1.5rem; margin-bottom: .6rem; color: var(--text); }
.content-area p  { margin-bottom: 1rem; }
.content-area ul,
.content-area ol { margin-bottom: 1rem; }
.content-area li { margin-bottom: .4rem; }

/* ── Accordion (FAQ) ───────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .2s;
  font-family: inherit;
}

.accordion-trigger:hover { background: var(--surface-2); }
.accordion-trigger[aria-expanded="true"] { background: var(--accent-light); color: var(--accent); }

.accordion-icon {
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .3s;
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  background: var(--surface);
}

.accordion-panel.open { max-height: 600px; }

.accordion-panel-inner {
  padding: 0 1.4rem 1.2rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── RPM Table ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--text); color: #fff; }
thead th { padding: .8rem 1rem; text-align: left; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
tbody td { padding: .75rem 1rem; }
tbody td:first-child { font-weight: 600; }

/* ── Cards / Grid ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* ── Blog Cards ────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1a0a12 0%, #0a1520 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--teal);
}

.blog-card-body { padding: 1.25rem; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: .6rem;
  flex-wrap: wrap;
}

.blog-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: .2rem .55rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
}

.blog-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: .9rem; }

/* ── Forms (Contact, etc.) ─────────────────────────────────── */
.form-page { max-width: 640px; margin-inline: auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

textarea.form-control { resize: vertical; min-height: 140px; }

.form-submit { margin-top: .5rem; }

/* Alert messages */
.alert {
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Steps / How-To ────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  margin-top: .15rem;
}

.step-body h4 { margin-bottom: .3rem; }
.step-body p  { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a0a12 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 { color: #fff; }
.page-hero p  { color: rgba(255,255,255,.65); max-width: 560px; margin-inline: auto; margin-top: .6rem; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-light);
  padding: .75rem 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-light); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #0f0f1a;
  color: rgba(255,255,255,.65);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; }
.footer-brand-name { color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer-brand-name span { color: var(--accent); }

.footer-desc { font-size: .85rem; line-height: 1.65; max-width: 320px; }

.footer-heading {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .87rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
}

.footer-disclaimer {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  max-width: 720px;
  margin-top: .6rem;
  line-height: 1.6;
}

/* ── Utility Classes ───────────────────────────────────────── */
.mt-1 { margin-top: .5rem;  }
.mt-2 { margin-top: 1rem;   }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem;   }
.mb-1 { margin-bottom: .5rem;  }
.mb-2 { margin-bottom: 1rem;   }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem;   }
.pt-2 { padding-top: 1rem; }
.pb-2 { padding-bottom: 1rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem;  }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }

/* ── Responsive – Tablet ───────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: .75rem 1.25rem 1rem;
    gap: .15rem;
    box-shadow: var(--shadow);
  }

  .navbar-nav.open { display: flex; }
  .navbar-nav a { width: 100%; padding: .6rem .85rem; }

  .nav-toggle { display: flex; }

  .hero { padding: 3rem 0 2.5rem; }

  .hero-stats { gap: 1.5rem; }

  .calc-body { padding: 1.25rem; }

  .section { padding: 2.5rem 0; }
}

/* ── Responsive – Mobile ───────────────────────────────────── */
@media (max-width: 480px) {
  .calc-header { padding: 1.25rem; }
  .calc-results { padding: 1rem; }
  .result-value { font-size: 1.3rem; }
  .btn-lg { width: 100%; }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .navbar, .site-footer, .ad-slot, .calc-actions { display: none; }
  .hero { padding: 1.5rem 0; }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp .5s ease both; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.6s infinite;
}
