@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ruby: #DC2626;
  --ruby-hover: #B91C1C;
  --ruby-light: #EF4444;
  --ruby-soft: rgba(220, 38, 38, 0.14);
  --bg: #000000;
  --bg-white: #0D0D12;
  --bg-elevated: #161620;
  --border: #1E1E2A;
  --border-hover: #2A2A3A;
  --text-1: #EBEBF0;
  --text-2: #A0A0B2;
  --text-3: #6B6B80;
  --green: #34D058;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  color-scheme: dark;
}

[data-theme="light"] {
  --ruby: #B91C1C;
  --ruby-hover: #991B1B;
  --ruby-light: #DC2626;
  --ruby-soft: rgba(185, 28, 28, 0.10);
  --bg: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-elevated: #F3F4F6;
  --border: #E5E7EB;
  --border-hover: #D1D5DB;
  --text-1: #1A1A2E;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --green: #16A34A;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2em;
  color: var(--text-1);
}

.nav-logo { width: 46px; height: 46px; border-radius: 8px; }

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile-menu {
  display: none;
}

.nav-center a, .nav-right a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.84em;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav-center a:hover { color: var(--ruby); }

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ruby);
  transition: width 0.3s ease;
}

.nav-center a:hover::after { width: 100%; }

.nav-btn-outline {
  background: transparent !important;
  color: var(--ruby) !important;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--ruby) !important;
  font-weight: 700 !important;
  font-size: 0.84em !important;
  transition: all 0.25s !important;
}

.nav-btn-outline:hover {
  background: var(--ruby-soft) !important;
}

.nav-btn {
  background: var(--ruby) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.84em !important;
  transition: all 0.25s !important;
}

.nav-btn:hover { background: var(--ruby-hover) !important; transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000000;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 60px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  flex: 1.1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185, 28, 28, 0.15);
  border: 1px solid rgba(185, 28, 28, 0.3);
  color: #EF4444;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ruby);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 3.6em;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: #FFFFFF;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.35s; }
.hero-line:nth-child(3) { animation-delay: 0.5s; }

.hero-line-accent { color: #EF4444; }

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

.hero-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05em;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ruby);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--ruby-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.3);
}

.btn-lg { padding: 14px 28px; font-size: 0.92em; }
.btn-xl { padding: 16px 36px; font-size: 1em; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-1);
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92em;
}

.hero .btn-outline {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .btn-outline:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(185, 28, 28, 0.1);
}



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

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78em;
  font-weight: 500;
}

