/* THE WEB FLY — Build Beyond the Code */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --ink: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --line: #e5e9f5;
  --soft: #f5f7ff;
  --soft-2: #f0ecff;
  --white: #fff;
  --grad: linear-gradient(135deg, var(--blue), var(--purple));
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(37, 52, 140, .18);
  --shadow-lg: 0 24px 50px -20px rgba(60, 50, 160, .35);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); background: var(--soft-2); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 60, 220, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -10px rgba(91, 60, 220, .8); }
.btn-outline { background: #fff; color: var(--blue-dark); border-color: #cfd8f6; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-wa { background: #fff; color: #128c4a; border-color: #bfe8d0; }
.btn-wa:hover { background: #128c4a; border-color: #128c4a; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; }
.logo span em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .94rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--purple); background: var(--soft); }
.nav-links a[aria-current="page"] { color: var(--blue-dark); background: var(--soft); }
.nav-cta { display: inline-flex; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f8ff 0%, #fff 100%); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .14), transparent 68%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 68%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 14px; }
.hero .sub { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em; }
.hero .desc { font-size: 1.05rem; color: var(--text); max-width: 540px; margin-bottom: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--blue-dark); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; box-shadow: 0 4px 12px -6px rgba(37, 52, 140, .2); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* Hero visual: CSS browser mockup */
.hero-visual { position: relative; padding: 24px 12px 40px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.5deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar b { width: 10px; height: 10px; border-radius: 50%; background: #cbd5f5; }
.mock-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 999px; font-size: .72rem; color: var(--muted); padding: 4px 12px; }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.sk { background: #eef1fb; border-radius: 8px; }
.sk.hl { background: var(--grad); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-nav .sk { height: 10px; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; background: var(--soft); border-radius: 14px; padding: 20px; }
.mock-hero .sk { height: 12px; margin-bottom: 10px; }
.mock-hero .sk.big { height: 20px; }
.mock-hero .pill { width: 90px; height: 28px; border-radius: 999px; background: var(--grad); margin-top: 14px; }
.mock-art { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(135deg, #dbe5ff, #e7dcff); position: relative; }
.mock-art::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--grad); opacity: .85; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-cards .sk { height: 8px; margin-top: 8px; }
.mock-cards .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--soft-2); }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .82rem; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; color: var(--ink); font-size: .92rem; }
.float .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--soft-2); color: var(--purple); display: grid; place-items: center; flex: none; }
.float .ico svg { width: 20px; height: 20px; }
.float.f1 { top: 0; right: -4px; }
.float.f2 { bottom: 6px; left: -8px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3d9f6; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 15px; background: var(--soft-2); color: var(--purple); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 26px; height: 26px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; margin-top: 16px; }
.card .more svg { width: 16px; height: 16px; }

.mini-list li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: .95rem; color: var(--text); }
.mini-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 4px; }

/* Split intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.panel .badge-row { display: grid; gap: 14px; }
.badge { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.badge b { display: block; color: var(--ink); }
.badge span { font-size: .88rem; color: var(--muted); }
.badge .icon-box { margin: 0; width: 46px; height: 46px; flex: none; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .plan { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--purple); margin-bottom: 8px; }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 12px; }
.price-card .price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .desc { color: var(--muted); font-size: .95rem; }
.price-card .note { font-size: .85rem; color: var(--muted); background: var(--soft); border-radius: 12px; padding: 12px 14px; margin: 8px 0 22px; }
.price-card .actions { margin-top: auto; display: grid; gap: 10px; }
.price-title { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.price-title .icon-box { margin: 0; }
.price-title h2 { margin: 0; font-size: 1.7rem; }
.price-title p { margin: 0; color: var(--muted); }
.price-group + .price-group { margin-top: 64px; }
.fine { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 28px; }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-weight: 800; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Portfolio */
.empty { text-align: center; max-width: 720px; margin: 0 auto; background: var(--soft); border: 2px dashed #cdd5f3; border-radius: 24px; padding: 48px 28px; }
.empty .icon-box { margin: 0 auto 18px; }
.empty p { color: var(--muted); }
.project { overflow: hidden; padding: 0; }
.project .shot { aspect-ratio: 16/10; background: var(--soft); object-fit: cover; width: 100%; }
.project .body { padding: 22px 26px 26px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfd6f7; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--purple); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 12px; margin: 0; color: var(--text); }

/* CTA */
.cta { background: var(--grad); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta h2, .cta p { color: #fff; position: relative; z-index: 1; }
.cta p { opacity: .92; max-width: 560px; margin-inline: auto; }
.cta .btn-row { justify-content: center; position: relative; z-index: 1; margin-top: 8px; }
.cta .btn-light { background: #fff; color: var(--purple-dark); }
.cta .btn-light:hover { color: var(--purple); }
.cta .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, #f7f8ff, #fff); padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 44px); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; color: var(--muted); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin: 20px 0 24px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item .icon-box { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 13px; }
.contact-item .icon-box svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; }
.contact-item a, .contact-item strong { color: var(--ink); font-weight: 700; }
.contact-item a:hover { color: var(--purple); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
form.card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 12px; font-size: .9rem; font-weight: 600; color: #128c4a; min-height: 1.2em; }

/* Footer */
.site-footer { background: #0f1235; color: #b8bfe0; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #b8bfe0; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer li { margin-bottom: 9px; font-size: .94rem; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: .94rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.social a:hover { background: var(--purple); }
.social svg { width: 20px; height: 20px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; }
.brand-msg { color: #fff; font-weight: 700; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(18, 140, 74, .7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

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

/* Responsive */
@media (max-width: 1020px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; display: none; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .nav-links .mobile-cta { display: inline-flex; margin-top: 10px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .nav-links .mobile-cta { display: none; } }
@media (max-width: 640px) {
  .g2, .g3, .g4, .steps, .form-row, .foot-grid { grid-template-columns: 1fr; }
  .float.f1 { right: 0; }
  .float.f2 { left: 0; }
  .btn-row .btn { width: 100%; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hero hub graphic */
.hub { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.hub-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-rings circle { fill: none; stroke: #c9d0f5; stroke-width: .35; }
.hub-rings .r1 { stroke-dasharray: 1.4 1.8; }
.hub-rings .r2 { fill: rgba(124, 58, 237, .05); stroke: #ddd6fb; }
.hub-rings .spokes line { stroke: #cdd3f6; stroke-width: .3; stroke-dasharray: .8 1.2; }
.hub-core { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 14px rgba(124, 58, 237, .07), var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; }
.hub-core img { width: 40%; height: auto; margin-bottom: 6px; }
.hub-core b { color: var(--ink); font-size: clamp(.8rem, 1.8vw, 1.05rem); line-height: 1.1; }
.hub-core span { color: var(--muted); font-size: clamp(.55rem, 1.2vw, .72rem); margin-top: 3px; }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 700; font-size: clamp(.7rem, 1.6vw, .9rem); color: var(--ink); box-shadow: var(--shadow); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.hub-node .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.hub-node .ico svg { width: 17px; height: 17px; }
@media (max-width: 640px) { .hub-node { padding-right: 10px; gap: 5px; } .hub-node .ico { width: 28px; height: 28px; } }
