/* ===================================
   SLAI — Global Styles
   =================================== */

/* --- Variables --- */
:root {
  --brand: #4641D2;
  --brand-mid: #5955D8;
  --brand-pale: #EEEEFF;
  --bg: #F8F8FC;
  --text: #09090F;
  --text2: #52526E;
  --text3: #9898B2;
  --border-soft: #EAEAF2;
  --font: "Poppins", sans-serif;
  --radius: 22px;
  --max: 1100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
button:not(:disabled), a[href], select:not(:disabled), input[type="checkbox"]:not(:disabled) { cursor: none; }

/* --- Noise Overlay --- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 500;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

/* --- Custom Cursor --- */
#cursor {
  width: 12px; height: 12px;
  background: var(--brand);
  border-radius: 50%;
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  will-change: transform;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#cursor.is-hover { width: 30px; height: 30px; background: rgba(70,65,210,0.25); box-shadow: 0 0 0 1.5px rgba(70,65,210,0.5); }
#cursor-glow {
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,65,210,0.1) 0%, transparent 70%);
  position: fixed; top: 0; left: 0; z-index: 0;
  pointer-events: none; will-change: transform;
}

/* --- Scroll Progress --- */
#progress {
  position: fixed; top: 0; left: 0; z-index: 9000;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--brand), #9B94FF);
  transition: width 0.1s linear;
}

