/* ==========================================================================
   AUTOCHECK24 ADVERTORIAL - CONVERSION OPTIMIZED
   Visuell dicht | Desktop-optimiert | German Market
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #222;
    background: #f4f5f7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

strong {
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background: #1a2a3a;
    padding: 8px 0;
}

.top-bar-text {
    color: #8aa3c1;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 3px solid #0056b3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-auto { color: #1a1a1a; }
.logo-check { color: #d32f2f; }
.logo-net { color: #666; font-weight: 400; }

.main-nav {
    display: flex;
    align-items: center;
}

.nav-label {
    color: #666;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a3050 100%);
    padding: 40px 0;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.25;
}

.hero-title span {
    color: #ffc107;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #b8c9de;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.hero-image-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    padding: 12px 18px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255,193,7,0.4);
}

.badge-rating {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
}

.badge-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #5d4800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   MAIN GRID
   -------------------------------------------------------------------------- */
.main-content {
    padding: 30px 0 50px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   ARTICLE CONTENT
   -------------------------------------------------------------------------- */
.article-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Author Box Inline */
.author-box-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #f8f9fb;
    border-bottom: 1px solid #e5e8ed;
}

.author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.author-role {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.author-meta {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: #555;
}

.author-meta span {
    background: #e8f0fe;
    padding: 5px 10px;
    border-radius: 4px;
}

.author-meta strong {
    color: #0056b3;
}

/* Content Blocks */
.content-block {
    padding: 25px 30px;
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a2a3a;
}

.content-block p {
    margin-bottom: 15px;
    color: #333;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Quote Block */
.quote-block {
    background: #f0f4f8;
    border-left: 4px solid #0056b3;
    padding: 20px 25px;
    margin: 20px 0;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #0056b3;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
}

.quote-block p {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #1a2a3a;
    margin: 0;
    padding-left: 30px;
}

/* Warning Box */
.warning-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid #d32f2f;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 0 30px 25px;
}

.warning-icon {
    font-size: 2rem;
}

.warning-content strong {
    display: block;
    font-size: 1.2rem;
    color: #c62828;
    margin-bottom: 3px;
}

.warning-content p {
    margin: 0;
    color: #5d1a1a;
    font-size: 0.95rem;
}

/* Image Row */
.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 30px 25px;
}

.image-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 0.75rem;
    padding: 30px 12px 10px;
}

/* Highlight Box */
.highlight-box {
    background: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.highlight-box.red {
    background: #fff5f5;
    border-left-color: #d32f2f;
}

.highlight-box strong {
    font-size: 1.1rem;
    color: #c62828;
}

/* Key Point Box */
.key-point-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #1976d2;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 0 30px 25px;
}

.key-point-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #0d47a1;
    font-size: 0.9rem;
}

.key-icon {
    font-size: 1.3rem;
}

.key-point-text {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    color: #0d47a1;
    margin: 0;
    line-height: 1.4;
}

/* Damage Grid */
.damage-grid {
    padding: 0 30px 25px;
}

.damage-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 12px;
}

.damage-item:last-child {
    margin-bottom: 0;
}

.damage-icon {
    width: 50px;
    height: 50px;
    background: #ffebee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.damage-icon img {
    width: 26px;
    height: 26px;
}

.damage-content strong {
    display: block;
    color: #c62828;
    margin-bottom: 5px;
}

.damage-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Timeline Box */
.timeline-box {
    background: #1a2a3a;
    padding: 25px 30px;
    margin: 0 30px 30px;
    border-radius: 8px;
}

.timeline-header {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
}

.timeline-items {
    display: flex;
    gap: 15px;
}

.timeline-item {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 15px;
    border-left: 4px solid #4caf50;
}

.timeline-item.warning {
    border-left-color: #ffc107;
}

.timeline-item.critical {
    border-left-color: #d32f2f;
    background: rgba(211,47,47,0.2);
}

.timeline-period {
    display: block;
    color: #ffc107;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.timeline-desc {
    display: block;
    color: #b8c9de;
    font-size: 0.8rem;
    line-height: 1.4;
}

.timeline-item.critical .timeline-desc {
    color: #ffcdd2;
}

/* Section Divider */
.section-divider {
    text-align: center;
    padding: 30px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    height: 2px;
    background: #e0e0e0;
}

.section-divider span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    font-weight: 700;
    color: #0056b3;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Barriers Section */
.barriers-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 30px 30px;
}

.barrier-card {
    background: #f8f9fb;
    border: 2px solid #e5e8ed;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.barrier-card:hover {
    border-color: #0056b3;
    box-shadow: 0 5px 20px rgba(0,86,179,0.15);
    transform: translateY(-3px);
}

.barrier-number {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.barrier-image {
    margin: 10px 0 15px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f4f8;
}

.barrier-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.barrier-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1a2a3a;
}

