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

:root {
  --bg: #f4f3f8;
  --white: #ffffff;
  --border: rgba(120,100,200,0.12);
  --accent: #7B5CF0;
  --accent-light: #ede9fd;
  --text: #16151f;
  --muted: #6b6880;
  --overlay: rgba(22,21,31,0.5);
  --grid: rgba(123,92,240,0.07);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 { width: 700px; height: 500px; background: rgba(123,92,240,0.1); top: -150px; right: -150px; }
.orb-2 { width: 400px; height: 400px; background: rgba(180,150,255,0.08); bottom: 100px; left: -100px; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-left { display: flex; align-items: center; gap: 2.5rem; }

.logo {
  //font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 14px; height: 14px; fill: white; }

.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.875rem;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  color: white;
  background: #000;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta:hover { opacity: 0.88; }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(123,92,240,0.2);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h1 {
  ////font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 1.5rem;
  color: var(--text);
  animation: fadeUp 0.6s 0.1s ease both;
}

h1 em { font-style: normal; color: #356bfd; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  background: #356bfd;
  border: none;
  padding: 0.875rem 2.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(123,92,240,0.3); }
.btn-primary:active { transform: scale(0.97); }

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 4rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.stat-num {
  ////font-family: 'Unbounded', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.stat-label { font-size: 0.78rem; color: var(--muted); }

.features {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 7rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  ////font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
  color: var(--text);
}

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(123,92,240,0.12); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  border: 1px solid rgba(123,92,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  ////font-family: 'Unbounded', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.feature-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.cta-section { position: relative; z-index: 1; padding: 0 1.5rem 8rem; }

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--accent);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.06) 1px,transparent 1px);
  background-size: 40px 40px;
}

.cta-card h2 {
  ////font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-card p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 0.95rem; position: relative; }

.btn-white {
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  background: white;
  border: none;
  padding: 0.875rem 2.25rem;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-white:hover { opacity: 0.92; transform: translateY(-2px); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.modal-backdrop.active { opacity: 1; pointer-events: all; }

.modal {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}

.modal-backdrop.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}

.modal-close:hover { color: var(--text); border-color: rgba(123,92,240,0.3); }

.modal-logo {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border: 1px solid rgba(123,92,240,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.modal h2 {
  //font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.modal p { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.5; }

.modal label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal input[type="email"] {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}

.modal input[type="email"]::placeholder { color: #b0adc0; }
.modal input[type="email"]:focus { border-color: var(--accent); background: white; }
.modal input.error { border-color: #e05050; }

.error-msg { font-size: 0.78rem; color: #e05050; margin-top: -0.75rem; margin-bottom: 1rem; display: none; }
.error-msg.visible { display: block; }

.modal-submit {
  width: 100%;
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  background: var(--accent);
  border: none;
  padding: 0.875rem;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.modal-submit:hover { opacity: 0.88; }
.modal-submit:active { transform: scale(0.98); }
.modal-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.modal-footer { text-align: center; font-size: 0.73rem; color: #b0adc0; margin-top: 1rem; line-height: 1.5; }

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

@media (max-width: 900px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 3rem 1.25rem 4rem; }
  .cta-card { padding: 2.5rem 1.5rem; }
}
