/* ==========================================================
   Nebulix Cloud — Static export (no CDN, no external assets)
   ========================================================== */

:root{
  --radius: 14px;
  --background:#ffffff;
  --foreground:#1a1830;
  --card:#ffffff;
  --popover:#ffffff;
  --primary:#4f46e5;
  --primary-foreground:#ffffff;
  --primary-glow:#7c6cf3;
  --secondary:#f4f4fb;
  --secondary-foreground:#27243f;
  --muted:#f4f4fb;
  --muted-foreground:#6c6989;
  --accent:#ecebfa;
  --accent-foreground:#3933a8;
  --destructive:#e25555;
  --success:#22b07a;
  --border:#e8e7f1;
  --input:#e8e7f1;
  --ring:#4f46e5;
  --surface:#f7f7fc;
  --surface-strong:#eeeefa;

  --gradient-primary:linear-gradient(135deg,#4f46e5,#7c6cf3);
  --gradient-hero:
    radial-gradient(80% 60% at 80% 20%, rgba(150,141,255,.35), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(186,178,255,.32), transparent 60%);
  --gradient-soft:linear-gradient(180deg,#f7f7fc,#ffffff);

  --shadow-glow: 0 20px 60px -20px rgba(79,70,229,.5);
  --shadow-soft: 0 10px 40px -12px rgba(40,30,90,.12);
  --shadow-card: 0 1px 2px rgba(40,30,90,.04), 0 8px 24px -8px rgba(40,30,90,.08);

  --font-display:"Space Grotesk","Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --font-sans:"Inter","Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
}

*{box-sizing:border-box;border-color:var(--border);margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  font-family:var(--font-sans);
  background:var(--background);
  color:var(--foreground);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit;}
ul{list-style:none;}
h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:-0.02em;line-height:1.15;}

/* ---------- Layout helpers ---------- */
.container{max-width:1200px;margin:0 auto;padding:0 1rem;}
@media(min-width:640px){.container{padding:0 1.5rem;}}
@media(min-width:1024px){.container{padding:0 2rem;}}
.grid{display:grid;gap:1rem;}
.flex{display:flex;}
.hidden{display:none;}
@media(min-width:1024px){.lg\:flex{display:flex;}.lg\:hidden{display:none;}.lg\:grid{display:grid;}}
@media(min-width:640px){.sm\:flex{display:flex;}.sm\:inline{display:inline;}}

.text-gradient{
  background:var(--gradient-primary);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.text-primary{color:var(--primary);}
.text-muted{color:var(--muted-foreground);}
.bg-card{background:var(--card);}
.bg-surface{background:var(--surface);}

/* ---------- Header ---------- */
.header{
  position:sticky;top:0;z-index:50;width:100%;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1200px;margin:0 auto;height:64px;padding:0 1rem;
  display:flex;align-items:center;justify-content:space-between;
}
@media(min-width:640px){.header-inner{padding:0 1.5rem;}}
@media(min-width:1024px){.header-inner{padding:0 2rem;}}

.logo{display:flex;align-items:center;gap:.5rem;font-family:var(--font-display);font-weight:600;font-size:1.25rem;}
.logo svg{height:36px;width:36px;}
.logo .dot{color:var(--primary);}

.nav-desktop{display:none;align-items:center;gap:.25rem;}
@media(min-width:1024px){.nav-desktop{display:flex;}}
.nav-link{
  padding:.5rem .75rem;border-radius:8px;
  font-size:.875rem;font-weight:500;color:var(--muted-foreground);
  transition:color .15s;
}
.nav-link:hover{color:var(--foreground);}
.nav-link.active{color:var(--primary);font-weight:600;}

.dropdown{position:relative;}
.dropdown > button{
  display:flex;align-items:center;gap:.25rem;
  padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:var(--muted-foreground);
  border-radius:8px;
}
.dropdown > button:hover{color:var(--foreground);}
.dropdown > button .chev{width:14px;height:14px;transition:transform .2s;}
.dropdown:hover > button .chev{transform:rotate(180deg);}
.dropdown-menu{
  position:absolute;left:50%;top:100%;width:220px;transform:translate(-50%,4px);
  margin-top:4px;padding:.5rem;background:var(--popover);
  border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-soft);
  opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;
}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translate(-50%,0);}
.dropdown-menu a{
  display:block;padding:.5rem .75rem;border-radius:8px;font-size:.875rem;color:var(--foreground);
}
.dropdown-menu a:hover{background:var(--accent);color:var(--accent-foreground);}

