/* ============ BadMic Studio — Apple-inspired design, green accent ============ */
:root {
  --bg: #ffffff;
  --bg-light: #fbfbfd;
  --ink: #1d1d1f;
  --ink-strong: #000000;
  --muted: #6e6e73;
  --muted-light: #9a9aa0;
  --line: #d2d2d7;
  --line-strong: #bebec4;
  --brand: #014F0D;
  --brand-dark: #00340A;
  --brand-soft: #e5f0e6;
  --brand-glow: rgba(1, 79, 13, 0.18);
  --link: #014F0D;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-brand: 0 20px 50px rgba(1, 79, 13, 0.25);
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 980px;
  --container-wide: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-strong);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }
.container-wide { max-width: var(--container-wide); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px var(--brand-glow);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 28px var(--brand-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--link);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }

.btn-link {
  background: none;
  color: var(--link);
  border: none;
  padding: 0;
  font-size: 16px;
}
.btn-link span { transition: transform 0.2s ease; display: inline-block; }
.btn-link:hover span { transform: translateX(4px); }
.btn-link:hover { color: var(--brand); text-decoration: underline; }
.btn-link.underlined { text-decoration: underline; }

.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}
.brand-mark { color: var(--brand); display: inline-flex; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: sticky;
  top: 48px;
  z-index: 40;
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* IMPORTANT: keep [hidden] working even though .mobile-nav sets display:flex */
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid #e8e8ed;
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 10px; }

/* ============ Hero ============ */
.hero {
  padding: 84px 0 56px;
  background:
    radial-gradient(52% 45% at 78% 0%, rgba(1, 79, 13, 0.07), transparent 65%),
    radial-gradient(40% 40% at 12% 12%, rgba(1, 79, 13, 0.05), transparent 60%),
    var(--bg-light);
  position: relative;
}

.hero-inner { text-align: center; }

.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-kicker span { color: var(--muted-light); margin: 0 8px; }

.hero-title {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 16ch;
  margin: 0 auto 24px;
}

.rotating-word {
  display: inline-block;
  color: var(--link);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.rotating-word.fade { opacity: 0; transform: translateY(8px); }

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 32px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-logos {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8ed;
  text-align: center;
}
.hero-logos > span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 12px;
}
.hero-logo {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0.75;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}
.hero-logo:hover { opacity: 1; color: var(--link); }

/* Hero visual */
.hero-visual {
  position: relative;
  margin-top: 60px;
  padding: 0 8px 24px;
}

