/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #6B8EF0;
  --blue-light: #8BA8FF;
  --purple: #9B7BF5;
  --purple-light: #B89EFF;
  --green: #5DD9A4;
  --pink: #F07BA8;
  --teal: #5BC8D4;
  --bg: #F4F6FE;
  --surface: #FFFFFF;
  --surface-2: #EEF1FB;
  --text: #1A1D2E;
  --text-mid: #4B5068;
  --text-soft: #8B90A8;
  --border: rgba(107, 142, 240, 0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 32px rgba(107, 142, 240, 0.12);
  --shadow-lg: 0 12px 60px rgba(107, 142, 240, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(107, 142, 240, 0.1);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(107, 142, 240, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107, 142, 240, 0.5);
}

.btn-ghost {
  color: var(--text-mid);
  background: transparent;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--blue); }

.btn-outline {
  color: var(--blue);
  background: rgba(107, 142, 240, 0.08);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: rgba(107, 142, 240, 0.15); }

.btn-large { padding: 16px 36px; font-size: 16px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244, 246, 254, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
}
.logo-icon { font-size: 22px; }
.logo-text { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-mid);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--blue); background: rgba(107,142,240,0.08); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(107,142,240,0.35) !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(107,142,240,0.45) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 { width: 500px; height: 500px; background: var(--blue-light); top: -100px; right: -100px; animation: floatOrb 8s ease-in-out infinite; }
.orb-2 { width: 350px; height: 350px; background: var(--purple-light); bottom: 10%; left: -80px; animation: floatOrb 10s ease-in-out infinite reverse; }
.orb-3 { width: 250px; height: 250px; background: var(--green); top: 50%; left: 40%; animation: floatOrb 12s ease-in-out infinite 2s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content { animation: fadeUp 0.8s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(93, 217, 164, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93,217,164,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(93,217,164,0.1); }
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
}
.pill-green { color: #2D9B6F; background: rgba(93,217,164,0.1); border-color: rgba(93,217,164,0.3); }
.pill-purple { color: var(--purple); background: rgba(155,123,245,0.1); border-color: rgba(155,123,245,0.3); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease 0.2s both;
}

.brain-card {
  position: relative;
  width: 320px; height: 320px;
  background: linear-gradient(145deg, #E8EDFF, #D8E2FF);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.brain-icon { font-size: 100px; position: relative; z-index: 1; animation: float 4s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.brain-ripple {
  position: absolute;
  width: 220px; height: 220px;
  border: 2px solid rgba(107, 142, 240, 0.2);
  border-radius: 50%;
  animation: ripple 3s ease-in-out infinite;
}
.brain-ripple.r2 { width: 290px; height: 290px; animation-delay: 1.5s; }

@keyframes ripple {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 0.15; }
}

.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  color: var(--text);
}
.fb-1 { top: -12px; left: -24px; color: var(--green); animation: floatBadge 4s ease-in-out infinite; }
.fb-2 { bottom: 30px; left: -30px; color: var(--blue); animation: floatBadge 4s ease-in-out infinite 1s; }
.fb-3 { top: 30px; right: -20px; color: var(--purple); animation: floatBadge 4s ease-in-out infinite 2s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 24px;
}
.badge-icon { font-size: 28px; }
.about-badge strong { display: block; font-weight: 600; font-size: 15px; }
.about-badge span { font-size: 13px; color: var(--text-mid); }

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-card {
  width: 340px; height: 340px;
  background: linear-gradient(145deg, #E8EDFF, #D8E2FF);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-brain { font-size: 100px; position: relative; z-index: 1; animation: float 5s ease-in-out infinite; }

.visual-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(107,142,240,0.3), transparent);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.3; }
}

.lightbulb-badge {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple), #C084FC);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(155,123,245,0.4);
  animation: floatBadge 4s ease-in-out infinite;
}

/* ===== STATS ===== */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(107,142,240,0.06), rgba(155,123,245,0.06));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-unit {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card p { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* ===== VALUES ===== */
.values { padding: 100px 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,142,240,0.3);
}

.value-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}
.vi-blue { background: rgba(107,142,240,0.15); }
.vi-teal { background: rgba(91,200,212,0.15); }
.vi-green { background: rgba(93,217,164,0.15); }
.vi-pink { background: rgba(240,123,168,0.15); }

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.value-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stars { color: #F5C518; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--text-mid); font-style: italic; margin-bottom: 20px; line-height: 1.7; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--text-soft); }

/* ===== CTA ===== */
.cta-section { padding: 100px 0; }

.cta-card {
  background: linear-gradient(145deg, #EEF1FB, #E4E9FF);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(107,142,240,0.2), transparent);
  border-radius: 50%;
  top: -100px; right: -100px;
  pointer-events: none;
}

.cta-card h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-card p { font-size: 17px; color: var(--text-mid); max-width: 480px; margin: 0 auto 36px; }

.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }

.cta-note { font-size: 13px; color: var(--text-soft); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.7; }

.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-sub, .hero-pills { margin-left: auto; margin-right: auto; }
  .hero-pills, .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .brain-card { width: 240px; height: 240px; }
  .brain-icon { font-size: 72px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(244,246,254,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }
}
