@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0f1115;
  --surface: #1a1d24;
  --surface-glass: rgba(26, 29, 36, 0.7);
  --primary: #2CA01C;
  --primary-hover: #238016;
  --primary-glow: rgba(44, 160, 28, 0.4);
  --secondary: #0077C5;
  --text-main: #f4f5f8;
  --text-muted: #9ba1a6;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Utilities ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { color: #fff; font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
p { color: var(--text-muted); font-size: 1.125rem; }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a5b4cb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header p {
  margin-top: 16px;
}

/* ─── Navbar ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.logo-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  background: var(--surface);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero p {
  max-width: 600px;
  margin: 24px auto 40px;
  font-size: 1.25rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 60px auto 0;
  max-width: 900px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Glass Cards (Feature Grid) ────────────────────────── */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.glass-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(44, 160, 28, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-icon.blue {
  background: rgba(0, 119, 197, 0.1);
  color: var(--secondary);
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.card-icon.orange {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.card-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.card-icon.teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.glass-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  padding: 0;
}

.card-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '→';
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── Why Arrow / Value Props ───────────────────────────── */
.why-section {
  padding: 100px 0;
}

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

.why-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* ─── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(145deg, rgba(44, 160, 28, 0.08) 0%, rgba(0, 119, 197, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  margin: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, var(--primary-glow) 0%, transparent 50%);
  opacity: 0.15;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-banner .hero-buttons {
  position: relative;
}

/* ─── Feature Split (Features Page) ─────────────────────── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-split h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-split p {
  margin-bottom: 24px;
}

.feature-img-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.feature-img-container img {
  width: 100%;
  display: block;
}

.feature-img-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(0,119,197,0.2) 0%, transparent 70%);
  z-index: 0;
}

.feature-img-glow.green {
  background: radial-gradient(circle at center, rgba(44,160,28,0.15) 0%, transparent 70%);
}

.feature-img-glow.purple {
  background: radial-gradient(circle at center, rgba(139,92,246,0.15) 0%, transparent 70%);
}

.feature-img-glow.orange {
  background: radial-gradient(circle at center, rgba(245,158,11,0.15) 0%, transparent 70%);
}

.feature-img-glow.red {
  background: radial-gradient(circle at center, rgba(239,68,68,0.15) 0%, transparent 70%);
}

.feature-img-glow.teal {
  background: radial-gradient(circle at center, rgba(20,184,166,0.15) 0%, transparent 70%);
}

.feature-img-icon {
  position: relative;
  z-index: 1;
}

.feature-img-icon svg {
  width: 120px;
  height: 120px;
  opacity: 0.8;
}

.feature-check-list {
  list-style: none;
  padding: 0;
}

.feature-check-list li {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── Pricing Page ──────────────────────────────────────── */
.pricing-header {
  padding: 160px 0 40px;
  text-align: center;
}

.pricing-header h1 {
  margin-bottom: 16px;
}

.pricing-header p {
  max-width: 500px;
  margin: 0 auto;
}

/* Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 60px;
}

.pricing-toggle span {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.pricing-toggle span.active {
  color: #fff;
  font-weight: 600;
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.toggle-switch {
  width: 56px;
  height: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 15px;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.toggle-switch input:checked + .toggle-slider::after {
  left: 29px;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-billed {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.save-badge {
  background: rgba(44, 160, 28, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(44, 160, 28, 0.15);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card .tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.price .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.price .custom-text {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.pricing-card .user-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: 32px;
}

.pricing-card .btn-primary {
  padding: 14px 24px;
}

/* Feature checklist */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: '✓';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.includes-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ─── FAQ Section ──────────────────────────────────���────── */
.faq-section {
  max-width: 700px;
  margin: 80px auto 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.faq-question svg {
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Form Styles ───────────────────────────────────────── */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(44, 160, 28, 0.05);
}

/* Step Indicator */
.steps {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.step-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

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

/* Verification Inputs */
.code-inputs {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.code-inputs input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 12px;
}

/* Checkmark Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(44, 160, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.success-checkmark svg {
  width: 40px;
  height: 40px;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 100px;
  background: rgba(0,0,0,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-company h4 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.footer-company p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ─── Mobile Responsiveness ─────────────────────────────── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .glass-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-split.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  nav {
    overflow: visible;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .code-inputs input {
    width: 40px;
    height: 50px;
    font-size: 1.25rem;
  }

  .glass-grid-6 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card:last-child {
    max-width: none;
  }

  .pricing-card.popular {
    transform: none;
  }

  .cta-banner {
    padding: 60px 24px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}
