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

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #202124;
  background: #fff;
  line-height: 1.6;
}

/* Nav */
nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f5ff 50%, #f8f9fa 100%);
  padding-bottom: 80px;
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 24px 0;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-preview {
  width: 380px;
  flex-shrink: 0;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.hero-sub {
  font-size: 18px;
  color: #5f6368;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Preview card */
.preview-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}

.preview-card-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #e8eaed;
}

.preview-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #202124;
}

.preview-card-stats {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background: #f8f9fa;
  font-size: 12px;
  color: #5f6368;
  border-bottom: 1px solid #e8eaed;
}

.preview-card-bar {
  height: 3px;
  background: linear-gradient(90deg, #53BDEB 0%, #53BDEB 62%, #e8eaed 62%);
}

.preview-card-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 20px;
  border-bottom: 1px solid #f1f3f4;
  gap: 10px;
}

.preview-card-row:last-child {
  border-bottom: none;
}

.pc-check {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 2px;
}

.pc-check.pending { color: #9aa0a6; }
.pc-check.opened { color: #53BDEB; }

.pc-info { flex: 1; }

.pc-subject {
  font-size: 13px;
  font-weight: 500;
  color: #202124;
}

.pc-meta {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
}

.pc-device {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 500;
  margin-left: 4px;
}

.pc-device.gmail { background: #e3f2fd; color: #1565c0; }
.pc-device.iphone { background: #f3e5f5; color: #7b1fa2; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover {
  background: #1765cc;
  transform: translateY(-1px);
}

.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: #9aa0a6;
}

/* Features */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.features h2, .how-it-works h2, .pricing h2, .faq h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #1a1a2e;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: left;
}

.feature-card {
  padding: 28px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #e8f5ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.5;
}

/* How it works */
.how-it-works {
  background: #f8f9fa;
  padding: 80px 24px;
  text-align: center;
}

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

.step-card {
  background: white;
  padding: 32px 28px;
  border-radius: 12px;
  text-align: left;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #53BDEB;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: #5f6368;
}

/* Privacy */
.privacy {
  background: #f0faf3;
  padding: 80px 24px;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.privacy-sub {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.5;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.privacy-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.privacy-point svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-point span {
  font-size: 14px;
  color: #3c4043;
  line-height: 1.5;
}

/* Pricing */
.pricing {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.pricing-sub {
  font-size: 16px;
  color: #5f6368;
  margin-top: -32px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.price-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
}

.price-card.featured {
  background: white;
  border: 2px solid #53BDEB;
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #53BDEB;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a2e;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: #5f6368;
}

.price-card ul {
  list-style: none;
  margin-bottom: 28px;
}

.price-card li {
  font-size: 14px;
  color: #3c4043;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.price-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #34a853;
  font-weight: 700;
}

.billing-toggle {
  display: inline-flex;
  background: #e8eaed;
  border-radius: 24px;
  padding: 4px;
  margin-bottom: 32px;
}

.billing-opt {
  padding: 8px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #5f6368;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.billing-opt:hover {
  color: #202124;
}

.billing-opt.active {
  background: #1a73e8;
  color: white;
  box-shadow: 0 1px 4px rgba(26,115,232,0.3);
}

.billing-opt[data-billing="annual"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.save-badge {
  background: #34a853;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  line-height: 1.4;
}

.price-detail {
  font-size: 13px;
  color: #5f6368;
  margin-top: -16px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.price-detail s {
  color: #9aa0a6;
  text-decoration: line-through;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: #f1f3f4;
  color: #3c4043;
  transition: background 0.2s;
}

.price-btn:hover {
  background: #e8eaed;
}

.featured-btn {
  background: #1a73e8;
  color: white;
}

.featured-btn:hover {
  background: #1765cc;
}

/* Success banner (post-checkout) */
.success-banner {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.success-content h2 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 12px;
}
.success-content p {
  font-size: 1.1rem;
  color: #3e4c59;
  margin-bottom: 24px;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}

.faq-list {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e8eaed;
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid #e8eaed;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #5f6368;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.7;
  margin-top: 12px;
  padding-right: 36px;
}

/* Footer */
footer {
  background: #f8f9fa;
  padding: 40px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 13px;
  color: #9aa0a6;
}

/* Responsive */
.feature-icon {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-preview {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 16px;
  }

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

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

  .features h2, .how-it-works h2, .pricing h2, .faq h2, .privacy-text h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero-preview {
    display: none;
  }
}

/* RTL */
[dir="rtl"] .feature-card,
[dir="rtl"] .step-card,
[dir="rtl"] .price-card {
  text-align: right;
}

[dir="rtl"] .price-card li {
  padding-left: 0;
  padding-right: 24px;
}

[dir="rtl"] .price-card li::before {
  left: auto;
  right: 0;
}
