:root {
  --primary: #FF6B9D;
  --primary-dark: #E85A8B;
  --secondary: #70D6FF;
  --accent: #FFD670;
  --purple: #B86BFF;
  --green: #4DFFB4;
  --bg-dark: #0D0818;
  --bg-card: rgba(255,255,255,0.04);
  --text-light: #F8F9FA;
  --text-muted: #9A97B0;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --gradient: linear-gradient(135deg, #FF6B9D 0%, #B86BFF 100%);
  --gradient-blue: linear-gradient(135deg, #70D6FF 0%, #B86BFF 100%);
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.25);
  --radius: 24px;
  --radius-sm: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Canvas */
#candy-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}

/* Navbar */
.navbar {
  padding: 1.25rem 0;
  position: fixed; width: 100%; top: 0; z-index: 1000;
  background: rgba(13,8,24,0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(13,8,24,0.95);
  border-color: var(--glass-border);
  padding: 0.85rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-size: 1.4rem; }
.logo-emoji { font-size: 1.8rem; }
.logo-text { color: var(--text-light); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-light); }

.btn-nav {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--gradient); color: #fff !important;
  padding: 0.55rem 1.3rem; border-radius: 50px; font-weight: 700;
  font-size: 0.9rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,157,0.35); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: rgba(13,8,24,0.98); border-top: 1px solid var(--glass-border);
  padding: 0;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s;
}
.mobile-menu.open { max-height: 400px; padding: 1rem 0; }
.mobile-menu a { padding: 0.85rem 2rem; color: var(--text-light); text-decoration: none; font-weight: 500; display: block; border-bottom: 1px solid var(--glass-border); }
.mobile-menu .btn-primary { margin: 1rem 2rem 0.5rem; display: block; text-align: center; border: none; }

/* Reveal animations */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255,107,157,0.4); }
.btn-secondary { background: var(--glass); color: #fff; border: 1px solid var(--glass-border); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); box-shadow: var(--shadow-sm); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* Hero */
.hero {
  position: relative; padding: 11rem 0 7rem; overflow: hidden; z-index: 1;
  background: radial-gradient(ellipse at 15% 50%, rgba(255,107,157,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 30%, rgba(112,214,255,0.1) 0%, transparent 55%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(255,107,157,0.08); top: -100px; left: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(184,107,255,0.08); bottom: 0; right: -50px; }
.hero-glow-3 { width: 300px; height: 300px; background: rgba(112,214,255,0.06); top: 50%; left: 50%; }

.hero-container { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 5rem; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,107,157,0.12); border: 1px solid rgba(255,107,157,0.3);
  color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title { font-size: 4.2rem; line-height: 1.08; margin-bottom: 1.5rem; font-weight: 900; letter-spacing: -0.5px; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 480px; line-height: 1.7; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.trust-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.trust-icon { font-size: 1rem; }
.trust-divider { width: 1px; height: 16px; background: var(--glass-border); }

.hero-image-container { position: relative; z-index: 2; }
.hero-glow-ring {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,157,0.15) 0%, transparent 70%);
  animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.05)} }

.hero-image {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }

.glass-badge {
  position: absolute; background: rgba(13,8,24,0.7); backdrop-filter: blur(12px);
  padding: 0.7rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 0.4rem;
  animation: float 6s ease-in-out infinite;
}
.badge-top { top: -16px; right: -16px; animation-delay: -2s; }
.badge-bottom { bottom: 24px; left: -20px; animation-delay: -4s; }
.badge-side { top: 50%; right: -24px; transform: translateY(-50%); animation-delay: -1s; }

.wave-divider { margin-top: 4rem; opacity: 0.5; }
.wave-divider svg { width: 100%; display: block; }

/* Stats Bar */
.stats-bar { padding: 3rem 0; position: relative; z-index: 1; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); }
.stats-container { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 150px; text-align: center; padding: 1rem 2rem; }
.stat-number { display: block; font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; display: block; }
.stat-divider { width: 1px; height: 50px; background: var(--glass-border); }

/* Features */
.features { padding: 9rem 0; position: relative; z-index: 1; }
.section-header { margin-bottom: 4rem; text-align: center; }
.section-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem; display: block; }
.section-title { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

.feature-card {
  background: var(--bg-card); padding: 2.2rem;
  border-radius: var(--radius); border: 1px solid var(--glass-border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden; display: flex; gap: 1.5rem; align-items: flex-start;
}
.feature-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--card-color) 50%, transparent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card:hover .feature-glow { opacity: 1; }

.feature-glow {
  position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--card-color); filter: blur(50px); opacity: 0;
  transition: opacity 0.4s; pointer-events: none;
}

