/* Aigra AI — site styles · Modern Dark (cinematic) per ui-ux-pro-max */
:root {
  --bg: #0a0912;
  --bg-2: #0f0c1a;
  --panel: #151122;
  --panel-2: #1a1530;
  --border: #271f3d;
  --border-2: #362a54;
  --text: #f4f1fb;
  --muted: #aca2c6;
  --muted-2: #7d7398;
  --primary: #7c3aed;
  --secondary: #6366f1;
  --accent: #ec4899;
  --accent-ink: #d8b4fe;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #6366f1 45%, #ec4899 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; }
img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

/* Ambient glow blobs */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob.b1 { width: 620px; height: 620px; top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.blob.b2 { width: 540px; height: 540px; top: 20%; left: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 65%); animation: drift2 26s ease-in-out infinite; }
.blob.b3 { width: 460px; height: 460px; bottom: -160px; right: 12%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.32), transparent 65%); animation: drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 50px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, -30px); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 9, 18, 0.62);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 20px -4px rgba(124, 58, 237, 0.7);
}
.brand .mark svg { width: 17px; height: 17px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 44px -8px rgba(236, 72, 153, 0.55); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { color: var(--text); border-color: var(--border-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

/* Hero */
.hero { padding: 104px 0 76px; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(124, 58, 237, 0.08);
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.2rem); margin: 26px 0 0; max-width: 16ch; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--muted); max-width: 58ch; margin: 24px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
section { padding: 76px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Cards grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 24px 60px -30px rgba(124, 58, 237, 0.7); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(124, 58, 237, 0.14); border: 1px solid var(--border-2); color: var(--accent-ink);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.28rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.99rem; }

/* Steps */
.steps { max-width: 760px; }
.step { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--border); }
.step:first-child { border-top: none; }
.step .num {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff;
  background: var(--grad); box-shadow: 0 8px 22px -8px rgba(124, 58, 237, 0.8);
}
.step h3 { margin: 5px 0 6px; font-size: 1.22rem; }
.step p { margin: 0; color: var(--muted); }

/* Bands (about / contact) */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 52px; text-align: center;
}
.band h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 14px; }
.band p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; font-size: 1.12rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 42px 0; margin-top: 44px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-row .muted { color: var(--muted-2); font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 8px; }
.legal .eff { color: var(--muted-2); font-weight: 600; margin: 0 0 32px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent-ink); }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-size: 15px; }
.legal .back:hover { color: var(--text); }

/* Entrance animation — content is ALWAYS visible; animation is enhancement only */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .reveal { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .eyebrow.reveal { animation-delay: 0.04s; }
.hero h1.reveal { animation-delay: 0.12s; }
.hero p.reveal { animation-delay: 0.2s; }
.hero .hero-cta.reveal { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .hero .reveal { animation: none; } }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .band { padding: 36px 22px; }
  .hero { padding: 72px 0 56px; }
}
