:root {
  --primary: #0749cf;
  --primary-rgb: 7, 73, 207;
  --secondary: #00bfc4;
  --accent: #f72585;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  height: 70px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: 40px;
  flex: 1;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
}

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

.btn-nav {
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-nav:hover {
  background: #063db0;
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  color: white;
  box-shadow: 0 10px 30px rgba(7, 73, 207, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(7, 73, 207, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--bg-light);
}

/* Hero */
.hero {
  padding: 140px 24px 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
  margin-top: 70px;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e0f2fe, #d4f4f4);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark);
}

.highlight {
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.proof-text {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
}

.visual-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.main-card {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.card-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.card-content {
  padding: 30px;
}

.chart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 100px;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, #0749cf, #00bfc4);
  border-radius: 6px 6px 0 0;
  animation: growBar 1s ease-out forwards;
}

.b1 { height: 40%; animation-delay: 0.1s; }
.b2 { height: 70%; animation-delay: 0.2s; }
.b3 { height: 85%; animation-delay: 0.3s; }
.b4 { height: 100%; animation-delay: 0.4s; }

@keyframes growBar {
  from { height: 0; }
}

.floating-1 {
  position: absolute;
  bottom: 60px;
  left: -40px;
  padding: 20px;
  width: 140px;
  animation: float 3s ease-in-out infinite;
}

.floating-2 {
  position: absolute;
  bottom: 180px;
  right: -40px;
  padding: 20px;
  width: 140px;
  animation: float 3s ease-in-out infinite 0.5s;
}

.stat-badge {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

/* Stats */
.stats {
  padding: 60px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-light);
}

/* Section Title */
.section-title {
  font-size: 44px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark);
}

/* Features */
.features {
  padding: 100px 24px;
  background: white;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
}

.feature-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

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

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  height: 350px;
  background: linear-gradient(135deg, #e0f2fe, #f0f4f8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--primary);
}

.feature-text h3 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--dark);
}

.feature-text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 15px;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 900;
  font-size: 18px;
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-lighter);
}

.steps-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(7, 73, 207, 0.1);
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-icon {
  font-size: 32px;
}

/* Testimonials */
.testimonials {
  padding: 100px 24px;
  background: white;
}

.testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.testimonial:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.author {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}

.role {
  font-size: 12px;
  color: var(--text-light);
}

.rating {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Pricing */
.pricing {
  padding: 100px 24px;
  background: var(--bg-lighter);
}

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.price-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: var(--primary);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(7, 73, 207, 0.15);
  transform: scale(1.05);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0749cf, #00bfc4);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}

.price {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
}

.price span {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 24px;
}

.price-card ul {
  list-style: none;
}

.price-card li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.price-card li::before {
  content: '✓ ';
  color: #10b981;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  max-width: 1280px;
  margin: 0 auto;
}

/* CTA */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, #0749cf, #063db0);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.cta-buttons .btn-secondary {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.footer-grid h4,
.footer-grid h5 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-grid p {
  font-size: 13px;
  line-height: 1.6;
}

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

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

.footer-grid a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-social-proof {
    flex-direction: column;
    gap: 20px;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-image {
    display: none;
  }

  .price-card.featured {
    transform: scale(1);
  }

  .nav-menu {
    display: none;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}
