:root {
  /* Brand colors */
  --brand-orange: #ff8b0f;
  --brand-orange-strong: #ff4800;
  --brand-orange-light: rgba(255, 139, 15, 0.1);
  --brand-orange-hover: rgba(255, 139, 15, 0.15);

  /* Dark theme (default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #0e0e0e;
  --bg-alt: rgba(255, 255, 255, 0.02);
  --text-primary: #f5f5f7;
  --text-secondary: #a0a0a8;
  --text-muted: #6b6b6b;
  --border-primary: #242424;
  --border-secondary: rgba(255, 255, 255, 0.06);
  --shadow: rgba(0, 0, 0, 0.5);
}

/* Light theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f4;
  --bg-alt: rgba(0, 0, 0, 0.02);
  --text-primary: #1a1a1a;
  --text-secondary: #5f6368;
  --text-muted: #9aa0a6;
  --border-primary: #e8eaed;
  --border-secondary: rgba(0, 0, 0, 0.06);
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Legacy variable support */
:root {
  --accent-dark: var(--bg-primary);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --card: var(--bg-secondary);
  --card-alt: var(--bg-tertiary);
  --border: var(--border-primary);
}

* {
  box-sizing: border-box;
}

/* Performance optimizations */
img, iframe {
  max-width: 100%;
  height: auto;
}

/* Optimize repaints - only on interaction */
.btn:hover, .card:hover, .hero-highlight-item:hover, .benefit-card:hover, .plugin-card:hover, .testimonial-card:hover, .demo-preview-card:hover {
  will-change: transform;
}

/* Reset will-change after animation */
.btn, .card, .hero-highlight-item, .benefit-card, .plugin-card, .testimonial-card, .demo-preview-card {
  will-change: auto;
}

/* Contain layout shifts */
.hero-video-wrap {
  contain: layout style paint;
}

.plugin-icon img {
  contain: layout style;
}

html {
  scroll-behavior: auto; /* Disable default smooth scroll to use our custom one */
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  padding-top: 70px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Defer complex gradients to improve initial paint */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(255, 72, 0, 0.25), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(255, 139, 15, 0.18), transparent 60%);
  z-index: -1;
  will-change: transform;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* Larger screens */
@media (min-width: 1400px) {
  .container {
    width: min(1400px, 90%);
  }
}

@media (min-width: 1800px) {
  .container {
    width: min(1600px, 88%);
  }
}

@media (min-width: 2400px) {
  .container {
    width: min(2000px, 85%);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid var(--border-secondary);
  transition: background-color 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;
}

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

.nav a:active {
  color: var(--brand-orange);
}

/* Add visual feedback for active navigation */
.nav a.nav-active {
  color: var(--brand-orange);
}

.nav a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 1px;
}

.header-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  padding: 8px !important;
  border-radius: 8px !important;
}

.theme-icon {
  width: 16px;
  height: 16px;
  transition: opacity 0.3s ease;
}

.sun-icon {
  opacity: 0;
}

.moon-icon {
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

[data-theme="light"] .sun-icon {
  opacity: 1;
}

[data-theme="light"] .moon-icon {
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: clamp(14px, 1vw, 16px);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-strong));
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost:hover {
  background: var(--bg-alt);
}

.btn.large {
  padding: 14px 20px;
  font-size: 16px;
  flex-direction: column;
  gap: 4px;
}