.header-actions{display:flex;align-items:center;gap:.5rem;}
.icon-btn{
  width:36px;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;
  color:var(--muted-foreground);transition:background .15s,color .15s;
}
.icon-btn:hover{background:var(--accent);color:var(--foreground);}

.mobile-toggle{
  display:flex;width:36px;height:36px;border-radius:8px;align-items:center;justify-content:center;
}
@media(min-width:1024px){.mobile-toggle{display:none;}}

.mobile-menu{display:none;border-top:1px solid var(--border);background:var(--background);}
.mobile-menu.open{display:block;}
.mobile-menu .inner{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.25rem;}
.mobile-menu a{padding:.6rem .75rem;border-radius:10px;font-size:.875rem;font-weight:500;color:var(--foreground);}
.mobile-menu a:hover{background:var(--accent);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;font-size:.875rem;border-radius:12px;padding:.625rem 1rem;
  transition:transform .15s,box-shadow .2s,background .2s,color .2s,border-color .2s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn-lg{padding:.85rem 1.4rem;font-size:.95rem;border-radius:14px;}
.btn-sm{padding:.5rem .9rem;font-size:.8rem;}
.btn-hero{
  background:var(--gradient-primary);color:var(--primary-foreground);
  box-shadow:var(--shadow-glow);
}
.btn-hero:hover{box-shadow:0 24px 70px -18px rgba(79,70,229,.6);}
.btn-outline{border:1px solid var(--border);background:var(--card);color:var(--foreground);}
.btn-outline:hover{border-color:var(--primary);color:var(--primary);}
.btn-ghost{color:var(--muted-foreground);}
.btn-ghost:hover{color:var(--foreground);background:var(--accent);}
.btn .icon{width:16px;height:16px;}

/* ---------- Hero / page hero ---------- */
.hero{
  position:relative;overflow:hidden;background:var(--gradient-hero),var(--background);
}
.hero .container{
  position:relative;display:grid;gap:2.5rem;padding-top:3.5rem;padding-bottom:5rem;
}
@media(min-width:1024px){
  .hero .container{grid-template-columns:1fr 1fr;padding-top:5rem;padding-bottom:7rem;}
}
.eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  border:1px solid rgba(79,70,229,.2);background:rgba(79,70,229,.06);
  color:var(--primary);font-size:.75rem;font-weight:500;
  padding:.4rem .9rem;border-radius:999px;width:fit-content;
}
.eyebrow .pulse{
  position:relative;display:inline-block;width:8px;height:8px;
}
.eyebrow .pulse::before{
  content:"";position:absolute;inset:0;border-radius:999px;background:var(--primary);
  animation:pulse-ring 2.4s ease-out infinite;opacity:.7;
}
.eyebrow .pulse::after{
  content:"";position:relative;display:inline-block;width:8px;height:8px;border-radius:999px;background:var(--primary);
}
.h1{
  margin-top:1.25rem;font-family:var(--font-display);font-weight:700;
  font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.04;letter-spacing:-.025em;
}
.lead{margin-top:1.25rem;max-width:36rem;color:var(--muted-foreground);font-size:1.05rem;}
.hero-actions{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem;}
.hero-stats{
  margin-top:2.5rem;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;max-width:36rem;
}
@media(min-width:640px){.hero-stats{grid-template-columns:repeat(4,1fr);}}
.hero-stats > div{display:flex;align-items:center;gap:.6rem;}
.stat-icon{width:36px;height:36px;border-radius:10px;background:rgba(79,70,229,.1);color:var(--primary);display:flex;align-items:center;justify-content:center;}
.stat-icon svg{width:16px;height:16px;}
.stat-label{font-size:.75rem;color:var(--muted-foreground);}
.stat-value{font-size:.875rem;font-weight:600;color:var(--foreground);}

.hero-art{position:relative;display:flex;align-items:center;justify-content:center;}
.hero-art img{width:100%;max-width:520px;animation:float-y 6s ease-in-out infinite;filter:drop-shadow(0 30px 30px rgba(60,40,140,.25));}
.hero-blob1,.hero-blob2{position:absolute;border-radius:999px;filter:blur(60px);pointer-events:none;}
.hero-blob1{top:-100px;right:-60px;width:420px;height:420px;background:rgba(79,70,229,.15);animation:float-y-slow 7s ease-in-out infinite;}
.hero-blob2{bottom:-40px;left:-40px;width:320px;height:320px;background:rgba(124,108,243,.18);animation:float-y 6s ease-in-out infinite;}

