/* InbuiltCode — company site */
:root {
    --ink: #0b1630;
    --ink-2: #33415c;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --soft: #f5f8fc;
    --navy: #0b1630;
    --blue: #2563eb;
    --blue-2: #1d4ed8;
    --cyan: #06b6d4;
    --green: #16a34a;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(11, 22, 48, .08);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: #c7d2fe; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900; box-shadow: 0 6px 14px rgba(37,99,235,.3); }
.brand span b { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 60px; background: radial-gradient(900px 420px at 85% -10%, #dbeafe 0%, transparent 60%), radial-gradient(700px 380px at -10% 10%, #cffafe 0%, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #eef4ff; color: var(--blue-2); font-weight: 700; font-size: 13px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.03em; margin: 18px 0 16px; font-weight: 900; }
h1 .grad { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hero-stats b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.hero-stats span { color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-visual { position: relative; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(11,22,48,.18); background: #fff; }
.shot-bar { height: 30px; background: #f1f5f9; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.phone img, .phone-frame img { width: 100%; height: auto; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; }
.shot img { width: 100%; height: auto; }
.phone-frame { justify-self: center; width: 100%; max-width: 300px; border-radius: 34px; overflow: hidden; border: 8px solid #0b1630; box-shadow: 0 30px 60px rgba(11,22,48,.22); background: #0b1630; }
.phone { position: absolute; right: -14px; bottom: -34px; width: 34%; border-radius: 26px; overflow: hidden; border: 6px solid #0b1630; box-shadow: 0 24px 50px rgba(11,22,48,.3); background: #0b1630; }

/* Sections */
section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.025em; margin: 10px 0 12px; font-weight: 900; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.i-blue { background: #eef4ff; color: var(--blue); }
.i-cyan { background: #ecfeff; color: #0891b2; }
.i-green { background: #f0fdf4; color: var(--green); }
.i-amber { background: #fffbeb; color: #d97706; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Product feature */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #0b1630, #13285a); color: #fff; border-radius: 28px; padding: 48px; overflow: hidden; position: relative; }
.product::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%); }
.product .kicker { color: #67e8f9; }
.product h2 { color: #fff; }
.product p { color: #cbd5e1; }
.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.product .ticks li { color: #e2e8f0; }
.product .shot { border-color: rgba(255,255,255,.12); position: relative; z-index: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-weight: 900; font-size: 30px; color: #dbeafe; letter-spacing: -.02em; }
.step h3 { margin: 6px 0; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; }
.gallery figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--blue), #0ea5e9); color: #fff; border-radius: 28px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #e0f2fe; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-item b { display: block; }
.contact-item span { color: var(--muted); font-size: 14px; }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin: 0; }

/* Footer */
footer { background: var(--navy); color: #cbd5e1; padding: 52px 0 26px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
footer a { display: block; padding: 4px 0; color: #94a3b8; font-size: 14px; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
footer .brand { color: #fff; }

/* Product page */
.page-hero { padding: 64px 0 40px; background: radial-gradient(800px 360px at 80% -20%, #dcfce7 0%, transparent 60%), radial-gradient(700px 300px at 0% 0%, #dbeafe 0%, transparent 55%); }
.crumbs { font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--blue); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; }
.feature-row.rev .feature-copy { order: 2; }
.feature-copy h3 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 10px; }
.feature-copy p { color: var(--ink-2); margin: 0; }
.tag { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #eef4ff; color: var(--blue-2); letter-spacing: .04em; text-transform: uppercase; }
.hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-note { text-align: center; color: var(--muted); margin-top: 18px; font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
    .hero-grid, .product, .contact-grid, .feature-row { grid-template-columns: 1fr; }
    .feature-row.rev .feature-copy { order: 0; }
    .cards, .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery, .hw { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .product { padding: 32px; }
    .phone { right: 8px; bottom: -20px; width: 30%; }
}
@media (max-width: 760px) {
    .nav-links, .nav-cta { display: none; }
    .menu-btn { display: block; }
    .header.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .header.open .nav-links a { padding: 10px 0; width: 100%; }
    .header.open .nav-links .btn { display: inline-flex; width: 100%; margin-top: 6px; }
    section { padding: 60px 0; }
    .hero { padding: 44px 0 56px; }
    .cards, .steps, .gallery, .hw, .row { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .cta, .product { padding: 28px 22px; border-radius: 22px; }
}
.mobile-only { display: none; }
@media (max-width: 760px) { .mobile-only { display: inline-flex; } }
