/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

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

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: #4f46e5;
}

.logo {
    font-size: 24px;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4f46e5;
}

.cta-link {
    background: #4f46e5;
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.cta-link:hover {
    background: #3730a3;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 400;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #ffffff;
    color: #4f46e5;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
    background: #ffffff;
    color: #4f46e5;
}

.cta-button.secondary {
    background: #4f46e5;
    color: white;
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.cta-support {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Browser Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.browser-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.browser-header {
    background: #f5f5f5;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
}

.browser-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-tabs {
    display: flex;
    gap: 4px;
}

.tab {
    background: #e5e5e5;
    padding: 4px 12px;
    border-radius: 6px 6px 0 0;
    font-size: 12px;
    color: #666;
}

.tab.active {
    background: white;
    color: #333;
}

.browser-content {
    padding: 20px;
    background: white;
}

.extension-popup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-header {
    text-align: center;
    margin-bottom: 16px;
}

.popup-logo {
    font-size: 24px;
    margin-bottom: 8px;
}

.popup-header h3 {
    color: #1a1a1a;
    margin-bottom: 4px;
}

.tab-count {
    font-size: 14px;
    color: #4f46e5;
    font-weight: 600;
}

.save-btn-demo {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    cursor: pointer;
}

.saved-tabs-demo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-item-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 6px;
    font-size: 12px;
}

.tab-item-demo img {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: #f8fafc;
}

.problem-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.problem-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ef4444;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

.problem-text {
    max-width: 600px;
    margin: 0 auto;
}

.problem-description {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #374151;
}

.problem-conclusion {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.highlight {
    color: #ef4444;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: white;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 16px;
    transition: transform 0.2s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: #f8fafc;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: white;
}

.testimonial {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 16px;
}

.testimonial-author {
    color: #666;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.cta-note {
    margin-top: 16px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Install Modal */
.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #f5f5f5;
}

.modal-body {
    padding: 0 24px 24px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.install-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-text p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.step-text code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.download-btn:hover {
    background: #3730a3;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: #1a1a1a;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}

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

.footer-tagline {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .problem-stats {
        gap: 40px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.browser-mockup {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
