@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #080808;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --border: rgba(255, 140, 0, 0.12);
  --orange: #ff8c00;
  --orange-bright: #ffa726;
  --orange-dim: rgba(255, 140, 0, 0.15);
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --text-dim: #666;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 58px;
  --max-w: 1080px;
  --font: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(255, 140, 0, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 140, 0, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 100, 0, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffc266; }

.container { width: min(100% - 32px, var(--max-w)); margin: 0 auto; position: relative; z-index: 1; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name em {
  display: inline-block;
  background: var(--orange);
  color: #000;
  padding: 1px 6px;
  border-radius: 4px;
  font-style: normal;
  font-size: 14px;
  margin-left: 2px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.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); }

.nav-list {
  list-style: none;
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(12, 12, 12, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-list.is-open { display: block; }

.nav-list li a {
  display: block;
  padding: 12px 24px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-list li a:hover,
.nav-list li a.is-active { color: var(--orange); background: var(--orange-dim); }

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--orange), #e65100);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-dl:hover { transform: translateY(-1px); box-shadow: 0 0 50px rgba(255, 140, 0, 0.35); color: #000 !important; }

.nav-wrap > .btn-dl { display: none; }

/* ── Ads ── */
.ads-top-zone {
  padding: 14px 0 6px;
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.04), transparent);
  border-bottom: 1px solid var(--border);
}

#ads, #sticky-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 4px;
}

.ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.ad-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid rgba(255, 140, 0, 0.15);
}

.ad-item a:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(255, 140, 0, 0.2);
}

.ad-caption {
  height: 15px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.sticky-ads-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
}

.sticky-ads-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero ── */
.hero {
  padding: 48px 0 56px;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero h1 .hl {
  background: linear-gradient(90deg, var(--orange), #ffcc80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: var(--orange); background: var(--orange-dim); color: var(--text); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-box span { font-size: 11px; color: var(--text-dim); line-height: 1.4; }

/* ── Sections ── */
.section { padding: 56px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}

/* 3:7 text-image ratio blocks */
.content-row {
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
  align-items: start;
}

.content-row .col-text { order: 2; }
.content-row .col-img { order: 1; }

.content-row .col-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.content-row .col-text p { color: var(--text-muted); margin-bottom: 12px; }

.content-row .col-text ul {
  list-style: none;
  margin-top: 14px;
}

.content-row .col-text li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.content-row .col-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.phone-frame {
  max-width: 260px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 140, 0, 0.2);
  box-shadow: var(--shadow), var(--glow);
}

/* Feature bento */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.bento-card:hover { border-color: rgba(255, 140, 0, 0.35); transform: translateY(-2px); }

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.bento-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bento-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* Article prose */
.prose { max-width: 100%; }

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.prose h3 { font-size: 17px; font-weight: 600; margin: 28px 0 12px; color: var(--orange-bright); }

.prose p { color: var(--text-muted); margin-bottom: 14px; }

.prose ol, .prose ul { margin: 0 0 16px 20px; color: var(--text-muted); }
.prose li { margin-bottom: 8px; }

/* Steps */
.steps { display: grid; gap: 16px; margin: 28px 0; }

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-item p { font-size: 13px; color: var(--text-dim); margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.faq-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-dim); margin: 0; }

/* CTA band */
.cta-band {
  margin: 48px 0 0;
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 100, 0, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-band h2 { font-size: 22px; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 20px; font-size: 14px; }

/* Pure text SEO blocks */
.seo-text-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 32px;
}

.seo-text-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange-bright);
  margin-bottom: 14px;
}

.seo-text-block p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.85;
}

.seo-text-block p:last-child { margin-bottom: 0; }

.seo-columns {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.seo-columns .seo-text-block { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 8px; }

/* Subpage */
.page-hero {
  padding: 36px 0 28px;
}

.page-hero h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 700; margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); font-size: 15px; }

.page-content { padding: 32px 0 64px; }

/* Error pages */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

.error-code {
  font-size: 80px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), #ffcc80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h1 { font-size: 22px; margin-bottom: 10px; }
.error-page p { color: var(--text-muted); margin-bottom: 24px; }

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand p { font-size: 13px; color: var(--text-dim); margin-top: 10px; max-width: 280px; }

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-dim); font-size: 13px; }
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-list {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 4px;
  }

  .nav-list li a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .header-inner .nav-wrap { display: flex; align-items: center; gap: 16px; }

  .nav-wrap > .btn-dl { display: inline-flex; }

  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }

  .seo-columns { grid-template-columns: repeat(2, 1fr); }

  .content-row {
    grid-template-columns: 7fr 3fr;
    gap: 40px;
  }

  .content-row.reverse { direction: rtl; }
  .content-row.reverse > * { direction: ltr; }

  .content-row .col-text { order: 0; }
  .content-row .col-img { order: 0; }

  .content-row.reverse .col-text { order: 0; }

  .bento-grid { grid-template-columns: repeat(3, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .phone-frame { max-width: 220px; }
}

@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
}