/* page hero (sub pages) */
.page-hero{
  position:relative;overflow:hidden;background:var(--gradient-hero),var(--background);
  padding:5rem 0 3.5rem;text-align:center;
}
.page-hero .eyebrow{margin:0 auto;}
.page-hero .h1{font-size:clamp(2.25rem,4.5vw,3.75rem);}
.page-hero .lead{margin-left:auto;margin-right:auto;}
.page-hero .extras{margin-top:1.75rem;display:flex;justify-content:center;}

/* ---------- Logos marquee ---------- */
.logos{
  background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  padding:2.5rem 0;
}
.logos p{text-align:center;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-foreground);font-weight:600;}
.marquee{margin-top:1.25rem;overflow:hidden;}
.marquee-track{display:flex;gap:4rem;width:max-content;animation:marquee 35s linear infinite;}
.marquee-track span{font-family:var(--font-display);font-size:1.4rem;font-weight:600;color:rgba(108,105,137,.7);}

/* ---------- Section common ---------- */
.section{padding:6rem 0;background:var(--background);}
.section-soft{background:var(--gradient-soft);}
.section-head{display:flex;flex-direction:column;}
.section .grid-2{display:grid;gap:3rem;}
@media(min-width:1024px){.section .grid-2{grid-template-columns:1fr 2fr;}}
.section-title{margin-top:1rem;font-size:clamp(2rem,3.5vw,3rem);font-weight:700;line-height:1.1;}
.section-sub{margin-top:1.25rem;max-width:28rem;color:var(--muted-foreground);}

.eyebrow-line{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.18em;color:var(--primary);}
.eyebrow-line .dot{width:6px;height:6px;border-radius:999px;background:var(--primary);display:inline-block;}

/* services cards */
.svc-grid{display:grid;gap:1rem;grid-template-columns:1fr;}
@media(min-width:640px){.svc-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:1024px){.svc-grid{grid-template-columns:repeat(3,1fr);}}
.svc-card{
  position:relative;overflow:hidden;border:1px solid var(--border);background:var(--card);
  border-radius:18px;padding:1.5rem;box-shadow:var(--shadow-card);
  transition:transform .25s,border-color .2s,box-shadow .25s;
}
.svc-card:hover{transform:translateY(-4px);border-color:rgba(79,70,229,.4);box-shadow:var(--shadow-glow);}
.svc-icon{
  width:44px;height:44px;border-radius:12px;background:rgba(79,70,229,.1);color:var(--primary);
  display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;
}
.svc-icon svg{width:20px;height:20px;}
.svc-card:hover .svc-icon{background:var(--primary);color:var(--primary-foreground);}
.svc-card h3{margin-top:1rem;font-size:1.05rem;font-weight:600;}
.svc-card p{margin-top:.4rem;font-size:.875rem;color:var(--muted-foreground);}
.svc-card::after{
  content:"";position:absolute;right:-3rem;bottom:-3rem;width:8rem;height:8rem;border-radius:999px;
  background:rgba(79,70,229,.05);transition:transform .35s,background .25s;
}
.svc-card:hover::after{transform:scale(1.5);background:rgba(79,70,229,.1);}

/* metric strip */
.metric-strip{
  position:relative;margin-top:5rem;border:1px solid var(--border);background:var(--card);
  border-radius:24px;padding:2rem 2.5rem;box-shadow:var(--shadow-card);
}
.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;}
@media(min-width:640px){.metric-grid{grid-template-columns:repeat(4,1fr);}}
.metric-grid .v{font-family:var(--font-display);font-size:2.25rem;font-weight:700;}
.metric-grid .l{margin-top:.25rem;font-size:.875rem;color:var(--muted-foreground);}
.metric-mascot{
  position:absolute;right:-.5rem;top:-6.5rem;width:11rem;height:11rem;object-fit:contain;
  pointer-events:none;display:none;animation:float-y-slow 7s ease-in-out infinite;
}
@media(min-width:768px){.metric-mascot{display:block;}}

