:root {
  --bg: #0b0f14;
  --panel: #0f151d;
  --card: #131b26;
  --muted: #9fb3c8;
  --text: #e8f0ff;
  --accent: #5cf0c5;
  --accent-strong: #3ad9aa;
  --border: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --transition: 180ms ease;
}

body.light-mode {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --card: #ffffff;
  --muted: #334155;
  --text: #0f172a;
  --accent: #14b8a6;
  --accent-strong: #0d9488;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

body.light-mode footer {
  background: linear-gradient(180deg, #edf2f7, #e5e9f2);
  color: #475569;
}

body.light-mode footer * {
  color: #475569;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 18% 16%, rgba(92, 240, 197, 0.09), transparent 26%),
    radial-gradient(circle at 80% 8%, rgba(58, 217, 170, 0.08), transparent 26%),
    radial-gradient(120% 120% at 12% 88%, rgba(82, 97, 255, 0.07), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: background-color, color;
  transition: background-color var(--transition), color var(--transition);
  position: relative;
  color-scheme: dark;
}

body.light-mode {
  background: radial-gradient(circle at 20% 20%, rgba(14, 184, 166, 0.08), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 24%),
    radial-gradient(110% 120% at 14% 86%, rgba(8, 47, 73, 0.04), transparent 50%),
    var(--bg);
  color-scheme: light;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(92, 240, 197, 0.1), transparent 32%),
    radial-gradient(circle at 90% 14%, rgba(14, 165, 233, 0.08), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: drift 16s ease-in-out infinite alternate;
  z-index: -1;
}

body::after {
  background: linear-gradient(120deg, rgba(92, 240, 197, 0.08), rgba(82, 97, 255, 0.04), transparent 60%);
  filter: blur(44px);
  animation-duration: 22s;
  opacity: 0.6;
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms cubic-bezier(0.2,0,0,1), transform 640ms cubic-bezier(0.2,0,0,1);
  will-change: transform, opacity;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-left { opacity: 0; transform: translateX(28px); transition: opacity 680ms ease, transform 680ms ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right { opacity: 0; transform: translateX(-28px); transition: opacity 680ms ease, transform 680ms ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

.scale-in { opacity: 0; transform: scale(0.96); transition: opacity 520ms ease, transform 520ms ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger helper: set --delay on element to stagger */
.stagger { opacity: 0; transform: translateY(8px); transition: opacity 560ms ease var(--delay, 0ms), transform 560ms ease var(--delay, 0ms); }
.stagger.visible { opacity: 1; transform: translateY(0); }

/* Small tweaks for readability while animating */
.animated-ghost { transition: background-color 260ms ease, color 260ms ease; }


a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header { max-width: 720px; margin-bottom: 32px; }

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }

h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.2; }

h3 { font-size: 20px; margin-bottom: 8px; }

p { color: var(--muted); margin: 0 0 12px; }

body.light-mode p { color: var(--muted); }

p.lede { color: #c7d4e5; font-size: 18px; }

body.light-mode p.lede { color: #1f2937; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

body.light-mode .eyebrow {
  color: #000000;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

body.light-mode .top-nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

nav {
  flex: 1;
  min-width: 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; flex-shrink: 0; }

.brand .logo { width: 34px; height: 34px; }

.brand-name { font-size: 18px; letter-spacing: 0.02em; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a { padding: 6px 8px; border-radius: 10px; transition: background var(--transition), color var(--transition); white-space: nowrap; font-size: 14px; }

.nav-links a:hover { background: rgba(255, 255, 255, 0.08); }

body.light-mode .nav-links a {
  color: #000000;
}

body.light-mode .nav-links a:hover {
  background: rgba(14, 184, 166, 0.12);
}

.nav-links .pill { background: rgba(92, 240, 197, 0.12); color: var(--accent); }

.nav-links .pill:hover { background: rgba(92, 240, 197, 0.22); }

body.light-mode .nav-links .pill {
  background: rgba(92, 240, 197, 0.12);
  color: #000000;
}

.nav-toggle { display: none; background: none; border: 1px solid var(--border); padding: 10px; border-radius: 12px; cursor: pointer; }

.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: transform var(--transition); }

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  transition: all var(--transition);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.05);
}

body.light-mode .theme-toggle {
  color: #000000;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  position: absolute;
  opacity: 1;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 20;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

body.light-mode .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

body.light-mode .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.hero { padding: 120px 0 100px; position: relative; overflow: hidden; }

.hero::before {
  content: '';
  position: absolute;
  inset: 10% -20% auto 30%;
  height: 320px;
  background: radial-gradient(circle at 20% 50%, rgba(92, 240, 197, 0.25), rgba(92, 240, 197, 0));
  filter: blur(20px);
  opacity: 0.9;
  animation: gradientShift 12s ease-in-out infinite alternate;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 30% 10% auto -10%;
  height: 280px;
  background: radial-gradient(circle at 60% 50%, rgba(82, 97, 255, 0.18), rgba(82, 97, 255, 0));
  filter: blur(26px);
  opacity: 0.6;
  animation: gradientShift 16s ease-in-out infinite alternate-reverse;
  z-index: -1;
}

.hero-grid { display: grid; gap: 36px; align-items: center; grid-template-columns: 1.1fr 0.9fr; }

.hero-copy .lede { margin-bottom: 22px; }

.cta-group { display: flex; gap: 12px; margin: 20px 0 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border var(--transition);
  position: relative;
  overflow: hidden;
}

.btn.small { padding: 10px 14px; font-size: 14px; }

.btn.full { width: 100%; }

.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #0b0f14; border: none; box-shadow: 0 10px 30px rgba(92, 240, 197, 0.25); animation: glow 4s ease-in-out infinite; }

.btn.primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 36px rgba(92, 240, 197, 0.45), 0 0 50px rgba(92, 240, 197, 0.3); animation: none; }

.btn.ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); }

.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.12); }

body.light-mode .btn.ghost {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #000000;
}

body.light-mode .btn.ghost:hover {
  background: #f5f7fc;
  border-color: rgba(0, 0, 0, 0.25);
}

.btn.primary::after,
.card::after {
  content: '';
  position: absolute;
  inset: -40% -10% auto -40%;
  height: 60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: translateX(-60%) rotate(8deg);
  transition: transform 360ms ease;
  pointer-events: none;
}

.btn.primary:hover::after,
.card:hover::after { transform: translateX(120%) rotate(8deg); }

.value-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.chip { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: #cfe8ff; font-size: 14px; transition: all 0.3s ease; cursor: default; }

.chip:hover { background: rgba(92, 240, 197, 0.15); transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 20px rgba(92, 240, 197, 0.2); }

body.light-mode .chip {
  background: rgba(59, 157, 143, 0.15);
  color: #000000;
}

.hero-visual { display: grid; gap: 20px; }

.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.card-stack { display: grid; gap: 10px; }

.card.small { background: var(--card); padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); animation: float 8s ease-in-out infinite alternate; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

.metric { padding: 14px; border-radius: var(--radius-sm); background: rgba(92, 240, 197, 0.05); border: 1px solid rgba(92, 240, 197, 0.22); transition: all 0.3s ease; animation: borderGlow 4s ease-in-out infinite; }

.metric:hover { transform: scale(1.03); background: rgba(92, 240, 197, 0.1); }

body.light-mode .metric { color: #000000; }

.metric-value { font-size: 28px; font-weight: 700; color: var(--accent); }

.cards { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)); }

body.light-mode .cards { background: linear-gradient(180deg, rgba(14, 184, 166, 0.03), rgba(255, 255, 255, 0)); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

body.light-mode .card { color: #000000; }
.card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(92, 240, 197, 0.4); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42); }

.card ul { list-style: none; padding: 0; margin: 0; }

.card li { margin: 6px 0; color: #cfe8ff; font-size: 14px; }

body.light-mode .card li { color: #000000; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }

.pill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.pill-block {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.pill-block:hover {
  border-style: solid;
  border-color: rgba(92, 240, 197, 0.4);
  background: rgba(92, 240, 197, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .pill-block {
  color: #000000;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(14, 184, 166, 0.05);
}

.panel { background: linear-gradient(135deg, rgba(92, 240, 197, 0.05), rgba(12, 16, 22, 0.9)); }

body.light-mode .panel {
  background: linear-gradient(135deg, rgba(14, 184, 166, 0.08), rgba(241, 245, 249, 0.95));
}

.icon-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }

.icon-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; color: #cfe8ff; }

body.light-mode .icon-list li { color: #000000; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.tech-item { padding: 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); transition: transform 0.3s ease, box-shadow 0.3s ease; }

.tech-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(92, 240, 197, 0.15); }

body.light-mode .tech-item {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(14, 184, 166, 0.15);
}

.label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px; }

body.light-mode .label { color: #000000; }

.pricing { background: linear-gradient(180deg, rgba(92, 240, 197, 0.04), transparent); }

body.light-mode .pricing { background: linear-gradient(180deg, rgba(14, 184, 166, 0.06), transparent); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.price-card.highlight:hover {
  box-shadow: 0 30px 60px rgba(92, 240, 197, 0.25);
}

body.light-mode .price-card { color: #000000; }

.price-card.highlight { border-color: rgba(92, 240, 197, 0.5); box-shadow: 0 24px 60px rgba(92, 240, 197, 0.15); animation: borderGlow 3s ease-in-out infinite; }

.price { font-size: 24px; font-weight: 700; color: var(--accent); margin: 6px 0; }

.disclaimer { margin-top: 14px; font-size: 14px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; background: var(--card); padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); }

body.light-mode .steps li { color: #000000; }

.steps span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(92, 240, 197, 0.16); color: var(--accent); font-weight: 700; transition: all 0.3s ease; }

.steps li:hover span { background: var(--accent); color: #0b0f14; transform: scale(1.15); box-shadow: 0 0 20px rgba(92, 240, 197, 0.5); }

.steps li { transition: all 0.3s ease; }

.steps li:hover { transform: translateX(8px); border-color: rgba(92, 240, 197, 0.4); }

.about { display: grid; gap: 14px; }

body.light-mode .glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.8));
  border-color: rgba(14, 184, 166, 0.12);
}

body.light-mode .glass.about {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9));
}

body.light-mode .glass.tech-grid {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9));
}

.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; transition: all 0.3s ease; }

