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

:root {
  --orange:      #FF6B00;
  --orange-deep: #E05500;
  --orange-soft: #FF8C3A;
  --orange-glow: rgba(255,107,0,0.22);
  --bg:          #000000;
  --bg2:         #0a0a0a;
  --card:        #141414;
  --card2:       #1c1c1e;
  --border:      rgba(255,255,255,0.08);
  --text:        #f5f5f7;
  --muted:       #c8c8cc;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
  flex-direction: column; padding: 20px 28px 32px;
  border-bottom: 1px solid var(--border); z-index: 99; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 0; font-size: 16px; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; }
.nav-mobile a:hover { color: #fff; text-decoration: none; }
.nav-mobile .mobile-cta { background: var(--orange); color: #fff !important; border-radius: 12px; padding: 14px 20px; text-align: center; font-weight: 700; margin-top: 12px; border: none; }
.footer-wa { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: #25D366 !important; transition: opacity 0.2s; }
.footer-wa:hover { opacity: 0.8; text-decoration: none; }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1100px) / 2));
  background: rgba(0,0,0,0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo img { height: 56px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 8px 18px; border-radius: 20px; font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--orange-deep) !important; transform: scale(1.04); text-decoration: none !important; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) max(40px, calc((100vw - 1100px) / 2)) 80px;
  gap: 60px;
  overflow: hidden;
}
.ph-content { display: flex; flex-direction: column; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; text-decoration: none; }
.ph-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-soft); background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: 6px; padding: 4px 10px; margin-bottom: 20px; width: fit-content;
}
.ph-content h1 {
  font-size: clamp(32px, 5vw, 62px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 18px;
}
.ph-content h1 em { color: var(--orange); font-style: normal; }
.ph-content p { font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); font-weight: 300; line-height: 1.6; max-width: 480px; margin-bottom: 32px; }
.ph-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* ── BUTTONS ── */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: #fff;
  padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 28px rgba(255,107,0,0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,107,0,0.42); text-decoration: none; }
.btn-secondary {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: 15px;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); text-decoration: none; }

/* ── MINI STATS BAR ── */
.mini-stats-bar {
  background: #0a0a0a; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.ms-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ms-item strong { font-size: 26px; font-weight: 900; color: var(--orange-soft); }
.ms-item span { font-size: 13px; color: var(--muted); max-width: 160px; line-height: 1.4; }

/* ── CONTENT SECTION ── */
.content-section { padding: 100px max(24px, calc((100vw - 1100px) / 2)); }
.cs-inner { max-width: 1100px; margin: 0 auto; }
.cs-header { margin-bottom: 56px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max540 { max-width: 540px; }

.label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.stitle { font-size: clamp(26px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.ssub { font-size: 17px; color: var(--muted); margin-top: 14px; font-weight: 300; line-height: 1.55; }

/* ── FEATURE GRID ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.fcard {
  background: var(--card); padding: 40px 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.3s;
}
.fcard:hover { background: var(--card2); }
.fcard-icon { font-size: 36px; line-height: 1; }
.fcard h3 { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.3; }
.fcard p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── STEPS ── */
.steps-section { padding: 100px max(24px, calc((100vw - 1100px) / 2)); background: var(--bg2); }
.steps-inner { max-width: 1000px; margin: 0 auto; }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 56px;
}
.step { background: var(--card); padding: 36px 28px; }
.step-num {
  font-size: 32px; font-weight: 900; color: var(--orange);
  opacity: 0.5; margin-bottom: 16px; line-height: 1;
}
.step h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── TECH SECTION ── */
.tech-section { padding: 80px max(24px, calc((100vw - 1100px) / 2)); background: #080808; }
.tech-inner { max-width: 900px; margin: 0 auto; }
.tech-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 40px;
}
.tech-chip {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tech-chip:hover { background: var(--card2); color: #fff; border-color: rgba(255,107,0,0.3); }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.stat-hl { background: var(--card); padding: 40px 28px; text-align: center; }
.stat-num {
  font-size: clamp(34px, 4vw, 50px); font-weight: 900;
  color: var(--orange-soft); letter-spacing: -0.03em; line-height: 1;
}
.stat-lbl { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.stat-src { font-size: 10px; color: rgba(255,255,255,0.2); margin-top: 6px; }

/* ── CODE MOCK ── */
.code-mock {
  width: 320px; background: #1c1c1e; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.cm-head {
  background: #252525; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
}
.cm-dot { width: 10px; height: 10px; border-radius: 50%; }
.cm-title { font-size: 12px; color: var(--muted); margin-left: 8px; }
.cm-body { padding: 20px; font-size: 12px; line-height: 1.8; }
.code-line { padding: 0; }
.code-line.pl2 { padding-left: 20px; }
.code-line.mt1 { margin-top: 12px; }
.kw   { color: #ff7b72; }
.fn   { color: #d2a8ff; }
.cls  { color: #ffa657; }
.prop { color: #79c0ff; }
.str  { color: #a5d6ff; }
.bool { color: #ff7b72; }
.method { color: #d2a8ff; }
.cmt  { color: #8b949e; }

/* ── CTA ── */
.page-cta {
  padding: 120px max(24px, calc((100vw - 1100px) / 2)); text-align: center;
  background: linear-gradient(135deg, #0a0000 0%, #000 50%, #0a0400 100%);
  position: relative; overflow: hidden;
}
.page-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,107,0,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-cta h2 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 800; color: #fff;
  letter-spacing: -0.03em; margin-bottom: 16px; position: relative;
}
.page-cta p {
  font-size: 18px; color: var(--muted); font-weight: 300;
  max-width: 440px; margin: 0 auto 38px; position: relative;
}

/* ── FOOTER ── */
footer { background: #080808; border-top: 1px solid var(--border); padding: 52px max(24px, calc((100vw - 1100px) / 2)) 36px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 36px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 36px;
}
.footer-logo img { height: 40px; object-fit: contain; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 220px; line-height: 1.6; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .page-hero { grid-template-columns: 1fr; padding: calc(var(--nav-h) + 40px) 28px 60px; }
  .ph-visual { justify-content: flex-start; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mini-stats-bar { gap: 24px; }
}
@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .fcard { align-items: center; text-align: center; padding: 32px 24px; }
  .fcard-icon { font-size: 48px; }
  .fcard h3 { font-size: 19px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 2px; }
  .stat-hl { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 20px; }
  .stat-hl .stat-num { font-size: 48px; margin-top: 0; }
  .stat-hl .stat-lbl { font-size: 15px; margin-top: 8px; }
  .stat-hl .stat-src { font-size: 11px; margin-top: 4px; }
  .footer-top { flex-direction: column; }
  .mini-stats-bar { flex-direction: column; gap: 0; padding: 0; }
  .ms-item { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--border); width: 100%; max-width: 100%; }
  .ms-item strong { font-size: 32px; min-width: 80px; flex-shrink: 0; }
  .ms-item span { font-size: 15px; max-width: none; }
}

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(255,107,0,0.45); transition: transform 0.2s, box-shadow 0.2s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 36px rgba(255,107,0,0.6); text-decoration: none; }