/* ---------- Pricing ---------- */
.pricing-toggle{
  margin-top:2rem;display:inline-flex;align-items:center;gap:.25rem;padding:6px;
  border:1px solid var(--border);background:var(--card);border-radius:999px;box-shadow:var(--shadow-card);
}
.pricing-toggle button{
  display:flex;align-items:center;gap:.5rem;padding:.55rem 1.1rem;border-radius:999px;
  font-size:.875rem;font-weight:500;color:var(--muted-foreground);transition:all .2s;
}
.pricing-toggle button.active{background:var(--primary);color:var(--primary-foreground);box-shadow:0 1px 3px rgba(0,0,0,.1);}
.pricing-toggle .save{
  margin-left:.25rem;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:600;
  text-transform:uppercase;letter-spacing:.05em;background:#dff5e6;color:#1d7a4d;
}
.pricing-toggle button.active .save{background:#fff;color:var(--primary);}

.plans-grid{display:grid;gap:1.25rem;grid-template-columns:1fr;}
@media(min-width:640px){.plans-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.plans-grid{grid-template-columns:repeat(3,1fr);}}
.plans-grid.has-4{grid-template-columns:1fr;}
@media(min-width:768px){.plans-grid.has-4{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.plans-grid.has-4{grid-template-columns:repeat(4,1fr);}}
.plan{
  position:relative;display:flex;flex-direction:column;
  border:1px solid var(--border);background:var(--card);border-radius:18px;
  padding:1.5rem;box-shadow:var(--shadow-card);transition:transform .2s,box-shadow .2s,border-color .2s;
}
.plan:hover{transform:translateY(-6px);border-color:rgba(79,70,229,.4);}
.plan.popular{border-color:var(--primary);box-shadow:var(--shadow-glow);}
.plan .badge{
  position:absolute;top:-.75rem;left:50%;transform:translateX(-50%);
  background:var(--gradient-primary);color:var(--primary-foreground);
  font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;
  padding:.25rem .75rem;border-radius:999px;box-shadow:var(--shadow-glow);
  white-space:nowrap;
}
.plan h3{font-size:1.1rem;font-weight:600;}
.plan .price{margin-top:1rem;display:flex;align-items:baseline;gap:.25rem;font-family:var(--font-display);font-size:2.25rem;font-weight:700;}
.plan .price small{font-size:.875rem;font-weight:400;color:var(--muted-foreground);}
.plan .tagline{margin-top:.5rem;font-size:.875rem;color:var(--muted-foreground);}
.plan ul{margin-top:1.5rem;display:flex;flex-direction:column;gap:.75rem;}
.plan li{display:flex;align-items:center;gap:.6rem;font-size:.875rem;}
.plan .check{
  width:20px;height:20px;border-radius:999px;background:rgba(79,70,229,.1);color:var(--primary);
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.plan .check svg{width:12px;height:12px;}
.plan .btn{margin-top:2rem;width:100%;}

/* comparison table */
.compare-wrap{
  margin-top:2.5rem;border:1px solid var(--border);background:var(--card);
  border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card);
}
.compare-scroll{overflow-x:auto;}
table.compare{width:100%;min-width:640px;border-collapse:collapse;}
table.compare thead tr{background:var(--surface);border-bottom:1px solid var(--border);}
table.compare th{padding:1rem 1.5rem;font-size:.875rem;font-weight:600;}
table.compare th:first-child{text-align:left;}
table.compare th:not(:first-child){text-align:center;}
table.compare th.pop{color:var(--primary);}
table.compare td{padding:.85rem 1.5rem;font-size:.875rem;border-bottom:1px solid var(--border);}
table.compare td:first-child{color:var(--muted-foreground);}
table.compare td:not(:first-child){text-align:center;}
table.compare tbody tr:last-child td{border-bottom:0;}

/* ---------- Testimonials ---------- */
.tcards{display:grid;gap:1rem;grid-template-columns:1fr;}
@media(min-width:640px){.tcards{grid-template-columns:repeat(3,1fr);}}
.tcard{
  display:flex;flex-direction:column;background:var(--card);border:1px solid var(--border);
  border-radius:18px;padding:1.25rem;box-shadow:var(--shadow-card);transition:transform .2s,box-shadow .2s;
}
.tcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-glow);}
.stars{display:flex;gap:2px;color:#f5b400;}
.stars svg{width:14px;height:14px;}
.tcard p{margin-top:.75rem;flex:1;font-size:.875rem;line-height:1.55;}
.tperson{margin-top:1.25rem;display:flex;align-items:center;gap:.75rem;}
.tavatar{
  width:36px;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:.75rem;font-weight:600;
}
.tname{font-size:.875rem;font-weight:600;}
.trole{font-size:.75rem;color:var(--muted-foreground);}
.tnav{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem;}
.tnav button{
  width:40px;height:40px;border-radius:999px;border:1px solid var(--border);background:var(--card);
  display:flex;align-items:center;justify-content:center;color:var(--foreground);
  transition:background .2s,color .2s;
}
.tnav button:hover{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);}