.faq details:hover { border-color: rgba(92, 240, 197, 0.3); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

.faq details[open] { border-color: rgba(92, 240, 197, 0.4); background: linear-gradient(135deg, var(--card), rgba(92, 240, 197, 0.03)); }

.faq summary { transition: color 0.3s ease; }

.faq details:hover summary { color: var(--accent); }

body.light-mode .faq details { color: #000000; }

.faq summary { cursor: pointer; font-weight: 600; }

body.light-mode .faq summary { color: #000000; }

.faq summary::-webkit-details-marker { display: none; }

.contact .split { align-items: stretch; }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); }

body.light-mode .contact-form { color: #000000; }

.contact-form label { display: grid; gap: 6px; font-weight: 600; color: #d9e6f8; font-size: 14px; }

body.light-mode .contact-form label { color: #000000; }

.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); color: var(--text); font-size: 15px; }

.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid rgba(92, 240, 197, 0.4); }

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.form-note { font-size: 12px; color: var(--muted); margin: 0; }

.footer {
  background: #070a0f;
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  color: var(--muted);
  margin-top: 40px;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }

.footer .brand { margin-bottom: 10px; }

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.footer-links a { color: #cfe8ff; }

.footer-links a:hover { color: var(--accent); }

body.light-mode .footer-links a { color: #0f172a; }

body.light-mode .footer-links a:hover { color: var(--accent-strong); }

.footer-bottom { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, -10px, 0) scale(1.04); }
}

@keyframes gradientShift {
  from { transform: translate3d(-6%, 2%, 0) rotate(0deg); }
  to { transform: translate3d(6%, -2%, 0) rotate(3deg); }
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(92, 240, 197, 0.3); }
  50% { box-shadow: 0 0 40px rgba(92, 240, 197, 0.5), 0 0 60px rgba(92, 240, 197, 0.2); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(92, 240, 197, 0.3); }
  50% { border-color: rgba(92, 240, 197, 0.6); }
}

