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

:root {
  --primary: #25D366;
  --primary-dark: #128C7E;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #667781;
  --bg: #ffffff;
  --bg-light: #f0f2f5;
  --bg-section: #f8faf9;
  --border: #e9edef;
  --gold: #FFD700;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 16px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

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

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

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

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.btn-nav:hover {
  background: var(--primary-dark);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

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

.btn-outline:hover {
  background: rgba(37, 211, 102, 0.05);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

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

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

/* Hero */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #f0faf4 0%, #fff 100%);
}

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

.badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

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

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Browser Mockup */
.browser-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid var(--border);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.browser-url {
  flex: 1;
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.browser-body {
  padding: 0;
}

.mock-chat {
  display: flex;
  min-height: 280px;
}

.mock-sidebar {
  width: 35%;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
}

.mock-chat-item {
  height: 48px;
  background: var(--bg-light);
  border-radius: 8px;
  margin-bottom: 6px;
}

.mock-chat-item.active {
  background: rgba(37, 211, 102, 0.15);
  border-left: 3px solid var(--primary);
}

.mock-main {
  flex: 1;
  padding: 12px;
  background: #ece5dd;
  position: relative;
}

.mock-header {
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

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

.mock-members-count {
  font-size: 11px;
  color: var(--text-light);
}

.mock-export-popup {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  max-width: 200px;
  margin: 0 auto;
}

.mock-popup-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mock-popup-info {
  font-size: 11px;
  color: var(--text);
  margin-bottom: 4px;
}

.mock-popup-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

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

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

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.1);
  border-radius: 14px;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

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

/* How It Works */
.how-it-works {
  padding: 80px 0;
}

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

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

.step-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 16px;
  margin: 0 auto 16px;
}

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

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

.step-arrow {
  color: var(--border);
  flex-shrink: 0;
}

/* Pricing */
.pricing {
  padding: 80px 0;
  background: var(--bg-section);
}

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

.pricing-card {
  background: #fff;
  padding: 36px;
  border-radius: 20px;
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.3s;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.15);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
}

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

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

/* FAQ */
.faq {
  padding: 80px 0;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s;
}

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

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

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

.faq-answer p {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  padding: 48px 0 24px;
  background: var(--dark);
  color: #fff;
}

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

.footer-brand h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  color: #8696a0;
  line-height: 1.6;
}

.footer-disclaimer {
  margin-top: 12px !important;
  font-size: 11px !important;
  color: #667781 !important;
  font-style: italic;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: #8696a0;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #667781;
}

/* Ad Container */
.ad-container {
  padding: 20px 0;
  text-align: center;
}

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

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

  .hero {
    padding: 100px 0 40px;
  }

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

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-image {
    order: -1;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

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

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

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

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

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

  .section-header h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }

  .hero-stats {
    gap: 16px;
  }

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