:root {
  --primary: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary-glow: rgba(168, 85, 247, 0.3);
  --bg: #000000;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --glass: rgba(17, 24, 39, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.bg { position: fixed; inset: 0; background: #000000; z-index: 1; }
.overlay {
  position: fixed; inset: 0;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.05), transparent 50%),
              radial-gradient(circle at bottom left, rgba(168,85,247,0.05), transparent 50%);
  z-index: 2;
}
.glow {
  position: fixed; width: 80vw; height: 80vh;
  background: radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 60%);
  top: -20vh; left: -20vw;
  filter: blur(140px); z-index: 3; pointer-events: none;
  opacity: 0.6; will-change: transform;
  animation: float 25s ease-in-out infinite alternate;
}
.glow-secondary {
  position: fixed; width: 70vw; height: 70vh;
  background: radial-gradient(circle at 50% 50%, var(--secondary-glow) 0%, transparent 60%);
  bottom: -15vh; right: -15vw;
  filter: blur(120px); z-index: 3; pointer-events: none;
  opacity: 0.5; will-change: transform;
  animation: float-reverse 30s ease-in-out infinite alternate;
}
@keyframes float {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(5vw, 15vh) scale(1.1); }
  66%  { transform: translate(-10vw, 5vh) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}
@keyframes float-reverse {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(-10vw, -10vh) scale(1.2); }
  66%  { transform: translate(5vw, -20vh) scale(0.8); }
  100% { transform: translate(0px, 0px) scale(1); }
}
.container {
  position: relative; z-index: 10;
  min-height: 100vh;
  height: auto;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 32px; text-align: center;
  padding: 8vh 24px 24px 24px;
}
.badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--primary);
  backdrop-filter: blur(25px) saturate(1.8);
  -webkit-backdrop-filter: blur(25px) saturate(1.8);
  background: var(--glass);
  padding: 12px 24px; border-radius: 999px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  text-transform: uppercase;
}
.dot-ring {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.dot {
  width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
}
.dot-ring::after {
  content: ''; position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}
h1 {
  font-size: clamp(38px, 9vw, 84px);
  line-height: 1.1; font-weight: 700;
  letter-spacing: 0.02em; max-width: 900px;
  color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  text-transform: uppercase;
  margin: 0 auto;
}
.highlight {
  color: var(--primary); display: inline-block;
  background: linear-gradient(120deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted); max-width: 650px;
  line-height: 1.6; font-weight: 400;
  letter-spacing: 0.01em; text-wrap: balance;
  margin: 0 auto;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; width: 100%; max-width: 900px;
  margin: 0 auto;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(30px) saturate(2);
  -webkit-backdrop-filter: blur(30px) saturate(2);
  border: 1px solid var(--glass-border);
  padding: 24px 20px; border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(99,102,241,0.1);
}
.feature-icon { 
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(99,102,241,0.3));
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: white; letter-spacing: 0.02em; }
.feature-card p { font-size: 13px; line-height: 1.4; color: var(--text-muted); font-weight: 400; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 48px; background: #ffffff; color: #000000;
  font-weight: 700; font-size: 18px; border-radius: 999px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 45px rgba(255,255,255,0.1); cursor: pointer;
  font-family: var(--font-main);
}
.btn:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 25px 70px rgba(99,102,241,0.4);
  background: #ffffff;
}
.arrow { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover .arrow { transform: translateX(8px); }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 8px; }
.trusted-by { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.trusted-logos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.t-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: #fff;
}
.footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex; 
  flex-direction: column;
  align-items: center; 
  gap: 8px;
  font-size: 14px; font-weight: 300;
  width: 100%; justify-content: center;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-brand { letter-spacing: 0.4em; font-weight: 700; opacity: 0.8; margin-right: -0.4em; }
.dot-separator { opacity: 0.3; }
.footer-link {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.7;
  font-weight: 500;
  transition: opacity 0.2s;
  font-size: 13px;
}
.footer-link:hover { opacity: 1; text-decoration: none; }
.animate-in {
  opacity: 0; transform: translateY(30px);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Modal --- */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1; pointer-events: auto;
}

.modal-content {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(40px) saturate(2);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  width: 90%; max-width: 700px; max-height: 85vh;
  display: flex; flex-direction: column;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5), 0 0 40px rgba(99, 102, 241, 0.1);
}

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

.modal-header {
  padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.modal-header h2 { font-size: 24px; font-weight: 700; margin: 0; }

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 24px; cursor: pointer;
  display: flex; justify-content: center; align-items: center;
  transition: background 0.2s; line-height: 1;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.2); }

.modal-tabs {
  display: flex; gap: 8px;
  padding: 16px 32px 0 32px;
  border-bottom: 1px solid var(--glass-border);
  overflow-x: auto;
}

.tab-btn {
  background: transparent; border: none;
  color: var(--text-muted); font-size: 15px; font-weight: 600;
  padding: 12px 16px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s; font-family: var(--font-main);
  white-space: nowrap;
}

.tab-btn:hover { color: white; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.modal-body {
  padding: 32px; overflow-y: auto; text-align: left;
}

.tab-content {
  display: none; animation: fade-in 0.4s ease;
}

.tab-content.active { display: block; }

.tab-content h3 { font-size: 20px; margin-bottom: 16px; color: white; }
.tab-content h4 { font-size: 16px; margin-top: 24px; margin-bottom: 8px; color: var(--primary); opacity: 0.9; }
.tab-content p, .tab-content ol { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; }
.tab-content ol { padding-left: 20px; }
.tab-content li { margin-bottom: 8px; }
.tab-content strong { color: white; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature-card {
    padding: 16px; display: flex; flex-direction: row; align-items: center; text-align: left; gap: 16px;
  }
  .feature-icon { margin-bottom: 0; flex-shrink: 0; }
  .feature-card h3 { margin-bottom: 2px; }
  h1 { font-size: 42px; letter-spacing: -0.02em; }
  .modal-content { width: 95%; max-height: 90vh; }
  .modal-header { padding: 20px; }
  .modal-tabs { padding: 8px 20px 0 20px; }
  .modal-body { padding: 20px; }
  .container { padding-top: 4vh; }
}
