/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #1e293b;
  --accent: #8b5cf6;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
}

/* Hero Section */
.hero {
  padding: 160px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  margin-bottom: 48px;
}

.hero-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

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

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Dashboard Preview */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-preview {
  width: 100%;
  max-width: 500px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.preview-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
}

.preview-dots {
  display: flex;
  gap: 8px;
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }

.preview-content {
  display: flex;
  padding: 16px;
  gap: 16px;
  min-height: 300px;
}

.preview-sidebar {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.sidebar-item.active {
  background: var(--primary);
}

.preview-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.preview-card.small {
  height: 50px;
}

/* Platforms Section */
.platforms {
  padding: 60px 24px;
  background: var(--bg-light);
}

.platforms-label {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.platform-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.platform-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  opacity: 0.7;
  transition: all 0.2s;
}

.platform-logo:hover {
  opacity: 1;
  color: var(--primary);
}

.platform-logo svg {
  width: 32px;
  height: 32px;
}

.platform-logo span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-top: 16px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

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

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--border);
}

/* Pricing Section */
.pricing {
  padding: 100px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.pricing-description {
  color: var(--text-light);
  font-size: 0.875rem;
}

.pricing-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 4px;
}

.period {
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

/* Demo Section */
.demo {
  padding: 100px 24px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.demo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.demo-image {
  margin-bottom: 20px;
}

.demo-placeholder {
  width: 100%;
  height: 120px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.demo-card h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text);
}

.demo-card p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 24px;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-info strong {
  color: var(--text);
  font-size: 0.9375rem;
}

.testimonial-info span {
  color: var(--text-light);
  font-size: 0.8125rem;
}

/* FAQ Section */
.faq {
  padding: 100px 24px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: 100px 24px;
  background: var(--bg-dark);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 60px 24px 30px;
  background: var(--bg-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-light);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-column a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .dashboard-preview {
    max-width: 400px;
  }

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

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .steps {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
  }

  .platform-logos {
    gap: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
