/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0e0e11;
  --bg-card: #1c1c20;
  --border: #2a2a2e;
  --text: #CFC7C0;
  --text-muted: #7a7a7a;
  --text-bright: #f5f5f5;
  --blue: #217bf3;
  --blue-hover: #1a63c2;
  --blue-glow: rgba(33, 123, 243, 0.12);
  --blue-light: rgba(33, 123, 243, 0.12);
  --blue-glow-strong: rgba(33, 123, 243, 0.25);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Section Header Pattern ===== */
.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(33, 123, 243, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.announcement-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.announcement-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar a:hover {
  opacity: 0.85;
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.nav-brand {
  flex-shrink: 0;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-actions {
  margin-left: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.nav-logo {
  width: 300px;
  height: auto;
  max-width: 100%;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-bright);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-signin {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none !important;
}

.nav-signin:hover {
  border-color: var(--blue);
  color: var(--text-bright) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: #fff !important;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none !important;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 16px var(--blue-glow-strong);
  transform: translateY(-1px);
  text-decoration: none !important;
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  margin-left: auto;
}

/* hidden on desktop; shown inside the mobile dropdown */
.nav-mobile-cta {
  display: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

/* ===== Hero ===== */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(33, 123, 243, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(33, 123, 243, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.3px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-accent {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 24px var(--blue-glow-strong);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  border-color: rgba(33, 123, 243, 0.4);
  color: var(--text-bright);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ===== Hero Browser Mockup ===== */
.hero-visual {
  margin-top: 4rem;
  position: relative;
}

.hero-screen {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border), 0 0 60px rgba(33, 123, 243, 0.06);
  max-width: 800px;
  margin: 0 auto;
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.screen-url {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.screen-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.75rem;
  min-height: 280px;
}

.screen-sidebar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.screen-sidebar-item {
  height: 10px;
  background: var(--border);
  border-radius: 3px;
}

.screen-sidebar-item.active {
  background: rgba(33, 123, 243, 0.3);
  width: 70%;
}

.screen-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.screen-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.screen-block-title {
  height: 12px;
  background: rgba(33, 123, 243, 0.3);
  border-radius: 3px;
  width: 40%;
  margin-bottom: 0.6rem;
}

.screen-block-line {
  height: 8px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 0.4rem;
}

.screen-block-line:last-child {
  width: 60%;
  margin-bottom: 0;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.screen-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem;
  height: 70px;
}

.screen-card-top {
  height: 8px;
  background: rgba(33, 123, 243, 0.2);
  border-radius: 2px;
  margin-bottom: 0.4rem;
  width: 50%;
}

.screen-card-line {
  height: 6px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 0.3rem;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 1rem;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.step-row:nth-child(even) .step-img-wrap {
  order: 2;
}

.step-row:nth-child(even) .step-content {
  order: 1;
}

.step-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-img-wrap img:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.step-icon-sm {
  width: 20px;
  height: 20px;
  color: var(--text-bright);
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-left: 0.35rem;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Features ===== */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(33, 123, 243, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(33, 123, 243, 0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-checks {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 26rem;
}

.features-checks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  width: 100%;
}

.features-checks svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ===== Video / Demo ===== */
.demo-section {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-video-wrapper {
  margin-top: 2.5rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 40px rgba(33, 123, 243, 0.08);
}

.demo-video-wrapper iframe,
.demo-video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

.demo-cta {
  text-align: center;
  margin-top: 2rem;
}

.demo-placeholder {
  background: var(--bg);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.demo-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.demo-play-btn:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 24px var(--blue-glow-strong);
  transform: scale(1.05);
}

.demo-play-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 3px;
}

.demo-placeholder p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing {
  padding: 5rem 0;
}

.pricing-credit-explainer {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-credit-explainer svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 0 40px rgba(33, 123, 243, 0.12);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--blue), 0 16px 48px rgba(33, 123, 243, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-credits {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-credits span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.pricing-per {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  margin-top: auto;
}

.btn-pricing:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 16px var(--blue-glow-strong);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.btn-pricing-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-pricing-outline:hover {
  border-color: var(--blue);
  color: var(--text-bright);
  background: var(--blue-light);
  box-shadow: none;
}

.pricing-includes {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-note {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-note strong {
  color: var(--text-bright);
}

/* ===== FAQ ===== */
.faq {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(33, 123, 243, 0.25);
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(33, 123, 243, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.final-cta p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-cta-large:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 28px var(--blue-glow-strong);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.final-cta-signin {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.final-cta-signin a {
  color: var(--blue);
  font-weight: 500;
  transition: opacity var(--transition);
}

.final-cta-signin a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ===== Blog / Posts ===== */
.recent-posts,
.blog-listing {
  padding: 5rem 0;
}

.recent-posts {
  border-top: 1px solid var(--border);
}

.blog-listing h1 {
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.post-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px var(--blue-glow);
  text-decoration: none;
}

.post-card time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.post-card h3 {
  color: var(--text-bright);
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.posts-more {
  text-align: center;
}

.posts-more a {
  font-weight: 500;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pagination-link {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
}

.pagination-link.disabled {
  color: var(--text-muted);
  pointer-events: none;
}

.pagination-info {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Blog Post ===== */
.blog-post {
  padding: 4rem 0;
}

.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.post-header {
  margin-bottom: 2.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.post-meta time {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.post-category {
  background: var(--blue-glow);
  color: var(--blue);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.post-header h1 {
  font-size: 2.25rem;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.post-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.post-content h2 {
  font-size: 1.4rem;
  color: var(--text-bright);
  margin: 2rem 0 0.75rem;
}

.post-content h3 {
  font-size: 1.15rem;
  color: var(--text-bright);
  margin: 1.5rem 0 0.5rem;
}

.post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.02rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
  list-style: disc;
}

.post-content ol li {
  list-style: decimal;
}

.post-content strong {
  color: var(--text-bright);
}

.post-content code {
  background: var(--bg-card);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.post-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}

.post-content blockquote p {
  margin: 0;
  color: var(--text);
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link {
  font-weight: 500;
}

/* ===== Author Card (Inline) ===== */
.author-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.author-avatar img,
.author-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.author-avatar-placeholder svg {
  width: 20px;
  height: 20px;
}

.author-avatar-placeholder.lg {
  width: 56px;
  height: 56px;
}

.author-avatar-placeholder.lg svg {
  width: 28px;
  height: 28px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-reading-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Author Card (Full, Bottom) ===== */
.author-card-full {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 3rem;
}

.author-avatar-lg img {
  min-width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-card-full-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.author-card-full-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.author-card-full-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
}

.author-card-full-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* ===== Tutorial Images ===== */
.post-logo {
  display: block;
  max-width: 300px;
  margin: 0 auto 2rem;
}

.tutorial-screenshot {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 1rem 0 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Tool Scores (Listicle) ===== */
.tool-scores {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.tool-scores td {
  padding: 0.5rem 1.25rem;
  text-align: center;
  white-space: nowrap;
}

.tool-scores p {
  margin: 0;
}

.tool-scores .score-green {
  color: #22c55e;
  font-weight: 700;
}

.tool-scores .score-orange {
  color: #f59e0b;
  font-weight: 700;
}

/* ===== User Review Cards ===== */
.user-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 1.75rem;
  position: relative;
}

.user-review-card::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  opacity: 0.5;
}

.user-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.user-review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 1px;
}

.user-review-source {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.user-review-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand a {
  text-decoration: none;
}

.footer-logo {
  height: auto;
  width: 100%;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 180px;
  margin-top: 0.75rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.55rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-bright);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--text-bright);
  text-decoration: none;
}

/* ===== Old class aliases (keep for blog listing pages) ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav-inner {
    gap: 0;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-mobile-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    transform: none;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    z-index: 99;
  }

  .nav-links.open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links.open a:last-child {
    border-bottom: none;
  }

  .nav-links.open .nav-mobile-cta {
    display: contents;
  }

  .nav-links.open .nav-mobile-cta a {
    all: unset;
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    box-sizing: border-box;
  }

  .nav-links.open .nav-mobile-cta a:last-child {
    border-bottom: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-logo { width: 160px; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 5rem 0 4rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; }

  .step-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-row:nth-child(even) .step-img-wrap { order: 0; }
  .step-row:nth-child(even) .step-content { order: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .tool-scores tr { display: flex; flex-direction: column; }
  .tool-scores td { padding: 0.35rem 1rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .final-cta h2 { font-size: 2rem; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; }

  .posts-grid { grid-template-columns: 1fr; }

  .post-header h1 { font-size: 1.75rem; }
  .post-container { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero { padding: 4rem 0 3rem; }
  .how-it-works, .features, .demo-section, .pricing, .faq, .final-cta, .recent-posts, .blog-listing { padding: 3.5rem 0; }
  .steps-list { gap: 2.5rem; }
  .container, .section-inner { padding: 0 1rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .pricing-cards { max-width: 100%; }
}

/* ===== Author Page ===== */
.author-page {
  padding: 5rem 0;
}

.author-page-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.author-page-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.author-page-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.author-page-intro h1 {
  font-size: 1.75rem;
  color: var(--text-bright);
  margin: 0;
}

.author-page-role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.author-page-role a {
  color: var(--accent);
  text-decoration: none;
}

.author-page-bio {
  margin-bottom: 3rem;
}

.author-page-bio p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.author-page-articles h2 {
  font-size: 1.25rem;
  color: var(--text-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.author-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.author-page-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.author-page-list li a {
  color: var(--text-bright);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.author-page-list li a:hover {
  color: var(--accent);
}

.author-page-list time {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 1rem;
}

/* ===== Kaiwa Comments ===== */
.post-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

#kaiwa-box {
  background: transparent;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  border: none;
}

#kaiwa-box .kaiwa-inner {
  background: transparent;
  font-family: inherit;
  color: var(--text);
  border: none;
}

#kaiwa-box .kaiwa-subtitle,
#kaiwa-box .kaiwa-subtitle h3 {
  background: transparent;
  color: var(--text-bright);
  font-family: inherit;
  border: none;
}

#kaiwa-box h3 {
  font-size: 1.15rem;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

#kaiwa-box .comments-box {
  margin-bottom: 1.5rem;
}

#kaiwa-box .comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#kaiwa-box .comment-form input,
#kaiwa-box .comment-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-bright);
  font-family: inherit;
  transition: border-color 0.2s;
}

#kaiwa-box .comment-form input:focus,
#kaiwa-box .comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#kaiwa-box .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

#kaiwa-box .comment-form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#kaiwa-box .comment-form-submit:hover {
  background: var(--accent-hover);
}

#kaiwa-box .comment-form-validation-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

#kaiwa-box .comment-form-validation-label input {
  width: 80px;
  display: inline-block;
}

#kaiwa-box .pagination {
  margin-top: 1rem;
}

#kaiwa-box .pagination ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

#kaiwa-box .pagination-link {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
}

#kaiwa-box .pagination-link.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

#kaiwa-box .pagination-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}
