:root {
    --primary-color: #25d366;
    --primary-hover: #20b858;
    --secondary-color: #128c7e;
    --accent-color: #34b7f1;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    }

    [data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    }

    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

    body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    }

    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    }

    /* Header */
    .header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    }

    .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    }

    .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    }

    .nav-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    }

    .nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    }

    .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    }

    .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    }

    .nav-link:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    }

    .theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    }

    .theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    }

    /* Hero Section */
    .hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }

    .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    }

    .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }

    .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    }

    .hero-cta {
    margin-bottom: 2rem;
    }

    .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    }

    /* Buttons */
    .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    }

    .btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
    }

    .btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    }

    .btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    }

    .btn-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    }

    .btn-icon {
    font-size: 1.2rem;
    }

    /* Features Section */
    .features {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    }

    .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    }

    .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    }

    .feature-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    }

    .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    }

    .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    }

    .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    }

    .feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    }

    /* Screenshots Section */
    .screenshots {
    padding: 5rem 0;
    }

    .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    }

    .comparison-item {
    text-align: center;
    }

    .comparison-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    }

    .comparison-label.before {
    color: #ef4444;
    }

    .comparison-label.after {
    color: var(--primary-color);
    }

    .screenshot-container {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    }

    .screenshot-container:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
    }

    .screenshot-container img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    }

    .screenshot-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-muted);
    }

    .auto-scroll-container {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    }

    .auto-scroll-wrapper {
    display: flex;
    animation: autoScroll 15s infinite linear;
    }

    .auto-scroll-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .auto-scroll-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    }

    @keyframes autoScroll {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }
    100% { transform: translateX(-400%); }
    }

    /* Download Section */
    .download {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    text-align: center;
    }

    .download-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    }

    .download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    }

    .browser-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    }

    /* FAQ Section */
    .faq {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    }

    .faq-container {
    max-width: 800px;
    margin: 0 auto;
    }

    .faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    }

    .faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    }

    .faq-question:hover {
    color: var(--primary-color);
    }

    .faq-caret {
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--text-secondary);
    }

    .faq-question.active .faq-caret {
    transform: rotate(180deg);
    color: var(--primary-color);
    }

    .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .faq-answer.active {
    max-height: 200px;
    padding-bottom: 1.5rem;
    }

    .faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    }

    /* Footer */
    .footer {
    background-color: var(--bg-tertiary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    }

    .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    }

    .footer-content p {
    color: var(--text-muted);
    }

    .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    }

    .footer-links a:hover {
    color: var(--primary-color);
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    }

    @media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1.25rem;
    }
    }

    /* Smooth scrolling */
    html {
    scroll-behavior: smooth;
    }

    /* Focus styles for accessibility */
    .btn:focus,
    .theme-toggle:focus,
    .nav-link:focus,
    .faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    }

    /* Animation for theme toggle */
    .theme-icon {
    transition: transform 0.3s ease;
    }

    [data-theme="dark"] .theme-icon {
    transform: rotate(180deg);
    }