.btn-subtitle {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

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

.alt-section {
  background: linear-gradient(180deg, var(--bg-alt), transparent 60%);
}

.cols-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 12px;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(16px, 1.2vw, 20px);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Larger screen section improvements */
@media (min-width: 1400px) {
  .section {
    padding: 120px 0;
  }

  .section-header {
    margin-bottom: 80px;
  }

  .section-header h2 {
    font-size: clamp(36px, 3vw, 48px);
    margin: 0 0 16px;
  }

  .section-header p {
    font-size: clamp(18px, 1.1vw, 22px);
    max-width: 700px;
  }
}

@media (min-width: 1800px) {
  .section {
    padding: 140px 0;
  }

  .section-header {
    margin-bottom: 96px;
  }

  .section-header h2 {
    font-size: clamp(42px, 2.5vw, 56px);
    margin: 0 0 20px;
  }

  .section-header p {
    font-size: clamp(20px, 1vw, 24px);
    max-width: 800px;
  }
}

@media (min-width: 2400px) {
  .section {
    padding: 160px 0;
  }

  .section-header {
    margin-bottom: 112px;
  }

  .section-header h2 {
    font-size: clamp(48px, 2.2vw, 64px);
    margin: 0 0 24px;
  }

  .section-header p {
    font-size: clamp(22px, 0.9vw, 26px);
    max-width: 900px;
  }
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-height: 1500px) {
.hero-copy {
    margin-bottom: 200px;
  }
}

.hero-copy h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 10px;
  color: var(--text-primary);
}

.hero-copy p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
}

/* Larger screen hero improvements */
@media (min-width: 1400px) {
  .hero-copy h1 {
    font-size: clamp(48px, 4vw, 64px);
    margin: 0 0 16px;
  }

  .hero-copy p {
    font-size: clamp(18px, 1.2vw, 22px);
    margin: 0 0 28px;
  }

  .hero-content {
    gap: 80px;
    min-height: calc(100vh - 160px);
  }

  .hero-ctas {
    margin-bottom: 40px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-number {
    font-size: 24px;
  }
}

@media (min-width: 1800px) {
  .hero-copy h1 {
    font-size: clamp(56px, 3.5vw, 72px);
    margin: 0 0 20px;
  }

  .hero-copy p {
    font-size: clamp(20px, 1.1vw, 24px);
    margin: 0 0 32px;
  }

  .hero-content {
    gap: 100px;
  }

  .stat-number {
    font-size: 28px;
  }
}

@media (min-width: 2400px) {
  .hero-copy h1 {
    font-size: clamp(64px, 3vw, 80px);
    margin: 0 0 24px;
  }

  .hero-copy p {
    font-size: clamp(22px, 1vw, 26px);
    margin: 0 0 36px;
  }

  .hero-content {
    gap: 120px;
  }

  .stat-number {
    font-size: 32px;
  }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-orange);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Hero Video Showcase */
.hero-video-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
  box-shadow: 0 8px 25px var(--shadow);
}

.hero-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-highlight-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hero-highlight-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--shadow);
}

.hero-highlight-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  flex-shrink: 0;
}

.hero-highlight-item h4 {
  margin: 0 0 2px;
  color: var(--text-primary);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
}

.hero-highlight-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(12px, 0.8vw, 14px);
  line-height: 1.4;
}

/* Larger screen video and highlights improvements */
@media (min-width: 1400px) {
  .hero-video-showcase {
    gap: 32px;
  }

  .hero-highlight-item {
    padding: 16px;
  }

  .hero-highlight-icon {
    width: 36px;
    height: 36px;
  }

  .hero-highlight-grid {
    gap: 16px;
  }

  .btn {
    padding: 12px 18px;
    gap: 10px;
  }

  .btn.large {
    padding: 16px 24px;
    font-size: 18px;
  }
}

@media (min-width: 1800px) {
  .hero-video-showcase {
    gap: 40px;
  }

  .hero-highlight-item {
    padding: 18px;
  }

  .hero-highlight-icon {
    width: 40px;
    height: 40px;
  }

  .btn {
    padding: 14px 20px;
    gap: 12px;
  }

  .btn.large {
    padding: 18px 28px;
    font-size: 20px;
  }
}