/* ---------- CTA Banner ---------- */
.cta-wrap{padding:4rem 0;}
.cta-card{
  position:relative;overflow:hidden;border:1px solid rgba(79,70,229,.2);
  background:var(--gradient-hero),var(--background);
  border-radius:28px;padding:3rem 2.5rem;
  display:grid;gap:2rem;align-items:center;
}
@media(min-width:768px){.cta-card{grid-template-columns:1.6fr 1fr;padding:3.5rem;}}
.cta-card h3{font-size:clamp(1.9rem,3.5vw,3rem);font-weight:700;line-height:1.1;}
.cta-card p{margin-top:.75rem;max-width:28rem;color:var(--muted-foreground);}
.cta-card .actions{margin-top:1.75rem;display:flex;flex-wrap:wrap;gap:.75rem;}
.cta-art{display:flex;justify-content:center;}
@media(min-width:768px){.cta-art{justify-content:flex-end;}}
.cta-art img{width:14rem;animation:float-y 6s ease-in-out infinite;filter:drop-shadow(0 20px 25px rgba(0,0,0,.2));}
@media(min-width:640px){.cta-art img{width:18rem;}}
@media(min-width:768px){.cta-art img{width:20rem;}}
.cta-blob1,.cta-blob2{position:absolute;border-radius:999px;filter:blur(60px);pointer-events:none;}
.cta-blob1{left:-80px;top:-80px;width:18rem;height:18rem;background:rgba(79,70,229,.2);}
.cta-blob2{bottom:-130px;left:33%;width:18rem;height:18rem;background:rgba(124,108,243,.2);}

/* ---------- Footer ---------- */
footer.site{border-top:1px solid var(--border);background:var(--surface);}
.footer-grid{display:grid;gap:2.5rem;padding:3.5rem 0;grid-template-columns:1fr;}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(5,1fr);}}
.footer-grid h4{font-size:.875rem;font-weight:600;}
.footer-grid ul{margin-top:1rem;display:flex;flex-direction:column;gap:.6rem;}
.footer-grid li a{font-size:.875rem;color:var(--muted-foreground);transition:color .15s;}
.footer-grid li a:hover{color:var(--primary);}
.footer-grid .brand p{margin-top:1rem;max-width:18rem;font-size:.875rem;line-height:1.55;color:var(--muted-foreground);}
.socials{margin-top:1.25rem;display:flex;gap:.75rem;}
.socials a{
  width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);background:var(--card);color:var(--muted-foreground);transition:all .2s;
}
.socials a:hover{border-color:var(--primary);color:var(--primary);}
.socials svg{width:14px;height:14px;}
.footer-bottom{border-top:1px solid var(--border);}
.footer-bottom .inner{
  max-width:1200px;margin:0 auto;padding:1.25rem 1rem;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.75rem;
  font-size:.75rem;color:var(--muted-foreground);
}
@media(min-width:640px){.footer-bottom .inner{flex-direction:row;padding:1.25rem 1.5rem;}}
.footer-bottom .links{display:flex;gap:1.25rem;}
.footer-bottom .links a:hover{color:var(--foreground);}