/* --- Navigation --- */
.nav-outer { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; display: flex; justify-content: center; padding: 0 24px; pointer-events: none; }
nav { pointer-events: all; width: 100%; max-width: 860px; height: 56px; background: rgba(255,255,255,0.82); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); border: 1px solid rgba(255,255,255,0.95); border-radius: 99px; padding: 0 20px 0 28px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 24px rgba(70,65,210,0.1), 0 1px 0 rgba(255,255,255,0.9) inset; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-logo { text-decoration: none; }
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 13px; font-weight: 400; color: var(--text2); text-decoration: none; padding: 6px 14px; border-radius: 99px; transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--brand); background: rgba(70,65,210,0.06); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-badge { font-size: 10.5px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); background: var(--brand-pale); padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(70,65,210,0.15); }
.nav-cta { position: relative; overflow: hidden; background: var(--brand); color: #fff; text-decoration: none; padding: 9px 20px; border-radius: 99px; font-family: var(--font); font-size: 13px; font-weight: 500; box-shadow: 0 3px 14px rgba(70,65,210,0.35); transition: box-shadow 0.2s, transform 0.15s; display: inline-block; }
.nav-cta:hover { box-shadow: 0 6px 24px rgba(70,65,210,0.45); transform: translateY(-1px); }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 52px 80px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: blob-drift 12s ease-in-out infinite alternate; }
.hero-blob:nth-child(1) { width: 700px; height: 700px; background: rgba(110,103,255,0.22); top: -250px; left: -200px; animation-delay: 0s; }
.hero-blob:nth-child(2) { width: 500px; height: 500px; background: rgba(155,148,255,0.18); top: -100px; right: -150px; animation-delay: -4s; }
.hero-blob:nth-child(3) { width: 400px; height: 400px; background: rgba(180,172,255,0.14); bottom: 50px; left: 40%; animation-delay: -8s; }
@keyframes blob-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,20px) scale(1.08); } }
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: #15803D; background: rgba(255,255,255,0.8); border: 1px solid rgba(21,128,61,0.2); backdrop-filter: blur(12px); padding: 7px 18px; border-radius: 99px; margin-bottom: 40px; box-shadow: 0 2px 16px rgba(21,128,61,0.1), inset 0 1px 0 rgba(255,255,255,0.9); }
.badge-dot { width: 7px; height: 7px; background: #16A34A; border-radius: 50%; box-shadow: 0 0 0 3px rgba(22,163,74,0.15); animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.15); } 50% { box-shadow: 0 0 0 7px rgba(22,163,74,0.04); } }
.hero-h1 { font-size: 66px; font-weight: 700; line-height: 1.05; letter-spacing: -0.038em; margin-bottom: 26px; background: linear-gradient(135deg, #09090F 0%, #4641D2 50%, #09090F 100%); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient-shift 6s ease infinite; }
.hero-h2 { font-size: 36px; font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 26px; color: var(--brand); }
.hero-h2 em { font-weight: 200; font-style: italic; display: block; background: linear-gradient(135deg, #52526E 0%, #7B77FF 50%, #52526E 100%); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient-shift 6s ease infinite; animation-delay: -3s; }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-divider { width: 700px; height: 2px; background: var(--brand); opacity: 0.35; margin: 0 auto 32px; border-radius: 1px; }
.hero-sub { font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--text2); max-width: 580px; margin: 0 auto 44px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.btn-hero { position: relative; display: inline-block; text-decoration: none; font-family: var(--font); font-size: 15px; font-weight: 500; color: #fff; background: var(--brand); padding: 16px 44px; border-radius: 99px; border: none; box-shadow: 0 8px 32px rgba(70,65,210,0.38); transition: box-shadow 0.3s, transform 0.15s; overflow: hidden; }
.btn-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%); border-radius: 99px; }
.btn-hero:hover { box-shadow: 0 12px 48px rgba(70,65,210,0.52); }
.hero-note { font-size: 12px; color: var(--text3); margin-top: 14px; font-weight: 300; }
.hero-stats { display: flex; gap: 0; max-width: 520px; margin: 60px auto 0; background: rgba(255,255,255,0.7); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255,255,255,0.92); border-radius: 99px; overflow: hidden; box-shadow: 0 8px 32px rgba(70,65,210,0.1), inset 0 1px 0 rgba(255,255,255,0.9); }
.hero-stat { flex: 1; padding: 20px 16px; text-align: center; border-right: 1px solid rgba(70,65,210,0.08); }
.hero-stat:last-child { border-right: none; }
.hero-stat-val { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--brand); line-height: 1; display: block; }
.hero-stat-infinity { font-size: 44px; line-height: 0.5; }
.hero-stat-label { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-top: 4px; display: block; }

/* --- Marquee --- */
.marquee-wrap { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 15px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 2; }
.marquee-track { display: inline-flex; animation: marquee-scroll 32s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); }
.marquee-dot { width: 3px; height: 3px; background: var(--brand); border-radius: 50%; flex-shrink: 0; opacity: 0.6; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Content Sections --- */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 52px; position: relative; z-index: 2; }
.section-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.section-label::before { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--brand); opacity: 0.6; }
.section-h2 { font-size: 40px; font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; color: var(--text); margin-bottom: 20px; }
.section-h2 em { font-weight: 200; font-style: italic; color: var(--text2); }
.section-body { font-size: 17px; font-weight: 300; line-height: 1.78; color: var(--text2); max-width: 700px; }
.section-body strong { color: var(--text); font-weight: 600; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag { background: rgba(255,255,255,0.95); border: 1px solid var(--border-soft); border-radius: 8px; font-size: 12.5px; font-weight: 400; color: var(--text2); padding: 7px 16px; box-shadow: 0 1px 4px rgba(70,65,210,0.05); transition: all 0.2s; }
.tag:hover { border-color: rgba(70,65,210,0.25); color: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(70,65,210,0.1); }
.what-cta { margin-top: 44px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.what-note { font-size: 12px; font-weight: 300; color: var(--text3); }

/* --- Glass Cards Section --- */
.glass-section { position: relative; overflow: hidden; background: linear-gradient(165deg, #EEEEFF 0%, #F5F5FF 45%, #EAEBFF 100%); border-top: 1px solid rgba(70,65,210,0.08); border-bottom: 1px solid rgba(70,65,210,0.08); padding: 96px 0; }
.glass-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glass-blob:nth-child(1) { width: 800px; height: 800px; background: rgba(100,95,255,0.2); top: -350px; left: -250px; animation: blob-drift 15s ease-in-out infinite alternate; }
.glass-blob:nth-child(2) { width: 600px; height: 600px; background: rgba(140,135,255,0.16); bottom: -250px; right: -150px; animation: blob-drift 18s ease-in-out infinite alternate-reverse; }
.glass-inner { max-width: var(--max); margin: 0 auto; padding: 0 52px; position: relative; z-index: 2; }
.glass-header { margin-bottom: 52px; }
.glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.glass-card { position: relative; overflow: hidden; background: rgba(255,255,255,0.58); backdrop-filter: blur(28px) saturate(1.6) brightness(1.02); -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(1.02); border: 1px solid rgba(255,255,255,0.92); border-radius: var(--radius); padding: 36px 30px 32px; box-shadow: 0 4px 28px rgba(70,65,210,0.09), 0 1px 0 rgba(255,255,255,1) inset, 0 -1px 0 rgba(70,65,210,0.06) inset; transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.35s ease; cursor: default; }
.glass-card::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%); transform: skewX(-15deg); transition: left 0.6s ease; pointer-events: none; }
.glass-card:hover::before { left: 160%; }
.glass-card::after { content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent); border-radius: 1px; }
.glass-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 20px 56px rgba(70,65,210,0.16), 0 1px 0 rgba(255,255,255,1) inset, 0 -1px 0 rgba(70,65,210,0.08) inset; }
.card-num { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 24px; opacity: 0.75; display: flex; align-items: center; gap: 7px; }
.card-num::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--brand); opacity: 0.6; }
.card-stat { font-size: 54px; font-weight: 700; letter-spacing: -0.05em; color: var(--brand); line-height: 1; margin-bottom: 6px; }
.card-stat-sm { font-size: 40px; }
.card-stat-label { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 22px; }
.card-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(70,65,210,0.12), transparent); margin-bottom: 20px; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.38; margin-bottom: 10px; }
.card-body { font-size: 13px; font-weight: 300; color: var(--text2); line-height: 1.75; }
.card-body strong { color: var(--text); font-weight: 600; }
.card-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(70,65,210,0.07); color: var(--brand); border: 1px solid rgba(70,65,210,0.14); border-radius: 7px; font-size: 10.5px; font-weight: 500; padding: 5px 11px; margin-top: 18px; letter-spacing: 0.03em; }