@media (min-width: 2400px) {
  .hero-video-showcase {
    gap: 48px;
  }

  .hero-highlight-item {
    padding: 20px;
  }

  .hero-highlight-icon {
    width: 44px;
    height: 44px;
  }

  .btn {
    padding: 16px 24px;
    gap: 14px;
  }

  .btn.large {
    padding: 20px 32px;
    font-size: 22px;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Cards */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
}

.card.highlight {
  background: var(--bg-tertiary);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.pill.soon {
  position: relative;
}

.pill.soon::after {
  content: "soon";
  margin-left: 6px;
  color: var(--brand-orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.checklist {
  padding-left: 18px;
}

.checklist li {
  margin: 6px 0;
}

.bullets {
  padding-left: 18px;
}

/* Benefits section with tabs */
.benefits-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 32px;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 4px;
}

.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn.active {
  background: var(--brand-orange);
  color: #0b0b0b;
}

.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* Larger screen grid improvements */
@media (min-width: 1400px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
  }

  .plugins-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
  }

  .benefit-card,
  .plugin-card,
  .testimonial-card {
    padding: 28px;
  }

  .demo-stats {
    gap: 64px;
  }

  .demo-stat-number {
    font-size: 28px;
  }

  .demo-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
  }

  .demo-preview-placeholder {
    padding: 36px 28px;
    min-height: 220px;
  }
}

@media (min-width: 1800px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
  }

  .plugins-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 36px;
  }

  .benefit-card,
  .plugin-card,
  .testimonial-card {
    padding: 32px;
  }

  .demo-stats {
    gap: 80px;
  }

  .demo-stat-number {
    font-size: 32px;
  }

  .demo-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
  }

  .demo-preview-placeholder {
    padding: 40px 32px;
    min-height: 240px;
  }
}

@media (min-width: 2400px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 36px;
    margin-bottom: 56px;
  }

  .plugins-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 40px;
  }

  .benefit-card,
  .plugin-card,
  .testimonial-card {
    padding: 36px;
  }

  .demo-stats {
    gap: 96px;
  }

  .demo-stat-number {
    font-size: 36px;
  }

  .demo-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 36px;
  }

  .demo-preview-placeholder {
    padding: 44px 36px;
    min-height: 260px;
  }
}

.benefit-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 72, 0, 0.08), 0 2px 0 rgba(255, 72, 0, 0.18) inset;
  border-color: rgba(255, 72, 0, 0.35);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
}

.benefit-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.benefits-cta {
  text-align: center;
  margin-top: 32px;
}

/* Legacy value props support */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.value-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 72, 0, 0.08), 0 2px 0 rgba(255, 72, 0, 0.18) inset;
  border-color: rgba(255, 72, 0, 0.35);
}

.value-card--elevated {
  background: linear-gradient(180deg, rgba(255, 72, 0, 0.06), rgba(255, 72, 0, 0) 50%), var(--bg-tertiary);
}

.value-head h2,
.value-head h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
}

.value-head p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
}

.value-list .icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  background: rgba(255, 72, 0, 0.06);
  border: 1px solid rgba(255, 72, 0, 0.22);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Plugins section */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.plugin-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.plugin-card.available:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
  border-color: var(--brand-orange);
}

.plugin-card.coming-soon {
  opacity: 0.7;
}

.plugin-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  margin: 0 auto 16px;
}

.plugin-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.plugin-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
}

.plugin-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.available {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.coming-soon {
  background: var(--brand-orange-light);
  color: var(--brand-orange-strong);
  border: 1px solid rgba(255, 72, 0, 0.2);
}

.workflow-features {
  margin-bottom: 32px;
}

.workflow-grid {
  display: grid;
  gap: 20px;
}

.workflow-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
}

.workflow-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  flex-shrink: 0;
}

.workflow-item h4 {
  margin: 0 0 4px;
  color: var(--text-primary);
}

.workflow-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.plugins-cta {
  text-align: center;
}

.cta-subtext {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-title {
  font-size: 14px;
  color: var(--text-secondary);
}

.testimonials-cta {
  text-align: center;
  margin-top: 32px;
}

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

.feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

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

.feature p {
  color: var(--text-secondary);
}

/* Pricing */
.pricing-approach {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card.main-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.pricing-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  margin: 0 auto 24px;
}

.pricing-card h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 24px;
}

.pricing-card>p {
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-option {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.pricing-option h4 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 16px;
}

.pricing-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-option li {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.pricing-option li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: bold;
}

.pricing-ctas {
  margin-top: 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-main h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 16px;
  color: var(--text-primary);
}

.contact-main>p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.contact-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-stat .stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-orange);
}