/* ---------- Contact ---------- */
.contact-grid{display:grid;gap:2.5rem;grid-template-columns:1fr;}
@media(min-width:1024px){.contact-grid{grid-template-columns:1fr 1.4fr;}}
.channels{display:flex;flex-direction:column;gap:.75rem;}
.channel{
  display:flex;gap:1rem;align-items:flex-start;
  border:1px solid var(--border);background:var(--card);border-radius:18px;padding:1.25rem;
  box-shadow:var(--shadow-card);transition:all .2s;
}
.channel:hover{border-color:rgba(79,70,229,.4);transform:translateX(4px);box-shadow:var(--shadow-glow);}
.channel .ico{
  flex-shrink:0;width:44px;height:44px;border-radius:12px;background:rgba(79,70,229,.1);color:var(--primary);
  display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.channel:hover .ico{background:var(--primary);color:var(--primary-foreground);}
.channel .lbl{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted-foreground);}
.channel .val{margin-top:.25rem;font-family:var(--font-display);font-size:1rem;font-weight:600;}
.channel .note{margin-top:.1rem;font-size:.75rem;color:var(--muted-foreground);}
.callout{
  margin-top:1.5rem;border:1px solid rgba(79,70,229,.2);background:rgba(79,70,229,.05);
  border-radius:18px;padding:1.25rem;display:flex;gap:.75rem;align-items:center;
}
.callout svg{width:20px;height:20px;color:var(--primary);}
.callout .t{font-family:var(--font-display);font-weight:600;font-size:.9rem;}
.callout .d{font-size:.75rem;color:var(--muted-foreground);}

.form-card{
  border:1px solid var(--border);background:var(--card);border-radius:24px;padding:2rem;
  box-shadow:var(--shadow-card);
}
.form-card h3{font-size:1.5rem;font-weight:700;}
.form-card .desc{margin-top:.25rem;font-size:.875rem;color:var(--muted-foreground);}
.form-grid{margin-top:1.5rem;display:grid;gap:1rem;grid-template-columns:1fr;}
@media(min-width:640px){.form-grid{grid-template-columns:1fr 1fr;}}
.form-grid .col-2{grid-column:1/-1;}
.field label{display:block;margin-bottom:.4rem;font-size:.875rem;font-weight:500;}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--input);background:var(--background);
  border-radius:12px;padding:.6rem .85rem;font-size:.875rem;color:var(--foreground);
  outline:none;transition:border-color .15s,box-shadow .15s;font-family:inherit;
}
.field textarea{resize:vertical;}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,229,.18);
}
.field-icon{position:relative;}
.field-icon input{padding-left:2.5rem;padding-right:2.5rem;height:48px;}
.field-icon .lead-ico{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:var(--muted-foreground);width:16px;height:16px;pointer-events:none;}
.field-icon .trail{position:absolute;right:.85rem;top:50%;transform:translateY(-50%);color:var(--muted-foreground);}
.field-icon .trail:hover{color:var(--foreground);}

.form-foot{margin-top:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.form-foot p{font-size:.75rem;color:var(--muted-foreground);}

/* ---------- Auth (login) ---------- */
.auth{min-height:100vh;background:var(--background);}
.auth-grid{min-height:100vh;display:grid;grid-template-columns:1fr;}
@media(min-width:1024px){.auth-grid{grid-template-columns:1.05fr 1fr;}}
.auth-brand{
  position:relative;overflow:hidden;display:none;flex-direction:column;justify-content:space-between;padding:3rem;
  background:var(--gradient-hero),var(--background);
}
@media(min-width:1024px){.auth-brand{display:flex;}}
.auth-brand .blob1{position:absolute;top:-130px;left:-80px;width:24rem;height:24rem;border-radius:999px;background:rgba(79,70,229,.2);filter:blur(60px);}
.auth-brand .blob2{position:absolute;bottom:-80px;right:-40px;width:28rem;height:28rem;border-radius:999px;background:rgba(124,108,243,.18);filter:blur(60px);}
.auth-brand-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;}
.auth-brand-inner img{width:18rem;animation:float-y 6s ease-in-out infinite;filter:drop-shadow(0 20px 25px rgba(60,40,140,.25));}
.auth-brand-inner h2{margin-top:1.5rem;text-align:center;font-size:1.8rem;font-weight:700;}
.auth-brand-inner .sub{margin:.75rem auto 0;max-width:22rem;text-align:center;font-size:.875rem;color:var(--muted-foreground);}
.auth-features{margin-top:2rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;max-width:24rem;width:100%;}
.auth-feature{display:flex;gap:.75rem;border:1px solid var(--border);background:rgba(255,255,255,.7);backdrop-filter:blur(6px);border-radius:12px;padding:.75rem;}
.auth-feature svg{width:16px;height:16px;color:var(--primary);}
.auth-feature .t{font-size:.75rem;font-weight:600;}
.auth-feature .d{font-size:11px;color:var(--muted-foreground);}
.auth-foot{position:relative;z-index:1;display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted-foreground);}
.auth-foot a:hover{color:var(--foreground);}

