:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --dark: #0f172a;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.88em;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-logo {
  border-radius: 9px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted-light);
  font-weight: 500;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px 20px 18px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.mobile-menu a {
  color: var(--text);
  font-weight: 600;
  padding: 6px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
  text-align: center;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.btn-white {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-white:hover {
  background: #eff6ff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
  position: relative;
  padding: 58px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
}

.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.text-gradient {
  color: var(--primary);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-light);
  margin-bottom: 28px;
}

.hero-meta a {
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.stat-item span {
  font-size: 12.5px;
  color: var(--muted-light);
}

/* Mockup Showcase */
.app-window {
  background: var(--surface);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.app-titlebar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.window-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.license-pill {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}

.mockup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.mockup-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.mockup-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.mockup-body {
  padding: 14px;
  min-height: 250px;
  background: #f1f5f9;
}

.mockup-panel {
  display: none;
}

.mockup-panel.active {
  display: grid;
  gap: 12px;
}

#panel-inbox.active {
  grid-template-columns: 165px 1fr;
}

.mock-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
}

.mock-sidebar-head {
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.mock-acc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  border-radius: 7px;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text);
}

.mock-acc.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.status-on {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.badge-count {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  padding: 1px 6px;
}

.mock-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 11px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mock-chat-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
}

.mock-chat-bubble p {
  margin: 4px 0 0;
}

.mock-chat-bubble.auto {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.auto-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-dark);
}

.photo-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.thumb-pill {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}

.mock-autopost-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
}

.mock-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-blue {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}

.cal-day {
  text-align: center;
  padding: 7px 0;
  border-radius: 7px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
  background: #fff;
}

.cal-day.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mock-settings-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.mock-settings-row > div {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}

.mock-settings-row span {
  display: block;
  font-size: 11px;
  color: var(--muted-light);
}

.mock-note {
  background: var(--green-soft);
  color: #166534;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

.mock-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.mock-checklist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, border-color 0.16s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

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

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 35%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
}

.best-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-plan {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-duration {
  font-size: 12.5px;
  color: var(--muted-light);
  font-weight: 600;
  margin-bottom: 18px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.voucher-banner {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.voucher-banner strong {
  display: block;
  font-size: 15px;
}

.voucher-banner span {
  font-size: 13.5px;
  color: var(--muted);
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-chevron {
  font-size: 18px;
  color: var(--muted-light);
  transition: transform 0.15s;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer p {
  margin: 0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.cta-box p {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  display: block;
  font-size: 14px;
}

.footer-brand span {
  font-size: 12.5px;
  color: var(--muted-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-stats,
  .steps-grid,
  .features-grid,
  .pricing-grid,
  #panel-inbox.active {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 28px 22px;
  }
}
