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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Light Theme */
body.light-theme {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    color: #1a202c;
}

/* Dark Theme (Default) */
body.dark-theme {
    background: linear-gradient(to bottom, #1a202c 0%, #2d3748 100%);
    color: #f7fafc;
}

header {
    padding: 20px 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
}

.light-theme header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.dark-theme header {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-toggle {
    background: none;
    border: 2px solid;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.light-theme .theme-toggle {
    border-color: #e1e4e8;
    color: #333;
}

.dark-theme .theme-toggle {
    border-color: #4a5568;
    color: #f7fafc;
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.light-theme .theme-toggle:hover {
    background: #f6f8fa;
    border-color: #d1d5da;
}

.dark-theme .theme-toggle:hover {
    background: #2d3748;
    border-color: #718096;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.light-theme .github-link {
    color: #333;
    border-color: #e1e4e8;
}

.dark-theme .github-link {
    color: #f7fafc;
    border-color: #4a5568;
}

.github-link:hover {
    transform: translateY(-1px);
}

.light-theme .github-link:hover {
    background: #f6f8fa;
    border-color: #d1d5da;
}

.dark-theme .github-link:hover {
    background: #2d3748;
    border-color: #718096;
}

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

.container {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 40px;
    text-align: center;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.light-theme h1 {
    color: #1a202c;
}

.dark-theme h1 {
    color: #f7fafc;
}

.tagline {
    font-size: 22px;
    margin-bottom: 50px;
    font-weight: 400;
}

.light-theme .tagline {
    color: #718096;
}

.dark-theme .tagline {
    color: #a0aec0;
}

.description {
    font-size: 18px;
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.light-theme .description {
    color: #4a5568;
}

.dark-theme .description {
    color: #cbd5e0;
}

.download-section {
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 600px;
    margin: 0 auto;
    transition: background 0.3s ease;
}

.light-theme .download-section {
    background: white;
}

.dark-theme .download-section {
    background: #2d3748;
}

.download-title {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.light-theme .download-title {
    color: #2d3748;
}

.dark-theme .download-title {
    color: #f7fafc;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-firefox {
    background: linear-gradient(135deg, #FF7139 0%, #ff5722 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 113, 57, 0.3);
}

.btn-firefox:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 113, 57, 0.4);
}

.btn-chrome {
    background: linear-gradient(135deg, #4285F4 0%, #1a73e8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-chrome:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
}

.browser-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
}

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

.feature {
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.light-theme .feature {
    background: white;
}

.dark-theme .feature {
    background: #2d3748;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.light-theme .feature h3 {
    color: #2d3748;
}

.dark-theme .feature h3 {
    color: #f7fafc;
}

.feature p {
    font-size: 14px;
    line-height: 1.6;
}

.light-theme .feature p {
    color: #718096;
}

.dark-theme .feature p {
    color: #a0aec0;
}

.integrations-section {
    margin-top: 80px;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.light-theme .integrations-section {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.dark-theme .integrations-section {
    background: #2d3748;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.integrations-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.light-theme .integrations-title {
    color: #2d3748;
}

.dark-theme .integrations-title {
    color: #f7fafc;
}

.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.integration-badge {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.integration-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .integrations-section {
        padding: 30px 20px;
    }
    
    .integrations-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .container {
        margin: 60px auto;
        padding: 0 20px;
    }

    h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .download-section {
        padding: 30px 20px;
    }

    .download-buttons {
        flex-direction: column;
    }

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

    .features {
        grid-template-columns: 1fr;
    }
}

.opensource-notice {
    margin-top: 80px;
    padding: 30px;
    border-radius: 12px;
    border: 2px dashed;
    transition: all 0.3s ease;
}

.light-theme .opensource-notice {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.dark-theme .opensource-notice {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.opensource-text {
    font-size: 16px;
    line-height: 1.6;
}

.light-theme .opensource-text {
    color: #4a5568;
}

.dark-theme .opensource-text {
    color: #cbd5e0;
}

.opensource-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.opensource-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

footer {
    margin-top: 100px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid;
    transition: all 0.3s ease;
}

.light-theme footer {
    background: rgba(255, 255, 255, 0.8);
    border-color: #e2e8f0;
}

.dark-theme footer {
    background: rgba(26, 32, 44, 0.8);
    border-color: #4a5568;
}

footer p {
    font-size: 14px;
}

.light-theme footer p {
    color: #718096;
}

.dark-theme footer p {
    color: #a0aec0;
}
