/* DIY Air Purifier Website - Global Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
    white-space: nowrap;
}

.logo a svg {
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.main-nav > a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.25rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.main-nav > a:hover {
    color: var(--primary-color);
}

.nav-shop {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    transition: color 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.nav-dropdown-toggle:hover {
    color: var(--primary-color);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 0.5rem;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 450;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-color);
}

.nav-dropdown-menu a svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.nav-dropdown-menu a:hover svg {
    opacity: 1;
}

.language-selector {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s;
    white-space: nowrap;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 160px;
    max-height: 320px;
    overflow-y: auto;
    padding: 0.375rem;
    z-index: 200;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8125rem;
    border-radius: 4px;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.lang-dropdown a:hover {
    background-color: var(--bg-gray);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 1rem;
        gap: 0.25rem;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    
    .language-selector {
        order: -1;
    }
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.promo-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.promo-btn:hover {
    background-color: #d97706;
}

/* Videos & Planner Nav Links with NEW Badge */
.nav-videos,
.nav-planner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-planner svg {
    opacity: 0.85;
}

.video-slide .video-thumbnail .video-click-counter {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 100;
    pointer-events: none;
    line-height: 1;
}

.new-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Video Carousel Styles */
.video-carousel {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.video-carousel h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 0.75rem;
}

