/* ============================================
   InboxWise Landing Page Styles
   ============================================ */

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

/* Base */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D3748;
  line-height: 1.6;
  background: #FFFFFF;
}

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

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

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

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: #1A365D;
  text-decoration: none;
}

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

.nav-links a {
  font-size: 14px;
  color: #4A5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1A365D;
}

.btn-nav-cta {
  background: #3182CE;
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.btn-nav-cta:hover {
  background: #2B6CB0;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #3182CE;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #2B6CB0;
}

.btn-secondary {
  display: inline-block;
  background: #FFFFFF;
  color: #3182CE;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid #3182CE;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #EBF8FF;
}

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

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

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

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #1A365D;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #3182CE, #667EEA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #718096;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-note {
  font-size: 13px;
  color: #A0AEC0;
}

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

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

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #1A365D;
}

.stat-label {
  font-size: 12px;
  color: #A0AEC0;
}

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

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F7FAFC;
  border-bottom: 1px solid #E2E8F0;
}

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

.dot.red { background: #FC8181; }
.dot.yellow { background: #F6E05E; }
.dot.green { background: #68D391; }

.browser-url {
  margin-left: 12px;
  font-size: 11px;
  color: #A0AEC0;
  background: #EDF2F7;
  padding: 3px 10px;
  border-radius: 4px;
}

.browser-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-email {
  background: #F7FAFC;
  border-radius: 8px;
  padding: 12px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mock-from {
  font-weight: 600;
  font-size: 12px;
  color: #2D3748;
}

.mock-subject {
  font-size: 12px;
  color: #718096;
}

.mock-body {
  font-size: 12px;
  color: #4A5568;
}

.mock-popup {
  border: 2px solid #3182CE;
  border-radius: 8px;
  overflow: hidden;
}

.mock-popup-header {
  background: #1A365D;
  color: #FFFFFF;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.mock-popup-body {
  padding: 10px 12px;
}

.mock-tone-btns {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-tone {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #EDF2F7;
  color: #4A5568;
}

.mock-tone.active {
  background: #3182CE;
  color: #FFFFFF;
}

.mock-reply {
  font-size: 11px;
  color: #4A5568;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mock-fill-btn {
  background: #38A169;
  color: #FFFFFF;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1A365D;
  margin-bottom: 48px;
}

/* Features */
.features {
  padding: 80px 0;
}

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

.feature-card {
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #718096;
}

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

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

.step {
  text-align: center;
  flex: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #3182CE;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: #718096;
}

.step-arrow {
  font-size: 24px;
  color: #A0AEC0;
  font-weight: 700;
}

/* Pricing */
.pricing {
  padding: 80px 0;
}

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

.pricing-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #3182CE;
  box-shadow: 0 10px 40px rgba(49, 130, 206, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #3182CE;
  color: #FFFFFF;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 8px;
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: #3182CE;
}

.price-period {
  font-size: 13px;
  color: #A0AEC0;
  margin-bottom: 20px;
}

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

.pricing-features li {
  font-size: 14px;
  padding: 6px 0;
  color: #4A5568;
}

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

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: #718096;
}

/* CTA */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #1A365D, #2B6CB0);
  color: #FFFFFF;
}

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

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

.cta .btn-primary {
  background: #FFFFFF;
  color: #1A365D;
}

.cta .btn-primary:hover {
  background: #F7FAFC;
}

/* Footer */
.footer {
  padding: 32px 0;
  background: #1A365D;
  color: #FFFFFF;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
}

.footer-text {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 12px;
}

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

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

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

  .steps {
    flex-direction: column;
  }

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

  .nav-links {
    display: none;
  }
}