.contact-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
}

.contact-card h3 {
  margin: 0 0 16px;
  color: var(--text-primary);
}

.contact-methods {
  margin-bottom: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.contact-method svg {
  color: var(--brand-orange);
}

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

.contact-method a:hover {
  color: var(--brand-orange);
}

.contact-note {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Legacy pricing support */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.price-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card.featured {
  border-color: transparent;
  outline: 2px solid rgba(255, 72, 0, 0.55);
  background: linear-gradient(180deg, rgba(255, 72, 0, 0.08), rgba(255, 72, 0, 0) 60%), var(--bg-secondary);
}

.price {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-primary);
}

.price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-card ul {
  padding-left: 18px;
  margin: 6px 0 12px;
}

.price-card li {
  color: var(--text-primary);
}

/* Demo Video Section */
.video-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
  box-shadow: 0 8px 25px var(--shadow);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(255, 72, 0, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-strong);
  flex-shrink: 0;
}

.highlight-item h4 {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: 16px;
}

.highlight-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Demo Showcase */
.demo-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.demo-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 16px;
}

.demo-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-orange);
}

.demo-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.demo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.demo-preview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.demo-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
  border-color: var(--brand-orange);
}

.demo-preview-placeholder {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 200px;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  position: relative;
}

.demo-preview-placeholder svg {
  color: var(--brand-orange);
  opacity: 0.8;
}

.demo-preview-placeholder h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
}

.demo-preview-placeholder p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.demo-time {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-strong);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 72, 0, 0.2);
}

.demo-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-secondary);
  background: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.5);
}

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

.footer-inner span {
  color: var(--text-primary);
}

.footer-nav {
  display: flex;
  gap: 14px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Medium laptop screens (MacBook Pro 13"/14"/16") */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-copy h1 {
    font-size: clamp(42px, 4.5vw, 56px);
    margin: 0 0 14px;
  }

  .hero-copy p {
    font-size: clamp(17px, 1.3vw, 21px);
    margin: 0 0 24px;
  }

  .hero-content {
    gap: 70px;
  }

  .section-header h2 {
    font-size: clamp(32px, 3.2vw, 42px);
  }

  .section-header p {
    font-size: clamp(17px, 1.15vw, 21px);
    max-width: 650px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 15px;
  }

  .hero-highlight-item {
    padding: 14px;
  }

  .hero-highlight-icon {
    width: 34px;
    height: 34px;
  }
}

/* Large tablet / Small laptop screens */
@media (min-width: 981px) and (max-width: 1199px) {
  .hero-copy h1 {
    font-size: clamp(36px, 5vw, 46px);
  }

  .hero-copy p {
    font-size: clamp(16px, 1.4vw, 19px);
  }

  .hero-content {
    gap: 50px;
  }

  .section-header h2 {
    font-size: clamp(30px, 3.5vw, 38px);
  }

  .section-header p {
    font-size: clamp(16px, 1.2vw, 19px);
  }
}

/* Responsive */
@media (max-width: 980px) {

  .cols-2 {
    grid-template-columns: 1fr;
  }

  /* Reset hero layout for mobile */
  .hero-section {
    min-height: auto;
    padding-top: 120px;
    overflow: visible;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .hero-left,
  .hero-right {
    justify-content: flex-start;
  }


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

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


  .header-ctas .btn:not(.theme-toggle) {
    display: none;
  }

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

  .tab-buttons {
    flex-direction: column;
    gap: 4px;
  }

  .hero-stats {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-stats {
    justify-content: center;
  }

  .contact-ctas {
    justify-content: center;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .plugins-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

  .demo-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .demo-preview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .demo-ctas {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-highlight-item {
    padding: 10px;
  }

  .hero-highlight-icon {
    width: 28px;
    height: 28px;
  }

  .demo-stats {
    gap: 16px;
  }

  .demo-stat-number {
    font-size: 20px;
  }

  .demo-preview-placeholder {
    padding: 24px 16px;
    min-height: 180px;
  }

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

  .workflow-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none
  }
}
