/* ==========================================================================
   XML Schema Editor — Modern Design System & Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(51, 65, 85, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);

  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090d16;

  --border-subtle: rgba(51, 65, 85, 0.6);
  --border-accent: rgba(56, 189, 248, 0.35);
  --border-glass: rgba(255, 255, 255, 0.08);

  --glow-cyan: 0 0 35px rgba(56, 189, 248, 0.2);
  --glow-indigo: 0 0 45px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, Monaco, monospace;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #090d16 65%);
  min-height: 100vh;
}

::selection {
  background-color: var(--accent-cyan);
  color: var(--text-inverse);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #7dd3fc;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Glassmorphic Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.nav-brand span {
  background: linear-gradient(135deg, #f8fafc 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn-glow:hover::after {
  opacity: 1;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald-light);
  border-color: rgba(16, 185, 129, 0.35);
}

.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  text-align: center;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 20px;
  letter-spacing: -0.03em;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 75%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Hero Workbench Mockup */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.2), rgba(15, 23, 42, 0.8));
  box-shadow: var(--glow-indigo), var(--shadow-lg);
}

.window-frame {
  background: #0b1120;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 16px;
  background: #090d16;
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  gap: 8px;
}

.control-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.window-title {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.window-body {
  display: grid;
  grid-template-columns: 240px 1fr 340px;
  height: 480px;
  background: #0f172a;
}

/* Workbench Mockup Panels */
.mock-tree-pane {
  background: #0b1120;
  border-right: 1px solid var(--border-subtle);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: left;
}

.mock-tree-header {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.mock-tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.mock-tree-item.selected {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.mock-tree-item.indent-1 {
  margin-left: 14px;
}

.mock-tree-item.indent-2 {
  margin-left: 28px;
}

.mock-canvas-pane {
  position: relative;
  background: radial-gradient(#1e293b 1px, #0f172a 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.mock-diagram-card {
  background: #1e293b;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  min-width: 170px;
}

.mock-diagram-card.root {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.mock-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.mock-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-card-type {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.mock-code-pane {
  background: #090d16;
  border-left: 1px solid var(--border-subtle);
  padding: 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: #cbd5e1;
  overflow: hidden;
}

.mock-code-pane .xml-tag {
  color: #f43f5e;
}

.mock-code-pane .xml-attr {
  color: #f59e0b;
}

.mock-code-pane .xml-val {
  color: #34d399;
}

.mock-code-pane .xml-comm {
  color: #64748b;
  font-style: italic;
}

/* Stats Bar */
.stats-section {
  padding: 30px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan), var(--shadow-card);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-pill {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

/* Interactive Tabs Section */
.tabs-container {
  margin-top: 40px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

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

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.tab-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.tab-info p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.tab-feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.tab-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.tab-feature-list li span {
  color: var(--accent-emerald-light);
  font-weight: bold;
}

.tab-preview-box {
  background: #090d16;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
}

/* Samples Catalog Grid */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sample-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-normal);
  text-align: left;
}

.sample-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.sample-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: block;
}

.sample-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.sample-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  font-weight: 600;
}

.comparison-table td {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.check {
  color: var(--accent-emerald-light);
  font-weight: bold;
}

.cross {
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-cyan);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  transition: transform var(--transition-normal);
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  padding: 0 26px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at center, rgba(30, 27, 75, 0.8), #090d16 80%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  box-shadow: var(--glow-indigo);
  margin-bottom: 80px;
}

.cta-banner h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  background: #070a10;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Pricing & Commercial License Section
   ========================================================================== */
.pricing-section {
  padding: 100px 0 60px;
  position: relative;
}

.trial-highlight-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.12) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 36px -10px rgba(16, 185, 129, 0.2);
  flex-wrap: wrap;
}

.trial-highlight-content h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trial-highlight-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1.8px solid var(--accent-cyan);
  box-shadow: 0 16px 48px -12px rgba(56, 189, 248, 0.3);
}

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #090d16;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.5);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-tier-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 40px;
}

.pricing-price-box {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-check-icon {
  color: var(--accent-emerald-light);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-btn {
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-fast);
}

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .samples-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-content-grid {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 200px 1fr;
  }

  .mock-code-pane {
    display: none;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .mock-tree-pane {
    display: none;
  }

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

  .trial-highlight-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Screenshot Gallery Section
   ========================================================================== */

.gallery-section {
  background: rgba(9, 13, 22, 0.6);
}

.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

/* Tab Navigation Bar */
.gallery-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  backdrop-filter: blur(20px);
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.gallery-tab-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.gallery-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}

.gallery-tab-icon {
  font-size: 0.95rem;
}

/* Caption Bar */
.gallery-caption {
  padding: 12px 24px;
  background: rgba(30, 41, 59, 0.6);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

/* Screenshot Frame */
.gallery-frame-wrapper {
  position: relative;
  background: rgba(9, 13, 22, 0.95);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.06);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-pane {
  display: none;
  width: 100%;
  animation: galleryFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-pane.active {
  display: block;
}

.gallery-pane img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 72vh;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Counter Bar */
.gallery-counter {
  padding: 10px 24px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  backdrop-filter: blur(20px);
}

.gallery-counter span {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery-tab-nav {
    gap: 4px;
    padding: 12px;
  }

  .gallery-tab-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .gallery-frame-wrapper {
    min-height: 260px;
  }

  .gallery-pane img {
    max-height: 55vw;
  }
}