.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:3rem 1rem;}
.auth-form{width:100%;max-width:28rem;}
.auth-tabs{
  position:relative;display:flex;width:100%;margin-bottom:2rem;padding:4px;
  border:1px solid var(--border);background:var(--card);border-radius:12px;box-shadow:var(--shadow-card);
}
.auth-tabs button{
  flex:1;padding:.65rem 0;border-radius:8px;font-size:.875rem;font-weight:600;
  color:var(--muted-foreground);position:relative;z-index:1;transition:color .2s;
}
.auth-tabs button.active{color:var(--primary-foreground);}
.auth-tabs .slider{
  position:absolute;top:4px;bottom:4px;width:calc(50% - 4px);
  background:var(--gradient-primary);border-radius:8px;box-shadow:var(--shadow-glow);
  transition:left .3s cubic-bezier(.4,0,.2,1);left:4px;
}
.auth-form h1{font-size:1.85rem;font-weight:700;}
.auth-form .desc{margin-top:.25rem;font-size:.875rem;color:var(--muted-foreground);}
.auth-form .row{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;}
.auth-form .row label{display:flex;align-items:center;gap:.5rem;color:var(--muted-foreground);}
.auth-form .row a{color:var(--primary);font-weight:500;}
.auth-form .row a:hover{text-decoration:underline;}
.divider{position:relative;display:flex;align-items:center;margin:.5rem 0;}
.divider .line{flex:1;height:1px;background:var(--border);}
.divider span{padding:0 .75rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted-foreground);}
.oauth-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}
.fineprint{padding-top:.5rem;text-align:center;font-size:.75rem;color:var(--muted-foreground);}
.fineprint a{color:var(--primary);}
.fineprint a:hover{text-decoration:underline;}

/* ---------- Terms ---------- */
.terms-grid{display:grid;gap:2.5rem;grid-template-columns:1fr;}
@media(min-width:1024px){.terms-grid{grid-template-columns:240px 1fr;}}
.toc{position:static;}
@media(min-width:1024px){.toc{position:sticky;top:96px;align-self:flex-start;}}
.toc-card{border:1px solid var(--border);background:var(--card);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow-card);}
.toc-card .lbl{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted-foreground);margin-bottom:.5rem;}
.toc-card ul{display:flex;flex-direction:column;gap:.25rem;}
.toc-card li a{display:block;padding:.4rem .5rem;border-radius:6px;font-size:.875rem;color:var(--muted-foreground);}
.toc-card li a:hover{background:var(--accent);color:var(--foreground);}
.terms-article{display:flex;flex-direction:column;gap:2.5rem;}
.terms-article section{scroll-margin-top:96px;}
.terms-article h2{font-size:clamp(1.4rem,2.5vw,1.8rem);font-weight:700;}
.terms-article p{margin-top:.75rem;color:var(--muted-foreground);line-height:1.6;}

/* ---------- FAQ ---------- */
.faq{margin-top:2.5rem;display:flex;flex-direction:column;gap:.75rem;}
.faq-item{
  overflow:hidden;border:1px solid var(--border);background:var(--card);
  border-radius:14px;box-shadow:var(--shadow-card);
}
.faq-item button{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem 1.25rem;text-align:left;font-weight:500;
}
.faq-item .chev{width:16px;height:16px;color:var(--muted-foreground);transition:transform .25s;flex-shrink:0;}
.faq-item.open .chev{transform:rotate(180deg);}
.faq-body{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.faq-item.open .faq-body{max-height:400px;}
.faq-body p{padding:0 1.25rem 1.25rem;font-size:.875rem;line-height:1.6;color:var(--muted-foreground);}

/* ---------- Animations ---------- */
@keyframes float-y{0%,100%{transform:translateY(0);}50%{transform:translateY(-18px);}}
@keyframes float-y-slow{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}
@keyframes pulse-ring{0%{transform:scale(.9);opacity:.7;}100%{transform:scale(1.7);opacity:0;}}
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:none;}

/* utilities */
.center{text-align:center;}
.mt-2{margin-top:2rem;}.mt-3{margin-top:3rem;}
.muted{color:var(--muted-foreground);}
.link{color:var(--primary);}
.link:hover{text-decoration:underline;}