.barrier-card p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Product Showcase */
.product-showcase {
    background: linear-gradient(135deg, #f0f7ff 0%, #e1efff 100%);
    border: 3px solid #0056b3;
    border-radius: 12px;
    padding: 30px;
    margin: 0 30px 30px;
    position: relative;
}

.product-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(255,193,7,0.4);
}

.product-header {
    text-align: center;
    margin-bottom: 25px;
}

.product-logo {
    height: 40px;
    margin: 0 auto 10px;
}

.product-header h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.product-tagline {
    color: #0056b3;
    font-weight: 600;
    margin: 0;
}

.product-images {
    margin-bottom: 25px;
}

.product-main-image {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-main-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-thumbnails img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-thumbnails img:hover {
    border-color: #0056b3;
}

.product-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,86,179,0.15);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    color: #2e7d32;
    font-weight: 800;
    font-size: 1.1rem;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    color: #333;
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(211,47,47,0.4);
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211,47,47,0.5);
    text-decoration: none;
    color: #fff;
}

.cta-arrow {
    font-size: 1.3rem;
}

.product-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #555;
}

/* Installation Section */
.installation-section {
    padding: 0 30px 30px;
}

.installation-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.installation-intro {
    color: #555;
    margin-bottom: 20px;
}

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

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

.installation-step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

/* Comparison Section */
.comparison-section {
    padding: 0 30px 30px;
}

.comparison-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.comparison-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.comparison-table {
    border: 2px solid #e5e8ed;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
}

.comparison-header {
    background: #1a2a3a;
}

.comparison-header .comp-col {
    padding: 12px 15px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.comparison-header .comp-col.carnox {
    background: #0056b3;
}

.comparison-row {
    border-bottom: 1px solid #e5e8ed;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: #f8f9fb;
}

.comparison-row .comp-col {
    padding: 12px 15px;
    font-size: 0.9rem;
}

.comparison-row .comp-col.label {
    font-weight: 600;
    color: #333;
}

.comparison-row .comp-col.standard,
.comparison-row .comp-col.carnox {
    text-align: center;
}

.comp-col .neg {
    color: #c62828;
}

.comp-col .neg::before {
    content: '✗ ';
}

.comp-col .pos {
    color: #2e7d32;
    font-weight: 600;
}

.comp-col .pos::before {
    content: '✓ ';
}

/* Video Section */
.video-section {
    padding: 0 30px 30px;
}

.video-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: #1a2a3a;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Testimonials */
.testimonials-section {
    padding: 0 30px 30px;
}

.testimonial-card {
    background: #fff;
    border: 2px solid #e5e8ed;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.customer-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-info {
    flex: 1;
}

.customer-info strong {
    display: block;
    font-size: 0.95rem;
}

.customer-info span {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
}

.testimonial-quote {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #1a2a3a;
    margin-bottom: 10px;
}

.testimonial-content p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

.testimonial-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.testimonial-images img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
}

/* Customer Gallery */
.customer-gallery {
    padding: 0 30px 30px;
}

.customer-gallery h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1a2a3a;
}

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

.gallery-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Rating Summary */
.rating-summary {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #f8f9fb;
    border: 2px solid #e5e8ed;
    border-radius: 10px;
    padding: 25px;
    margin: 0 30px 30px;
}

.rating-big {
    text-align: center;
    padding-right: 30px;
    border-right: 2px solid #e5e8ed;
}

.rating-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #1a2a3a;
    line-height: 1;
}

.rating-stars {
    display: block;
    color: #ffc107;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin: 5px 0;
}

.rating-count {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.rating-bars {
    flex: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.rating-bar-item:last-child {
    margin-bottom: 0;
}

.rating-bar-item span:first-child {
    width: 60px;
    color: #666;
}

.rating-bar-item span:last-child {
    width: 35px;
    text-align: right;
    color: #666;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ffb300);
    border-radius: 4px;
}

/* Value Section */
.value-section {
    padding: 0 30px 30px;
}

.value-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.value-items {
    margin-bottom: 20px;
}

.value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.value-item.bad {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
}

.value-item.good {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

.value-label {
    font-size: 0.95rem;
    color: #333;
}

.value-amount {
    font-weight: 800;
    font-size: 1.1rem;
}

.value-item.bad .value-amount {
    color: #c62828;
}

.value-item.good .value-amount {
    color: #2e7d32;
}

.value-conclusion {
    font-size: 1.05rem;
    text-align: center;
    color: #333;
}

/* Urgency Section */
.urgency-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 25px;
    margin: 0 30px 30px;
    text-align: center;
}

.urgency-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.urgency-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #5d4800;
}

.urgency-section p {
    font-size: 0.95rem;
    color: #5d4800;
    margin-bottom: 12px;
}

.urgency-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d32f2f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #1a2a3a 0%, #2d4a6a 100%);
    padding: 40px 30px;
    text-align: center;
}

.final-cta-section h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.final-cta-section > p {
    color: #b8c9de;
    margin-bottom: 25px;
}

.cta-checklist {
    max-width: 350px;
    margin: 0 auto 25px;
    text-align: left;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #fff;
    font-size: 0.95rem;
}

