/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Blue (from logo/extension) */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Logo Colors */
    --logo-blue: #00a0dc;
    --logo-teal: #2dd4bf;
    --logo-green: #22c55e;
    --logo-dark: #1e3a5f;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic */
    --success: #22c55e;
    --error: #ef4444;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
}

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

a {
    color: var(--primary-600);
    text-decoration: none;
}

a:hover {
    color: var(--primary-700);
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #499f7c;
    color: white;
}

.btn-primary:hover {
    background: #3d8a6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 159, 124, 0.4);
    color: white;
}

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

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-800);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

.chrome-icon {
    width: 20px;
    height: 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 12px 0;
}

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

.logo img {
    height: 45px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: #fff;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== Video Section ===== */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    text-align: center;
}

.video-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--gray-900);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--gray-500);
}

.play-icon {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.video-wrapper iframe {
    width: 100%;
    height: 450px;
}

/* ===== Why Section ===== */
.why-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.why-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 48px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-card.featured {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
    transform: scale(1.02);
}

.comparison-header {
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
}

.comparison-header.bad {
    background: var(--gray-100);
    color: var(--gray-600);
}

.comparison-header.good {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.comparison-list {
    list-style: none;
    padding: 24px;
}

.comparison-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.comparison-list li::before {
    font-size: 18px;
}

.comparison-list li.positive::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.comparison-list li.negative::before {
    content: '✗';
    color: var(--error);
}

/* ===== Features Section ===== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.features-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--gray-900);
}

.highlight {
    color: var(--primary-600);
}

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

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Audience Section ===== */
.audience-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.audience-section h2 {
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--gray-900);
}

.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    color: var(--gray-700);
}

.audience-icon {
    font-size: 24px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand img {
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 14px;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    font-size: 14px;
}

/* ===== Support Page ===== */
.support-page {
    padding-top: 80px;
}

.support-header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.support-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.support-header p {
    font-size: 18px;
    opacity: 0.9;
}

.kb-embed {
    min-height: 80vh;
    padding: 40px 0;
}

.kb-embed iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 80px;
}

.legal-header {
    background: var(--gray-100);
    padding: 60px 0;
    text-align: center;
}

.legal-header h1 {
    font-size: 36px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.legal-header p {
    color: var(--gray-500);
}

.legal-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--gray-900);
    margin: 40px 0 16px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--primary-600);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-card.featured {
        transform: none;
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .video-section h2,
    .why-section h2,
    .features-section h2,
    .audience-section h2,
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .audience-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}