/* =========================================================
   Makers — makers-lb.com
   ========================================================= */

:root {
  --bg: #0a0c10;
  --bg-2: #0e1117;
  --surface: #12151d;
  --surface-2: #171b25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f5;
  --muted: #9aa3b4;
  --accent: #c8ff3d;
  --accent-ink: #0a0c10;
  --violet: #8b6cff;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hl {
  background: linear-gradient(90deg, var(--accent), #7dffb0 60%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px rgba(200, 255, 61, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(200, 255, 61, .7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn-ghost:hover svg { transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 12, 16, .75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.brand-dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -250px; top: -250px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139,108,255,.22), transparent 70%);
}
.hero-glow::after {
  content: ""; position: absolute; width: 600px; height: 600px; left: -500px; top: 500px;
  background: radial-gradient(closest-side, rgba(200,255,61,.10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); margin-bottom: 28px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,255,61,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,61,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -0.04em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 26px 0 36px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(200,255,61,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23c8ff3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Terminal visual */
.hero-visual { position: relative; }
.term {
  background: linear-gradient(180deg, rgba(23,27,37,.92), rgba(14,17,23,.92));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden; backdrop-filter: blur(8px);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3b; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.term-body { margin: 0; padding: 22px 22px 26px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; min-height: 300px; white-space: pre-wrap; color: #c9cfdb; }
.term-body .c-pr { color: var(--accent); }
.term-body .c-mu { color: #6b7385; }
.term-body .c-ok { color: #5ef0a0; }
.term-body .c-vi { color: #b3a2ff; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(18,21,29,.9); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(200,255,61,.12); color: var(--accent); font-size: 16px; }
.fc-1 { left: -40px; bottom: -28px; }
.fc-2 { right: -20px; top: -26px; animation-delay: -3s; }
.fc-2 .fc-icon { background: rgba(94,240,160,.12); color: #5ef0a0; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: #5d6577; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker::before { content: "// "; color: #5d6577; }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 580px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(200,255,61,.10), transparent 60%);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(200,255,61,.3); background: linear-gradient(160deg, rgba(200,255,61,.07), var(--surface) 55%); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); margin-bottom: 28px; }
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-num { position: absolute; top: 30px; right: 32px; font-family: var(--font-mono); font-size: 13px; color: #4b5263; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: #c3c9d5; }

/* ---------- Spotlight ---------- */
.spotlight { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.spotlight::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: -200px; background: radial-gradient(closest-side, rgba(139,108,255,.14), transparent 70%); pointer-events: none; }
.spotlight-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.spotlight .btn { margin-top: 36px; }
.usecases { display: grid; gap: 14px; }
.usecases li { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.usecases li:hover { border-color: rgba(200,255,61,.35); transform: translateX(6px); }
.usecases li > span { font-size: 24px; line-height: 1.2; }
.usecases strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.usecases p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Training ---------- */
.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.train-card { padding: 36px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.train-card:nth-child(2) { background: linear-gradient(180deg, rgba(139,108,255,.12), var(--surface) 60%); border-color: rgba(139,108,255,.3); }
.train-tag { font-family: var(--font-mono); font-size: 12px; color: var(--violet); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.train-card h3 { font-size: 26px; margin-bottom: 12px; }
.train-card > p { color: var(--muted); }
.checks { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "→"; color: var(--accent); font-family: var(--font-mono); }

/* ---------- Process ---------- */
.process-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process li { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 1px; background: var(--line-strong); }
.step { display: inline-block; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(200,255,61,.6); margin-bottom: 18px; line-height: 1; }
.process h3 { font-size: 22px; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: 15px; }

/* ---------- Why ---------- */
.why { padding: 90px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { padding: 36px 30px; border-right: 1px solid var(--line); }
.why-item:last-child { border-right: 0; }
.why-item h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.why-item h3::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); flex: none; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--font-display); font-size: 19px; font-weight: 500; position: relative; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(800px 500px at 15% 30%, rgba(200,255,61,.07), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 40px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list span:not(.ci-icon) { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,255,61,.1); flex: none; }
.ci-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.contact-form h3 { font-size: 26px; margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #c3c9d5; }
.opt { color: #6b7385; font-weight: 400; }
.field input[type="text"], .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,255,61,.12); }
.field .invalid { border-color: #ff6b6b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: #c3c9d5; transition: all .2s; }
.chip:hover span { border-color: rgba(255,255,255,.3); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-error { color: #ff8a8a; font-size: 14px; min-height: 0; margin-bottom: 12px; }
.form-error:empty { display: none; }
.form-note { text-align: center; color: #6b7385; font-size: 13px; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: #5d6577; font-size: 13px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; }
  .services-grid, .training-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2) { border-right: 0; }
  .why-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .spotlight-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap .section-head { margin-bottom: 0; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); cursor: pointer; z-index: 60;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(10,12,16,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 26px; font-family: var(--font-display); color: var(--text); }
  .nav .btn { margin-top: 12px; }
  .hero { padding-top: 110px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .term { transform: none; }
  .term-body { font-size: 12px; min-height: 260px; padding: 18px; }
  .fc-1 { left: 8px; bottom: -36px; }
  .fc-2 { right: 8px; top: -30px; }
  .services-grid, .training-grid, .process, .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .why-item:last-child { border-bottom: 0; }
  .service-card, .train-card { padding: 28px 24px; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