/* --- Form Section --- */
.form-section { position: relative; overflow: hidden; background: var(--bg); padding: 100px 52px; border-top: 1px solid var(--border-soft); }
.form-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; background: rgba(100,95,255,0.1); width: 600px; height: 600px; top: -200px; right: -150px; animation: blob-drift 20s ease-in-out infinite alternate; }
.form-inner { max-width: 520px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.form-h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.025em; color: var(--text); line-height: 1.1; margin-bottom: 14px; }
.form-sub { font-size: 16px; font-weight: 300; line-height: 1.72; color: var(--text2); margin-bottom: 44px; }
.form-card { background: #fff; border: 1px solid rgba(70,65,210,0.12); border-radius: var(--radius); padding: 44px; box-shadow: 0 24px 64px rgba(70,65,210,0.13), 0 4px 16px rgba(0,0,0,0.06); text-align: left; }
.f-row-split { display: flex; gap: 14px; }
.f-row-split .f-row { flex: 1; }
.f-row { margin-bottom: 14px; }
.f-row label { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 7px; }
.f-row input, .f-row select { width: 100%; padding: 13px 16px; border: 1px solid #d0d0e0; border-radius: 11px; font-family: var(--font); font-size: 14px; font-weight: 300; color: var(--text); background: #f9f9fd; outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; }
.f-row textarea { width: 100%; padding: 13px 16px; border: 1px solid #d0d0e0; border-radius: 11px; font-family: var(--font); font-size: 14px; font-weight: 300; color: var(--text); background: #f9f9fd; outline: none; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; }
.f-row textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(70,65,210,0.1); }
.f-row textarea::placeholder { color: var(--text3); }
.f-row input::placeholder { color: var(--text3); }
.f-row input:focus, .f-row select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(70,65,210,0.1); }
.f-row input.err, .f-row select.err, .f-row textarea.err { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.consent-row input.err { outline: 2px solid #ef4444; outline-offset: 2px; }
.f-row select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239898B2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: none; }
.consent-row { display: flex; align-items: flex-start; gap: 11px; margin: 18px 0; font-size: 12.5px; font-weight: 300; color: var(--text3); line-height: 1.55; }
.consent-row input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; accent-color: var(--brand); margin-top: 2px; }
.form-error { font-size: 13px; font-weight: 400; color: #ef4444; text-align: center; margin: 0 0 10px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease; }
.form-error:not(:empty) { max-height: 80px; opacity: 1; margin: 10px 0; }
.form-btn { width: 100%; padding: 15px; background: var(--brand); color: #fff; border: none; border-radius: 11px; font-family: var(--font); font-size: 15px; font-weight: 500; margin-top: 4px; box-shadow: 0 6px 28px rgba(70,65,210,0.35); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; position: relative; overflow: hidden; }
.form-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%); }
.form-btn:hover { background: var(--brand-mid); transform: translateY(-1px); box-shadow: 0 10px 36px rgba(70,65,210,0.45); }
.form-disc { font-size: 11.5px; font-weight: 300; color: var(--text3); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 32px 0; }
.form-success.show { display: block; }
.success-icon { width: 52px; height: 52px; background: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(70,65,210,0.38); }
.checkmark { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.success-body { font-size: 14px; font-weight: 300; color: var(--text2); line-height: 1.65; }

/* --- Footer --- */
footer { border-top: 1px solid var(--border-soft); padding: 32px 52px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 300; color: var(--text3); position: relative; z-index: 2; }
footer a { color: var(--text3); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--brand); }

/* --- Reveal Animations --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.glass-card { transition-delay: calc(var(--i, 0) * 90ms); }
.glass-card.reveal { opacity: 0; transform: translateY(28px); }
.glass-card.reveal.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .glass-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-center { display: none; }
}

@media (max-width: 620px) {
  .hero-h1 { font-size: 40px; }
  .glass-grid { grid-template-columns: 1fr; }
  .nav-outer { padding: 0 16px; }
  nav { padding: 0 16px; max-width: 100%; }
  .hero, .section, .form-section { padding-left: 24px; padding-right: 24px; }
  .glass-inner { padding: 0 24px; }
  footer { padding: 24px; flex-direction: column; gap: 10px; text-align: center; }
  .hero-stats { border-radius: var(--radius); }
  .section-h2 { font-size: 28px; }
  .form-h2 { font-size: 32px; }
  .form-card { padding: 28px 20px; }
  .nav-badge { display: none; }
  body { cursor: auto !important; }
  #cursor, #cursor-glow { display: none !important; }
}
