/* Landing Page Styles */

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .3s ease;
  padding: .75rem 0;
}
.nav.scrolled {
  background: rgba(10, 15, 30, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand { display: flex; align-items: center; gap: .75rem; }
.brand-name { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: .75rem; }
.nav-actions .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.nav-actions .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; }
.nav-mobile { display: none; flex-direction: column; gap: 1rem; padding: 1rem 2rem; background: rgba(10,15,30,.97); }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: rgba(255,255,255,.8); font-size: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1929 0%, #1a2d3f 50%, #0f2518 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #45936c, transparent);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f3c363, transparent);
  bottom: -100px; left: 100px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(69,147,108,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(69,147,108,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(69,147,108,.15);
  border: 1px solid rgba(69,147,108,.3);
  border-radius: 99px;
  color: #5ab580;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #45936c;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, #45936c, #f3c363);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-cta .btn-outline { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat-item { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: #45936c; letter-spacing: -.02em; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); }

/* ── Dashboard Preview ── */
.hero-visual { position: relative; }
.dashboard-preview {
  background: rgba(30, 41, 59, .9);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.preview-dots { display: flex; gap: .4rem; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #22c55e; }
.preview-title { font-size: .8rem; color: rgba(255,255,255,.4); }
.preview-body { padding: 1.25rem; }
.preview-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.kpi-card {
  padding: .85rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.kpi-green { background: rgba(69,147,108,.15); border: 1px solid rgba(69,147,108,.2); }
.kpi-yellow { background: rgba(243,195,99,.1); border: 1px solid rgba(243,195,99,.2); }
.kpi-blue { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); }
.kpi-label { font-size: .7rem; color: rgba(255,255,255,.5); }
.kpi-value { font-size: 1.35rem; font-weight: 700; color: #fff; }
.kpi-trend { font-size: .65rem; color: #45936c; }
.preview-funnel { display: flex; flex-direction: column; gap: .5rem; }
.funnel-title { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .05em; }
.funnel-stage { display: flex; align-items: center; gap: .75rem; }
.funnel-label { font-size: .7rem; color: rgba(255,255,255,.5); width: 90px; flex-shrink: 0; }
.funnel-bar {
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: .5rem;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: width .5s ease;
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.15rem;
  background: rgba(30,41,59,.95);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
  animation: float 4s ease-in-out infinite;
}
.fc-1 { bottom: 40px; left: -40px; animation-delay: 0s; }
.fc-2 { top: 40px; right: -40px; animation-delay: 2s; }
.fc-icon { font-size: 1.5rem; }
.fc-title { font-size: .8rem; font-weight: 600; color: #fff; }
.fc-sub { font-size: .7rem; color: rgba(255,255,255,.5); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Features ── */
.features {
  padding: 6rem 0;
  background: var(--bg);
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--primary-ultra-light);
  color: var(--primary);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.section-header h2 { font-size: 2.25rem; margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; line-height: 1.6; }

/* ── Modules ── */
.modules {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0d1929 0%, #1a2d3f 100%);
}
.modules .section-header h2 { color: #fff; }
.modules .section-header p { color: rgba(255,255,255,.6); }
.modules .section-badge { background: rgba(69,147,108,.2); }
.modules-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.module-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.module-item:hover, .module-item.active {
  background: rgba(69,147,108,.15);
  border-color: rgba(69,147,108,.4);
}
.module-icon { font-size: 1.75rem; }
.module-name { font-size: .95rem; font-weight: 600; color: #fff; }
.module-desc { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── CTA ── */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #45936c 0%, #357a58 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  top: -200px; right: -100px;
}
.cta-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.cta-section h2 { font-size: 2.5rem; color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Pricing ── */
.pricing {
  padding: 6rem 0;
  background: var(--bg);
}
.pricing .section-header h2 { color: var(--text); }
.pricing .section-header p { color: var(--text-muted); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 29, 72, 0.3);
}
.pricing-card.popular {
  border: 2px solid #e11d48;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.1);
}
.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-user {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.pricing-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.pricing-btn-outline {
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.4);
  background: transparent;
}
.pricing-btn-outline:hover {
  background: rgba(225, 29, 72, 0.05);
  border-color: #e11d48;
}
.pricing-btn-solid {
  background: #e11d48;
  color: #fff;
  border: 1px solid #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}
.pricing-btn-solid:hover {
  background: #be123c;
  border-color: #be123c;
}
.pricing-features-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: #3b82f6;
  font-weight: 700;
}

/* ── Footer ── */
.footer {
  background: #0d1929;
  padding: 3.5rem 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { flex: 1; }
.footer-tagline { color: rgba(255,255,255,.4); font-size: .875rem; margin-top: .5rem; }
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: .75rem; }
.footer-col h4 { color: rgba(255,255,255,.7); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.footer-col a { color: rgba(255,255,255,.45); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  text-align: center;
  padding: 1.25rem 2rem;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-list { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .footer-container { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
}
