/* Modern CSS Reset and Base Styles */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --dark-accent: #2980b9;
    --text-color: #2c3e50;
    --light-bg: #f8fafc;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Enhanced Header with Gradient */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Logo styling */
.logo-container {
    margin-bottom: 2rem;
}

.logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Animated background elements */
.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Feature Cards with Hover Effects */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
}

.feature-card p {
    color: #546e7a;
    line-height: 1.7;
}

/* Enhanced CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.chrome-logo {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cta-button:hover .chrome-logo {
    transform: scale(1.1);
}
.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
    color: white;
}

.cta-button:active {
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Installation Section */
.installation {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 4rem 0;
    box-shadow: var(--card-shadow);
}

.installation h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.installation ol {
    margin-left: 1.5rem;
    counter-reset: install-steps;
}

.installation li {
    margin: 1rem 0;
    padding-left: 1rem;
    position: relative;
}

.installation li::before {
    counter-increment: install-steps;
    content: counter(install-steps);
    color: var(--accent-color);
    font-weight: 600;
    margin-right: 1rem;
}

/* Screenshots */
.screenshots {
    margin-top: 0.1rem;
}

.screenshots h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.screenshot-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .screenshots h2 {
        font-size: 2rem;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--primary-color);
    color: white;
    margin-top: 4rem;
}

.footer p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 4rem 1rem;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .feature-card {
        padding: 2rem;
    }
}
/* Github Corner */

.github-corner {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
}

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
}

@keyframes octocat-wave {
    0%, 100% {
        transform: rotate(0);
    }
    20%, 60% {
        transform: rotate(-25deg);
    }
    40%, 80% {
        transform: rotate(10deg);
    }
}

@media (max-width: 500px) {
    .github-corner:hover .octo-arm {
        animation: none;
    }
    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out;
    }
}

/* Shortcut Container */
.shortcut-container {
    margin: 1.5rem 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    color: white;
}

.shortcut-container p {
    margin: 0;
    font-size: inherit;
}

.keyboard-shortcuts {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.keyboard-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    position: relative;
}

.platform-label {
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    opacity: 0.8;
    white-space: nowrap;
}

.separator {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 0.5rem;
}

kbd {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    min-width: 1.8rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.keyboard-shortcut:hover kbd {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .shortcut-container {
        flex-direction: column;
        text-align: center;
        font-size: 1.2rem;
        gap: 1.5rem;
    }
    
    .keyboard-shortcuts {
        flex-direction: column;
        gap: 2rem;
    }
    
    .separator {
        font-size: 0.8rem;
    }
}