/* CI Design System Tokens - Dark Refined */
:root {
  /* Base Colors */
  --bg-base: #0A0A0A;
  --bg-surface: #141414;
  --bg-surface-hover: #1F1F1F;
  --border-subtle: #262626;
  
  /* Typography Colors */
  --text-primary: #EDEDED;
  --text-secondary: #A1A1AA;

  /* Accent: Teal / Petrol */
  --accent-light: #2ad1d9;
  --accent: #0a9aa1;
  --accent-dark: #066166;
  
  /* Interactive Accent States */
  --accent-muted: rgba(10, 154, 161, 0.15);
  --accent-border: rgba(10, 154, 161, 0.30);
  --accent-glow: 0 0 20px rgba(10, 154, 161, 0.25);
}

@supports (color: oklch(from red l c h)) {
  :root {
    --accent-muted: oklch(from var(--accent) l c h / 0.15);
    --accent-border: oklch(from var(--accent) l c h / 0.30);
    --accent-glow: 0 0 20px oklch(from var(--accent) l c h / 0.25);
  }
}

/* Local Fonts via DSGVO-compliant hosting */
@font-face {
  font-family: 'Geist';
  src: url('./assets/fonts/geist/Geist-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('./assets/fonts/geist/Geist-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/jetbrains/JetBrainsMono-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/jetbrains/JetBrainsMono-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px; /* Geometrische Regel aus CI */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

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

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

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--accent-glow);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  box-shadow: 0 0 25px rgba(10, 154, 161, 0.4);
}

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

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

/* Header & Glass Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ci-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.ci-brand-text {
  font-family: var(--font-main, 'Geist', sans-serif);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.ci-brand-sub {
  color: var(--text-secondary);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtler Teal Gradient Glow for Hero Background */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 400px;
  background: radial-gradient(ellipse at top, var(--accent-muted) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4.5rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Feature Grid */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-border);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-muted);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent-border);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Code Blocks */
pre, code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
}

.code-block {
  background: #000;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-secondary);
  overflow-x: auto;
  text-align: left;
  margin-top: 2rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-border);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.05em;
}

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.pricing-features strong {
  color: var(--text-primary);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
}

/* Agency Card */
.agency-card {
  display: block;
}

.agency-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.agency-card .pricing-header {
  margin-bottom: 0;
  text-align: left;
  flex: 1;
}

.agency-card .price {
  justify-content: flex-start;
}

.agency-features {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  flex: 2;
}

.agency-action {
  flex: 1;
  text-align: right;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .agency-content {
    flex-direction: column;
    text-align: center;
  }
  .agency-card .pricing-header {
    text-align: center;
  }
  .agency-card .price {
    justify-content: center;
  }
  .agency-action {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .agency-features {
    grid-template-columns: 1fr;
  }
}

/* Ecosystem Hub (Phase 3) */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card.active {
  border-color: var(--accent-border);
  background: var(--bg-surface-hover);
}

.platform-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.platform-card.disabled {
  opacity: 0.6;
}

.coming-soon {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover:not(.disabled) {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  background: var(--bg-surface-hover);
}

.product-card.disabled {
  cursor: not-allowed;
}

.product-icon {
  margin-bottom: 1.5rem;
}

.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.product-info h3 {
  font-size: 1.5rem;
  margin: 0;
}

.product-tags {
  display: flex;
  gap: 0.5rem;
}

.tag {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tag-soon {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.product-action {
  margin-top: auto;
}

@media (max-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   PDP (Product Detail Page) Standard
   ========================================= */

/* PDP Hero */
.pdp-hero {
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.pdp-hero-content {
  flex: 1;
}
.pdp-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.pdp-hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--accent-glow);
  border: 1px solid var(--border-subtle);
}
.pdp-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bento Grid */
.bento-section {
  padding: 4rem 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.bento-card p {
  color: var(--text-secondary);
  margin: 0;
}
.bento-icon {
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.bento-wide {
  grid-column: span 2;
}

/* Feature Split (Core vs Pro) */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem auto;
}
.feature-column {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem;
}
.feature-column-pro {
  border-color: var(--accent-border);
  position: relative;
  overflow: hidden;
}
.feature-column-pro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.feature-column h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feature-list li strong {
  color: var(--text-primary);
  display: block;
}

/* FAQ */
.faq-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

/* Demo Teaser */
.demo-teaser {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.demo-teaser::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}
.demo-teaser h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.demo-teaser p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 0;
}
.faq-answer {
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .pdp-hero {
    flex-direction: column;
    text-align: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0;
  margin-top: 4rem;
}

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

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}

/* =========================================
   Relaunch Phase: Trust & Spoke Architecture
   ========================================= */

/* CMS Switcher */
.cms-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cms-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.cms-tab.active[data-cms="joomla"] {
  background: rgba(26, 56, 103, 0.15); /* #1A3867-Akzent */
  border-color: #1A3867;
  color: #fff;
  box-shadow: 0 0 15px rgba(26, 56, 103, 0.4);
}

.cms-tab.active[data-cms="wordpress"] {
  background: rgba(56, 88, 164, 0.15); /* #3858A4-Akzent */
  border-color: #3858A4;
  color: #fff;
  box-shadow: 0 0 15px rgba(56, 88, 164, 0.4);
}

.cms-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.cms-content.active {
  display: block;
}

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

/* Waitlist Form */
.waitlist-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.waitlist-input {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.waitlist-input:focus {
  outline: none;
  border-color: #3858A4;
  box-shadow: 0 0 0 2px rgba(56, 88, 164, 0.25);
}

/* Trust Bar & Badges */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-icon {
  color: var(--accent);
  display: flex;
}

.money-back-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 154, 161, 0.1);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Changelog Timeline */
.changelog-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.changelog-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-subtle);
  margin-top: 2rem;
}

.changelog-entry {
  position: relative;
  margin-bottom: 3rem;
}

.changelog-entry::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-base);
  box-shadow: 0 0 0 2px var(--accent-border);
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.changelog-version h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.changelog-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.changelog-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
}

