
/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: -0.2px;
}


:root{
  --bg:#07080b;
  --panel: rgba(255,255,255,.05);
  --panelSolid:#0f1318;
  --text:#ecf1ff;
  --muted:#a8b3c7;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --radius: 18px;

  /* dynamic background controls (set by JS) */
  --scrollY: 0;
  --mx: .5;
  --my: .5;

  /* theme accents (overridden per section) */
  --accentA:#7aa7ff;
  --accentB:#9bffd6;
  --accentC:#ff7ad9;
  --accentD:#ffd37a;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color:var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

/* Scroll + pointer reactive backdrop */
body::before, body::after{
  content:"";
  position:fixed;
  inset:-20%;
  z-index:-2;
  pointer-events:none;
  will-change: transform, opacity;
}
body::before{
  background:
    radial-gradient(800px 600px at calc(10% + (var(--mx) - .5) * 14%) calc(5% + (var(--my) - .5) * 10%),
      rgba(122,167,255,.20), transparent 60%),
    radial-gradient(700px 520px at calc(92% + (var(--mx) - .5) * 10%) calc(10% + (var(--my) - .5) * 8%),
      rgba(155,255,214,.14), transparent 55%),
    radial-gradient(900px 650px at 50% calc(70% + (var(--scrollY) * -0.03px)),
      rgba(255,122,217,.10), transparent 60%);
  transform: translate3d(0, calc(var(--scrollY) * -0.06px), 0);
  opacity: .95;
}
body::after{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 35%),
    radial-gradient(1200px 800px at 50% 110%, rgba(255,211,122,.10), transparent 55%);
  transform: translate3d(0, calc(var(--scrollY) * -0.02px), 0);
  opacity: .85;
}

a{color:inherit; text-decoration:none}
.container{width:min(1180px, 92vw); margin:0 auto}

.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(16px);
  background: rgba(7,8,11,.70);
  border-bottom: 1px solid var(--line);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.18em}
.brand-dot{width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  box-shadow: 0 0 0 7px rgba(122,167,255,.10);
}

.nav-links{display:flex; gap:16px; align-items:center; flex-wrap:wrap; justify-content:flex-end}
.nav-links a{color:var(--muted); font-weight:700; font-size:14px}
.nav-links a:hover{color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px; border-radius:999px; border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text); font-weight:800; font-size:14px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover{transform: translateY(-2px); box-shadow: var(--shadow); background: rgba(255,255,255,.07)}
.btn svg{width:16px; height:16px; opacity:.95}

.hero{padding:70px 0 38px}
.kicker{color:var(--muted); font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:12px}
.h1{
  font-size: clamp(38px, 4.8vw, 68px);
  line-height:1.02; margin:10px 0 14px;
}
.lead{color:var(--muted); font-size:16px; line-height:1.7; max-width:78ch}

.hero-grid{margin-top:28px; display:grid; grid-template-columns: 1.05fr .95fr; gap:18px}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} }

.panel{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel.pad{padding:18px}

.section{padding:52px 0; position:relative}
.section::before{
  content:"";
  position:absolute; inset:-1px 0 -1px 0;
  background: radial-gradient(800px 420px at 10% 0%, rgba(255,255,255,.06), transparent 55%);
  opacity:.45;
  pointer-events:none;
}
.section > .container{position:relative}

.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px}
.h2{font-size: 22px; margin:0}
.pillrow{display:flex; flex-wrap:wrap; gap:8px}
.pill{
  font-size:12px; padding:8px 10px; border:1px solid var(--line);
  border-radius:999px; color:var(--muted);
  background: rgba(255,255,255,.03);
  display:inline-flex; align-items:center; gap:8px;
}
.pill svg{width:14px; height:14px; opacity:.9}

.card-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
@media (max-width: 980px){ .card-grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 560px){ .card-grid{grid-template-columns: 1fr;} }

.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  overflow:hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position:relative;
}
.card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(520px 220px at 10% 0%, rgba(122,167,255,.14), transparent 55%);
  opacity:.0; transition: opacity .28s ease;
  pointer-events:none;
}
.card:hover{transform: translateY(-6px); box-shadow: 0 22px 70px rgba(0,0,0,.62); border-color: rgba(255,255,255,.16)}
.card:hover::after{opacity:.9}
.card img{width:100%; height:200px; object-fit:cover; display:block; background:#07080b}
.card .meta{padding:12px}
.card .meta .t{font-weight:900}
.card .meta .s{color:var(--muted); font-size:13px; margin-top:6px; line-height:1.4}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:18px}
@media (max-width: 900px){ .split{grid-template-columns:1fr} }

.hr{height:1px; background:rgba(255,255,255,.10); margin:18px 0}

.small{color:var(--muted); font-size:13px; line-height:1.7}

.agent{
  display:flex; gap:14px; align-items:center;
  padding:14px; border:1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: rgba(0,0,0,.18);
}
.agent img{width:72px; height:72px; border-radius:16px; object-fit:cover}
.agent strong{display:block}
.agent a{color:var(--accentA)}

