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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
    background-color: #1F1F1F;
    overflow-x: hidden;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #2A2A2A;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #3D3D3D;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #3D3D3D;
}

.modal-header h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    color: #999999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #FFFFFF;
}

.modal-body {
    padding: 2rem;
}

/* Video Player Styles */
.video-player {
    background: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    color: #FFFFFF;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

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

.video-overlay {
    text-align: center;
    color: #FFFFFF;
}

.video-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #222222;
    border-top: 1px solid #333333;
}

.control-btn {
    background: none;
    border: none;
    color: #CCCCCC;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: #333333;
    color: #FFFFFF;
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #444444;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    font-size: 0.875rem;
    color: #CCCCCC;
    font-variant-numeric: tabular-nums;
    min-width: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .video-controls {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .video-overlay h4 {
        font-size: 1.25rem;
    }
    
    .video-overlay p {
        font-size: 0.875rem;
    }
}

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

/* Navigation */
.nav-primary {
    background: #1F1F1F;
    border-bottom: 1px solid #3D3D3D;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-logo {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #B3B3B3;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B5CF6;
}

.nav-link.active {
    color: #FFFFFF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn-primary {
    background: #8B5CF6;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    background: #7C3AED;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #8B5CF6;
    color: #FFFFFF;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    font-size: 0.875rem;
}

.btn-icon-left {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #1F1F1F 0%, #2D2D2D 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #B3B3B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #B3B3B3;
    margin-bottom: 2rem;
    line-height: 1.625;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #B3B3B3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-preview {
    position: relative;
    z-index: 2;
}

.browser-mockup {
    width: 500px;
    background: #2A2A2A;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #3D3D3D;
}

.browser-header {
    background: #2D2D2D;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #3D3D3D;
}

.browser-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #EF4444;
}

.control-dot.yellow {
    background: #F59E0B;
}

.control-dot.green {
    background: #10B981;
}

.browser-address {
    background: #1F1F1F;
    color: #B3B3B3;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    flex: 1;
}

.browser-content {
    height: 300px;
    background: #1F1F1F;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promptok-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #333333;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #8B5CF6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.prompt-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    background: #2A2A2A;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #B3B3B3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-item.active,
.suggestion-item:hover {
    background: #8B5CF6;
    color: #FFFFFF;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.section-description {
    font-size: 1.125rem;
    color: #B3B3B3;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: #1F1F1F;
}

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

.feature-card {
    background: #2A2A2A;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #3D3D3D;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #8B5CF6;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.feature-description {
    color: #B3B3B3;
    line-height: 1.625;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: #2D2D2D;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #2A2A2A;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #3D3D3D;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B5CF6;
    color: #FFFFFF;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #8B5CF6;
}

.price-period {
    font-size: 1rem;
    color: #B3B3B3;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #B3B3B3;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #1F1F1F;
}

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

.testimonial-card {
    background: #2A2A2A;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #3D3D3D;
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #B3B3B3;
    font-style: italic;
    line-height: 1.625;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: #FFFFFF;
}

.author-role {
    font-size: 0.875rem;
    color: #B3B3B3;
}

.testimonial-rating .stars {
    color: #F59E0B;
    font-size: 1.125rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #2D2D2D;
}

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

.faq-item {
    background: #2A2A2A;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #3D3D3D;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #333333;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #8B5CF6;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #B3B3B3;
    line-height: 1.625;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: #1F1F1F;
    border-top: 1px solid #3D3D3D;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #B3B3B3;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #B3B3B3;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #8B5CF6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #3D3D3D;
}

.footer-copyright {
    color: #808080;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #B3B3B3;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #8B5CF6;
}

/* Legal Pages */
.legal-section {
    background: #1F1F1F;
    min-height: 100vh;
    padding: 8rem 0 2rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-title {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-updated {
    color: #B3B3B3;
    font-size: 0.875rem;
}

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

.legal-card {
    background: #2A2A2A;
    border: 1px solid #3D3D3D;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.legal-card h2 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-card h3 {
    color: #8B5CF6;
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-card p {
    color: #B3B3B3;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-card ul {
    color: #B3B3B3;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .browser-mockup {
        width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-actions .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .browser-mockup {
        width: 300px;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .browser-mockup {
        width: 280px;
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 1.5rem;
    }
}