/* Nexra Connect — site styles */
:root {
  --navy-950: #050f22;
  --navy-900: #071630;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --teal-300: #5eead4;
  --sky: #0369a1;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 22, 48, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.125em; }
.grad { background: linear-gradient(90deg, var(--teal-300), #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.3rem; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-600)); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 184, 166, .7); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(20, 184, 166, .85); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 1rem; }
.eyebrow-light { color: var(--teal-300); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } }

/* Topbar */
.topbar { background: var(--navy-950); color: #cbd5e1; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar-inner > span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .ico { color: var(--teal-300); }
.topbar-links { display: flex; gap: 1.4rem; }
.topbar a:hover { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(11, 31, 58, .35); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { font-weight: 800; font-size: 1.32rem; color: var(--navy-800); letter-spacing: -.03em; }
.logo-text span { color: var(--teal-600); margin-left: 1px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: var(--teal-300); }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav-link { background: none; border: 0; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink); padding: .6rem .75rem; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--teal-600); }
.nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--teal); }
.nav-cta { margin-left: .6rem; }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item { position: static; }
.menu { position: absolute; top: calc(100% + 2px); left: 50%; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s; }
.menu::before { content: ""; position: absolute; inset: -24px 0 auto; height: 24px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .chev, .has-menu.open .chev { transform: rotate(225deg) translateY(-1px); }
.mega { width: 720px; }
.mega-spec { width: 760px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mega-link { display: flex; gap: .8rem; padding: .7rem; border-radius: 12px; transition: background .15s; }
.mega-link:hover { background: var(--bg-alt); }
.mega-link b { display: block; color: var(--ink); font-size: .92rem; }
.mega-link small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, rgba(20, 184, 166, .14), rgba(3, 105, 161, .1)); color: var(--teal-600); font-size: 1.15rem; }
.spec-link { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.spec-link .ico { color: var(--teal-600); font-size: 1.05rem; }
.spec-link:hover { background: var(--bg-alt); color: var(--teal-600); }
.mega-foot { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 10px; padding: .75rem; border-radius: 12px; background: var(--bg-alt); color: var(--teal-600); font-weight: 700; font-size: .88rem; }
.mega-foot:hover { background: #e6f7f5; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Home hero */
.hero { position: relative; overflow: hidden; color: #e2e8f0; min-height: min(88vh, 820px); display: flex; align-items: center; padding: 90px 0 110px; background: var(--navy-900); }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 8s ease; }
.slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 15, 34, .94) 0%, rgba(7, 22, 48, .85) 45%, rgba(7, 22, 48, .45) 100%), radial-gradient(600px 400px at 85% 30%, rgba(20, 184, 166, .25), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; max-width: 720px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .3s; padding: 0; }
.hero-dots button.active { width: 30px; background: var(--teal); }

.checks { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(20, 184, 166, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 62% no-repeat; }
.checks-light li { color: #e2e8f0; }
.checks-light li::before { background-color: rgba(20, 184, 166, .28); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.checks-sm { gap: .45rem; margin: .6rem 0 0; }
.checks-sm li { font-size: .93rem; font-weight: 400; color: var(--body); padding-left: 1.7rem; }
.checks-sm li::before { width: 1.1rem; height: 1.1rem; }
.checks-2col { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* Hero dashboard card */
.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; position: relative; }
@keyframes float { 50% { transform: translateY(-10px); } }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; }
.pill { font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.pill-up { background: #ccfbf1; color: #0f766e; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpis div { background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; }
.dash-kpis small { display: block; font-size: .7rem; color: var(--muted); }
.dash-kpis strong { font-size: 1.15rem; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), var(--sky)); opacity: .9; transform-origin: bottom; animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .3s); }
@keyframes grow { from { transform: scaleY(0); } }
.dash-rows { margin-top: 10px; font-size: .84rem; }
.dash-rows div { display: flex; align-items: center; gap: .6rem; padding: .42rem 0; border-bottom: 1px dashed var(--line); }
.dash-rows div:last-child { border: 0; }
.dash-rows b { margin-left: auto; font-size: .76rem; color: var(--teal-600); }
.dash-rows b.warn { color: #b45309; }
.dash-note { position: absolute; right: 16px; bottom: -22px; font-size: .7rem; color: rgba(255, 255, 255, .5); }
.st { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st-ok { background: #10b981; }
.st-warn { background: #f59e0b; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #cbd5e1; padding: 90px 0 96px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: kb 14s ease-out forwards; }
@keyframes kb { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 15, 34, .95) 0%, rgba(7, 22, 48, .86) 55%, rgba(7, 22, 48, .55) 100%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; margin-left: max(16px, (100% - 1240px) / 2); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.lead { font-size: 1.14rem; color: #cbd5e1; max-width: 680px; }
.crumbs { font-size: .85rem; color: #94a3b8; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--teal-300); }

.banner-strip { background: linear-gradient(90deg, var(--teal-600), var(--sky)); color: #fff; }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; }
.banner-inner p { margin: 0; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.banner-inner .ico { font-size: 1.2rem; }
.banner-strip .btn-primary { background: #fff; color: var(--teal-600); box-shadow: none; }

/* Marquee strip */
.strip { padding: 30px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.strip-label { text-align: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.marquee { overflow: hidden; 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: scroll 40s linear infinite; }
.marquee-track span { font-weight: 800; font-size: 1.15rem; color: #94a3b8; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.section-dark { background: var(--navy-800); color: #cbd5e1; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 0%, rgba(20, 184, 166, .16), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(3, 105, 161, .25), transparent 70%); pointer-events: none; }
.section-dark .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.split-head p { font-size: 1.06rem; }

/* Overview */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.overview-media { position: relative; }
.overview-media img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.overview-badge { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; }
.overview-badge > .ico { font-size: 1.6rem; color: var(--teal-600); }
.overview-badge b { display: block; color: var(--ink); }
.overview-badge small { color: var(--muted); font-size: .8rem; }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.stat { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-radius: var(--radius); padding: 22px; color: #cbd5e1; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(20, 184, 166, .35), transparent 70%); }
.stat strong { display: block; font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .2rem; }
.stat span { font-size: .86rem; }

/* Cycle diagram */
.cycle-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cycle-list { padding: 0; margin: 1.4rem 0 2rem; list-style: none; counter-reset: c; display: grid; gap: .7rem; }
.cycle-list li { counter-increment: c; display: flex; gap: .8rem; align-items: baseline; }
.cycle-list li::before { content: counter(c, decimal-leading-zero); font-weight: 800; color: var(--teal-600); font-size: .85rem; }
.cycle-list b { color: var(--ink); }
.cycle { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: auto; container-type: inline-size; }
.cycle-ring { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed rgba(13, 148, 136, .35); animation: spin 60s linear infinite; }
.cycle-ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .1), transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.cycle-center { position: absolute; inset: 32%; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; align-content: center; gap: .3rem; text-align: center; }
.cycle-center small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.cycle-logo { flex-direction: column; gap: .3rem; }
.cycle-logo .logo-text { font-size: 1rem; }
.cycle-node { --r: 38cqw; position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; background: linear-gradient(145deg, var(--navy-800), var(--navy-700)); color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); box-shadow: 0 14px 30px -12px rgba(7, 22, 48, .6); font-size: .74rem; font-weight: 700; transition: background .2s; }
.cycle-node .ico { font-size: 1.5rem; color: var(--teal-300); }
.cycle-node:hover { background: linear-gradient(145deg, var(--teal-600), var(--sky)); }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 0; font-size: .95rem; }
.icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(20, 184, 166, .15), rgba(3, 105, 161, .12)); margin-bottom: 1.2rem; color: var(--teal-600); font-size: 1.6rem; flex: none; transition: .25s; }
.card:hover .icon { background: linear-gradient(135deg, var(--teal), var(--sky)); color: #fff; }
.card-link { display: flex; flex-direction: column; }
.card-link p { flex: 1; }
.more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; color: var(--teal-600); font-weight: 700; font-size: .88rem; }
.card-link:hover .more .ico { transform: translateX(4px); }
.more .ico { transition: transform .2s; }
.card-dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #cbd5e1; }
.card-dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(20, 184, 166, .4); }
.card-dark .icon { background: rgba(20, 184, 166, .15); color: var(--teal-300); }

/* Specialties tiles */
.spec-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.spec-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 10px; text-align: center; display: grid; justify-items: center; gap: .6rem; font-weight: 700; font-size: .85rem; color: var(--ink); transition: .2s; }
.spec-tile .ico { font-size: 1.8rem; color: var(--teal-600); transition: .2s; }
.spec-tile:hover { background: var(--navy-800); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-tile:hover .ico { color: var(--teal-300); }

/* Testimonials */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.quote::before { content: "“"; position: absolute; right: 24px; top: 0; font-size: 6rem; line-height: 1; color: rgba(20, 184, 166, .12); font-family: Georgia, serif; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.quote blockquote { margin: 0; color: var(--ink); font-size: 1rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote small { display: block; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--teal), var(--sky)); flex: none; }

/* AI teaser */
.ai-teaser { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #cbd5e1; position: relative; overflow: hidden; }
.ai-teaser::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(94, 234, 212, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 234, 212, .06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%); }
.ai-teaser-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-teaser h2 { color: #fff; }
.ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-points div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(94, 234, 212, .18); border-radius: 16px; padding: 22px; display: grid; gap: .3rem; backdrop-filter: blur(6px); }
.ai-points .ico { font-size: 1.6rem; color: var(--teal-300); margin-bottom: .4rem; }
.ai-points b { color: #fff; }
.ai-points small { font-size: .85rem; }

/* Badges */
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.badge { border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px; text-align: center; display: grid; justify-items: center; gap: .3rem; }
.badge .ico { font-size: 1.8rem; color: var(--teal-600); margin-bottom: .4rem; }
.badge b { color: var(--ink); font-size: 1.05rem; }
.badge small { color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-mini { display: grid; gap: .6rem; margin-top: 1.4rem; }
.contact-mini a { display: inline-flex; align-items: center; gap: .6rem; color: var(--teal-600); font-weight: 600; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.2rem; font-weight: 500; color: var(--teal-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--teal); color: #fff; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-600), var(--sky) 60%, var(--navy-700)); color: #e0f2fe; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; right: -120px; top: -200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--navy-800); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }

/* Values / steps */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.values div { border-top: 3px solid var(--teal); padding-top: 22px; }
.values span { font-weight: 800; color: var(--teal-600); font-size: .9rem; }
.values h3 { margin-top: .5rem; }
.values p { font-size: .95rem; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); opacity: .35; }
.steps li { position: relative; text-align: center; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--teal-600); font-weight: 800; box-shadow: 0 0 0 6px #fff; position: relative; }
.steps p { font-size: .93rem; margin: 0; }

/* Solutions list */
.svc-list { display: grid; gap: 14px; }
.svc-row { display: grid; grid-template-columns: 50px 54px 1fr 44px; gap: 20px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; transition: .25s; background: #fff; }
.svc-row .icon { margin: 0; }
.svc-num { font-weight: 800; font-size: 1.5rem; color: #cbd5e1; }
.svc-body h3 { margin: 0 0 .2rem; }
.svc-body p { margin: 0; font-size: .95rem; }
.svc-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--teal-600); font-size: 1.2rem; transition: .25s; }
.svc-row:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateX(4px); }
.svc-row:hover .svc-go { background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-row:hover .svc-num { color: var(--teal); }

/* Content + sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.content > h2 { margin-bottom: .8em; }
.content > .eyebrow { margin-top: 3.5rem; }
.content > .eyebrow:first-child { margin-top: 0; }
.content .big { font-size: 1.08rem; }
.h-sub { margin-top: 2rem; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 2.2rem 0 0; }
.benefit { background: var(--bg-alt); border-radius: 16px; padding: 22px; }
.benefit > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: #fff; margin-bottom: .8rem; }
.benefit h4 { margin-bottom: .3rem; }
.benefit p { margin: 0; font-size: .93rem; }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--sky)); opacity: .3; }
.tl-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; position: relative; }
.tl-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--sky)); color: #fff; font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.tl-item > div { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; background: #fff; transition: .2s; }
.tl-item > div:hover { box-shadow: var(--shadow); border-color: transparent; }
.tl-item h3 { margin: 0; }
.why-box { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; margin-top: 3.5rem; padding: 28px; border-radius: 22px; background: var(--bg-alt); }
.why-box img { border-radius: 16px; height: 100%; min-height: 260px; object-fit: cover; }
.why-box h2 { font-size: 1.6rem; }
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.challenge-grid div { display: flex; gap: .8rem; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: .95rem; }
.challenge-grid .ico { color: var(--teal-600); font-size: 1.2rem; margin-top: .15rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.codes { width: 100%; border-collapse: collapse; font-size: .95rem; }
.codes th { text-align: left; background: var(--navy-800); color: #fff; padding: 14px 20px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.codes td { padding: 14px 20px; border-top: 1px solid var(--line); }
.codes tr:nth-child(even) td { background: var(--bg-alt); }
.codes code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--teal-600); background: rgba(20, 184, 166, .1); padding: .2rem .5rem; border-radius: 6px; white-space: nowrap; }
.fine { font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 3rem; }
.stat-row div { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #cbd5e1; border-radius: 16px; padding: 22px; display: grid; gap: .2rem; }
.stat-row .ico { font-size: 1.5rem; color: var(--teal-300); margin-bottom: .4rem; }
.stat-row b { color: #fff; font-size: 1.4rem; }
.stat-row small { font-size: .85rem; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #cbd5e1; border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(rgba(20, 184, 166, .4), transparent 70%); }
.side-cta h3 { color: #fff; }
.side-cta p { font-size: .92rem; }
.side-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 184, 166, .2); color: var(--teal-300); font-size: 1.3rem; margin-bottom: 1rem; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; font-weight: 600; color: #fff; font-size: .92rem; }
.side-box { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.side-box h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .2rem .6rem .8rem; }
.side-box a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); transition: .15s; }
.side-box a .ico { color: var(--teal-600); font-size: 1.05rem; }
.side-box a:hover { background: var(--bg-alt); color: var(--teal-600); }
.side-box a.current { background: var(--navy-800); color: #fff; }
.side-box a.current .ico { color: var(--teal-300); }
.side-box .side-more { color: var(--teal-600); justify-content: flex-start; }

.note-box { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 28px 32px; border-radius: 20px; background: var(--bg-alt); }
.note-box > .ico { font-size: 2.4rem; color: var(--teal-600); }
.note-box h3 { margin-bottom: .3rem; }
.note-box p { margin: 0; }
.note-box div { flex: 1; }

/* AI page */
.ai-hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 75% 10%, rgba(20, 184, 166, .28), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(3, 105, 161, .35), transparent 60%), var(--navy-950); color: #cbd5e1; padding: 110px 0 120px; }
.ai-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(94, 234, 212, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 234, 212, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 48px 48px; } }
.ai-hero-inner { position: relative; text-align: center; max-width: 900px; }
.ai-hero-inner .crumbs, .ai-hero-inner .hero-ctas { justify-content: center; }
.ai-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.ai-hero .lead { margin-inline: auto; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step { background: #fff; border-radius: 18px; padding: 26px 20px; position: relative; border: 1px solid var(--line); }
.flow-step > span { position: absolute; top: 16px; right: 18px; font-weight: 800; color: #e2e8f0; font-size: 1.6rem; }
.flow-step > .ico { font-size: 1.8rem; color: var(--teal-600); margin-bottom: 1rem; }
.flow-step p { font-size: .9rem; margin: 0; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
.loop { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.loop span { padding: .5rem .9rem; border-radius: 999px; background: var(--bg-alt); font-weight: 600; font-size: .88rem; color: var(--ink); }
.loop span.on { background: var(--teal); color: #fff; }
.loop .ico { color: var(--teal-600); }
.data-inputs { background: var(--bg-alt); border-radius: 22px; padding: 32px; display: grid; gap: 12px; }
.data-inputs div { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 12px; padding: 14px 18px; font-weight: 600; color: var(--ink); box-shadow: 0 4px 14px -10px rgba(11, 31, 58, .3); }
.data-inputs .ico { color: var(--teal-600); font-size: 1.2rem; }
.quote-big { background: rgba(255, 255, 255, .05); border: 1px solid rgba(94, 234, 212, .2); border-radius: 22px; padding: 40px; }
.quote-big p { font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.35; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8rem 0; }
.info-card { display: flex; align-items: center; gap: .9rem; padding: 18px; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
a.info-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.info-card > .ico { font-size: 1.3rem; color: var(--teal-600); width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(20, 184, 166, .12); }
.info-card small { display: block; color: var(--muted); font-size: .78rem; }
.info-card b { color: var(--ink); font-size: .9rem; word-break: break-word; }
.audit-box { background: var(--bg-alt); border-radius: 18px; padding: 24px; }
.audit-box h3 { display: flex; align-items: center; gap: .5rem; }
.audit-box h3 .ico { color: var(--teal-600); }
.form { background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; position: sticky; top: 100px; }
.form h3 { font-size: 1.4rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.form .invalid { border-color: #ef4444; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-note.ok { color: var(--teal-600); font-weight: 600; }

/* Careers */
.jobs { display: grid; gap: 14px; max-width: 900px; margin: auto; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s; }
.job[open] { box-shadow: var(--shadow); border-color: transparent; }
.job summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { margin: 0 0 .2rem; }
.job small { color: var(--muted); }
.job-toggle { font-size: .85rem; font-weight: 700; color: var(--teal-600); padding: .45rem .9rem; border-radius: 999px; background: rgba(20, 184, 166, .1); white-space: nowrap; }
.job[open] .job-toggle { background: var(--teal); color: #fff; }
.job-body { padding: 0 26px 26px; }
.job-body h4 { margin-top: 1rem; }
.job-body .btn { margin-top: 1.2rem; }

/* Legal, 404 */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose a { color: var(--teal-600); font-weight: 600; }
.notfound { padding: 140px 0; }
.big-404 { display: block; font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Footer */
.footer { background: var(--navy-950); color: #94a3b8; padding: 80px 0 28px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin: 1.2rem 0; max-width: 340px; }
.footer-contact { display: grid; gap: .55rem; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: .6rem; }
.footer-contact .ico { color: var(--teal-300); }
.social { display: flex; gap: 10px; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #cbd5e1; transition: .2s; }
.social a:hover { background: var(--teal); color: #fff; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.footer-top > div > a:not(.logo) { display: block; padding: .32rem 0; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-more { color: var(--teal-300); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.footer-legal span { display: inline-flex; align-items: center; gap: .4rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .slide.active { transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 76px); overflow-y: auto; transform: translateY(-130%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .menu, .mega, .mega-spec { position: static; width: auto; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; display: none; padding: 8px 0; }
  .has-menu:hover .menu, .has-menu:focus-within .menu { display: none; }
  .has-menu.open .menu { display: block; }
  .mega-grid, .mega-grid-4 { grid-template-columns: 1fr 1fr; }
  .mega-link small { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .burger { display: block; }
  .hero-inner, .overview, .cycle-wrap, .ai-teaser-inner, .faq-wrap, .contact-grid, .split-head { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 480px; }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .side-cta { grid-column: 1 / -1; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step::after { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form { position: static; }
  .overview-badge { left: 16px; }
}
@media (max-width: 720px) {
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { gap: 1rem; font-size: .75rem; }
  .hero { padding: 64px 0 90px; min-height: 0; }
  .hero-card { display: none; }
  .section { padding: 72px 0; }
  .page-hero { padding: 64px 0 72px; }
  .cards-3, .cards-4, .checks-2col, .benefits, .challenge-grid, .stat-row, .form .row, .info-cards, .sidebar, .ai-points, .values { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; }
  .step-n { grid-row: span 2; margin: 0; }
  .svc-row { grid-template-columns: 54px 1fr; padding: 20px; }
  .svc-num, .svc-go { display: none; }
  .why-box { grid-template-columns: 1fr; }
  .why-box img { min-height: 200px; max-height: 240px; width: 100%; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
  .note-box { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 1.8rem; }
  .cycle-node { width: 72px; height: 72px; margin: -36px; font-size: .64rem; }
  .cycle-node .ico { font-size: 1.2rem; }
  .form { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .mega-grid, .mega-grid-4 { grid-template-columns: 1fr; }
  .quote-big p { font-size: 1.3rem; }
}

/* Founding partner program */
.founding-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 26px 32px; border-radius: 20px; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #cbd5e1; }
.founding-cta b { display: block; color: #fff; font-size: 1.15rem; }
@media (max-width: 720px) { .founding-cta { flex-direction: column; align-items: flex-start; padding: 22px; } }
