:root {
  --violet: #6d28d9;
  --violet-2: #7c3aed;
  --indigo: #4f46e5;
  --violet-light: #a78bfa;
  --coral: #fb7185;
  --amber: #f59e0b;
  --ink: #1e1b2e;
  --ink-2: #4b4663;
  --muted: #7c7793;
  --line: #ece9f5;
  --bg: #ffffff;
  --bg-soft: #f7f5fd;
  --dark: #1b1530;
  --dark-2: #251c44;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(76, 29, 149, .07);
  --shadow: 0 22px 60px rgba(76, 29, 149, .18);
  --grad: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4f46e5 100%);
  --grad-warm: linear-gradient(120deg, #fb7185 0%, #f59e0b 100%);
  --maxw: 1140px;
  --font: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.12; margin: 0; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-family: var(--font); font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent; transition: .22s ease; white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(109, 40, 217, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(109, 40, 217, .5); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.7); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-name { font-family: var(--font); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand-name .dot { color: var(--coral); }
.nav { display: flex; gap: 28px; margin-left: 10px; flex: 1; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: .2s; }
.nav a:hover { color: var(--violet); }
.header-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero (centered) */
.hero { position: relative; overflow: hidden; padding: 100px 0 90px; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 460px; height: 460px; background: #c4b5fd; top: -140px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: #a5b4fc; top: -100px; right: -100px; opacity: .5; }
.orb-3 { width: 380px; height: 380px; background: #fbcfe8; bottom: -180px; left: 40%; opacity: .4; }
.noise {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(109,40,217,.12) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-family: var(--font); font-size: 13.5px;
  font-weight: 600; color: var(--violet); background: #f1ebff; border: 1px solid #e3d9fb; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 700; }
.lead { font-size: 19px; color: var(--ink-2); margin: 22px auto 32px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tech-strip { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.tech-strip span {
  font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow-sm);
}

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; font-family: var(--font); color: var(--violet); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.eyebrow.light { color: var(--violet-light); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

.grid { display: grid; gap: 22px; }

/* Solutions */
.solutions { grid-template-columns: repeat(3, 1fr); }
.sol-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s ease;
  position: relative; overflow: hidden;
}
.sol-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: .3s ease; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #e3d9fb; }
.sol-card:hover::before { transform: scaleX(1); }
.sol-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: #f1ebff; margin-bottom: 18px; }
.sol-card h3 { font-size: 20px; margin-bottom: 10px; }
.sol-card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Manifesto (dark) */
.manifesto { background: var(--dark); color: #efeaff; padding: 96px 0; position: relative; overflow: hidden; }
.manifesto::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--violet); filter: blur(140px); opacity: .35; top: -160px; right: -120px; }
.manifesto::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--coral); filter: blur(150px); opacity: .18; bottom: -180px; left: -100px; }
.manifesto-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto blockquote {
  font-family: var(--font); font-size: clamp(26px, 4.5vw, 46px); font-weight: 700; line-height: 1.2;
  margin: 14px 0 26px; letter-spacing: -.02em;
}
.manifesto-text { font-size: 19px; color: #cfc6ec; max-width: 640px; margin: 0 auto 18px; }
.manifesto-text strong { color: #fff; }
.manifesto-credit { font-family: var(--font); font-size: 15px; color: var(--violet-light); font-style: italic; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 16px; }
.about-copy > p { color: var(--ink-2); font-size: 17px; }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.about-list li { padding-left: 32px; position: relative; color: var(--ink-2); font-weight: 500; }
.about-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: #fff; font-size: 12px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 7px; background: var(--grad);
}
.meta-badge {
  display: inline-block; margin-top: 24px; padding: 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .22s ease;
}
.meta-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.meta-badge img { display: block; width: 100%; max-width: 210px; height: auto; }
.about-card { background: var(--grad); border-radius: var(--radius); padding: 32px; color: #fff; box-shadow: var(--shadow); }
.ac-row { font-family: var(--font); font-size: 13.5px; font-weight: 600; opacity: .9; display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.ac-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.ac-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ac-stats div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px; }
.ac-stats b { display: block; font-family: var(--font); font-size: 22px; }
.ac-stats small { opacity: .85; font-size: 13px; }

/* Ecosystem */
.eco { grid-template-columns: 1fr 1fr; }
.eco-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: .25s ease; display: block; }
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #e3d9fb; }
.eco-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: #f1ebff; margin-bottom: 18px; }
.eco-card h3 { font-size: 22px; margin-bottom: 10px; }
.eco-card p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 16px; }
.eco-link { font-family: var(--font); font-weight: 600; color: var(--violet); font-size: 15px; }

/* Contact */
.contact { background: var(--dark); color: #efeaff; padding: 86px 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: var(--indigo); filter: blur(150px); opacity: .4; top: -160px; left: 30%; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.contact-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.contact-copy p { color: #cfc6ec; font-size: 18px; margin-top: 14px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 20px 22px; transition: .2s ease;
}
a.contact-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.cc-ico { font-size: 26px; }
.contact-card b { font-family: var(--font); display: block; font-size: 16px; }
.contact-card small { color: #cfc6ec; font-size: 14px; }

/* Footer */
.site-footer { background: #14101f; color: #b9b2cf; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 300px; }
.footer-col h4 { font-family: var(--font); color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-muted { display: block; color: #b9b2cf; font-size: 14.5px; margin-bottom: 10px; transition: .2s; }
.footer-col a:hover { color: var(--violet-light); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 22px; margin-top: 6px; font-size: 13.5px; color: #8a829e; }
.footer-bottom { padding-top: 14px; font-size: 13.5px; color: #8a829e; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow-sm);
  }
  .solutions { grid-template-columns: 1fr 1fr; }
  .about-inner, .contact-inner, .eco { grid-template-columns: 1fr; }
  .meta-badge { margin-bottom: 6px; }
}
@media (max-width: 600px) {
  .section, .manifesto, .contact { padding: 60px 0; }
  .solutions { grid-template-columns: 1fr; }
  .ac-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 0 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, [data-reveal] { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}