.editor-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.editor-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid var(--line);
}
.editor-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d2d2d7;
}
.editor-chrome span:nth-child(1) { background: #ff5f57; }
.editor-chrome span:nth-child(2) { background: #febc2e; }
.editor-chrome span:nth-child(3) { background: #28c840; }
.editor-title {
  margin: 0 auto;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.editor-body { padding: 28px; }

.editor-waveform {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
}
.editor-waveform svg { width: 100%; height: 84px; }
.editor-waveform path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.85;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.playhead {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 40px;
  width: 2px;
  background: var(--link);
  border-radius: 2px;
  animation: scan 4.5s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateX(0); opacity: 0.25; }
  50% { opacity: 1; }
  100% { transform: translateX(560px); opacity: 0.25; }
}

.editor-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.editor-stat {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.editor-stat:hover { border-color: var(--line); transform: translateY(-2px); }
.editor-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.editor-stat-value { font-size: 16px; font-weight: 600; color: var(--ink-strong); }

.editor-shorts { display: flex; gap: 10px; flex-wrap: wrap; }
.short-chip {
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 980px;
}
.short-chip:nth-child(2) { background: var(--brand); }

.hero-float-chip {
  position: absolute;
  right: 30px;
  bottom: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 980px;
  box-shadow: var(--shadow-soft);
  animation: floaty 5s ease-in-out 0.5s infinite;
}

/* ============ Feature strip ============ */
.features {
  background: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature { text-align: center; padding: 8px; }
.feature-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--link);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px var(--brand-glow);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-light { background: var(--bg); }
.section-alt {
  background: linear-gradient(180deg, var(--bg-light), #eef3ee);
  color: var(--ink);
  border-block: 1px solid #e4ebe4;
}
.section-alt .section-title-light { color: var(--ink-strong); }

.section-head { margin-bottom: 56px; }
.section-head-center { text-align: center; }

.section-kicker {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-head-center .section-title { max-width: 22ch; margin: 0 auto; }
.section-sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 16px;
  max-width: 50ch;
}
.section-sub-light { color: var(--muted); }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-title-light { color: var(--ink-strong); }

/* ============ Stats ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ============ Services ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-item {
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-item:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.service-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.service-item-top h3 { font-size: 22px; }
.service-desc { font-size: 14.5px; color: var(--muted); }

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 980px;
  white-space: nowrap;
}
.tag-hot { color: var(--link); border-color: var(--brand); background: var(--brand-soft); }

/* ============ Checklist / chips ============ */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23014F0D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/13px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-center { justify-content: center; }
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-light);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 980px;
}
.section-alt .chip {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.about-grid > div:first-child { text-align: center; }
.about-lead {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--ink-strong);
  max-width: 22ch;
  margin: 0 auto 24px;
  line-height: 1.3;
}
.about-lead-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 36px;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.about-photo-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.about-photo-note strong { display: block; color: var(--ink-strong); font-size: 15px; }
.about-photo-note span { color: var(--muted); font-size: 13px; }

/* ============ Author bio card ============ */
.author-bio-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 24px 0;
  text-align: left;
}
.author-bio-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.author-bio-header strong {
  display: block;
  color: var(--ink-strong);
  font-size: 16px;
}
.author-bio-header span {
  color: var(--muted);
  font-size: 13px;
}
.author-bio-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.author-bio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.author-bio-meta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(1, 79, 13, 0.1);
  border: 1px solid rgba(1, 79, 13, 0.2);
  padding: 4px 12px;
  border-radius: 980px;
}
[data-theme="dark"] .author-bio-card {
  background: rgba(22, 27, 34, 0.6);
  border-color: #30363d;
}

/* ============ Footer trust strip ============ */
.footer-contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 1px solid #e8e8ed;
  font-size: 13px;
  color: var(--muted);
}
.footer-sep { opacity: 0.3; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-updated {
  font-size: 12px;
  color: var(--muted-light);
}
[data-theme="dark"] .footer-contact-strip {
  border-top-color: #30363d;
}

/* ============ Work ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1); }

.thumb-frame {
  aspect-ratio: 16 / 10;
  background: var(--ink-strong);
  position: relative;
  display: block;
  overflow: hidden;
}
.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-card:hover .thumb-frame img { transform: scale(1.04); }
.thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.work-card:hover .thumb-play { opacity: 1; }
.thumb-play span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.thumb-play svg { width: 24px; height: 24px; margin-left: 3px; }

.work-body { padding: 22px 24px 26px; }
.work-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--link);
  margin-bottom: 10px;
}
.work-title {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-strong);
  line-height: 1.35;
  margin-bottom: 10px;
}
.work-title:hover { color: var(--link); }
.work-desc { font-size: 14px; color: var(--muted); }

/* ============ Process (dark) ============ */
.process-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.process-tab {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.process-tab:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); }
.process-tab.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 10px 28px var(--brand-glow);
}
.process-index {
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  line-height: 1.1;
}
.process-tab strong { display: block; color: var(--ink-strong); font-size: 15px; }
.process-tab small { color: var(--muted); font-size: 12.5px; }

