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

:root {
  --primary:       #6366f1;
  --primary-dark:  #4f46e5;
  --primary-light: #818cf8;
  --accent:        #06b6d4;
  --success:       #10b981;
  --bg:            #ffffff;
  --bg2:           #f8fafc;
  --card:          #ffffff;
  --border:        rgba(0,0,0,0.06);
  --text:          #0f172a;
  --muted:         #64748b;
  --radius:        14px;
  --font:          'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 16px 5%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-size: 1.4rem; font-weight: 900;
  background: linear-gradient(135deg, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex; gap: 32px;
  margin: 0 auto;
  list-style: none;
}

.nav-links a {
  color: #94a3b8; text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn-nav {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
  display: inline-flex; align-items: center;
}

.btn-nav-outline {
  color: #64748b; border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
}
.btn-nav-outline:hover { background: rgba(0,0,0,0.03); color: var(--text); }

.btn-nav-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,0.45); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99,102,241,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(6,182,212,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

.hero-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600;
  color: #818cf8;
  margin-bottom: 24px;
}

.hero-eyebrow span { width:6px; height:6px; border-radius:50%; background:#818cf8; display:block; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #818cf8, #06b6d4, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(99,102,241,0.4);
  transition: all 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(99,102,241,0.5); }

.btn-hero-secondary {
  padding: 14px 28px;
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text); font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(0,0,0,0.04); transform: translateY(-2px); }

.hero-badge {
  margin-top: 28px;
  font-size: 0.8rem; color: #64748b;
  display: flex; align-items: center; gap: 8px;
}

.hero-badge svg { width:16px; height:16px; color: #10b981; }

/* ── Hero Dashboard Preview ──────────────────────────────── */
.hero-visual {
  position: relative;
}

.dashboard-preview {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1), 0 0 60px rgba(99,102,241,0.05);
  backdrop-filter: blur(20px);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.dashboard-preview:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.preview-topbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}