.check {
    color: #4caf50;
    font-weight: 700;
    font-size: 1.1rem;
}

.final-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    padding: 20px 50px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(211,47,47,0.5);
    transition: all 0.3s ease;
}

.final-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(211,47,47,0.6);
    text-decoration: none;
    color: #fff;
}

.cta-main {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-sub {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 5px;
}

.final-trust {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.final-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b8c9de;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.08);
    padding: 8px 14px;
    border-radius: 6px;
}

.final-trust .trust-item .trust-icon {
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 20px;
    border: 1px solid #e5e8ed;
}

.sidebar-title {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e5e8ed;
}

/* Author Sidebar */
.sidebar-author {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-author-info strong {
    display: block;
    font-size: 0.9rem;
}

.sidebar-author-info span {
    font-size: 0.75rem;
    color: #666;
}

.sidebar-author-bio {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Product Sidebar */
.product-sidebar {
    position: relative;
    border: 2px solid #0056b3;
}

.sidebar-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #ffc107;
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
}

.sidebar-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #f0f4f8;
}

.sidebar-product-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #1a2a3a;
}

.sidebar-features {
    list-style: none;
    margin-bottom: 15px;
}

.sidebar-features li {
    font-size: 0.8rem;
    padding: 5px 0;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-features li:last-child {
    border-bottom: none;
}

.sidebar-cta {
    display: block;
    background: #0056b3;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-cta:hover {
    background: #004494;
    text-decoration: none;
    color: #fff;
}

/* TOC Sidebar */
.toc-list {
    list-style: none;
}

.toc-list li {
    border-bottom: 1px solid #f0f0f0;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    display: block;
    padding: 10px 0;
    font-size: 0.85rem;
    color: #333;
}

.toc-list a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Sticky CTA */
.sidebar-sticky-cta {
    position: sticky;
    top: 20px;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,86,179,0.3);
}

.sticky-image-link {
    display: block;
    margin-bottom: 12px;
}

.sticky-product-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.sticky-image-link:hover .sticky-product-img {
    transform: scale(1.02);
}

.sticky-rating {
    color: #ffc107;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sticky-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.sticky-button {
    display: block;
    background: #fff;
    color: #0056b3;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sticky-button:hover {
    background: #ffc107;
    color: #1a1a1a;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: #1a2a3a;
    padding: 40px 0 20px;
    margin-top: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid #2d4050;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo-auto { color: #fff; }
.footer-brand p {
    color: #8aa3c1;
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #8aa3c1;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-disclaimer {
    padding: 20px 0;
    border-bottom: 1px solid #2d4050;
}

.footer-disclaimer p {
    color: #6b8299;
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom p {
    color: #4d6073;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   FLOATING CTA
   -------------------------------------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.floating-cta.visible {
    transform: translateY(0);
}

.floating-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-text {
    font-size: 1rem;
    color: #333;
}

.floating-button {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.floating-button:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    text-decoration: none;
    color: #fff;
}

/* --------------------------------------------------------------------------
   IMAGE PLACEHOLDERS (for missing images)
   -------------------------------------------------------------------------- */
img {
    background: linear-gradient(135deg, #e8ecef 0%, #d4dbe2 100%);
    min-height: 100px;
}

img[src*="icon-"] {
    min-height: auto;
    background: none;
}

/* Fallback for broken images */
img::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e8ecef 0%, #d4dbe2 100%);
}

/* --------------------------------------------------------------------------
   FIREFOX + MOBILE OPTIMIZATIONS
   -------------------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.floating-button,
.product-cta,
.final-cta-button,
.sidebar-cta,
.sticky-button {
    touch-action: manipulation;
}

@-moz-document url-prefix() {
    body {
        text-rendering: optimizeLegibility;
    }

    .hero-image img,
    .product-main-image img,
    .comparison-image img,
    .sticky-product-img {
        image-rendering: auto;
    }
}

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

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .sidebar-sticky-cta {
        position: static;
    }

    .footer-top {
        gap: 20px;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .hero-section {
        padding: 28px 0;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 1.95rem;
    }

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

    .hero-image-badge {
        right: 8px;
        top: 8px;
    }

    .content-block,
    .section-divider {
        padding-left: 18px;
        padding-right: 18px;
    }

    .warning-box,
    .key-point-box,
    .roi-box {
        margin-left: 18px;
        margin-right: 18px;
    }

    .image-row,
    .barriers-section,
    .scenario-comparison,
    .installation-grid,
    .gallery-grid,
    .comparison-table,
    .rating-summary,
    .final-trust {
        grid-template-columns: 1fr;
    }

    .author-box-inline {
        flex-wrap: wrap;
    }

    .author-meta {
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }

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

    .floating-content {
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

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

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .top-bar-text,
    .nav-label {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.72rem;
        line-height: 1.2;
    }

    .quote-block p {
        font-size: 1.05rem;
    }

    .footer-links {
        gap: 12px;
        flex-wrap: wrap;
    }
}
