@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:    #CDCDCD;
  --bg2:   #D8D8D8;
  --card:  #E4E4E4;
  --txt:   #1A1A1A;
  --txt2:  #444444;
  --border: rgba(26,26,26,0.12);
  --signal:       #E31600;
  --signal-muted: #C41200;
  --positive: #1a7a3a;
  --r:  8px;
  --r2: 12px;
  --r3: 999px;
  --ease: cubic-bezier(.16,1,.3,1);
  --f: 'Inter', -apple-system, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--f); background: var(--bg); color: var(--txt2); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt2); margin-bottom: 12px;
}
.label-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(26,26,26,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav.scrolled { background: rgba(26,26,26,1); }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 13px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--signal-muted); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px; border-radius: var(--r); }
.nav-hamburger span { display: block; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: .3s var(--ease); transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(26,26,26,.98); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; padding: 80px 32px 40px; gap: 4px;
  transform: translateX(100%); transition: transform .35s var(--ease); pointer-events: none;
}
.nav-drawer.open { transform: translateX(0); pointer-events: all; }
.nav-drawer a { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.6); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; transition: color .2s; }
.nav-drawer a:hover { color: #fff; }
.nav-drawer .drawer-cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--r2); background: var(--signal); color: #fff; font-weight: 700; font-size: 15px; border-bottom: none; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 120px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.0;
  color: var(--txt); margin-bottom: 14px;
}
.page-hero .sub { font-size: 15px; color: var(--txt2); line-height: 1.75; max-width: 52ch; margin: 0 auto; }

/* ── CONTENT ── */
.content-section { padding: 64px 0 80px; }
.content-wrap { max-width: 960px; margin: 0 auto; }

.g-section { margin-bottom: 56px; }
.g-section:last-child { margin-bottom: 0; }

.g-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800;
  letter-spacing: -.02em; color: var(--txt); margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.g-section-title svg { width: 18px; height: 18px; stroke: var(--signal); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.g-sub-title {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt2); margin: 28px 0 12px;
}

/* ── TOOLS GRID ── */
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.tool-card { background: var(--card); padding: 24px; transition: background .2s; }
.tool-card:hover { background: var(--bg); }
.tool-name { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 6px; }
.tool-desc { font-size: 12px; color: var(--txt2); line-height: 1.65; margin-bottom: 10px; }
.tool-use { font-size: 11px; color: var(--txt2); padding: 8px 12px; background: var(--bg2); border-radius: var(--r); border: 1px solid var(--border); line-height: 1.55; }

/* ── PROMPT BLOCK ── */
.prompt-block {
  position: relative; background: var(--txt); border-radius: var(--r2);
  padding: 20px 20px 20px 20px; margin-bottom: 12px;
  font-family: 'Courier New', monospace; font-size: 12px; color: #ccc;
  line-height: 1.75; white-space: pre-wrap; word-break: break-word;
}
.copy-btn {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 12px; border-radius: var(--r3);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #aaa; font-size: 11px; font-weight: 600; font-family: var(--f);
  transition: .2s; cursor: pointer;
}
.copy-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.copy-btn.copied { background: rgba(26,122,58,.2); border-color: rgba(26,122,58,.4); color: #3FB950; }

/* ── AUTO GRID ── */
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.auto-card { background: var(--card); padding: 28px; transition: background .2s; }
.auto-card:hover { background: var(--bg); }
.auto-card-title { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.auto-card-title svg { width: 15px; height: 15px; stroke: var(--signal); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.auto-card p { font-size: 12px; color: var(--txt2); line-height: 1.65; margin-bottom: 10px; }
.auto-card p strong { color: var(--txt); font-weight: 600; }
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.benefit-list li { font-size: 12px; color: var(--txt2); display: flex; align-items: center; gap: 8px; }
.benefit-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--signal); flex: none; }

/* ── WORKFLOW ── */
.workflow { border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.wf-step { display: flex; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); background: var(--card); transition: background .2s; }
.wf-step:last-child { border-bottom: none; }
.wf-step:hover { background: var(--bg); }
.wf-num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--signal); display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff; line-height: 1;
}
.wf-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.wf-body p { font-size: 12px; color: var(--txt2); line-height: 1.65; }

/* ── STATS ── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; margin-top: 8px; }
.stat-card { background: var(--card); padding: 24px; text-align: center; }
.stat-n { font-size: 2rem; font-weight: 800; color: var(--signal); letter-spacing: -.04em; line-height: 1; }
.stat-l { font-size: 11px; color: var(--txt2); margin-top: 6px; line-height: 1.4; }

/* ── FOOTER ── */
.footer { background: #111; border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 28px; }
.footer-brand img { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.footer-desc { font-size: 12px; color: #666; line-height: 1.65; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: #666; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 12px; color: #666; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: #555; flex-wrap: wrap; gap: 8px; }

/* ── STICKY MOBILE ── */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 10px 14px; background: rgba(205,205,205,.97); border-top: 1px solid var(--border); gap: 9px; }
.sticky-bar .btn-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: var(--r); background: #25d366; color: #04210f; font-weight: 700; font-size: 13px; }
.sticky-bar .btn-wa svg { width: 17px; height: 17px; fill: #04210f; }
.sticky-bar .btn-cta { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: var(--r); background: var(--signal); color: #fff; font-weight: 700; font-size: 13px; }

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
  .content-section { padding: 48px 0 64px; }
}
@media(max-width: 540px) {
  .page-hero { padding: 96px 0 48px; }
  .tools-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