.process-panels {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.process-panel {
  display: none;
  padding: 40px;
}
.process-panel.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.process-panel-kicker {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 10px;
}
.process-panel h3 { font-size: 30px; color: var(--ink-strong); margin-bottom: 16px; }
.process-panel-text { font-size: 16px; color: var(--muted); margin-bottom: 22px; max-width: 60ch; }
.process-panel .check-list li { color: var(--ink); }
.process-panel-out {
  display: inline-block;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(1, 79, 13, 0.35);
  border-radius: 980px;
  padding: 10px 18px;
  font-size: 14px;
}

/* ============ Pricing ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card-hot {
  border: 2px solid var(--brand);
  background: #fff;
  box-shadow: 0 20px 60px var(--brand-glow);
}
.price-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.03em;
}
.price-value .currency { font-size: 26px; vertical-align: top; color: var(--link); margin-top: 8px; display: inline-block; }
.price-value .per { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-desc { font-size: 14px; color: var(--muted); }
.price-card .check-list { margin-bottom: 8px; }
.price-card .btn { margin-top: auto; }

.fineprint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 36px; }

/* ============ Testimonials ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08); }
.testimonial-quote { font-size: 15.5px; color: var(--ink); line-height: 1.6; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card figcaption strong { display: block; color: var(--ink-strong); font-size: 15px; }
.testimonial-card figcaption span { color: var(--muted); font-size: 13px; }

/* ============ FAQ ============ */
.faq-list details {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: var(--line); }
.faq-list summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--link);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ============ Contact ============ */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-strong); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-strong);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.form-success { color: #1d1d1f; font-weight: 600; font-size: 14.5px; }

/* ============ Newsletter ============ */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 12px 20px;
}
.newsletter-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.newsletter-hint { color: var(--brand); font-weight: 600; margin-top: 14px; text-align: center; }
.newsletter-hint-muted { color: var(--muted); font-size: 13.5px; margin-top: 14px; text-align: center; }

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-light);
  border-top: 1px solid #e8e8ed;
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand-col .brand { margin-bottom: 12px; }
.footer-brand-col p { max-width: 30ch; }
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--ink-strong); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #e8e8ed;
  padding-top: 20px;
}

/* ============ Page hero (blog/privacy) ============ */
.page-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(50% 45% at 70% 0%, rgba(1, 79, 13, 0.06), transparent 60%),
    var(--bg-light);
  text-align: center;
}
.page-hero h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0 auto; }

/* ============ Blog ============ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.blog-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
.blog-card-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.35; }
.blog-card-title {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--link); }
.blog-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.blog-card-read { font-weight: 600; font-size: 14px; color: var(--link); }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 18px; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin: 36px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--link); text-decoration: underline; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .editor-window, .hero-float-chip { animation: none; }
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  background: var(--brand-soft);
  padding: 26px 0;
  border-block: 1px solid #d7e5d8;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.marquee-item:nth-child(even) { color: var(--brand-dark); opacity: 0.45; }
.marquee-dot { color: var(--brand); opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Availability badge ============ */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(1, 79, 13, 0.2);
  padding: 8px 16px;
  border-radius: 980px;
  margin-left: 12px;
  animation: pulseGlow 3s ease-in-out infinite;
}
.availability-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ============ Showreel ============ */
.showreel-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
}
.showreel-player {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--bg);
}
.showreel-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
}
.showreel-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.showreel-chrome span:nth-child(1) { background: #ff5f57; }
.showreel-chrome span:nth-child(2) { background: #febc2e; }
.showreel-chrome span:nth-child(3) { background: #28c840; }
.showreel-title {
  margin: 0 auto;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.showreel-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.showreel-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.showreel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.showreel-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}
.showreel-placeholder span {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.5;
}
.showreel-placeholder small {
  font-size: 14px;
  opacity: 0.4;
}
.showreel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.showreel-stat {
  text-align: center;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.showreel-stat:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}
.showreel-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.showreel-stat-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* ============ Work metrics ============ */
.work-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.work-metric {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(1, 79, 13, 0.2);
  padding: 4px 12px;
  border-radius: 980px;
}

/* ============ Before / After compare ============ */
.compare-widget {
  position: relative;
  user-select: none;
  touch-action: none;
}
.compare-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.compare-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 980px;
}
.compare-label-before {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.compare-label-after {
  color: var(--brand);
  background: var(--brand-soft);
}
.compare-waveforms {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-light);
}
.compare-wave {
  position: relative;
  padding: 32px 20px;
}
.compare-wave svg {
  width: 100%;
  height: 80px;
}
.compare-wave-before path {
  fill: none;
  stroke: #ef4444;
  stroke-width: 2;
  opacity: 0.8;
}
.compare-wave-after path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  opacity: 0.9;
}
.compare-noise {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(239, 68, 68, 0.03) 2px,
    rgba(239, 68, 68, 0.03) 4px
  );
  pointer-events: none;
}
.compare-wave-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 50%);
  background: rgba(1, 79, 13, 0.04);
  transition: clip-path 0.05s linear;
}
.compare-tag {
  position: absolute;
  bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  white-space: nowrap;
}
.compare-wave-before .compare-tag { left: 16px; }
.compare-wave-after .compare-tag { right: 16px; }
.compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-slider-line {
  position: absolute;
  inset: 0;
  width: 2px;
  background: var(--white);
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}
.compare-slider-handle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  z-index: 2;
}
.compare-slider-handle svg {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

/* ============ Case study ============ */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.case-study-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.case-study-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-study-visual:hover img { transform: scale(1.03); }
.case-study-visual .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.case-study-visual:hover .thumb-play { opacity: 1; }
.case-study-visual .thumb-play span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.case-study-visual .thumb-play svg { width: 24px; height: 24px; margin-left: 3px; }

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.case-study-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.case-study-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.case-study-step strong {
  display: block;
  font-size: 16px;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.case-study-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ Lead magnet ============ */
.lead-magnet-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--brand-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}
.lead-magnet-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(1, 79, 13, 0.2);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}
.lead-magnet-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 12px;
}
.lead-magnet-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 24px;
}
.lead-magnet-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 42ch;
  margin: 0 auto 28px;
  text-align: left;
}
.lead-magnet-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink);
}
.lead-magnet-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23014F0D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.lead-magnet-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.lead-magnet-form input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 12px 20px;
}
.lead-magnet-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.lead-magnet-success {
  color: var(--brand);
  font-weight: 600;
  margin-top: 14px;
}
.lead-magnet-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

