/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --accent: #15C39A;
  --accent-light: #E6FAF4;
  --accent-dark: #0A9B76;
  --border: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; padding: 14px 24px; }

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(21, 195, 154, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 195, 154, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #d1d5db;
  transform: translateY(-2px);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover { color: var(--text-primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 auto 16px;
  line-height: 1.6;
}

.hero-pricing-info {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Demo Window */
.demo-window {
  margin-top: 60px;
  width: 100%;
  max-width: 640px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

.demo-title { font-size: 13px; color: var(--text-muted); font-weight: 500;}

.demo-content { padding: 24px; position: relative;}

.demo-to, .demo-subject {
  font-size: 14px; color: var(--text-muted); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--bg-secondary);
}

.demo-body {
  min-height: 80px;
  font-size: 15px; color: var(--text-primary);
  margin-top: 20px;
  position: relative;
}

.demo-tooltip {
  position: absolute;
  top: 100px; left: 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  width: 260px;
}

.tooltip-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary); margin-bottom: 12px;
}
.tooltip-brand {
  background: var(--text-primary); color: white;
  width: 20px; height: 20px; border-radius: 4px;
  display: inline-flex; justify-content: center; align-items: center;
  font-family: 'Playfair Display', serif; font-weight: bold; font-size: 12px;
}

.demo-presets {
  display: flex; flex-direction: column; gap: 6px;
}

.demo-presets .preset-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--bg-secondary);
  border-radius: var(--radius-sm); font-size: 13px; color: var(--text-primary);
}
.demo-presets .preset-btn.active {
  background: var(--accent-light); color: var(--accent-dark); border: 1px solid var(--accent);
}

/* Features */
.features { padding: 100px 0; background: white; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
}

.feature-card {
  padding: 32px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: white; transform: translateY(-4px); box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: white; border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 20px; box-shadow: var(--shadow-sm);
}

.feature-card h3 { font-size: 18px; margin-bottom: 12px; font-family: 'Inter', sans-serif;}
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* How It Works */
.how-it-works { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.method { text-align: center; }
.method-icon-large {
  width: 72px; height: 72px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.method h3 { font-size: 18px; margin-bottom: 12px; font-family: 'Inter', sans-serif;}
.method p { font-size: 15px; color: var(--text-secondary); max-width: 280px; margin: 0 auto; }

/* Pricing */
.pricing { padding: 100px 0; background: white; }
.pricing-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px; max-width: 800px; margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px; border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--bg-secondary); display: flex; flex-direction: column;
}

.highlight-card {
  background: white; border: 2px solid var(--accent); box-shadow: var(--shadow-lg);
  position: relative;
}

.badge-best {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 600; text-transform: uppercase;
}

.pricing-header { margin-bottom: 32px; text-align: center; }
.pricing-header h3 { font-size: 24px; margin-bottom: 12px; }
.pricing-amount { margin-bottom: 12px; }
.price { font-size: 48px; font-weight: 700; color: var(--text-primary); }
.period { font-size: 16px; color: var(--text-muted); font-weight: normal; }
.pricing-header p { font-size: 14px; color: var(--text-secondary); }

.pricing-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.pricing-features li {
  padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.pricing-features li:last-child { border-bottom: none; }

/* FAQ */
.faq { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 24px; font-size: 16px; font-weight: 600; cursor: pointer;
  list-style: none; user-select: none;
}
.faq-item p { padding: 0 24px 24px; font-size: 15px; color: var(--text-secondary); }

/* CTA */
.cta { padding: 100px 0; background: white; text-align: center; }
.cta h2 { font-size: 40px; margin-bottom: 16px; }
.cta p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; }
.cta-note { margin-top: 20px; font-size: 14px; }
.cta-link { color: var(--text-muted); text-decoration: underline; }
.cta-link:hover { color: var(--text-primary); }

/* Footer */
.footer {
  background: var(--bg-primary); padding: 40px 0; border-top: 1px solid var(--border);
}
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  text-align: center; font-size: 14px; color: var(--text-muted);
  padding-top: 24px; border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .footer-content { flex-direction: column; gap: 32px; text-align: center; align-items: center; }
}