.preview-dots span {
  width:10px; height:10px; border-radius:50%;
  display:inline-block; margin-right:5px;
}
.preview-dots span:nth-child(1){background:#ef4444}
.preview-dots span:nth-child(2){background:#f59e0b}
.preview-dots span:nth-child(3){background:#10b981}

.preview-title {
  flex:1; text-align:center;
  background: rgba(0,0,0,0.03);
  border-radius: 6px; padding:4px 12px;
  font-size:0.72rem; color:#64748b;
}

.preview-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-bottom: 12px;
}

.preview-stat {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 10px; padding: 10px;
}

.preview-stat-label { font-size:0.65rem; color:#64748b; margin-bottom:3px; }
.preview-stat-value { font-size:1rem; font-weight:700; color:var(--text); }

.preview-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 12px; height: 90px;
  display: flex; align-items: flex-end; gap: 4px;
  margin-bottom: 10px;
}

.preview-bar {
  flex:1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(99,102,241,0.8), rgba(99,102,241,0.2));
  min-height: 8px; transition: height 0.4s ease;
}

.preview-table {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; overflow: hidden;
}

.preview-row {
  display: flex; gap: 8px; padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.68rem;
}
.preview-row:last-child { border-bottom: none; }
.preview-row-label { color: #94a3b8; flex:2; }
.preview-row-val { color: var(--text); font-weight: 600; }
.preview-row-badge {
  padding: 1px 7px; border-radius: 9999px;
  font-size: 0.62rem; font-weight: 600;
}
.badge-green { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.badge-yellow { background: rgba(245,158,11,0.15); color: #fcd34d; }

/* ── Features ────────────────────────────────────────────── */
.section { padding: 100px 5%; }
.section-center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #818cf8; margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 14px;
}

.section .sub {
  font-size: 1rem; color: #64748b;
  max-width: 560px; margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1200px; margin: 0 auto;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(99,102,241,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}

.feature-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(99,102,241,0.12);
  display: flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.feature-icon svg { width:24px; height:24px; color: #818cf8; }

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.875rem; color: #64748b; line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1200px; margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all 0.25s;
}

.pricing-card.popular {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(145deg, rgba(99,102,241,0.02), var(--card));
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transform: scale(1.03);
}

.pricing-name { font-size: 0.9rem; font-weight: 700; color: #818cf8; margin-bottom: 12px; }
.pricing-price { margin-bottom: 6px; }
.pricing-amount { font-size: 2.4rem; font-weight: 900; }
.pricing-period { font-size: 0.85rem; color: #64748b; }
.pricing-desc   { font-size: 0.82rem; color: #64748b; margin-bottom: 24px; }

.pricing-features { margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 0.85rem; color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-feature:last-child { border-bottom: none; }

.pricing-feature svg { width:16px; height:16px; color: #10b981; flex-shrink:0; margin-top:2px; }

.btn-pricing {
  width: 100%; padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
  display: block; text-align: center;
}
.btn-pricing-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}
.btn-pricing-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.btn-pricing-outline {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  color: #64748b;
}
.btn-pricing-outline:hover { background: rgba(0,0,0,0.05); color: var(--text); }

/* ── Social Proof ─────────────────────────────────────────── */
.stats-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 60px;
  padding: 60px 5%;
  background: linear-gradient(to right, rgba(99,102,241,0.05), rgba(6,182,212,0.05));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.stats-item { text-align: center; }
.stats-number { font-size: 2.4rem; font-weight: 900; background: linear-gradient(135deg, #818cf8, #06b6d4); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stats-label  { font-size: 0.85rem; color: #64748b; margin-top: 4px; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 5%;
  text-align: center;
}

.cta-card {
  max-width: 760px; margin: 0 auto;
  background: var(--card);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative; overflow: hidden;
}

.cta-card::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,rgba(99,102,241,0.12) 0%,transparent 70%);
}

.cta-card h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; position:relative; }
.cta-card p  { color:#64748b; font-size:1rem; margin-bottom:32px; position:relative; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  padding: 40px 5%;
  border-top: 1px solid var(--border);
  display: flex; align-items:center; justify-content:space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-brand { font-weight: 800; font-size: 1.1rem; background: linear-gradient(135deg,#818cf8,#06b6d4); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.footer-links { display:flex; gap:24px; list-style:none; }
.footer-links a { color:#64748b; text-decoration:none; font-size:0.85rem; transition:color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color:#64748b; font-size:0.8rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media(max-width:1024px) {
  .hero-content{grid-template-columns:1fr; text-align:center;}
  .hero-visual{display:none;}
  .hero p{max-width:100%;}
  .hero-actions{justify-content:center;}
  .features-grid{grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));}
}

@media(max-width:768px) {
  .nav { padding: 12px 5%; }
  .nav-brand { font-size: 1.2rem; }
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .btn-nav { padding: 8px 16px; font-size: 0.85rem; }
  
  .hero { padding: 100px 5% 60px; }
  .hero-eyebrow { padding: 5px 12px; font-size: 0.72rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .hero-badge { flex-direction: column; align-items: flex-start; gap: 4px; }
  
  .section { padding: 60px 5%; }
  .section-eyebrow { font-size: 0.72rem; }
  .section h2 { font-size: 1.6rem; }
  .section .sub { font-size: 0.9rem; margin-bottom: 40px; }
  
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 20px 18px; }
  .feature-icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.85rem; }
  
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card { padding: 24px 20px; }
  .pricing-card.popular { transform: none; }
  .pricing-amount { font-size: 2rem; }
  
  .stats-row { gap: 32px; padding: 40px 5%; flex-direction: column; }
  .stats-number { font-size: 2rem; }
  
  .cta-section { padding: 60px 5%; }
  .cta-card { padding: 40px 24px; border-radius: 16px; }
  .cta-card h2 { font-size: 1.6rem; }
  .cta-card p { font-size: 0.9rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; justify-content: center; }
  
  footer { padding: 24px 5%; flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
}

@media(max-width:480px) {
  .nav-brand { font-size: 1.1rem; }
  .btn-nav { padding: 8px 14px; font-size: 0.8rem; }
  
  .hero { padding: 80px 5% 50px; }
  .hero h1 { font-size: 1.5rem; line-height: 1.2; }
  .hero p { font-size: 0.9rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: 12px 20px; font-size: 0.95rem; }
  
  .section { padding: 50px 5%; }
  .section h2 { font-size: 1.4rem; }
  
  .feature-card { padding: 18px 16px; border-radius: 12px; }
  
  .pricing-card { padding: 20px 16px; }
  .pricing-amount { font-size: 1.8rem; }
  .btn-pricing { padding: 10px; }
  
  .stats-number { font-size: 1.8rem; }
  
  .cta-card { padding: 32px 20px; border-radius: 14px; }
  .cta-card h2 { font-size: 1.4rem; }
}

/* Touch-friendly tap targets for mobile */
@media(hover: none) and (pointer: coarse) {
  .btn-nav, .btn-hero-primary, .btn-hero-secondary, .btn-pricing {
    min-height: 44px;
    min-width: 44px;
  }
}
