*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --purple-pale: #ede9fe;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-pale: #eff6ff;
  --bg: #ffffff;
  --surface: #f8f7ff;
  --surface2: #f1f5f9;
  --text: #1e1535;
  --muted: #6b7280;
  --border: rgba(124, 58, 237, 0.15);
  --border-solid: #e5e7eb;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% -5%, rgba(124,58,237,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 90% 90%, rgba(59,130,246,0.06) 0%, transparent 60%);
}

header, section, footer, .stats-bar {
  position: relative;
  z-index: 1;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 680px;
}

.section {
  padding: 96px 0;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-hero {
  opacity: 0;
  animation: fadeUp 0.8s ease both;
}

.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-d1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.anim-d3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.anim-d4 { animation-delay: 0.4s; transition-delay: 0.4s; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  animation: fadeUp 0.6s ease both;
  border-bottom: 1px solid var(--border-solid);
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.logo-fluent {
  color: var(--text);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border-solid);
  background: var(--bg);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: var(--purple-light);
  color: var(--purple);
  background: var(--purple-pale);
}

.lang-toggle-flag {
  font-size: 16px;
  line-height: 1;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
}

.eyebrow::before { background: linear-gradient(90deg, transparent, var(--blue-light)); }
.eyebrow::after  { background: linear-gradient(90deg, var(--blue-light), transparent); }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 80px;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(29px, 5.3vw, 51px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 44px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.btn--large {
  height: 60px;
  padding: 0 44px;
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 36px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.3);
}

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Stats */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border-solid);
  border-bottom: 1px solid var(--border-solid);
  padding: 32px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border-solid);
}

/* Section typography */
.section-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 18px;
}

.section-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}

.hero-video-wrap {
  margin: 36px auto;
}

.video-placeholder {
  margin: 0 auto;
  max-width: 792px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--purple-pale), var(--blue-pale));
  border: 2px dashed rgba(124,58,237,0.25);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.video-play-btn svg {
  width: 72px;
  height: 72px;
}

.video-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
}

/* Benefits */
.benefits-section {
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.benefit-card {
  background: var(--bg);
  border: 1.5px solid var(--border-solid);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.1);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 18px;
  line-height: 1;
}

.benefit-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

/* Register */
.register-section {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border-solid);
}

.form-wrap {
  max-width: 440px;
  margin: 44px auto 0;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-fields input[type="text"],
.form-fields input[type="email"] {
  width: 100%;
  height: 54px;
  background: var(--bg);
  border: 1.5px solid var(--border-solid);
  border-radius: 12px;
  padding: 0 20px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-fields input::placeholder {
  color: #9ca3af;
}

.form-fields input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.form-fields .btn {
  width: 100%;
  height: 56px;
  font-size: 16px;
  margin-top: 4px;
}

.privacy-note {
  margin-top: 16px;
  font-size: 12px;
  color: #9ca3af;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border-solid);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--purple); }

/* Responsive */
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 28px; }
  .stat-sep { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 72px; }
  .site-header { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .logo { font-size: 24px; }
  .lang-toggle-label { display: none; }
}