[data-theme="dark"] .lead-magnet-card {
  background: linear-gradient(135deg, #161b22 0%, rgba(63, 185, 80, 0.08) 100%);
}
[data-theme="dark"] .lead-magnet-badge {
  background: #0d1117;
}
[data-theme="dark"] .lead-magnet-form input {
  background: #0d1117;
  border-color: #30363d;
  color: var(--ink);
}
[data-theme="dark"] .showreel-player {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .showreel-chrome {
  background: #0d1117;
  border-color: #30363d;
}
[data-theme="dark"] .showreel-embed {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}
[data-theme="dark"] .showreel-stat {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .compare-waveforms {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .compare-tag {
  background: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .compare-wave-after {
  background: rgba(63, 185, 80, 0.08);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .pricing-grid, .work-grid, .testimonials { grid-template-columns: 1fr; }
  .process-tabs { grid-template-columns: 1fr 1fr; }
  .editor-stats { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .showreel-stats { grid-template-columns: 1fr 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .case-study-visual { max-width: 600px; margin: 0 auto; }
  .availability-badge { margin-left: 0; margin-top: 8px; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .process-tabs { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 40px; }
  .editor-body { padding: 16px; }
  .hero-float-chip { right: 16px; }
  .playhead { display: none; }
  .contact-form { padding: 28px 20px; }
  .showreel-stats { grid-template-columns: 1fr; }
  .lead-magnet-card { padding: 32px 20px; }
  .lead-magnet-form { flex-direction: column; }
  .compare-waveforms { border-radius: var(--radius-sm); }
  .compare-wave { padding: 20px 12px; }
  .compare-wave svg { height: 60px; }
  .compare-slider-handle { width: 32px; height: 32px; }
  .compare-slider-handle svg { width: 14px; height: 14px; }
  .case-study-step { flex-direction: column; gap: 8px; }
}

/* ============ Scroll progress bar ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #34d058, var(--brand));
  background-size: 200% 100%;
  z-index: 100;
  transition: width 0.1s linear;
  animation: shimmer 2s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============ Dark mode toggle ============ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--ink);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: rotate(20deg);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Dark mode */
[data-theme="dark"] {
  --bg: #0d1117;
  --bg-light: #161b22;
  --ink: #c9d1d9;
  --ink-strong: #f0f6fc;
  --muted: #8b949e;
  --muted-light: #6e7681;
  --line: #30363d;
  --line-strong: #484f58;
  --link: #3fb950;
  --white: #f0f6fc;
  --brand-soft: rgba(63, 185, 80, 0.12);
  --brand-glow: rgba(63, 185, 80, 0.2);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-brand: 0 20px 50px rgba(63, 185, 80, 0.2);
}

[data-theme="dark"] .site-header {
  background: rgba(13, 17, 23, 0.85);
  border-bottom-color: rgba(48, 54, 61, 0.5);
}

[data-theme="dark"] .theme-toggle {
  border-color: var(--line);
  background: var(--bg-light);
  color: var(--ink);
}
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(52% 45% at 78% 0%, rgba(63, 185, 80, 0.08), transparent 65%),
    radial-gradient(40% 40% at 12% 12%, rgba(63, 185, 80, 0.06), transparent 60%),
    var(--bg-light);
}

[data-theme="dark"] .editor-window {
  background: var(--bg-light);
  border-color: var(--line);
}

[data-theme="dark"] .editor-chrome {
  background: #0d1117;
  border-bottom-color: var(--line);
}

[data-theme="dark"] .editor-waveform {
  background: #0d1117;
}

[data-theme="dark"] .editor-stat {
  background: #0d1117;
}

[data-theme="dark"] .marquee {
  background: rgba(63, 185, 80, 0.08);
  border-color: rgba(63, 185, 80, 0.15);
}

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, #0d1117, #0a1628);
  border-color: #30363d;
}

[data-theme="dark"] .service-item {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .service-item:hover {
  border-color: #484f58;
}

[data-theme="dark"] .price-card {
  background: #161b22;
}
[data-theme="dark"] .price-card-hot {
  background: #0d1117;
  border-color: var(--brand);
}

[data-theme="dark"] .testimonial-card {
  background: #161b22;
  border-color: #30363d;
}

[data-theme="dark"] .faq-list details {
  background: #161b22;
}

[data-theme="dark"] .contact-form {
  background: #161b22;
}

[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: #0d1117;
  border-color: #30363d;
  color: var(--ink);
}

[data-theme="dark"] .newsletter-form input {
  background: #0d1117;
  border-color: #30363d;
  color: var(--ink);
}

[data-theme="dark"] .process-tab {
  background: #161b22;
  border-color: #30363d;
}

[data-theme="dark"] .process-panels {
  background: #161b22;
  border-color: #30363d;
}

[data-theme="dark"] .site-footer {
  background: #0d1117;
  border-top-color: #30363d;
}

[data-theme="dark"] .blog-card {
  background: #161b22;
}

[data-theme="dark"] .chip {
  background: #161b22;
  border-color: #30363d;
}

[data-theme="dark"] .short-chip {
  background: #f0f6fc;
  color: #0d1117;
}

[data-theme="dark"] .short-chip:nth-child(2) {
  background: var(--brand);
  color: #fff;
}

[data-theme="dark"] .tag {
  background: #161b22;
  border-color: #30363d;
  color: var(--muted);
}

[data-theme="dark"] .mobile-nav {
  background: #0d1117;
  border-bottom-color: #30363d;
}
[data-theme="dark"] .mobile-nav a {
  border-bottom-color: #30363d;
  color: var(--ink);
}

[data-theme="dark"] .page-hero {
  background:
    radial-gradient(50% 45% at 70% 0%, rgba(63, 185, 80, 0.08), transparent 60%),
    #0d1117;
}

[data-theme="dark"] .prose a {
  color: var(--brand);
}

[data-theme="dark"] .section-light {
  background: var(--bg);
}

/* ============ Grain texture overlay ============ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
[data-theme="dark"] body::after {
  opacity: 0.04;
}

/* ============ Smooth scrollbar ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 10px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============ Scroll-to-top button ============ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px var(--brand-glow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 50;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ============ Animated hero gradient blob ============ */
.hero-gradient-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-gradient-blob:nth-child(1) {
  background: var(--brand);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}
.hero-gradient-blob:nth-child(2) {
  background: #34d058;
  bottom: -200px;
  left: -100px;
  animation-delay: -6s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============ Glassmorphism cards ============ */
.service-item {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .service-item {
  background: rgba(22, 27, 34, 0.6);
}

.price-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .price-card {
  background: rgba(22, 27, 34, 0.6);
}

/* ============ Refined hover micro-interactions ============ */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }

/* ============ Smooth page load animation ============ */
@keyframes pageReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: pageReveal 0.6s ease-out;
}

/* ============ Focus visible styles ============ */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Selection color ============ */
::selection {
  background: var(--brand);
  color: #fff;
}

/* ============ Smooth image loading ============ */
img {
  transition: opacity 0.4s ease;
}
img[loading="lazy"] {
  opacity: 0;
}
img.loaded, img:not([loading="lazy"]) {
  opacity: 1;
}

/* ============ Enhanced card hover depth ============ */
.work-card:hover {
  transform: translateY(-6px);
}
.testimonial-card:hover {
  transform: translateY(-6px);
}
.blog-card:hover {
  transform: translateY(-6px);
}