.video-carousel .section-subtitle {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.video-slide {
    flex: 0 0 320px;
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.video-slide .video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.video-slide .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slide .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-slide:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-slide .play-overlay svg {
    fill: #4f46e5;
    margin-left: 4px;
}

.video-slide .video-info {
    padding: 1.25rem;
}

.video-slide .video-info h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-slide .video-info .video-meta {
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    gap: 0.75rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.2);
}

.video-cta {
    text-align: center;
    margin-top: 2rem;
}

.video-cta .btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4f46e5;
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.video-cta .btn-youtube:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.video-links-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.video-links-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.video-links-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Testimonial Banner */
.testimonial-banner {
    background: #1a1a2e;
    padding: 1.25rem 0;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-dual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-quote {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 400px;
}

.quote-flag {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.testimonial-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.quote-german {
    color: #fbbf24;
}

.quote-english {
    color: #ffffff;
}

.testimonial-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-author {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.testimonial-video-link {
    color: #60a5fa;
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.testimonial-video-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .testimonial-dual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonial-divider {
        width: 60px;
        height: 2px;
    }
    
    .testimonial-quote {
        max-width: 100%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* Clean Hero - Gradient only, no image */
.hero.hero-clean {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    padding: 3rem 0 4rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Hero Testimonial Card - Prominent */
.hero-testimonial {
    margin: 2rem auto;
    max-width: 700px;
}

.hero-testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.testimonial-video-preview {
    flex-shrink: 0;
}

.video-play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.video-play-button:hover {
    transform: scale(1.05);
}

.video-play-button svg {
    filter: drop-shadow(0 4px 12px rgba(79, 70, 229, 0.4));
}

.video-label {
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content blockquote {
    margin: 0 0 0.75rem 0;
    font-style: italic;
    line-height: 1.5;
    font-size: 0.95rem;
}

.testimonial-content .quote-translation {
    opacity: 0.8;
    font-size: 0.875rem;
}

.testimonial-content .quote-flag {
    font-style: normal;
    margin-right: 0.25rem;
}

.testimonial-content .testimonial-author {
    margin: 0.75rem 0 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 1;
    text-align: left;
}

.verified-badge {
    background: #10b981;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

@media (max-width: 640px) {
    .hero-testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-content .testimonial-author {
        text-align: center;
    }
    
    .hero.hero-clean {
        padding: 2rem 0 3rem;
    }
}

/* ─── Featured Testimonial Spotlight ─────────────────────────────────────── */
.featured-testimonial-spotlight {
    margin: 2rem 0 2.5rem;
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.featured-testimonial-inner {
    padding: 2rem 2.5rem;
}

.featured-label-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.featured-new-badge {
    background: #4f46e5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
}

.featured-verified-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
    border: 1px solid #bbf7d0;
}

.featured-testimonial-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.featured-quote-col {
    position: relative;
}

.featured-quote-mark {
    color: #4f46e5;
    margin-bottom: 0.5rem;
    display: block;
}

.featured-quote-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1e293b;
    font-style: italic;
    margin: 0 0 1.25rem;
    border: none;
    padding: 0;
    background: none;
}

.featured-author-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.featured-stars {
    display: flex;
    gap: 2px;
}

.featured-author-name {
    color: #1e293b;
    font-size: 0.95rem;
}

.featured-author-location {
    color: #64748b;
    font-size: 0.875rem;
}

.featured-date {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: auto;
}

.featured-stat-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 180px;
}

.featured-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.featured-stat-card--sleep {
    background: #f8fafc;
}

.featured-stat-icon {
    color: #4f46e5;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.featured-stat-card--sleep .featured-stat-icon {
    color: #0ea5e9;
}

.featured-stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.featured-stat-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.3;
}

.featured-stat-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

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

    .featured-stat-col {
        flex-direction: row;
        min-width: unset;
    }

    .featured-stat-card {
        flex: 1;
    }

    .featured-testimonial-inner {
        padding: 1.5rem;
    }

    .featured-quote-text {
        font-size: 1.05rem;
    }

    .featured-date {
        margin-left: 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-gray);
}

/* Content Sections */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.keyword-card, .tech-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.keyword-card:hover, .tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Keywords & Technical Grids */
.keywords-grid, .technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Benefits List */
.benefits {
    list-style: none;
    padding: 0;
}

.benefits li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Promo Codes */
.promo-code {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
}

.promo-code code {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

/* Reviews */
.review {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

.rating {
    color: var(--accent-color);
}

/* Certifications */
.cert-badge {
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.cert-badge img {
    max-width: 150px;
    margin-bottom: 1rem;
}

/* Trust Badge - Energy Star Icon */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.trust-badge .energy-star-icon {
    height: 32px;
    width: auto;
    filter: brightness(1.1);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* YouTube CTA */
.youtube-cta {
    margin: 1.5rem 0;
}

.youtube-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.youtube-link:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    transform: translateY(-2px);
}

.youtube-link svg {
    flex-shrink: 0;
    color: #ff0000;
}

.youtube-link span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .keywords-grid, .technical-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Video Embed Styling */
.review-video {
    margin: 2rem 0;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin: 1rem 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.video-caption a {
    color: var(--primary-color);
    text-decoration: none;
}

.video-caption a:hover {
    text-decoration: underline;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Keyword Icon Styling */
.keyword-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    margin-bottom: 1rem;
    color: white;
}

.keyword-card .keyword-icon svg {
    color: white;
}

/* Reviewer Avatar Styling */
.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: white;
}

.reviewer-avatar svg {
    color: white;
}

/* Benefit Icon Styling */
.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    border-radius: 12px;
    margin-bottom: 1rem;
    color: white;
}

.benefit-card .benefit-icon svg {
    color: white;
}

/* Technical Icon Styling */
.technical-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Kit Materials Section */
.kit-materials {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.kit-materials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.kit-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kit-showcase img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.kit-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.kit-description ul {
    list-style: none;
    padding: 0;
}

.kit-description ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.kit-description ul li:last-child {
    border-bottom: none;
}

.kit-description ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .kit-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
}

/* London Page Styles */
.london-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.london-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.london-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.pollution-stats {
    padding: 4rem 0;
    background: white;
}

.pollution-stats h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.stat-card {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.stat-context {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.health-impact {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.health-impact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.health-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.health-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.health-text ul {
    list-style: none;
    padding: 0;
}

.health-text ul li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    line-height: 1.6;
}

.health-text ul li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.health-chart {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.health-chart h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
}

.chart-container {
    padding: 2rem 0;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    gap: 1rem;
}

.chart-bar {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: transform 0.3s ease;
}

.chart-bar:hover {
    transform: translateY(-8px);
}

.bar-label {
    position: absolute;
    bottom: 100%;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.chart-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-style: italic;
}

.london-solution {
    padding: 4rem 0;
    background: white;
}

.london-solution h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.solution-card {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-box .btn:hover {
    background: var(--bg-gray);
}

.data-sources {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.data-sources h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.source-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

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

.source-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.source-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.source-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.who-comparison {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.who-comparison h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.guidelines-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.guidelines-table th,
.guidelines-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.guidelines-table th {
    background: var(--bg-gray);
    color: var(--primary-color);
    font-weight: 600;
}

.guidelines-table tr:hover {
    background: var(--bg-gray-light);
}

.related-london {
    padding: 4rem 0;
    background: white;
}

.related-london h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.related-link-card {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.related-link-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.related-link-card p {
    color: var(--accent-color);
    font-weight: 600;
}

/* London Callout on Homepage */
.london-callout {
    padding: 3rem 0;
    background: var(--bg-gray);
}

.callout-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.callout-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.callout-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.callout-action {
    flex-shrink: 0;
}

.callout-action .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
}

.callout-action .btn:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .callout-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .callout-content h2 {
        font-size: 1.5rem;
    }
    
    .health-content {
        grid-template-columns: 1fr;
    }
    
    .london-hero h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
