/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --success: #10b981;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
}

/* Base Styles */
* {
    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(--dark);
    background: #fff;
}

/* Workspace Container - Match Website Layout */
.workspace-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Workspace Styles - High Priority */
.workspace {
    display: none !important;
    grid-template-columns: 1fr 1.3fr !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
}

.workspace.show {
    display: grid !important;
}

.video-card, .transcript-card {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 16px !important;
    padding: 16px !important;
}

.video-wrapper {
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
}

.video-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.video-info {
    margin-bottom: 20px !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 12px !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.video-info h3 {
    margin: 0 0 12px 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.video-info p {
    margin: 6px 0 !important;
    color: #546e7a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.video-info p::before {
    content: '' !important;
    width: 4px !important;
    height: 4px !important;
    background: #ff8c2a !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.video-stats {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 2px solid #dee2e6 !important;
    font-size: 14px !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.video-stats span {
    background: #fff !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.video-stats span:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    border-color: #ff8c2a !important;
    color: #ff8c2a !important;
}

.video-actions {
    display: flex !important;
    gap: 10px !important;
}

.v-btn {
    padding: 8px 14px !important;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    cursor: pointer !important;
}

.v-btn.primary {
    background: #ff8c2a !important;
    color: #fff !important;
    border: none !important;
}

.transcript-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.ts-search {
    width: 70% !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
}

.transcript-body {
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    font-size: 14px !important;
    padding-right: 8px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ddd #f9f9f9 !important;
}

/* Webkit scrollbar styling */
.transcript-body::-webkit-scrollbar {
    width: 6px !important;
}

.transcript-body::-webkit-scrollbar-track {
    background: #f9f9f9 !important;
    border-radius: 3px !important;
}

.transcript-body::-webkit-scrollbar-thumb {
    background: #ddd !important;
    border-radius: 3px !important;
}

.transcript-body::-webkit-scrollbar-thumb:hover {
    background: #bbb !important;
}

.ts-row {
    padding: 6px 0 !important;
    line-height: 1.6 !important;
    cursor: pointer !important;
}

.ts-row:hover {
    background: #f9f9f9 !important;
    border-radius: 6px !important;
}

.ts-row .time {
    color: #ff8c2a !important;
    font-weight: 600 !important;
    margin-right: 8px !important;
}

@media(max-width: 900px) {
    .workspace {
        grid-template-columns: 1fr !important;
    }
}

/* AI Merged Section Container - Match Website Layout */
.ai-merged-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* AI Merged Section - High Priority */
.ai-merged {
    display: none !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 24px !important;
    background: #fff6eb !important;
    border: 1px solid #ffd8b0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-top: 24px !important;
    margin-bottom: 30px !important;
}

.ai-merged.show {
    display: grid !important;
}

.ai-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.ai-header .icon {
    background: #ffe3c4 !important;
    padding: 8px !important;
    border-radius: 8px !important;
}

.ai-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

.ai-card {
    background: #fff !important;
    border: 1px solid #ffd8b0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: .25s !important;
}

.ai-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.08) !important;
}

.ai-icon {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 10px !important;
    background: #fff1de !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-right {
    background: #fff !important;
    border: 1px solid #ffd8b0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
}

.ai-panel-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.feedback-btn {
    border: 1px solid #ffb266 !important;
    background: #fff !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.ai-search {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 14px !important;
}

.ai-language label {
    font-size: 13px !important;
    color: #555 !important;
}

.ai-language select {
    width: 100% !important;
    margin-top: 6px !important;
    padding: 8px !important;
    border-radius: 8px !important;
}

.ai-empty {
    text-align: center !important;
    padding: 30px 10px !important;
    color: #777 !important;
}

.try-btn {
    margin-top: 10px !important;
    background: #ff8c2a !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
}

.ai-generated-content {
    margin-top: 16px !important;
    padding: 16px !important;
    background: #f9f9f9 !important;
    border-radius: 10px !important;
    border: 1px solid #eee !important;
}

@media(max-width: 900px) {
    .ai-merged {
        grid-template-columns: 1fr !important;
    }
}

/* Transcript Toggle Switch */
.ts-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.ts-toggle input[type="checkbox"] {
    width: 40px !important;
    height: 20px !important;
    appearance: none !important;
    background: #ddd !important;
    border-radius: 20px !important;
    position: relative !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

.ts-toggle input[type="checkbox"]:checked {
    background: #ff8c2a !important;
}

.ts-toggle input[type="checkbox"]::before {
    content: '' !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: white !important;
    top: 2px !important;
    left: 2px !important;
    transition: transform 0.3s !important;
}

.ts-toggle input[type="checkbox"]:checked::before {
    transform: translateX(20px) !important;
}

.ts-toggle span {
    font-size: 14px !important;
    color: #555 !important;
    user-select: none !important;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #ff8c2a !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(255, 140, 42, 0.3) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    transform: translateY(100px) !important;
    z-index: 9999 !important;
    pointer-events: none !important;
}

.scroll-top-btn.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.scroll-top-btn:hover {
    background: #e67a22 !important;
    box-shadow: 0 6px 20px rgba(255, 140, 42, 0.4) !important;
    transform: translateY(-2px) !important;
}

.scroll-top-btn svg {
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.3s ease !important;
}

.scroll-top-btn:hover svg {
    transform: translateY(-1px) !important;
}

/* Mobile adjustments for scroll button */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .scroll-top-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Loading and Error States */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 20px 0;
}

.error-message p {
    margin: 8px 0;
}

/* Search highlighting */
mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
}

