/* InOutlet Excellence — landing (FCMG Tech) */
:root {
  --bg: #0b1220;
  --bg-2: #0f172a;
  --bg-3: #131c31;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2ff;
  --muted: #9aa8c7;
  --muted-2: #6f7d9c;
  --primary: #2563eb;
  --primary-2: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.16);
  --accent: #22d3ee;
  --success: #10b981;
  --radius: 16px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--lg { padding: .95rem 1.5rem; font-size: 1.02rem; border-radius: 14px; }
.btn--primary { background: linear-gradient(180deg, var(--primary-2), var(--primary)); color: #fff; box-shadow: 0 10px 30px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { box-shadow: 0 14px 36px rgba(37, 99, 235, .5), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.06); }
.btn--outline { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(11, 18, 32, .65); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav--scrolled { border-bottom-color: var(--line); background: rgba(11, 18, 32, .85); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-2), #1d4ed8); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .4); }
.brand__text b { font-weight: 800; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .93rem; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: .5rem; }
.nav__burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: transparent; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: flex; flex-direction: column; gap: .35rem; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); background: rgba(11,18,32,.96); }
.nav__mobile a { padding: .65rem .25rem; color: var(--muted); font-weight: 500; }
.nav__mobile .btn { margin-top: .35rem; }

/* Hero */
.hero { position: relative; padding: 5.5rem 0 4rem; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 0 auto 0; height: 70%; background: radial-gradient(60% 60% at 30% 20%, rgba(37,99,235,.35), transparent 60%), radial-gradient(40% 50% at 80% 10%, rgba(34,211,238,.18), transparent 60%); filter: blur(40px); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; }
.grad { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 1.25rem; font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.75rem; font-size: .86rem; color: var(--muted); }
.hero__facts li::before { content: "✓"; color: var(--success); margin-right: .45rem; font-weight: 700; }

