:root {
  --ink: #091622;
  --ink-soft: #425363;
  --navy: #07131f;
  --navy-2: #0b1d2d;
  --teal: #26c9a7;
  --teal-dark: #0ca58c;
  --cyan: #5ca9ff;
  --mist: #eef7f5;
  --line: rgba(15, 45, 66, .12);
  --white: #fff;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: #f9fcfb;
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 9999; padding: .75rem 1rem; background: var(--white); color: var(--ink); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.navbar {
  padding: 1.1rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.navbar.scrolled { padding: .7rem 0; background: rgba(249, 252, 251, .92); backdrop-filter: blur(18px); box-shadow: 0 8px 40px rgba(9, 22, 34, .08); }
.navbar-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font: 800 1.35rem/1 var(--font-display); letter-spacing: -.04em; }
.navbar-brand:hover { color: var(--ink); }
.brand-icon { display: block; width: 44px; height: 28px; object-fit: contain; }
.brand-wordmark { display: block; width: 112px; height: 21px; object-fit: contain; }
.nav-link { position: relative; color: #354a5b; font-size: .92rem; font-weight: 600; padding: .55rem .8rem !important; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .25s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.btn-nav { background: var(--navy); color: var(--white); border-radius: 999px; padding: .68rem 1.15rem; font-size: .9rem; font-weight: 700; }
.btn-nav:hover { background: var(--teal-dark); color: var(--white); }
.navbar-toggler { border: 0; box-shadow: none !important; }

.hero-section { position: relative; min-height: 100vh; padding: 9rem 0 6rem; overflow: hidden; background: radial-gradient(circle at 7% 95%, rgba(38, 201, 167, .09), transparent 34%), #f9fcfb; }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(17, 63, 79, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 63, 79, .055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, black 35%, black); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; right: -120px; top: 13%; background: rgba(38, 201, 167, .08); }
.hero-glow-two { width: 260px; height: 260px; left: 35%; bottom: -170px; background: rgba(92, 169, 255, .11); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .85rem; border: 1px solid rgba(12, 165, 140, .2); background: rgba(255,255,255,.72); border-radius: 999px; color: #137b69; text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 700; }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(38, 201, 167, .12); }
.hero-title { max-width: 760px; margin: 1.55rem 0 1.35rem; font: 800 clamp(3rem, 6vw, 5.65rem)/.99 var(--font-display); letter-spacing: -.065em; }
.hero-title span { color: transparent; background: linear-gradient(100deg, #0ba68c, #2479c9); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 665px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.btn-primary-bifrost, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 54px; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary-bifrost { background: var(--navy); color: var(--white); box-shadow: 0 12px 32px rgba(7, 19, 31, .18); }
.btn-primary-bifrost:hover { color: var(--white); background: #0e2c40; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(7, 19, 31, .23); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.6); color: #274254; }
.btn-ghost:hover { color: var(--teal-dark); border-color: rgba(12,165,140,.35); background: var(--white); transform: translateY(-2px); }
.hero-note { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; color: #60717d; font-size: .87rem; }
.hero-note i { color: var(--teal-dark); font-size: 1.15rem; }

.data-visual { position: relative; width: min(100%, 485px); aspect-ratio: 1; margin-inline: auto; }
.visual-orbit { position: absolute; inset: 12%; border: 1px solid rgba(14, 128, 113, .2); border-radius: 50%; animation: orbit-spin 24s linear infinite; }
.visual-orbit::before, .visual-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px rgba(38, 201, 167, .8); }
.visual-orbit::before { top: 12%; left: 12%; }.visual-orbit::after { right: 0; top: 50%; }
.orbit-two { inset: 28%; border-style: dashed; animation-direction: reverse; animation-duration: 17s; }
.orbit-two::before { top: -5px; left: 50%; background: var(--cyan); }.orbit-two::after { display: none; }
.visual-core { position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #0b2334, #061019); box-shadow: 0 22px 55px rgba(7,19,31,.3), inset 0 0 0 1px rgba(255,255,255,.08); }
.core-logo { position: relative; z-index: 1; display: block; width: 78%; height: auto; filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .22)); }
.core-pulse { position: absolute; inset: -16%; border: 1px solid rgba(38,201,167,.35); border-radius: 50%; animation: pulse-ring 2.8s ease-out infinite; }
.visual-node { position: absolute; display: flex; align-items: center; gap: .55rem; min-width: 122px; padding: .78rem .95rem; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.83); backdrop-filter: blur(12px); box-shadow: 0 12px 35px rgba(16,46,64,.12); color: #1a3445; font-size: .82rem; font-weight: 700; }
.visual-node i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(38,201,167,.1); color: var(--teal-dark); font-size: 1rem; }
.visual-node small { position: absolute; top: calc(100% + 3px); left: 46px; color: #75858f; font-weight: 500; white-space: nowrap; }
.node-extractor { left: 0; top: 21%; }.node-import { right: -1%; top: 15%; }.node-database { left: 3%; bottom: 17%; }.node-app { right: 0; bottom: 18%; }

.section-pad { padding: 7.5rem 0; }
.section-kicker { margin-bottom: .9rem; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; }
.section-kicker.light { color: #80f0d8; }
.section-title { margin: 0; font: 800 clamp(2.25rem, 4vw, 3.75rem)/1.08 var(--font-display); letter-spacing: -.05em; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.ecosystem-section { background: var(--white); }
.flow-track { position: relative; }
.flow-line { position: absolute; top: 86px; left: 10%; right: 10%; height: 1px; background: #d8e8e4; overflow: hidden; }
.flow-line span { position: absolute; width: 25%; height: 100%; background: linear-gradient(90deg, transparent, var(--teal), transparent); animation: flow-line 3.8s ease-in-out infinite; }
.flow-card { position: relative; z-index: 1; padding: 1.45rem; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.96); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.flow-card:hover { transform: translateY(-8px); border-color: rgba(12,165,140,.28); box-shadow: 0 24px 55px rgba(13,48,64,.1); }
.flow-top { display: flex; align-items: center; justify-content: space-between; }
.flow-number { color: #a4b2ba; font: 700 .72rem var(--font-display); letter-spacing: .1em; }
.flow-state { padding: .28rem .55rem; border-radius: 999px; background: #e8f8f4; color: #0d8a74; text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; font-weight: 800; }
.flow-state.future { background: #edf2f7; color: #617180; }
.flow-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 1.7rem 0 1.4rem; border-radius: 16px; background: var(--navy); color: #74efd4; font-size: 1.35rem; box-shadow: 0 12px 26px rgba(7,19,31,.16); }
.flow-card h3 { font: 800 1.35rem var(--font-display); letter-spacing: -.03em; }
.flow-card p { margin: .75rem 0 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.65; }
.flow-card-future { border-style: dashed; background: #f7f9fa; }

.solutions-section { background: linear-gradient(180deg, #f1f8f6, #f9fcfb); }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.bento-card { position: relative; overflow: hidden; min-height: 320px; padding: clamp(1.7rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 20px 55px rgba(13,48,64,.06); }
.bento-card h3 { max-width: 560px; margin: 1.1rem 0 .85rem; font: 800 clamp(1.7rem, 2.7vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.045em; }
.bento-card p { color: var(--ink-soft); line-height: 1.7; }
.bento-label { display: inline-flex; align-items: center; gap: .55rem; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; }
.bento-extractor { grid-column: span 8; display: grid; grid-template-columns: 1.15fr .85fr; background: linear-gradient(135deg, #fff 52%, #e9f8f4); }
.bento-import { grid-column: span 4; background: var(--navy); color: var(--white); }
.bento-import p { color: #a9becb; }.bento-import .bento-label { color: #66e5cb; }
.bento-database { grid-column: span 5; display: flex; flex-direction: column; justify-content: flex-end; min-height: 410px; background: #eaf5ff; }
.bento-principle { grid-column: span 7; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #0d2b3c, #07131f); color: var(--white); }
.feature-list { display: grid; gap: .55rem; margin: 1.3rem 0 0; padding: 0; list-style: none; color: #2d4d5e; font-size: .9rem; }
.feature-list i { margin-right: .45rem; color: var(--teal-dark); }
.extractor-art { position: relative; min-height: 250px; }
.source-pill { position: absolute; z-index: 2; padding: .55rem .8rem; border: 1px solid rgba(12,165,140,.16); border-radius: 9px; background: rgba(255,255,255,.85); box-shadow: 0 8px 24px rgba(17,80,74,.1); color: #526c77; font-size: .72rem; font-weight: 700; }
.source-a { left: 0; top: 15%; }.source-b { right: 4%; top: 8%; }.source-c { left: 7%; bottom: 16%; }
.art-beam { position: absolute; left: 26%; right: 28%; top: 51%; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); transform: rotate(-4deg); box-shadow: 0 -50px 0 rgba(38,201,167,.18), 0 48px 0 rgba(38,201,167,.16); }
.art-destination { position: absolute; right: 10%; top: 38%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--navy); color: var(--teal); font-size: 1.75rem; box-shadow: 0 20px 40px rgba(7,19,31,.22); }
.mini-progress { display: grid; gap: .5rem; margin-top: 2rem; }
.mini-progress div { display: flex; justify-content: space-between; color: #afc3cf; font-size: .76rem; }
.mini-progress i { position: relative; display: block; height: 6px; margin-bottom: .8rem; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.mini-progress i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--progress); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--cyan)); }
.mini-progress small { color: #718997; font-size: .65rem; }
.database-art { position: absolute; width: 235px; height: 235px; right: -25px; top: -30px; display: grid; place-items: center; }
.database-art i { position: relative; z-index: 2; color: #2479c9; font-size: 3.1rem; filter: drop-shadow(0 12px 20px rgba(36,121,201,.25)); }
.db-ring { position: absolute; border: 1px solid rgba(36,121,201,.18); border-radius: 50%; }
.ring-1 { inset: 35%; }.ring-2 { inset: 20%; }.ring-3 { inset: 5%; }
.quote-mark { position: absolute; right: 8%; top: -30px; color: rgba(102,229,203,.14); font: 800 13rem/1 Georgia, serif; }
.principle-text { position: relative; z-index: 1; color: var(--white) !important; font: 700 clamp(2rem, 4vw, 3.6rem)/1.2 var(--font-display); letter-spacing: -.05em; }
.principle-text span { color: #6ee6ce; }
.principle-line { width: 100%; height: 1px; margin-top: 1rem; background: rgba(255,255,255,.1); }
.principle-line span { display: block; width: 34%; height: 100%; background: var(--teal); }

.future-section { background: #f9fcfb; }
.future-panel { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 5rem); border-radius: 34px; background: var(--navy); color: var(--white); box-shadow: 0 32px 80px rgba(7,19,31,.17); }
.future-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 80% 50%, black, transparent 65%); }
.future-panel .section-title { color: var(--white); }.future-panel .section-intro { color: #afc1cc; }
.coming-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .75rem; border: 1px solid rgba(102,229,203,.25); border-radius: 999px; color: #a7f3e3; background: rgba(38,201,167,.07); font-size: .75rem; font-weight: 700; }
.coming-badge span { width: 7px; height: 7px; border-radius: 50%; background: #57e7c9; animation: blink 1.8s ease-in-out infinite; }
.future-disclaimer { color: #7f98a7; font-size: .82rem; }
.future-disclaimer i { color: #69ddc5; margin-right: .35rem; }
.module-card { padding: 1.4rem; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: rgba(255,255,255,.055); backdrop-filter: blur(8px); transition: transform .25s, background .25s; }
.module-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.module-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 2rem; border-radius: 13px; background: rgba(38,201,167,.12); color: #69e5cb; font-size: 1.25rem; }
.module-card h3 { font: 700 1.15rem var(--font-display); }.module-card p { min-height: 85px; color: #93a9b6; font-size: .84rem; line-height: 1.55; }
.module-card > span { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); color: #6e8796; text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; font-weight: 800; }

.contact-section { padding: 2rem 0 7rem; background: #f9fcfb; }
.contact-card { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 30px; background: linear-gradient(115deg, #0ca58c, #1975b9); color: var(--white); box-shadow: 0 28px 70px rgba(12,165,140,.22); }
.contact-glow { position: absolute; width: 400px; height: 400px; right: -100px; bottom: -270px; border-radius: 50%; border: 70px solid rgba(255,255,255,.08); }
.contact-card h2 { margin-bottom: .8rem; font: 800 clamp(2rem, 4vw, 3.5rem)/1.1 var(--font-display); letter-spacing: -.05em; }
.contact-card p { margin: 0; color: rgba(255,255,255,.78); }
.btn-contact { display: inline-flex; align-items: center; gap: .8rem; padding: .9rem 1.25rem; border-radius: 999px; background: var(--white); color: #116e75; font-weight: 800; box-shadow: 0 12px 30px rgba(5,66,83,.18); }
.btn-contact:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.contact-email { display: block; margin-top: .85rem; color: rgba(255,255,255,.82); font-size: .85rem; }.contact-email:hover { color: var(--white); }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: #f9fcfb; color: #7a8992; font-size: .82rem; }
.footer-brand { font-size: 1.08rem; }.footer-brand .brand-icon { width: 38px; height: 24px; }.footer-brand .brand-wordmark { width: 98px; height: 18px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }.reveal-delay-1 { transition-delay: .1s; }.reveal-delay-2 { transition-delay: .2s; }.reveal-delay-3 { transition-delay: .3s; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0% { transform: scale(.8); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes flow-line { 0% { left: -25%; } 100% { left: 100%; } }
@keyframes blink { 50% { opacity: .35; box-shadow: 0 0 0 6px rgba(87,231,201,.1); } }

@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 18px 45px rgba(9,22,34,.1); }
  .hero-section { min-height: auto; padding-top: 9rem; }
  .hero-title { max-width: 820px; }
  .data-visual { max-width: 480px; }
  .flow-line { display: none; }
  .bento-extractor, .bento-import, .bento-database, .bento-principle { grid-column: span 12; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 5rem 0; }
  .hero-title { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .data-visual { transform: scale(.93); }
  .visual-node { min-width: auto; padding: .65rem .75rem; }
  .visual-node span { display: none; }.visual-node small { display: none; }
  .bento-extractor { grid-template-columns: 1fr; }.extractor-art { min-height: 210px; }
  .module-card p { min-height: auto; }
  .contact-card { text-align: center; }
}

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