.changelog-content pre {
  margin: 0;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-secondary);
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

/* UI Mockups for Feature Deep Dive */
.ui-mockup-wrapper {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.ui-mockup-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ui-mockup-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.ui-mockup-toggle {
  width: 32px;
  height: 16px;
  background: var(--accent);
  border-radius: 10px;
  position: relative;
}
.ui-mockup-toggle::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
}

/* =========================================
   WowGallery UI Showcases (Sales Arguments)
   ========================================= */

/* 1. Live Grid Showcase */
.live-grid-showcase {
    columns: 1;
    column-gap: 1.5rem;
    margin: 2rem 0;
}
@media (min-width: 600px) { .live-grid-showcase { columns: 2; } }
@media (min-width: 900px) { .live-grid-showcase { columns: 4; } }

.live-grid-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid var(--accent-border);
}
.live-grid-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    transform-origin: center;
}
.live-grid-item:hover img {
    transform: scale(1.08);
}
.live-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.live-grid-item:hover .live-grid-overlay {
    opacity: 1;
}
.live-grid-overlay-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 2. Joomla 5 Atum Backend Mockup (Authentic Colors) */
.atum-mockup {
    background: #171c24;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    z-index: 1;
    text-align: left;
    color: rgba(255,255,255,0.85);
}
.atum-header {
    background: #0a0e13;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #171c24;
}
.atum-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
}
.atum-logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}
.atum-logo-icon {
    color: #007db0;
    margin-right: 0.2rem;
}
.atum-toolbar {
    display: flex;
    gap: 0.4rem;
}
.atum-btn {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}
.atum-btn-success { background: #3d854d; color: #fff; }
.atum-btn-primary { background: #007db0; color: #fff; }
.atum-btn-danger { background: #c62a25; color: #fff; }
.atum-body {
    display: flex;
    height: 340px;
}
.atum-sidebar {
    width: 220px;
    background: #0f151d;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.atum-nav-item {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.atum-nav-item.active {
    color: #fff;
    background: #007db0;
}
.atum-content {
    flex: 1;
    background: #171c24;
    padding: 2rem;
    overflow-y: auto;
}
.atum-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.atum-fieldset {
    background: #0f151d;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 1.5rem;
}
.atum-sync-progress {
    margin-top: 1rem;
    background: #0f151d;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 4px;
}
.atum-progress-bar {
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    margin-top: 0.75rem;
    overflow: hidden;
}
.atum-progress-fill {
    height: 100%;
    background: #3d854d;
    width: 65%;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.atum-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 3. Performance Tacho (Before/After) */
.perf-tacho-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--accent-border);
    padding: 2.5rem;
    border-radius: 12px;
}
.perf-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.perf-label {
    width: 140px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.perf-bar-track {
    flex: 1;
    height: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.perf-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 12px;
    transition: width 1s ease-out;
    white-space: nowrap;
}
.perf-bar-bad {
    background: linear-gradient(90deg, #c62828, #e53935);
    width: 95%; /* 15MB */
    justify-content: flex-end;
    padding-right: 1rem;
}
.perf-bar-good {
    background: linear-gradient(90deg, var(--accent), #2ad1d9);
    width: 15%; /* 800KB */
    justify-content: flex-start;
    padding-left: 1rem;
}
.perf-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.perf-metric {
    text-align: center;
}
.perf-metric-val {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.perf-metric-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