.hero__visual { position: relative; min-height: 460px; }
.frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0a1020; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3650; }
.frame__bar span { margin-left: 10px; font-size: .7rem; color: var(--muted-2); background: rgba(255,255,255,.04); padding: 3px 10px; border-radius: 6px; }
.frame--desktop { position: absolute; right: 0; top: 0; width: 100%; }
.frame--phone { position: absolute; left: -6%; bottom: -8%; width: 32%; max-width: 230px; border-radius: 28px; border: 6px solid #0a1020; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.frame--phone img { border-radius: 20px; }
.hero__visual::after { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 40%; background: radial-gradient(50% 60% at 50% 50%, rgba(37,99,235,.35), transparent 70%); filter: blur(30px); z-index: -1; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__grid > div { padding: 1.4rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; border-left: 1px solid var(--line); }
.strip__grid > div:first-child { border-left: 0; padding-left: 0; }
.strip__grid strong { font-size: 1.02rem; }
.strip__grid span { font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: 5.5rem 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__head h2, .split__copy h2, .cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, transform .2s, background .2s; }
.feature:hover { border-color: rgba(96,165,250,.45); transform: translateY(-3px); background: rgba(37,99,235,.06); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: #93c5fd; margin-bottom: 1rem; }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--reverse .split__copy { order: 1; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; min-height: 520px; }
.frame--phone-lg { position: absolute; left: 0; top: 0; width: 44%; max-width: 260px; z-index: 2; }
.frame--desktop-sm { position: absolute; right: 0; bottom: 0; width: 80%; }
.checks { display: grid; gap: .75rem; margin: 1.5rem 0 1.75rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: rgba(16,185,129,.15); color: var(--success); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 2rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.steps__num { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); }

/* Surfaces */
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); display: flex; flex-direction: column; }
.surface img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.surface .surface__phone { object-fit: cover; object-position: top center; aspect-ratio: 16 / 10; }
.surface__body { padding: 1.4rem 1.5rem 1.6rem; }
.surface h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.surface p { color: var(--muted); font-size: .95rem; }

/* Shield */
.shield { position: relative; height: 420px; display: grid; place-items: center; }
.shield__ring { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px dashed rgba(96,165,250,.35); animation: spin 40s linear infinite; }
.shield__ring::before { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(34,211,238,.25); }
.shield__ring::after { content: ""; position: absolute; inset: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.45), rgba(37,99,235,0) 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.shield__list { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.shield__list li { padding: .6rem .9rem; border-radius: 10px; background: rgba(15,23,42,.9); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; backdrop-filter: blur(6px); }

/* Integrations */
.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.integrations > div { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.integrations h3 { font-size: 1.02rem; margin-bottom: .45rem; }
.integrations p { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); }

/* CTA */
.cta { padding: 5rem 0 6rem; }
.cta__inner { text-align: center; padding: 4rem 2rem; border-radius: 24px; border: 1px solid rgba(96,165,250,.3); background: radial-gradient(80% 120% at 50% 0%, rgba(37,99,235,.35), rgba(15,23,42,.6) 60%); box-shadow: var(--shadow); }
.cta p { margin: 1rem auto 0; max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.cta .hero__actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: #080d18; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem; }
.footer__grid a { display: block; color: var(--muted); padding: .25rem 0; font-size: .95rem; }
.footer__grid a:hover { color: var(--text); }
.footer__grid .brand { margin-bottom: .75rem; }
.footer__by { color: var(--muted); font-size: .9rem; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .85rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 8, 18, .75); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(640px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); animation: pop .18s ease-out; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: .9rem; right: .9rem; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.modal__close:hover { color: var(--text); }
.modal h3 { font-size: 1.6rem; }
.modal__sub { margin-top: .5rem; color: var(--muted); }
.form { margin-top: 1.5rem; display: grid; gap: .9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form label { display: grid; gap: .35rem; font-size: .84rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.form select option { color: #111; }
.form textarea { resize: vertical; }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form__alt { color: #93c5fd; font-weight: 600; font-size: .92rem; }
.form__note { font-size: .82rem; color: var(--muted-2); }
.form__note a { color: var(--muted); text-decoration: underline; }
.form__error { color: #fca5a5; font-size: .88rem; }
.form__success { text-align: center; padding: 2rem 0 .5rem; display: grid; gap: .6rem; justify-items: center; }
.form__success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,185,129,.15); color: var(--success); font-size: 1.6rem; font-weight: 800; }
.form__success h4 { font-size: 1.3rem; }
.form__success p { color: var(--muted); }

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

/* Responsive */
@media (max-width: 1080px) {
  .features, .integrations { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { padding-top: 3.5rem; }
  .hero__grid, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__copy { order: 0; }
  .split--reverse .split__media { order: 1; }
  .hero__visual { min-height: 0; margin-top: 1rem; }
  .frame--desktop { position: relative; }
  .frame--phone { bottom: -6%; left: -2%; width: 30%; }
  .split__media { min-height: 0; display: grid; gap: 1rem; }
  .frame--phone-lg, .frame--desktop-sm { position: relative; width: 100%; max-width: 260px; }
  .frame--desktop-sm { max-width: none; }
  .steps, .surfaces { grid-template-columns: 1fr; }
  .shield { height: 360px; }
  .shield__ring { width: 300px; height: 300px; }
}
@media (min-width: 901px) { .nav__mobile { display: none !important; } }
@media (max-width: 560px) {
  .features, .integrations, .strip__grid, .footer__grid { grid-template-columns: 1fr; }
  .strip__grid > div { border-left: 0; padding-left: 0; padding-block: 1rem; border-top: 1px solid var(--line); }
  .strip__grid > div:first-child { border-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .modal__panel { padding: 1.5rem 1.15rem; }
  .cta__inner { padding: 3rem 1.25rem; }
  .btn--lg { width: 100%; }
  .footer__legal { flex-direction: column; }
}