.logo-link {
    text-decoration: none !important;
    color: inherit !important;
}

.logo-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.logo-link:focus {
    outline: 2px solid #ff8c2a !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.bookmark-link {
    color: var(--success) !important;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.bookmark-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Bookmark Banner */
.bookmark-banner {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bookmark-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.bookmark-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.bookmark-text {
    font-size: 1rem;
    font-weight: 500;
}

.bookmark-text strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.bookmark-close {
    position: absolute;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bookmark-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.bookmark-hint {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out;
}

.bookmark-hint strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.input-group {
    display: flex;
    max-width: 700px;
    margin: 0 auto 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.url-input {
    flex: 1;
    min-width: 300px;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.btn-primary {
    padding: 1.2rem 2.5rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.features-badge {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Trust Bar */
.trust-bar {
    background: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    background: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.step p {
    color: var(--gray);
    line-height: 1.7;
}

/* Use Cases */
.use-cases {
    background: white;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.use-case h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.use-case ul {
    list-style: none;
    color: var(--gray);
}

.use-case li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.use-case li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Comparison */
.comparison {
    background: var(--light);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-mark {
    color: var(--success);
    font-size: 1.5rem;
    font-weight: bold;
}

.x-mark {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.testimonial-text {
    color: var(--dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* AI Prompts */
.ai-prompts {
    background: var(--light);
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.prompt-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.prompt-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.prompt-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-text {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    font-family: 'Courier New', monospace;
}

/* Languages */
.languages {
    background: white;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.language-item {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--dark);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.language-item:hover {
    border-color: var(--primary);
    background: white;
}

/* FAQ */
.faq {
    background: var(--light);
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Chrome Extension */
.chrome-extension {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 2rem;
}

.chrome-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.chrome-features ul {
    list-style: none;
    margin: 2rem 0;
}

.chrome-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.chrome-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-chrome {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-chrome:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-secondary {
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Terms Page Styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.terms-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--dark);
}

.terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--gray);
}

.terms-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.terms-section a:hover {
    text-decoration: underline;
}

.blog-featured {
    max-width: 1000px;
    margin: 0 auto 2.25rem;
}

.blog-featured-link {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-featured-link:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.blog-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.blog-card-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    margin-bottom: 1.25rem;
}

.blog-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.14);
}

.blog-card-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Menu Toggle - Hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Extra Small Screens - Fix horizontal scroll */
@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .hero {
        padding: 3rem 1rem 2rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .workspace-container,
    .ai-merged-container {
        padding: 0 1rem;
    }
    
    /* Fix AI section for very small screens */
    .ai-tools-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .ai-card {
        padding: 12px !important;
    }
    
    .ai-icon {
        width: 36px !important;
        height: 36px !important;
    }
    
    .ai-right {
        padding: 12px !important;
    }
    
    /* Fix workspace section for very small screens */
    .workspace {
        gap: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .video-card,
    .transcript-card {
        padding: 12px !important;
        border-radius: 12px !important;
    }
    
    .video-wrapper {
        margin-bottom: 8px !important;
    }
    
    .video-info {
        padding: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .transcript-header {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }
    
    .ts-search {
        width: 100% !important;
    }
    
    /* Fix input group for very small screens */
    .input-group {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .url-input {
        min-width: 0 !important;
        padding: 1rem !important;
    }
    
    .btn-primary {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 0.75rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .mobile-menu-toggle:hover {
        background: rgba(99, 102, 241, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
        transform: translateY(-1px);
    }

    .mobile-menu-toggle:active {
        transform: translateY(0);
    }

    .mobile-menu-toggle svg {
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover svg {
        color: var(--primary-dark);
        transform: scale(1.05);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 0.25rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0 0 12px 12px;
        margin-top: -1px;
    }

    .nav-links.active li {
        opacity: 0;
        transform: translateY(-10px);
        animation: slideIn 0.3s ease forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active a {
        display: block;
        padding: 0.875rem 1rem;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.2s ease;
        color: var(--dark);
        background: transparent;
        border: 1px solid transparent;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links.active a:hover {
        background: rgba(99, 102, 241, 0.08);
        color: var(--primary);
        border-color: rgba(99, 102, 241, 0.15);
        transform: none;
    }

    .nav-links.active .nav-cta {
        margin-top: 0.5rem;
        background: var(--primary);
        color: white !important;
        border: 1px solid var(--primary);
        text-align: center;
    }

    .nav-links.active .nav-cta:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: none;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    }

    .chrome-content {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }
}
        / *   B l o g   C a r d   S t y l e s   * /  
         . b l o g - c a r d   {  
                 b a c k g r o u n d :   w h i t e ;  
                 b o r d e r - r a d i u s :   1 6 p x ;  
                 b o x - s h a d o w :   0   1 0 p x   4 0 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ;  
                 b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
                 o v e r f l o w :   h i d d e n ;  
                 h e i g h t :   1 0 0 % ;  
                 d i s p l a y :   f l e x ;  
                 f l e x - d i r e c t i o n :   c o l u m n ;  
                 t r a n s i t i o n :   t r a n s f o r m   0 . 2 5 s   e a s e ,   b o x - s h a d o w   0 . 2 5 s   e a s e ;  
         }  
  
         . b l o g - c a r d : h o v e r   {  
                 t r a n s f o r m :   t r a n s l a t e Y ( - 4 p x ) ;  
                 b o x - s h a d o w :   0   2 0 p x   4 0 p x   r g b a ( 0 , 0 , 0 , 0 . 0 8 ) ;  
         }  
  
         . b l o g - c a r d - h e a d e r   {  
                 w i d t h :   1 0 0 % ;  
                 a s p e c t - r a t i o :   1 6 / 9 ;  
                 o v e r f l o w :   h i d d e n ;  
                 b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
                 p o s i t i o n :   r e l a t i v e ;  
         }  
  
         . b l o g - c a r d - h e a d e r   i m g   {  
                 w i d t h :   1 0 0 % ;  
                 h e i g h t :   1 0 0 % ;  
                 o b j e c t - f i t :   c o v e r ;  
                 t r a n s i t i o n :   t r a n s f o r m   0 . 5 s   e a s e ;  
                 d i s p l a y :   b l o c k ;  
         }  
  
         . b l o g - c a r d : h o v e r   . b l o g - c a r d - h e a d e r   i m g   {  
                 t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ;  
         }  
  
         . b l o g - c a r d - c o n t e n t   {  
                 p a d d i n g :   2 r e m ;  
                 f l e x :   1 ;  
                 d i s p l a y :   f l e x ;  
                 f l e x - d i r e c t i o n :   c o l u m n ;  
         }  
  
         . b l o g - c a r d - c o n t e n t   h 3   {  
                 m a r g i n - b o t t o m :   1 r e m ;  
                 f o n t - s i z e :   1 . 5 r e m ;  
                 l i n e - h e i g h t :   1 . 3 ;  
                 f o n t - w e i g h t :   7 0 0 ;  
         }  
  
         . b l o g - c a r d - c o n t e n t   h 3   a   {  
                 c o l o r :   v a r ( - - d a r k ) ;  
                 t e x t - d e c o r a t i o n :   n o n e ;  
                 t r a n s i t i o n :   c o l o r   0 . 2 s ;  
         }  
  
         . b l o g - c a r d - c o n t e n t   h 3   a : h o v e r   {  
                 c o l o r :   v a r ( - - p r i m a r y ) ;  
         }  
  
         . b l o g - c a r d - c o n t e n t   p   {  
                 c o l o r :   v a r ( - - g r a y ) ;  
                 l i n e - h e i g h t :   1 . 6 ;  
                 m a r g i n - b o t t o m :   0 ;  
         }  
 