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

:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Extensions Section */
.extensions-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.extension-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.extension-card.reverse {
    direction: rtl;
}

.extension-card.reverse > * {
    direction: ltr;
}

.extension-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.extension-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.extension-card:hover .extension-image img {
    transform: scale(1.05);
}

.extension-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.extension-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.extension-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.chrome-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: fit-content;
    white-space: nowrap;
}

.chrome-store-btn:hover {
    background-color: #4338CA;
    transform: translateY(-2px);
}

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

.extension-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--text-dark);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: fit-content;
    border: 2px solid var(--text-dark);
    white-space: nowrap;
}

.github-btn:hover {
    background-color: #111827;
    transform: translateY(-2px);
    border-color: #111827;
}

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

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .extension-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .extension-card.reverse {
        direction: ltr;
    }

    .extension-title {
        font-size: 1.75rem;
    }

    .extension-description {
        font-size: 1rem;
    }

    .extension-buttons {
        flex-wrap: wrap;
    }

    .chrome-store-btn,
    .github-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .extensions-section {
        padding: 3rem 0;
    }

    .about-section {
        padding: 3rem 0;
    }

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

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .extension-card {
        padding: 1.5rem;
    }

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

    .chrome-store-btn,
    .github-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