.feature-icon-wrap {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px;
  background: color-mix(in srgb, var(--card-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-color) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon { font-size: 1.8rem; }
.feature-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* How It Works */
.how-it-works { padding: 9rem 0; position: relative; overflow: hidden; z-index: 1; }
.hiw-bg-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,107,255,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1rem; position: relative; }
.steps-row::before {
  content: ''; position: absolute; top: 38px; left: calc(16.66% + 40px); right: calc(16.66% + 40px);
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--purple));
  opacity: 0.3;
}

.step { text-align: center; padding: 2rem; position: relative; }
.step-number {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 2px; color: var(--primary); margin-bottom: 1rem; display: block;
}
.step-icon {
  font-size: 2.8rem; display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; margin: 0 auto 1.5rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 50%; transition: transform 0.3s;
}
.step:hover .step-icon { transform: scale(1.1) rotate(5deg); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Insights */
.insights { padding: 9rem 0; background: rgba(255,255,255,0.015); position: relative; z-index: 1; }
.insights-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }

.insights-image { position: relative; }
.insights-img-glow {
  position: absolute; inset: -20px; border-radius: 40px;
  background: radial-gradient(ellipse, rgba(255,107,157,0.12) 0%, transparent 70%);
}
.insight-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 1; }

.insights-floating-card {
  position: absolute; bottom: -20px; right: -20px; z-index: 2;
  background: rgba(13,8,24,0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  padding: 1rem 1.4rem; display: flex; align-items: center; gap: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.ifc-icon { font-size: 1.8rem; }
.insights-floating-card strong { display: block; font-size: 0.9rem; color: var(--text-light); }
.insights-floating-card span { font-size: 0.78rem; color: var(--text-muted); }

.section-title.left { text-align: left; }
.insights-lead { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; font-size: 1.05rem; }

.insight-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.insight-list li { display: flex; align-items: flex-start; gap: 1rem; }
.insight-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ic) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 30%, transparent);
}
.insight-list li strong { display: block; margin-bottom: 0.2rem; }
.insight-list li div { color: var(--text-muted); font-size: 0.93rem; line-height: 1.5; }
.insight-list li div strong { color: var(--text-light); font-size: 1rem; }

.insights-cta { margin-top: 0.5rem; }

/* Testimonials */
.testimonials { padding: 9rem 0; position: relative; z-index: 1; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: start; }

.testimonial-card {
  background: var(--bg-card); padding: 2.5rem; border-radius: 28px;
  border: 1px solid var(--glass-border); position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
.featured-card {
  border-color: color-mix(in srgb, var(--card-accent) 40%, transparent);
  background: color-mix(in srgb, var(--card-accent) 5%, var(--bg-card));
}
.featured-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  color: var(--card-accent); border: 1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 1.2rem; text-transform: uppercase;
}

.tcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.tcard-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 60%, #fff));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; color: #fff;
}
.stars { color: #FFD670; font-size: 1rem; letter-spacing: 2px; }

.testimonial-text { font-size: 1rem; line-height: 1.7; color: var(--text-light); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author strong { display: block; font-size: 1rem; color: var(--text-light); }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

/* Languages */
.languages { padding: 7rem 0; position: relative; z-index: 1; }
.flag-row { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.flag-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: transform 0.2s; cursor: default; }
.flag-item:hover { transform: scale(1.15); }
.flag-item span:first-child { font-size: 3.5rem; }
.flag-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* Final CTA */
.final-cta {
  padding: 9rem 0; position: relative; overflow: hidden; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(255,107,157,0.07) 0%, transparent 70%);
}
.cta-glow-1, .cta-glow-2 { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.cta-glow-1 { width: 400px; height: 400px; background: rgba(255,107,157,0.1); top: -100px; left: 10%; }
.cta-glow-2 { width: 350px; height: 350px; background: rgba(112,214,255,0.08); bottom: -80px; right: 10%; }

.cta-title { font-size: 3.5rem; font-weight: 900; margin-bottom: 1.2rem; line-height: 1.1; }
.cta-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 480px; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-small { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.footer { padding: 4rem 0; border-top: 1px solid var(--glass-border); background: #080512; position: relative; z-index: 1; }
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; font-family: 'Outfit', sans-serif; font-weight: 700; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.copyright { color: var(--text-muted); font-size: 0.82rem; }

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .insights-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-image-container { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-subtitle, .section-sub { margin-left: auto; margin-right: auto; }
  .hero-btns, .trust-row { justify-content: center; }
  .section-title.left { text-align: center; }
  .insights-content { text-align: center; }
  .insight-list li { justify-content: flex-start; text-align: left; }
  .insights-cta { margin-left: auto; margin-right: auto; display: block; text-align: center; }
  .hero-title { font-size: 3rem; }
  .cta-title { font-size: 2.5rem; }
  .steps-row { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .steps-row::before { display: none; }
  .badge-side { display: none; }
  .stat-divider { display: none; }
  .stat-item { min-width: 130px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .cta-title { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .badge-top, .badge-bottom { display: none; }
  .flag-row { gap: 2rem; }
  .footer-links { gap: 1.5rem; }
}
