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

:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --success: #22c55e;
    --warning: #f59e0b;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-center {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.desktop-logo {
    display: flex;
}

.mobile-logo {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 24px;
}

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

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

.nav-link-signup {
    background: var(--accent-gradient);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-link-signup:hover {
    color: white !important;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

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

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Hero Section with Parallax */
.hero {
    padding: 140px 24px 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    animation: parallaxBg 20s ease-in-out infinite alternate;
}

@keyframes parallaxBg {
    0% { background-position: 0% 0%, 100% 100%, 0 0; }
    100% { background-position: 100% 100%, 0% 0%, 0 0; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, rgba(20, 20, 30, 0.3) 50%, rgba(20, 20, 30, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent {
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 800;
    display: block;
    margin-top: 4px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin: 0 0 32px;
    }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45);
}

.hero-cta-btn svg {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .hero-cta-btn {
        margin: 0 auto;
    }
}

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

@media (min-width: 1024px) {
    .hero-cta {
        align-items: flex-start;
    }
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-cta-buttons {
        justify-content: flex-start;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-features {
        justify-content: flex-start;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-feature svg {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-mockup-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.hero-mockup:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.play-overlay svg {
    margin-left: 4px;
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

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

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    z-index: 10001;
}

.video-modal-close:hover {
    color: #ff6b6b;
}

.mockup-window {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mockup-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.mockup-body {
    padding: 20px;
}

.mockup-video {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mockup-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mockup-play {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.mockup-play svg {
    width: 20px;
    height: 20px;
    color: white;
    margin-left: 3px;
}

.mockup-transcript {
    margin-bottom: 16px;
}

.mockup-transcript-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mockup-transcript-line {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.75rem;
}

.mockup-timestamp {
    color: var(--accent-secondary);
    font-weight: 600;
    min-width: 40px;
}

.mockup-text {
    color: var(--text-secondary);
    flex: 1;
}

.mockup-answer {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 14px;
}

.mockup-answer-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.mockup-answer-header svg {
    width: 14px;
    height: 14px;
}

.mockup-answer-text {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.mockup-floating {
    position: absolute;
    background: var(--bg-card);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 4s ease-in-out infinite;
}

.mockup-floating.timestamps {
    bottom: 20%;
    right: -20px;
    animation-delay: 0.5s;
}

.mockup-floating.summary {
    top: 30%;
    left: -20px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mockup-floating-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-floating-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.mockup-floating-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.mockup-floating-icon.purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.mockup-floating-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* URL Input Section */
.url-section-wrapper {
    background-image: url("/static/images/url-section-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0 100px;
    margin-top: -80px;
}

.url-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.url-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.url-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.url-card-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin: -12px -12px 24px -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.url-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.url-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.url-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: white;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .url-card-title {
        font-size: 1.1rem;
    }
    .url-card-icon {
        width: 40px;
        height: 40px;
    }
    .url-card-icon svg {
        width: 20px;
        height: 20px;
    }
}

.url-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 28px;
}

/* Input Mode Tabs */
.input-mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
}

.input-mode-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.input-mode-tab svg {
    width: 18px;
    height: 18px;
}

.input-mode-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.input-mode-tab.active {
    background: white;
    color: #dc2626;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content {
    margin-bottom: 16px;
}

.search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input {
    width: 100%;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.search-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* Search Results */
.search-results {
    margin-top: 20px;
    max-height: 800px;
    overflow-y: auto;
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-card:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.search-result-card.selected {
    background: #eff6ff;
    border-color: #3b82f6;
}

.search-result-thumb {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 3px;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.search-result-channel {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0 0 2px 0;
}

.search-result-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.back-to-search-link {
    margin-top: 12px;
}

.back-to-search-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-to-search-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
    gap: 12px;
}

.search-loading svg {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-error {
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 480px) {
    .input-mode-tab {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    .input-mode-tab svg {
        width: 16px;
        height: 16px;
    }
    .search-result-thumb {
        width: 100px;
        height: 56px;
    }
    .search-result-title {
        font-size: 0.85rem;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.url-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.url-input-wrapper {
    position: relative;
}

.url-input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    font-size: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.2s;
}

.url-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.video-preview {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
}

.video-preview-thumb {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.video-preview-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.video-preview-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.video-preview-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-preview-channel {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.video-preview-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .video-preview {
        flex-direction: column;
    }
    .video-preview-thumb {
        width: 100%;
    }
}

.url-input::placeholder {
    color: var(--text-muted);
}

.question-input {
    width: 100%;
    min-height: 80px;
    padding: 16px 20px;
    font-size: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
}

.question-input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.question-input::placeholder {
    color: var(--text-muted);
}

.btn-analyse {
    width: 100%;
    height: 56px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-analyse:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-analyse:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-analyse svg {
    width: 20px;
    height: 20px;
}

/* Answer Length Selector */
.answer-length-section {
    margin-top: 8px;
}

.answer-length-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.answer-length-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.answer-length-option input {
    display: none;
}

.answer-length-option:hover {
    border-color: var(--accent-secondary);
}

.answer-length-option.selected {
    border-color: var(--accent-secondary);
    background: rgba(139, 92, 246, 0.08);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.option-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.answer-length-option.selected .option-title {
    color: var(--accent-secondary);
}

@media (max-width: 480px) {
    .answer-length-options {
        flex-direction: column;
        gap: 8px;
    }
}

/* Key Features Section - Zig-Zag Layout */
.key-features {
    padding: 40px 24px 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 25%, #f8fafc 50%, #e0e7ff 75%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.key-features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.key-features::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.key-features-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.see-full-features {
    text-align: center;
    margin-top: 40px;
}

.see-full-features-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.see-full-features-link:hover {
    background: rgba(59, 130, 246, 0.1);
    gap: 12px;
}

.see-full-features-link svg {
    transition: transform 0.2s ease;
}

.see-full-features-link:hover svg {
    transform: translateX(4px);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 60px 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-row:nth-child(even) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 12px 24px -8px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 85%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-image:hover {
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 15px 30px -10px rgba(99, 102, 241, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    cursor: zoom-in;
}

.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-modal-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.image-modal-caption {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-content-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-content-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.feature-content-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.feature-content-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 24px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-image {
        order: -1;
        max-width: 100%;
    }

    .feature-rows {
        gap: 24px;
    }

    .feature-content-title {
        font-size: 1.25rem;
    }
}

/* How People Use Q-Tube (Use Cases) */
.use-cases {
    padding: 60px 24px 100px;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.use-cases-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.use-cases-header {
    text-align: center;
    margin-bottom: 48px;
}

.use-cases-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 900px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.use-case-item {
    display: flex;
    flex-direction: column;
}

.use-case-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.use-case-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.use-case-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.use-case-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.use-case-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.use-case-role {
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 600;
}

.use-case-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid #3b82f6;
}

.use-case-item:nth-child(2) .use-case-quote {
    border-left-color: #a855f7;
}

.use-case-item:nth-child(2) .use-case-role {
    color: #a855f7;
}

.use-case-item:nth-child(3) .use-case-quote {
    border-left-color: #10b981;
}

.use-case-item:nth-child(3) .use-case-role {
    color: #10b981;
}

/* Pricing Section */
.pricing {
    padding: 100px 24px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-inner {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing .section-header .section-label {
    color: #60a5fa !important;
}

.pricing .section-header .section-title {
    color: #f8fafc !important;
}

.pricing .section-header .section-subtitle {
    color: #94a3b8 !important;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-card.annual {
        order: -1;
    }
}

.pricing-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.pricing-card.annual {
    border: 2px solid rgba(251, 191, 36, 0.4);
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(251, 191, 36, 0.1);
}

.pricing-card.annual:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(251, 191, 36, 0.15);
}

@media (max-width: 768px) {
    .pricing-card.annual {
        transform: scale(1);
    }
}

.pricing-header {
    padding: 24px 24px 20px;
    position: relative;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.pricing-best-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pricing-popular-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    z-index: 10;
}

.pricing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pricing-body {
    padding: 32px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-price .currency {
    font-size: 1.75rem;
    vertical-align: top;
    margin-right: 2px;
    color: #94a3b8;
}

.pricing-period {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 500;
}

.pricing-savings {
    font-size: 0.95rem;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 6px;
}

.pricing-equivalent {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 24px;
}

.pricing-highlight {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    text-align: left;
    flex: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.pricing-feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-feature-icon svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

.pricing-feature-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    flex: 1;
}

.pricing-info-icon {
    width: 16px;
    height: 16px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.pricing-info-icon:hover {
    color: #60a5fa;
}

.pricing-info-icon svg {
    width: 100%;
    height: 100%;
}

/* Info Modal */
.info-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.info-modal-overlay.open {
    display: flex;
}

.info-modal {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.info-modal-close:hover {
    background: #e2e8f0;
}

.info-modal-close svg {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.info-modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-modal-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.info-modal-content {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
}

.signup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.signup-modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

.signup-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.signup-modal-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.signup-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.signup-modal-badge svg {
    width: 16px;
    height: 16px;
}

.signup-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.signup-modal-text {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.signup-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    border: none;
    cursor: pointer;
}

.signup-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.signup-modal-btn svg {
    width: 20px;
    height: 20px;
}

.signup-modal-login-link {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 16px;
}

.signup-modal-login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.signup-modal-login-link a:hover {
    text-decoration: underline;
}

.signup-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s;
}

.signup-modal-close:hover {
    color: #64748b;
}

.pricing-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 78, 216, 0.45);
}

.pricing-cta.annual {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35), 0 0 20px rgba(251, 191, 36, 0.2);
}

.pricing-cta.annual:hover {
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.45), 0 0 30px rgba(251, 191, 36, 0.3);
}

.pricing-guarantee {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-guarantee svg {
    width: 14px;
    height: 14px;
    color: #22c55e;
}

/* FAQ Section */
.faq {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-item.open {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-question:hover {
    color: #3b82f6;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: all 0.3s;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

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

.faq-item.open .faq-answer {
    max-height: 250px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
}

/* Additional Tools Accordion */
.additional-tools-section {
    margin-top: 16px;
}

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

.tools-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transition: all 0.2s ease;
    user-select: none;
}

.tools-accordion-header:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
}

.tools-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tools-header-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tools-header-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.tools-accordion-icon {
    width: 22px;
    height: 22px;
    color: #ffffff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tools-accordion.expanded .tools-accordion-icon {
    transform: rotate(180deg);
}

.tools-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-card);
}

.tools-accordion.expanded .tools-accordion-content {
    max-height: none;
    overflow-y: visible;
}

.tools-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-item:hover {
    border-color: var(--text-muted);
    background: var(--bg-card-hover);
}

.tool-item.selected {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.tool-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    background: var(--bg-dark);
}

.tool-item.selected .checkbox-custom {
    border-color: #22c55e;
    background: #22c55e;
}

.tool-item.selected .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tool-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon svg {
    width: 18px;
    height: 18px;
}

.tool-text {
    flex: 1;
}

.tool-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tool-info {
    margin-left: auto;
    width: 26px;
    height: 26px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.tool-info:hover {
    background: var(--accent-secondary);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.tool-info svg {
    width: 14px;
    height: 14px;
}

.tool-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.tool-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tool-modal {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.tool-modal-overlay.active .tool-modal {
    transform: scale(1) translateY(0);
}

.tool-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tool-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-modal-icon svg {
    width: 20px;
    height: 20px;
}

.tool-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tool-modal-close {
    width: 100%;
    padding: 12px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tool-modal-close:hover {
    background: var(--accent-secondary);
}

.hero-subtitle strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.tools-selected-count {
    font-size: 0.75rem;
    background: #22c55e;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 50%, #f8fafc 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Footer */
.footer {
    padding: 60px 24px 32px;
    background: #1e293b;
    color: #e2e8f0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
        text-align: left;
    }
}

.footer-brand {
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
        margin: 0;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-contact-item {
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-contact-item {
        justify-content: flex-start;
    }
}

.footer-section {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-section {
        text-align: left;
    }
}

.footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-social {
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-logo-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-brand-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #3b82f6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: #3b82f6;
    color: white;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-link {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.mobile-menu-signin {
    display: flex;
    padding: 14px 16px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    justify-content: center;
    margin-top: 8px;
}

.mobile-menu-signup {
    display: flex;
    padding: 14px 16px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    justify-content: center;
    margin-top: 8px;
    transition: all 0.2s;
}

.mobile-menu-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
    }

    .header-left {
        justify-content: flex-start;
    }

    .header-center {
        display: flex;
        justify-content: center;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        padding: 120px 24px 40px;
        overflow: visible;
    }

    .hero::after {
        display: none;
    }

    .hero-mockup {
        margin-bottom: 20px;
    }

    .url-section-wrapper {
        margin-top: 0;
        padding: 40px 0 60px;
    }

    .url-card {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* User menu styles */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.user-menu.open .user-dropdown {
    display: block;
}

.user-info {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
