/* ========================================
   Software Suite - Modern Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #10b981;
    --accent-dark: #059669;
    --bg-dark: #0a0e17;
    --bg-card: rgba(21, 27, 43, 0.6);
    --bg-card-hover: rgba(28, 35, 51, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(10, 14, 23, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #111827 100%);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 16px 48px rgba(99, 102, 241, 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo i {
  color: var(--primary);
  font-size: 1.75rem;
}

.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-top: -6px;
  margin-bottom: -6px;
}

/* Produktseiten verwenden bewusst dieselbe alleinstehende Logo-Größe wie die Startseite. */
.product-page .navbar .nav-logo {
  gap: 0;
}

.product-page .navbar .logo-img {
  height: 64px;
  margin-top: -6px;
  margin-bottom: -6px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 0 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

/* Hero Banner Image */
.hero-banner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}

.hero-banner img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.hero-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 106, 200, 0.2), rgba(61, 186, 122, 0.1));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(26, 106, 200, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(61, 186, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 106, 200, 0.2);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

/* Hero Visual */
/* Hero Banner Responsive */
@media (max-width: 768px) {
    .hero-banner img {
        max-height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-banner img {
        max-height: 140px;
    }
    
    .hero-banner {
        border-radius: 0;
        margin-bottom: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary);
}

.btn-newsletter {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-newsletter:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Newsletter Modal */
#newsletterModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

#newsletterModalContent {
  background-color: var(--bg-dark);
  margin: 15% auto;
  padding: 2rem;
  border: 1px solid var(--border-color);
  width: 80%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
}

#newsletterModalContent h2 {
  color: var(--text-primary);
  margin-top: 0;
}

#newsletterModalContent .close {
  color: var(--text-secondary);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#newsletterModalContent .close:hover,
#newsletterModalContent .close:focus {
  color: var(--text-white);
  text-decoration: none;
  cursor: pointer;
}

#newsletterModalContent input[type="email"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-primary);
}

#newsletterModalContent .btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
}

#newsletterModalContent .btn-primary:hover {
  background: var(--primary-dark);
}

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

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

.btn-store {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-store:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-store i {
    color: var(--primary);
}

.btn-store:hover i {
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
}

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

.btn-details {
  background: rgba(61, 186, 122, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
}

.btn-details:hover {
  background: var(--accent);
  color: white;
}

/* Sections */
.products, .features, .support {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(26, 106, 200, 0.2);
    color: var(--primary-light);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.product-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 106, 200, 0.1) 100%);
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: rgba(26, 106, 200, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(26, 106, 200, 0.1);
    color: var(--primary-light);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.feature-tag i {
    font-size: 0.75rem;
}

.product-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
}

/* Features Section */
.features {
    background: var(--bg-card);
    border-radius: 24px;
    margin: 2rem auto;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(26, 106, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Support Section */
.support {
  padding: 4rem 2rem;
  background: var(--bg-card);
}

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

/* Statistics Section */
.stats {
  padding: 4rem 2rem;
  background: var(--bg-dark);
  text-align: center;
}

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

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.stat-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin: 0.5rem 0;
}

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

/* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  background: var(--bg-card);
}

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

.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.testimonial-content {
  padding: 2rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar i {
  font-size: 1.5rem;
  color: white;
}

.testimonial-author h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.testimonial-author p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.support-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.support-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand i {
    font-size: 2.5rem;
    color: var(--primary);
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .products, .features, .support {
        padding: 4rem 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-visual,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* ========================================
   Product Page Styles
   ======================================== */

body.product-page {
    padding-top: 80px;
}

/* Product Hero */
.product-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.product-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.product-hero-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-card);
}

.product-hero-icon i {
    font-size: 3rem;
    color: white;
}

.product-hero-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.product-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.meta-item i {
    color: var(--primary);
}

