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

:root {
  --bg:      #0a0a0c;
  --bg2:     #111116;
  --bg3:     #18181f;
  --bg4:     #1e1e28;
  --border:  #25252f;
  --border2: #2f2f3a;
  --text:    #e8e6f0;
  --text2:   #8a889a;
  --text3:   #5a586a;
  --accent:  #c4b5fd;
  --accent2: #a78bfa;
  --strong:  #f0b429;
  --strong2: #e07a5f;
  --green:   #4ade80;
  --red:     #f87171;
  --font:    'DM Sans', -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', 'SF Mono', monospace;
  --radius:  12px;
  --radius-sm: 8px;
  --max-w:   1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(196, 181, 253, 0.08); }

.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 20px 40px; font-size: 18px; }
.btn-full { width: 100%; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37, 37, 47, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { font-size: 15px; color: var(--text2); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* ── Sections ── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  text-align: center;
  color: var(--text2);
  font-size: 18px;
  margin-bottom: 48px;
}

/* ── Hero ── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--strong);
  bottom: -50px;
  right: -100px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--strong), var(--strong2));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 19px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}

/* ── Hero Mockup ── */
.hero-mockup {
  max-width: 480px;
  margin: 0 auto;
  perspective: 1000px;
}

.mockup-window {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(196, 181, 253, 0.06);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}
.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border2);
}

.mockup-title {
  color: var(--accent);
  font-weight: 500;
}

.mockup-stats {
  margin-left: auto;
  color: var(--text3);
  font-size: 10px;
}

.mockup-tabs {
  display: flex;
  gap: 0;
  padding: 0 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
}
.mockup-tabs span {
  padding: 8px 12px;
  color: var(--text3);
  cursor: default;
}
.mockup-tabs span.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.mockup-entries { padding: 8px; }

.mockup-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
  transition: background 0.15s;
}
.mockup-entry:hover { background: rgba(255, 255, 255, 0.02); }

.mockup-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  opacity: 0.06;
  border-radius: var(--radius-sm);
}

.mockup-entry-text {
  flex: 1;
  min-width: 0;
  position: relative;
}

.mockup-entry-title {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-entry-meta {
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text3);
  margin-top: 2px;
}

.mockup-entry-score {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text2);
  position: relative;
  flex-shrink: 0;
}

/* ── Problem / Solution ── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.compare-card ul { list-style: none; }
.compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 14px;
  line-height: 1.55;
}

.compare-card.problem {
  background: rgba(248, 113, 113, 0.03);
  border-color: rgba(248, 113, 113, 0.15);
}
.compare-card.problem h3 { color: var(--red); }

.compare-card.solution {
  background: rgba(74, 222, 128, 0.03);
  border-color: rgba(74, 222, 128, 0.15);
}
.compare-card.solution h3 { color: var(--green); }

.x {
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.check {
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.check.accent { color: var(--accent); }

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  padding: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

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

.step-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  padding: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg3);
  justify-content: center;
  color: var(--text2);
  margin-bottom: 16px;
  position: relative;
}
.feature-icon.pro { color: var(--strong); background: rgba(240, 180, 41, 0.08); }

.feature-pro-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--strong), var(--strong2));
  color: var(--bg);
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

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

.feature-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text2);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--bg4);
  color: var(--text);
}
.toggle-btn:hover:not(.active) { color: var(--text); }

.save-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

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

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(196, 181, 253, 0.08);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

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

.pricing-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
}

.pricing-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--text2);
}

.pricing-period {
  font-size: 13px;
  color: var(--text3);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 14px;
}
.pricing-features em {
  font-size: 11px;
  color: var(--text3);
  font-style: normal;
}

/* ── Privacy ── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.privacy-card {
  padding: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.privacy-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  margin-bottom: 16px;
}

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

.privacy-card p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-list { margin-top: 48px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border2); }

.faq-item summary {
  padding: 20px 24px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background: var(--bg2);
  transition: background 0.15s;
}
.faq-item summary:hover { background: var(--bg3); }

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

.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text3);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  background: var(--bg2);
}

/* ── Footer CTA ── */
.cta-section {
  background: linear-gradient(180deg, transparent 0%, rgba(196, 181, 253, 0.03) 100%);
}

/* ── Footer ── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text3);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text3);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text2); }

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

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-sub br { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-mockup { max-width: 100%; }

  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }

  .compare-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .privacy-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 30px; }
  .compare-card { padding: 24px; }
  .step-card { padding: 24px; }
  .feature-card { padding: 20px; }
  .pricing-card { padding: 28px; }
}