/* Hover glow effect for interactive elements */
.glow-hover {
  transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
  box-shadow: 0 0 30px rgba(92, 240, 197, 0.4);
}

/* Shimmer effect for highlights */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Pulsing accent elements */
.pulse-accent {
  animation: pulse 3s ease-in-out infinite;
}

/* Tilt effect on hover */
.tilt-hover {
  transition: transform 0.3s ease;
}

.tilt-hover:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
}

/* Magnetic cursor area */
.magnetic {
  transition: transform 0.2s ease-out;
}

/* Floating particles container */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(92, 240, 197, 0.4);
  border-radius: 50%;
  animation: floatParticle 8s ease-in-out infinite;
}

body.light-mode .particle {
  background: rgba(14, 184, 166, 0.5);
}

/* Sparkle effect */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(92, 240, 197, 0.8), 0 0 20px rgba(92, 240, 197, 0.4);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px) scale(0.5); opacity: 0; }
}

/* Cursor glow effect */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(92, 240, 197, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

body.light-mode .cursor-glow {
  background: radial-gradient(circle, rgba(14, 184, 166, 0.12), transparent 70%);
}

/* Text reveal animation */
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Smooth underline animation for links */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a {
  position: relative;
}

/* Responsive */

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .nav-links { position: absolute; top: 72px; right: 20px; background: var(--panel); padding: 12px; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: flex-start; backdrop-filter: blur(10px); }
  .nav-links.open { display: flex; }
  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-content { height: 64px; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1; text-align: center; }
  .hero-visual { order: -1; }
  .cursor-glow { display: none; }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .cursor-glow { display: none; }
  .particles { display: none; }
}