.footer{
  border-top:1px solid rgba(255,255,255,.10);
  padding:34px 0;
  background: rgba(255,255,255,.02);
}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr 1fr; gap:18px}
@media (max-width: 980px){ .footer-grid{grid-template-columns:1fr} }

.floating{position:fixed; right:16px; bottom:16px; z-index:60}
.floating .btn{animation: floaty 3.8s ease-in-out infinite}
@keyframes floaty{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

.modal-backdrop{
  position:fixed; inset:0; background: rgba(0,0,0,.55);
  display:none; align-items:center; justify-content:center; z-index:80;
}
.modal{
  width:min(520px, 92vw);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,12,16,.88);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding:18px;
}
.modal-top{display:flex; justify-content:space-between; align-items:center; gap:14px}
.close{cursor:pointer; border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:8px 10px; background: rgba(255,255,255,.04); color:var(--text); font-weight:900}

/* Theme accents per section */
.theme-1{ --accentA:#7aa7ff; --accentB:#9bffd6; }
.theme-2{ --accentA:#ff7ad9; --accentB:#7aa7ff; }
.theme-3{ --accentA:#ffd37a; --accentB:#9bffd6; }
.theme-4{ --accentA:#9bffd6; --accentB:#ff7ad9; }
.theme-5{ --accentA:#7aa7ff; --accentB:#ffd37a; }
.theme-6{ --accentA:#ff7ad9; --accentB:#ffd37a; }
.theme-7{ --accentA:#9bffd6; --accentB:#7aa7ff; }

.theme-bg{
  background:
    radial-gradient(900px 420px at calc(20% + (var(--mx) - .5) * 12%) calc(10% + (var(--my) - .5) * 10%),
      color-mix(in srgb, var(--accentA) 26%, transparent), transparent 55%),
    radial-gradient(900px 420px at calc(85% + (var(--mx) - .5) * 12%) calc(30% + (var(--my) - .5) * 10%),
      color-mix(in srgb, var(--accentB) 20%, transparent), transparent 55%),
    rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}

/* === Animation system: each element chooses its own transition === */
.reveal{
  opacity:0;
  transform: translate3d(0, 18px, 0);
  filter: blur(6px);
  transition: none;
  will-change: transform, opacity, filter;
}
.reveal.in{opacity:1; transform:none; filter: blur(0)}
.reveal.anim-fadeUp.in{animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes fadeUp{from{opacity:0; transform:translate3d(0,18px,0)} to{opacity:1; transform:none}}

.reveal.anim-slideL.in{animation: slideL .85s cubic-bezier(.2,.8,.2,1) both}
@keyframes slideL{from{opacity:0; transform:translate3d(-24px, 0, 0)} to{opacity:1; transform:none}}

.reveal.anim-slideR.in{animation: slideR .85s cubic-bezier(.2,.8,.2,1) both}
@keyframes slideR{from{opacity:0; transform:translate3d(24px, 0, 0)} to{opacity:1; transform:none}}

.reveal.anim-scale.in{animation: scaleIn .85s cubic-bezier(.2,.8,.2,1) both}
@keyframes scaleIn{from{opacity:0; transform:scale(.96)} to{opacity:1; transform:none}}

.reveal.anim-rotate.in{animation: rotateIn .9s cubic-bezier(.2,.8,.2,1) both}
@keyframes rotateIn{from{opacity:0; transform: rotate(-2.5deg) translate3d(0,10px,0)} to{opacity:1; transform:none}}

.reveal.anim-clip.in{animation: clipIn .95s cubic-bezier(.2,.8,.2,1) both}
@keyframes clipIn{from{opacity:0; clip-path: inset(0 0 100% 0)} to{opacity:1; clip-path: inset(0 0 0 0)}}

.reveal.anim-blur.in{animation: blurIn .95s cubic-bezier(.2,.8,.2,1) both}
@keyframes blurIn{from{opacity:0; transform:translate3d(0,14px,0); filter:blur(10px)} to{opacity:1; transform:none; filter:blur(0)}}

.reveal.anim-flip.in{animation: flipIn .95s cubic-bezier(.2,.8,.2,1) both}
@keyframes flipIn{from{opacity:0; transform: perspective(800px) rotateX(10deg) translateY(14px)} to{opacity:1; transform:none}}

@media (prefers-reduced-motion: reduce){
  *{animation:none!important; transition:none!important}
  body::before, body::after{transform:none!important}
  .reveal{opacity:1; filter:none; transform:none}
}

/* Major Upgrade: color themes + parallax + scroll snap */

/* Different transition per element */
.reveal{opacity:0; transform: translateY(16px); filter:none}
.reveal[data-v="v-up"]{ transform: translateY(18px); }
.reveal[data-v="v-left"]{ transform: translateX(-22px); }
.reveal[data-v="v-right"]{ transform: translateX(22px); }
.reveal[data-v="v-scale"]{ transform: scale(.96); }
.reveal[data-v="v-rotate"]{ transform: rotate(-1.5deg) translateY(10px); }
.reveal[data-v="v-blur"]{ transform: translateY(10px); filter: blur(6px); }
.reveal.in{opacity:1; transform:none; filter:none; transition: all .9s cubic-bezier(.2,.85,.2,1); }