/* Container */
.container {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Product Features Detail */
.product-features-detail {
    padding: 6rem 0;
}

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

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(26, 106, 200, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-large i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Light-band limitations block on product pages (inherits dark-theme body colors otherwise) */
.product-limitations {
    color: #0f172a;
}

.product-limitations .section-title {
    color: #0f172a;
}

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

.product-limitations .limitation-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
}

.product-limitations .limitation-item p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

.product-limitations .limitation-item strong {
    color: #0f172a;
}

/* Screenshots */
.product-screenshots {
    padding: 6rem 0;
    background: var(--bg-card);
}

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

.screenshot-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.screenshot-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    color: var(--text-muted);
}

.screenshot-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.screenshot-caption {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--bg-card);
}

/* Use Cases */
.product-usecases {
    padding: 6rem 0;
}

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

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.usecase-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.usecase-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.usecase-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Requirements */
.product-requirements {
    padding: 6rem 0;
    background: var(--bg-card);
}

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

.requirement-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.requirement-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.requirement-card h3 i {
    color: var(--primary);
}

.requirement-card ul {
    list-style: none;
}

.requirement-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.requirement-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* FAQ */
.product-faq {
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.product-cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Related Products */
.related-products {
    padding: 6rem 0;
}

.products-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.related-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.related-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Documentation Section */
.docs {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.doc-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.doc-icon {
    width: 64px;
    height: 64px;
    background: rgba(26, 106, 200, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.doc-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.doc-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.docs-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Product Page */
@media (max-width: 768px) {
    .product-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .product-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .product-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .product-features-detail,
    .product-screenshots,
    .product-usecases,
    .product-requirements,
    .product-faq,
    .product-cta,
    .related-products,
    .docs {
        padding: 4rem 0;
    }
    
    .features-grid-large,
    .usecases-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
.cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   Homepage Cleanup Overrides
   ======================================== */

.navbar-scrolled {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.page-home .nav-container {
    gap: 1.25rem;
}

.top-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.view-switcher,
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(21, 27, 43, 0.9);
}

.view-btn,
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.view-btn:hover,
.lang-btn:hover,
.view-btn.active,
.lang-btn.active {
    color: #fff;
    background: rgba(26, 106, 200, 0.18);
}

.flag-icon {
    width: auto;
    height: 1.35rem;
    min-width: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.15rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.page-home .hero-content {
    max-width: 920px;
    padding: 0 1.5rem 4rem;
}

.page-home .hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, #8dc0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-home .hero-subtitle {
    font-size: 1.14rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 2.2rem;
}

.page-home .product-icon {
    width: 76px;
    height: 76px;
    padding: 0.8rem;
    background: rgba(26, 106, 200, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.18);
    border-radius: 18px;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.variant-blue .product-icon {
    background: rgba(26, 106, 200, 0.14);
    border-color: rgba(74, 144, 217, 0.28);
}

.doc-app-icon,
.detail-app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product purchase and preview layer */
.direct-download {
    border-color: rgba(16, 185, 129, 0.75);
    color: #d7fff0;
    background: rgba(16, 185, 129, 0.12);
}

.direct-download:hover {
    color: #fff;
    background: rgba(16, 185, 129, 0.24);
    border-color: var(--accent);
}

.product-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(10, 14, 23, 0.95));
    border-bottom: 1px solid var(--border-color);
}

.catalog-doc { background: #f8fafc; min-height: 75vh; padding-bottom: 5rem; }
.catalog-doc-hero { --accent: #2563eb; background: linear-gradient(135deg, var(--accent), #111827); color: #fff; padding: 7.5rem max(1.5rem, calc((100% - 1120px) / 2)) 4.5rem; }
.catalog-doc-hero > p:first-child, .catalog-doc-eyebrow { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.catalog-doc-hero > p:first-child { color: #dbeafe; }
.catalog-doc-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.5rem); margin: .45rem 0 .85rem; }
.catalog-doc-hero > p:not(:first-child) { font-size: 1.15rem; line-height: 1.7; max-width: 760px; }
.catalog-doc-hero > div { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.catalog-doc-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 3.5rem; margin: 3.5rem auto 0; max-width: 1080px; padding: 0 1.5rem; }
.catalog-doc-layout aside { align-self: start; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; display: grid; gap: .65rem; padding: 1.25rem; position: sticky; top: 1.5rem; }
.catalog-doc-layout aside strong { color: #0f172a; margin-bottom: .25rem; }
.catalog-doc-layout aside a { color: #475569; font-size: .94rem; }
.catalog-doc-layout article { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: clamp(1.5rem, 4vw, 3.2rem); }
.catalog-doc-layout article section + section, .catalog-doc-layout article > div + section { border-top: 1px solid #e2e8f0; margin-top: 2.7rem; padding-top: 2.7rem; }
.catalog-doc-layout h2 { color: #0f172a; font-size: 1.7rem; margin: .3rem 0 1rem; }
.catalog-doc-layout p { color: #475569; line-height: 1.75; }
.catalog-doc-steps { counter-reset: steps; display: grid; gap: 1rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.catalog-doc-steps li { align-items: flex-start; display: flex; gap: 1rem; }
.catalog-doc-steps span { align-items: center; background: #e0e7ff; border-radius: 50%; color: #3730a3; display: inline-flex; flex: 0 0 2rem; font-weight: 800; height: 2rem; justify-content: center; }
.catalog-doc-steps p { margin: .1rem 0; }
.catalog-doc-layout details { border: 1px solid #e2e8f0; border-radius: 10px; margin-top: .8rem; padding: 1rem 1.15rem; }
.catalog-doc-layout summary { color: #0f172a; cursor: pointer; font-weight: 700; }
.catalog-doc-layout details p { margin: .8rem 0 0; }
@media (max-width: 720px) { .catalog-doc-layout { display: block; margin-top: 1.5rem; } .catalog-doc-layout aside { display: none; } .catalog-doc-hero { padding-top: 6rem; } }

.product-showcase-kicker {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.product-showcase-intro {
    max-width: 680px;
    margin: -1.5rem auto 2.5rem;
    color: var(--text-secondary);
    text-align: center;
}

.product-showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 220px));
    justify-content: center;
    gap: .9rem;
}

.showcase-shot {
    margin: 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-dark);
    box-shadow: var(--shadow-card);
}
.showcase-shot--captioned { position: relative; }
.showcase-shot--captioned figcaption {
    background: rgba(15, 23, 42, .88);
    bottom: 0;
    color: #f8fafc;
    font-size: .72rem;
    font-weight: 700;
    left: 0;
    line-height: 1.25;
    padding: .45rem .55rem;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 1;
}
.showcase-shot img { cursor: zoom-in; }
.showcase-lightbox {
    background: transparent;
    border: 0;
    box-sizing: border-box;
    height: 100dvh;
    inset: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: clamp(1rem, 4vw, 3rem);
    width: 100dvw;
}
.showcase-lightbox[open] { display: grid; place-items: center; }
.showcase-lightbox::backdrop { background: rgba(2, 6, 23, .88); backdrop-filter: blur(5px); }
.showcase-lightbox img { cursor: zoom-out; display: block; height: auto; margin: auto; max-height: 90vh; max-width: 92vw; object-fit: contain; width: auto; }
.showcase-lightbox-close { align-items: center; background: #fff; border: 0; border-radius: 50%; color: #0f172a; cursor: pointer; display: flex; font-size: 1.1rem; height: 2.5rem; justify-content: center; position: fixed; right: 1.6rem; top: 1.6rem; width: 2.5rem; }
.release-manager-detail { background: #f8fafc; padding: 5rem 0; }
.release-manager-heading { align-items: flex-start; display: flex; gap: 1.25rem; justify-content: space-between; }
.release-manager-heading .section-title { margin: .25rem 0 0; text-align: left; }
.release-manager-status { background: #e0f2fe; border: 1px solid #bae6fd; border-radius: 999px; color: #075985; font-size: .84rem; font-weight: 700; line-height: 1.35; padding: .55rem .8rem; text-align: center; }
.release-manager-intro { color: #334155; font-size: 1.08rem; line-height: 1.8; margin: 1.5rem 0 2rem; max-width: 900px; }
.release-manager-features { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.5rem 1.7rem; }
.release-manager-features h3 { color: #0f172a; margin: 0 0 .8rem; }
.release-manager-features ul { columns: 2; gap: 2.5rem; margin: 0; padding-left: 1.2rem; }
.release-manager-features li { break-inside: avoid; color: #475569; line-height: 1.6; margin: .45rem 0; }
@media (max-width: 720px) { .release-manager-heading { display: block; } .release-manager-status { display: inline-block; margin-top: 1rem; } .release-manager-features ul { columns: 1; } }

.showcase-shot img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.showcase-shot:hover img { transform: scale(1.025); }

/* Einzelne Hochformat-Screenshots dürfen nicht die ganze Seite in die Länge ziehen.
   Die vollständige, unverzerrte Ansicht bleibt per Klick im Lightbox-Dialog erreichbar. */
.product-showcase--compact-thumbnails .product-showcase-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.product-showcase--compact-thumbnails .showcase-shot {
    flex: 0 1 220px;
    height: 150px;
}

.product-showcase--compact-thumbnails .showcase-shot img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-showcase--compact-thumbnails .showcase-shot:hover img {
    transform: scale(1.015);
}

@media (max-width: 540px) {
    .product-showcase-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .showcase-shot,
    .product-showcase--compact-thumbnails .showcase-shot {
        height: 110px;
    }

    .product-showcase--compact-thumbnails .showcase-shot img {
        max-width: 100%;
        max-height: 100%;
    }
}

.showcase-trailer {
    max-width: 980px;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.showcase-trailer h3 { margin-bottom: 1rem; }
.showcase-trailer video { width: 100%; display: block; border-radius: 14px; background: #000; }
.showcase-trailer p { margin-top: 0.75rem; color: var(--text-secondary); }

.doc-card .doc-icon {
    overflow: hidden;
    padding: 0.8rem;
}

.product-hero-icon {
    overflow: hidden;
    padding: 1rem;
}

.page-home .feature-tag {
    font-weight: 600;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1200px) {
    .page-home .nav-container {
        flex-wrap: wrap;
    }

    .top-controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .top-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .view-switcher,
    .language-switcher {
        justify-content: center;
        width: 100%;
    }

    .view-btn,
    .lang-btn {
        justify-content: center;
        flex: 1 1 0;
    }

    .page-home .hero-content {
        padding: 0 1rem 3rem;
    }
}

@media (max-width: 560px) {
    .page-home .nav-logo {
        flex: 1 1 auto;
    }

    .page-home .hero-buttons {
        width: 100%;
    }

    .page-home .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .flag-icon {
        width: 1.45rem;
        height: 1.45rem;
    }
}

/* Documentation v2: shared dark visual language for every German manual. */
body.doc-page,
body[data-doc-product] {
    background:
        radial-gradient(ellipse at 75% 0%, rgba(20, 108, 255, .22), transparent 38rem),
        linear-gradient(145deg, #06101e 0%, #09192c 52%, #040a13 100%);
    color: #eaf3ff;
}

body.doc-page .navbar,
body[data-doc-product] .navbar {
    background: rgba(5, 13, 25, .88);
    border-bottom: 1px solid rgba(75, 162, 255, .22);
    backdrop-filter: blur(18px);
}

body.doc-page .doc-container,
body[data-doc-product] .catalog-doc {
    padding-top: 8rem;
}

body.doc-page .doc-content,
body[data-doc-product] .catalog-doc article {
    color: #b7cbe7;
}

body.doc-page .doc-content h1,
body.doc-page .doc-content h2,
body.doc-page .doc-content h3,
body[data-doc-product] .catalog-doc h1,
body[data-doc-product] .catalog-doc h2,
body[data-doc-product] .catalog-doc h3 {
    color: #f6f9ff;
}

body.doc-page .doc-content h1,
body[data-doc-product] .catalog-doc-hero h1 {
    text-shadow: 0 8px 32px rgba(0, 120, 255, .3);
}

body.doc-page .doc-content h2 {
    border-color: rgba(73, 151, 255, .35);
}

body.doc-page .feature-box,
body.doc-page .step,
body.doc-page .warning-box,
body.doc-page .doc-nav,
body[data-doc-product] .catalog-doc-hero,
body[data-doc-product] .catalog-doc article,
body[data-doc-product] .catalog-doc aside {
    background: linear-gradient(145deg, rgba(14, 37, 68, .94), rgba(6, 20, 39, .96));
    border: 1px solid rgba(65, 152, 255, .28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

body[data-doc-product] .catalog-doc {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* The original catalogue stylesheet paints this wrapper in near-white.  It
   surrounds the dark document cards, so it must stay transparent on every
   localized catalogue document as well. */
body[data-doc-product] .catalog-doc,
body[data-doc-product] .catalog-doc-layout {
    background: transparent !important;
}
body.doc-page .doc-container {
    background: transparent !important;
}

body[data-doc-product] .catalog-doc-hero {
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

body[data-doc-product] .catalog-doc-hero::after {
    content: "";
    position: absolute;
    inset: auto -6rem -10rem auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent, #1687ff), transparent 67%);
    opacity: .25;
    pointer-events: none;
}

body[data-doc-product] .catalog-doc-hero > * { position: relative; z-index: 1; }
body[data-doc-product] .catalog-doc-hero > p:first-child,
body[data-doc-product] .catalog-doc-eyebrow {
    color: #62b4ff;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 800;
}
body[data-doc-product] .catalog-doc-hero h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); margin: .4rem 0 1rem; }
body[data-doc-product] .catalog-doc-hero p { max-width: 48rem; color: #c1d7f3; font-size: 1.08rem; line-height: 1.7; }
body[data-doc-product] .catalog-doc-hero > div { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }

body[data-doc-product] .catalog-doc-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0 5rem;
}
body[data-doc-product] .catalog-doc aside {
    align-self: start;
    position: sticky;
    top: 6.5rem;
    border-radius: 16px;
    padding: 1.1rem;
}
body[data-doc-product] .catalog-doc aside strong { display: block; color: #f4f8ff; margin-bottom: .7rem; }
body[data-doc-product] .catalog-doc aside a { display: block; color: #9ebce2; text-decoration: none; padding: .55rem .65rem; border-radius: 8px; }
body[data-doc-product] .catalog-doc aside a:hover { color: #fff; background: rgba(35, 132, 255, .15); }
body[data-doc-product] .catalog-doc article { border-radius: 16px; padding: clamp(1.5rem, 3vw, 3rem); }
body[data-doc-product] .catalog-doc article section + section { border-top: 1px solid rgba(88, 162, 255, .2); margin-top: 2rem; padding-top: 2rem; }
body[data-doc-product] .catalog-doc article p,
body[data-doc-product] .catalog-doc article li { color: #b7cbe7; line-height: 1.65; }
body[data-doc-product] .catalog-doc-steps { list-style: none; padding: 0; counter-reset: docs-step; }
body[data-doc-product] .catalog-doc-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; margin: .8rem 0; }
body[data-doc-product] .catalog-doc-steps li span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, #138dff, #3457ff); }
body[data-doc-product] .catalog-doc-steps p { margin: .22rem 0; }
body[data-doc-product] .catalog-doc details { border: 1px solid rgba(72, 151, 255, .25); border-radius: 10px; padding: .9rem 1rem; margin-top: .7rem; background: rgba(5, 19, 39, .5); }
body[data-doc-product] .catalog-doc summary { color: #f1f7ff; cursor: pointer; font-weight: 700; }
body[data-doc-product] .catalog-doc details p { margin: .8rem 0 .1rem; }

@media (max-width: 760px) {
    body[data-doc-product] .catalog-doc { padding-left: 1rem; padding-right: 1rem; }
    body[data-doc-product] .catalog-doc-layout { grid-template-columns: 1fr; }
    body[data-doc-product] .catalog-doc aside { position: static; display: flex; flex-wrap: wrap; gap: .3rem; }
    body[data-doc-product] .catalog-doc aside strong { width: 100%; }
}

/* Legacy direct product URLs use the same dark limitation and CTA treatment. */
body:not(.product-detail-v2) .product-limitations {
    background: linear-gradient(145deg, #07172b, #030d1d) !important;
    color: #eaf3ff;
}
body:not(.product-detail-v2) .product-limitations .section-title,
body:not(.product-detail-v2) .product-limitations h2 { color: #f5f9ff !important; }
body:not(.product-detail-v2) .product-limitations .limitation-item {
    background: linear-gradient(145deg, rgba(13, 42, 78, .96), rgba(5, 23, 49, .96));
    border: 1px solid rgba(67, 154, 255, .28);
}
body:not(.product-detail-v2) .product-limitations .limitation-item p,
body:not(.product-detail-v2) .product-limitations .limitation-item strong { color: #eaf3ff !important; }
body:not(.product-detail-v2) .product-cta .btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #178dff, #0756e8) !important;
    border-color: #62c9ff !important;
}

/* Store-description panels are injected after the legacy markup.  Keep them
   in the same dark surface system instead of letting their original light
   fallback interrupt a product page. */
body:not(.product-detail-v2) .release-manager-detail {
    background: linear-gradient(145deg, #07172b, #030d1d) !important;
    color: #eaf3ff !important;
}
body:not(.product-detail-v2) .release-manager-detail .release-manager-heading,
body:not(.product-detail-v2) .release-manager-detail .section-title,
body:not(.product-detail-v2) .release-manager-detail h3 {
    color: #f5f9ff !important;
}
body:not(.product-detail-v2) .release-manager-detail .release-manager-intro,
body:not(.product-detail-v2) .release-manager-detail li {
    color: #bfd2ed !important;
}
body:not(.product-detail-v2) .release-manager-detail .release-manager-features {
    background: linear-gradient(145deg, rgba(13, 42, 78, .96), rgba(5, 23, 49, .96)) !important;
    border-color: rgba(67, 154, 255, .28) !important;
    color: #eaf3ff !important;
}
body:not(.product-detail-v2) .release-manager-detail .release-manager-status {
    background: rgba(20, 106, 220, .2) !important;
    border-color: rgba(98, 201, 255, .35) !important;
    color: #a9d7ff !important;
}

/* Language-specific documentation directories share the dark documentation
   surface without needing a separate stylesheet per language. */
body.docs-directory-page {
    background: radial-gradient(ellipse at 82% 0%, rgba(18, 103, 235, .2), transparent 42rem), #06101e;
    color: #eaf3ff;
}
.docs-directory { max-width: 1280px; margin: 0 auto; padding: 8.5rem 1.5rem 5rem; }
.docs-directory-hero { max-width: 48rem; margin-bottom: 2.25rem; }
.docs-directory-hero p { color: #67b7ff; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.docs-directory-hero h1 { color: #f6f9ff; font-size: clamp(2.3rem, 5vw, 4.5rem); margin: .45rem 0 1rem; }
.docs-directory-hero > div { color: #b7cbe7; font-size: 1.1rem; line-height: 1.7; }
.docs-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.docs-directory-card { background: linear-gradient(145deg, rgba(14,37,68,.95), rgba(5,20,39,.96)); border: 1px solid rgba(65,152,255,.25); border-radius: 16px; padding: 1.35rem; text-decoration: none; min-height: 10rem; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.docs-directory-card:hover { transform: translateY(-3px); border-color: rgba(96,193,255,.68); box-shadow: 0 18px 38px rgba(0,0,0,.25); }
.docs-directory-card strong { color: #f6f9ff; font-size: 1.1rem; }
.docs-directory-card span { color: #a9c2e4; line-height: 1.55; margin-top: .55rem; }
.docs-directory-card em { color: #65b9ff; font-size: .88rem; font-style: normal; font-weight: 700; margin-top: auto; padding-top: 1rem; }
@media (max-width: 860px) { .docs-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .docs-directory { padding: 7rem 1rem 3rem; } .docs-directory-grid { grid-template-columns: 1fr; } }