.hero-trust-item svg { color: #EF4444; flex-shrink: 0; }

.hero-monitor {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0D0D0D;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(185, 28, 28, 0.08);
}

.hero-monitor-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #161616;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-monitor-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA42; }

.hero-monitor-tabs {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}

.hero-tab {
  padding: 5px 14px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72em;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hero-tab:hover { color: rgba(255, 255, 255, 0.7); }
.hero-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-screen {
  height: 420px;
  overflow: hidden;
  position: relative;
}

.hero-screen-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  overflow-y: auto;
}

.hero-screen-panel.active { opacity: 1; }

.terminal-output {
  padding: 14px;
  margin: 0;
  font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  font-size: 0.58em;
  line-height: 1.5;
  color: #CCCCCC;
  white-space: pre;
  overflow-x: hidden;
}

.t-red { color: #EF4444; }
.t-darkred { color: #991B1B; }
.t-green { color: #4ADE80; }
.t-yellow { color: #FACC15; }
.t-cyan { color: #22D3EE; }
.t-gray { color: #6B7280; }
.t-white { color: #FFFFFF; font-weight: 600; }
.t-dim { color: #4B5563; }

.mini-results {
  padding: 16px;
}

.mini-results-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.mini-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.mini-brand {
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
}

.mini-run {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68em;
  font-family: 'Cascadia Code', monospace;
}

.mini-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ADE80;
  font-size: 0.65em;
  font-weight: 600;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.mini-val {
  color: #fff;
  font-size: 0.75em;
  font-weight: 600;
}

.mini-sec-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mini-sec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.mini-sec {
  font-size: 0.7em;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-sec.good {
  background: rgba(74, 222, 128, 0.06);
  color: #4ADE80;
}

.mini-sec.bad {
  background: rgba(239, 68, 68, 0.06);
  color: #EF4444;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 2.4em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-1);
}

.section-title-accent { color: var(--ruby); }

.section-desc {
  text-align: center;
  color: var(--text-2);
  font-size: 0.95em;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.features, .how-it-works, .demo-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.features-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.features-grid-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card-lg {
  padding: 40px 36px;
}

.feature-card-lg h3 {
  font-size: 1.2em;
}

.feature-card-lg p {
  font-size: 0.88em;
  margin-bottom: 20px;
}

.feature-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-detail {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-3);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: 500;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ruby-soft);
  border: 1px solid rgba(204, 52, 45, 0.12);
  border-radius: var(--radius);
  color: var(--ruby);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
}

.feature-card p {
  color: var(--text-2);
  font-size: 0.84em;
  line-height: 1.65;
  margin-bottom: 16px;
}

.steps-row-v2 {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}

.steps-row-v2::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.step-v2 {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}

.step-v2-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ruby);
  flex-shrink: 0;
  margin-top: 4px;
  position: absolute;
  left: -28px;
  top: 24px;
  z-index: 1;
}

.step-v2-content h3 {
  font-size: 1em;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}

.step-v2-content p {
  color: var(--text-2);
  font-size: 0.88em;
  line-height: 1.6;
  max-width: 560px;
}

.demo-section { padding-bottom: 80px; }

.demo-container {
  display: flex;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.demo-sidebar {
  width: 220px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.demo-sidebar-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.demo-logo { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 10px; }
.demo-brand { font-weight: 800; color: var(--text-1); font-size: 1em; }
.demo-brand-sub { color: var(--text-3); font-size: 0.72em; }

.demo-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.demo-nav-item {
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.8em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.demo-nav-item:hover { background: var(--bg-white); color: var(--text-1); }
.demo-nav-item.active { background: var(--ruby-soft); color: var(--ruby); font-weight: 600; }

.demo-run-id { padding-top: 16px; border-top: 1px solid var(--border); }
.demo-run-label { font-size: 0.62em; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }
.demo-run-value { font-size: 0.78em; font-weight: 700; color: var(--ruby); margin-top: 2px; }

.demo-content { flex: 1; padding: 24px; overflow-y: auto; }
.demo-tab { display: none; }
.demo-tab.active { display: block; }

.demo-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-header h3 { font-size: 1.05em; font-weight: 700; color: var(--text-1); }

.demo-badge {
  background: rgba(22, 163, 74, 0.08);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.68em;
  font-weight: 600;
}

.demo-badge.ruby-badge {
  background: var(--ruby-soft);
  color: var(--ruby);
}

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.demo-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.demo-label { display: block; font-size: 0.68em; color: var(--text-3); margin-bottom: 4px; }
.demo-value { font-size: 0.84em; font-weight: 600; color: var(--text-1); }

.demo-sec-grid { display: flex; flex-direction: column; gap: 5px; }

.demo-sec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 0.84em;
  color: var(--text-2);
}

.demo-sec-check { font-size: 0.85em; width: 18px; text-align: center; }
.demo-sec-row.good .demo-sec-check { color: var(--green); }
.demo-sec-row.bad .demo-sec-check { color: var(--ruby); }
.demo-sec-val { margin-left: auto; font-weight: 600; font-size: 0.8em; }
.demo-sec-row.good .demo-sec-val { color: var(--green); }
.demo-sec-row.bad .demo-sec-val { color: var(--ruby); }

.demo-webhook { display: flex; flex-direction: column; gap: 12px; }

.wh-embed { display: flex; background: #2b2d31; border-radius: 4px; overflow: hidden; }
.wh-accent { width: 4px; background: var(--ruby); flex-shrink: 0; }
.wh-body { padding: 12px 16px; flex: 1; }
.wh-title { font-weight: 700; font-size: 0.88em; color: #fff; margin-bottom: 8px; }
.wh-code { background: #1e1f22; border-radius: 4px; padding: 8px 12px; font-family: 'Consolas', monospace; font-size: 0.72em; color: #dbdee1; margin-bottom: 12px; line-height: 1.6; }
.wh-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wh-field { font-size: 0.72em; color: #dbdee1; line-height: 1.5; }
.wh-field strong { color: #fff; display: block; margin-bottom: 2px; }

.pricing-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
}

.pricing-cards-row {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pricing-box-developer {
  position: relative;
}

.pricing-badge-dev {
  position: absolute;
  top: 0;
  right: 32px;
  background: var(--ruby);
  color: #fff;
  font-size: 0.7em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 0 0 12px 12px;
  z-index: 2;
  border: 1px solid var(--ruby-hover);
  border-top: none;
}

[data-theme="light"] .pricing-badge-dev {
  background: var(--ruby);
  color: #fff;
  border-color: var(--ruby-hover);
}

.pricing-box-developer .pricing-top {
  background: var(--ruby);
}

[data-theme="light"] .pricing-box-developer .pricing-top {
  background: var(--ruby);
}

.pricing-dev-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--ruby-soft);
  border-bottom: 1px solid var(--border);
  font-size: 0.78em;
  color: var(--ruby-light);
  font-weight: 500;
  line-height: 1.5;
}

[data-theme="light"] .pricing-dev-notice {
  background: var(--ruby-soft);
  color: var(--ruby);
}

.pricing-dev-notice svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.pricing-box-developer .pricing-col-title {
  color: var(--ruby-light);
}

[data-theme="light"] .pricing-box-developer .pricing-col-title {
  color: var(--ruby);
}

.pricing-box-developer .pricing-col ul li::before {
  color: var(--ruby-light);
}

[data-theme="light"] .pricing-box-developer .pricing-col ul li::before {
  color: var(--ruby);
}

.pricing-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 48px 40px;
  background: var(--ruby);
  flex-wrap: wrap;
  gap: 24px;
}

.pricing-top-left { flex: 1; min-width: 280px; }

.pricing-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.pricing-price-row {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 12px;
}

.pricing-dollar { font-size: 1.6em; font-weight: 800; color: #fff; margin-top: 10px; }
.pricing-amount { font-size: 4.5em; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -3px; }
.pricing-cents { font-size: 1.6em; font-weight: 800; color: rgba(255, 255, 255, 0.8); margin-top: 10px; }
.pricing-per { font-size: 1em; color: rgba(255, 255, 255, 0.6); align-self: flex-end; margin-bottom: 10px; margin-left: 4px; }

.pricing-tagline { color: rgba(255, 255, 255, 0.8); font-size: 0.88em; line-height: 1.5; }

.pricing-billing-toggle { display: inline-flex; gap: 4px; margin-bottom: 10px; background: rgba(0,0,0,0.25); border-radius: 8px; padding: 3px; }
.billing-btn { padding: 8px 18px; border: none; border-radius: 6px; background: transparent; color: rgba(255,255,255,0.5); font-size: 0.85em; font-weight: 700; cursor: pointer; transition: all 0.2s; letter-spacing: 0.3px; }
.billing-btn.active { background: #fff; color: var(--ruby); }
.billing-btn:hover:not(.active) { color: #fff; background: rgba(255,255,255,0.1); }
.billing-save { font-size: 0.8em; color: #4ade80; font-weight: 700; margin-left: 4px; }

.pricing-top-right { flex-shrink: 0; }
.pricing-top-right .btn-primary {
  background: #fff;
  color: var(--ruby);
}
.pricing-top-right .btn-primary:hover {
  background: var(--bg-elevated);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 0 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 40px 48px 48px;
}

.pricing-col {
  padding: 0 16px;
  border-right: 1px solid var(--border);
}

.pricing-col:first-child { padding-left: 0; }
.pricing-col:last-child { border-right: none; padding-right: 0; }

.pricing-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--ruby);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pricing-col-title svg { flex-shrink: 0; }

.pricing-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pricing-col ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 0.78em;
  line-height: 1.55;
}

.pricing-col ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--ruby);
  font-weight: 700;
  font-size: 0.85em;
}


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

.site-footer {
  position: relative;
  z-index: 1;
  background: #08080C;
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}

.footer-inner-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.82em;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ruby-light);
}

.footer-col-heading {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82em;
  line-height: 1.5;
  max-width: 280px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.72em;
}


@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing-col { border-right: none; padding: 0; }
  .pricing-col:first-child { padding: 0; }
  .footer-inner-v2 { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 100px 20px 40px;
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .hero-left { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-trust { justify-content: center; }
  .hero-title { font-size: 2.4em; }
  .hero-screen { height: 300px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }

  .section-title { font-size: 1.8em; }

  .features-grid { grid-template-columns: 1fr; }
  .features-grid-top { grid-template-columns: 1fr; }
  .features-grid-bottom { grid-template-columns: 1fr; }
  .pricing-grid-2col { grid-template-columns: 1fr; }

  .demo-container { flex-direction: column; }
  .demo-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .demo-grid { grid-template-columns: 1fr; }
  .wh-fields { grid-template-columns: 1fr; }

  .pricing-top { flex-direction: column; padding: 32px 24px; }
  .pricing-grid { grid-template-columns: 1fr; padding: 24px; }
  .pricing-col { padding: 0; border-right: none; }
  .pricing-divider { margin: 0 24px; }
  .pricing-amount { font-size: 3.2em; }
  .pricing-dev-notice { padding: 12px 16px; font-size: 0.74em; }
  .pricing-badge-dev { right: 16px; font-size: 0.65em; padding: 6px 14px; }

  .nav-center, .nav-right { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    z-index: 101;
  }

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

  .nav-mobile-menu a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
  }

  .nav-mobile-menu a:hover { color: var(--ruby); }

  .footer-inner-v2 { grid-template-columns: 1fr; gap: 32px; }
}
