/* Grammar Guru - Home Page Styles */

/* Section Spacing & Layout */
.page-section {
    padding: 80px 0;
}

.page-section:nth-child(even) {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-icon {
    margin-left: 8px;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 4px;
    color: white;
}

/* Demo Browser */
.hero-visual {
    position: relative;
}

.demo-browser {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotate(3deg) scale(0.95);
    transition: all 0.4s ease;
    position: relative;
}

.demo-browser:hover {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.browser-header {
    background: linear-gradient(135deg, #f5f5f5, #eeeeee);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.browser-header::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.red { 
    background: linear-gradient(135deg, #ff5f56, #ff3333); 
    box-shadow: 0 2px 4px rgba(255, 95, 86, 0.3);
}

.dot.yellow { 
    background: linear-gradient(135deg, #ffbd2e, #ffaa00); 
    box-shadow: 0 2px 4px rgba(255, 189, 46, 0.3);
}

.dot.green { 
    background: linear-gradient(135deg, #27ca3f, #22aa33); 
    box-shadow: 0 2px 4px rgba(39, 202, 63, 0.3);
}

.browser-title {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
}

.browser-content {
    padding: 24px;
    background: white;
    color: #333;
}

.typing-demo {
    position: relative;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.grammar-error {
    background: linear-gradient(transparent 60%, rgba(255, 107, 107, 0.3) 60%);
    color: #333;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 0 2px;
    animation: errorPulse 3s infinite;
    text-decoration: underline;
    text-decoration-color: #ff6b6b;
    text-decoration-style: wavy;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.grammar-error:hover {
    background: linear-gradient(transparent 60%, rgba(255, 107, 107, 0.5) 60%);
    transform: translateY(-1px);
}

.style-suggestion {
    background: linear-gradient(transparent 60%, rgba(78, 205, 196, 0.3) 60%);
    color: #333;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 0 2px;
    text-decoration: underline;
    text-decoration-color: #4ecdc4;
    text-decoration-style: wavy;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.style-suggestion:hover {
    background: linear-gradient(transparent 60%, rgba(78, 205, 196, 0.5) 60%);
    transform: translateY(-1px);
}

.suggestion-tooltip {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #333, #444);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    animation: tooltipSlide 4s infinite;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 200px;
    text-align: center;
}

.suggestion-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #333;
}

.suggestion-text {
    margin-bottom: 8px;
    font-weight: 500;
}

.suggestion-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, #45b7b8, #3d8b7d);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.4);
}

.suggestion-btn:disabled {
    background: linear-gradient(135deg, #ccc, #bbb);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.suggestion-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.2);
}

/* Fixed text styles */
.fixed-text {
    background: linear-gradient(transparent 60%, #4ade80 60%);
    color: #333;
    position: relative;
}

.improved-text {
    background: linear-gradient(transparent 60%, #3b82f6 60%);
    color: #333;
    position: relative;
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes errorPulse {
    0%, 100% { 
        background: linear-gradient(transparent 60%, rgba(255, 107, 107, 0.3) 60%);
        text-decoration-color: #ff6b6b;
    }
    50% { 
        background: linear-gradient(transparent 60%, rgba(255, 142, 142, 0.5) 60%);
        text-decoration-color: #ff8e8e;
    }
}

@keyframes tooltipSlide {
    0%, 20% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px); 
    }
    25%, 75% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    80%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-10px); 
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* Chrome Extension CTA */
.cta-section {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.chrome-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.chrome-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #1a202c;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.chrome-badge:hover {
    transform: translateY(-2px);
}

.chrome-icon {
    width: 24px;
    height: 24px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 80px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.step-description {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #f8fafc;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.testimonial {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.author-info p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 4px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 32px;
        color: white;
    }
    
    .hero-actions {
        gap: 20px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
        margin-top: 32px;
    }
    
    .demo-browser {
        transform: none;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .demo-browser:hover {
        transform: scale(1.02);
    }
    
    .features,
    .how-it-works,
    .pricing-preview,
    .cta {
        padding: 60px 0;
    }
    
    .features-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-preview .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .suggestion-tooltip {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
    }
    
    .chrome-badges {
        flex-direction: column;
        align-items: center;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Enhanced Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}

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

/* Loading states */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Pricing Preview Section */
.pricing-preview {
    padding: 100px 0;
    background: white;
}

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

.pricing-preview .pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-preview .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-preview .pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.pricing-preview .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-preview .plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.pricing-preview .plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.pricing-preview .plan-period {
    color: #64748b;
    margin-bottom: 32px;
}

.pricing-preview .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-preview .plan-features li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 24px;
}

.pricing-preview .plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: #64748b;
    font-style: italic;
}

/* Call to Action Section */
.cta.page-section {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    color: #a0aec0;
    font-size: 0.875rem;
    margin: 0;
}

/* CTA Section Improvements */
.cta.page-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Enhanced contrast for CTA section titles */
.cta .section-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.cta .section-subtitle {
    color: #e2e8f0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctagrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23ctagrain)"/></svg>');
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.25rem;
    opacity: 1;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e2e8f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-actions {
    margin-bottom: 30px;
}

.cta-actions .btn {
    font-size: 1.125rem;
    padding: 16px 32px;
    font-weight: 600;
    margin: 0 auto;
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white !important;
    text-decoration: none;
}

/* Enhanced outline button styling for CTA section */
.cta .btn-outline {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.cta .btn-outline:hover {
    background-color: white !important;
    color: #1e293b !important;
    border-color: white !important;
    text-shadow: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-actions .btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

/* ===== EXTENSION DOWNLOAD STYLES ===== */

/* Chrome Web Store Badge Styles 
 * Use chrome-web-store-badge.png for most contexts
 * Use chrome-web-store-badge-with-border.png for light backgrounds where border is needed
 */
.chrome-web-store-badge {
    display: inline-block;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.chrome-web-store-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.store-badge {
    height: 44px;
    width: auto;
    max-width: 160px;
    border-radius: 8px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Do not modify official Chrome badge appearance; no custom backgrounds for remote assets */

.store-badge-full {
    height: 48px;
    width: auto;
    max-width: 180px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    margin-right: 16px;
}

/* Do not modify official badge appearance */

.store-badge-xl {
    height: 70px;
    width: auto;
    max-width: 250px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    margin-right: 16px;
}

/* Do not modify official badge appearance */

.chrome-web-store-badge-large {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    margin: 8px;
}

.chrome-web-store-badge-large:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    text-decoration: none;
}

/* Bordered version for light backgrounds */
.chrome-web-store-badge-bordered {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.chrome-web-store-badge-bordered:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    text-decoration: none;
}

.store-badge-bordered {
    height: 58px;
    width: auto;
    max-width: 206px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    margin-right: 16px;
}

/* Consistent CTA wrapper to improve contrast without altering official assets */
.store-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

.store-cta:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Neutral link style for Edge CTA to visually align with Chrome badge */
.store-link {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: #0f172a; /* slate-900 */
    font-weight: 600;
    line-height: 1.2;
}

.store-link:hover {
    text-decoration: none;
    color: #0b1220;
}

.store-subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b; /* slate-500 */
}

/* Remove gradient button visuals when using store-link variant */
.store-cta .edge-extension.store-link {
    background: transparent !important;
    padding: 0;
}

/* Ensure badge and link align nicely within wrapper */
.store-cta .store-badge,
.store-cta .store-badge-xl,
.store-cta .store-badge-bordered {
    margin: 0; /* wrapper provides spacing */
}

/* Responsive tweaks for CTA wrappers */
@media (max-width: 768px) {
    .store-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Trademark Attribution */
.trademark-attribution {
    background: #f8fafc;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 0;
}

.trademark-attribution p {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
}

/* Hero Extension Downloads */
.extension-downloads {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Store Buttons Row - Enhanced alignment and spacing */
.store-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    max-width: 520px;           /* accommodate 240px buttons with 20px gap */
}

@media (min-width: 640px) {
    .store-buttons-row {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
        align-items: center;     /* perfect vertical alignment */
    }
}

/* Chrome Web Store Badge Styling - Hero Section */
.store-buttons-row .chrome-web-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 44px;
    white-space: nowrap;
}

.store-buttons-row .chrome-web-store-badge:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.store-buttons-row .chrome-web-store-badge .store-badge {
    height: 32px;
    width: auto;
    max-width: 140px;
    border-radius: 4px;
}

/* Edge Button Styling */
.edge-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: normal;        /* Allow text wrapping */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;         /* Center wrapped text */
    line-height: 1.2;           /* Tighter line height for wrapped text */
}

.edge-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #0f172a;
}

.edge-icon {
    font-size: 1.1rem;
    filter: grayscale(0.2);
}

.extension-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 16px 24px;
    min-width: 200px;
    text-align: left;
    transition: all 0.3s ease;
}

.extension-btn .browser-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.extension-btn .btn-subtext {
    position: absolute;
    bottom: 4px;
    left: 48px;
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.chrome-extension {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.chrome-extension:hover {
    background: linear-gradient(135deg, #3367D6, #137333);
    transform: translateY(-2px);
}

.edge-extension {
    background: linear-gradient(135deg, #0078D4, #40E0D0);
}

.edge-extension:hover {
    background: linear-gradient(135deg, #106EBE, #00B7C3);
    transform: translateY(-2px);
}

.secondary-actions {
    display: flex;
    gap: 20px;                  /* match the gap from store-buttons-row */
    justify-content: flex-start;
    align-items: center;        /* perfect vertical alignment to match top row */
    max-width: 520px;           /* match store-buttons-row max-width */
    margin-left: 0;
    margin-right: auto;
}

/* Hero Section Button Overrides for Purple Background */
.hero-actions .secondary-actions .btn-secondary {
    background-color: white;
    color: #1e293b;
    border-color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    justify-content: center;
}

.hero-actions .secondary-actions .btn-secondary:hover:not(:disabled) {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero-actions .secondary-actions .btn-outline {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    justify-content: center;
}

.hero-actions .secondary-actions .btn-outline:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .secondary-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .secondary-actions .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

/* --- Unified Typography & Sizing for Hero Action Controls --- */
/* Applies consistent font, sizing, and alignment to all four primary actions */
.store-buttons-row .chrome-web-store-badge,
.store-buttons-row .edge-button,
.hero-actions .secondary-actions .btn-secondary,
.hero-actions .secondary-actions .btn-outline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 1rem;            /* 16px - unified baseline */
    font-weight: 600;           /* consistent emphasis across all buttons */
    line-height: 1.25;          /* optimal text flow without clipping */
    letter-spacing: -0.01em;    /* subtle tightening for better visual balance */
    text-align: center;         /* center all button text */
    border-radius: 8px;         /* consistent corner radius */
    min-height: 56px;           /* slightly taller for better visual presence */
    max-height: 56px;           /* prevent height variations */
    width: 240px;               /* exact same width for all buttons */
    min-width: 240px;           /* enforce consistent width */
    max-width: 240px;           /* prevent width variations */
    display: inline-flex;       /* flex for perfect centering */
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */
    text-decoration: none;      /* remove default link underlines */
    box-sizing: border-box;     /* consistent box model */
    transition: all 0.2s ease;  /* smooth interactions */
}

/* Allow text wrapping for Edge button only while keeping others single line */
.store-buttons-row .chrome-web-store-badge,
.hero-actions .secondary-actions .btn-secondary,
.hero-actions .secondary-actions .btn-outline {
    white-space: nowrap;        /* prevent text wrapping for most buttons */
}

.store-buttons-row .edge-button {
    white-space: normal;        /* allow text wrapping for Edge button */
    line-height: 1.2;           /* tighter line height for better wrapped text */
}

/* Standardize padding and borders for all action buttons to match exactly */
.store-buttons-row .chrome-web-store-badge,
.store-buttons-row .edge-button,
.hero-actions .secondary-actions .btn-secondary,
.hero-actions .secondary-actions .btn-outline {
    padding: 14px 28px;         /* slightly more generous padding for better proportions */
    border-width: 2px;          /* same border thickness */
    border-style: solid;        /* explicit border style */
}

/* Override specific Chrome badge styling to match button proportions */
.store-buttons-row .chrome-web-store-badge {
    /* Chrome badge gets white background and border to match other buttons */
    background: white !important;
    border-color: #e2e8f0 !important;
    padding: 12px 20px !important; /* slightly less padding to accommodate larger image */
}

.store-buttons-row .chrome-web-store-badge:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* Perfect icon and text alignment across all action buttons */
.store-buttons-row .edge-button .edge-icon,
.hero-actions .secondary-actions .btn-secondary .btn-icon,
.hero-actions .secondary-actions .btn-outline .btn-icon {
    display: inline-flex;       /* use flex for better control */
    align-items: center;        /* center icons vertically */
    line-height: 1;             /* prevent baseline issues */
    vertical-align: middle;     /* additional alignment insurance */
    margin-left: 8px;           /* consistent icon spacing */
    font-size: 1rem;            /* match text size */
}

/* Ensure Chrome badge image aligns with other button content and is readable */
.store-buttons-row .chrome-web-store-badge .store-badge {
    height: 36px;               /* larger for better readability */
    width: auto;                /* maintain aspect ratio */
    max-width: 160px;           /* allow more space for text */
    vertical-align: middle;     /* align with text baseline */
}

/* Gap consistency between icons and text */
.store-buttons-row .edge-button {
    gap: 8px;                   /* consistent icon-text spacing */
}

.hero-actions .secondary-actions .btn-secondary,
.hero-actions .secondary-actions .btn-outline {
    gap: 8px;                   /* match edge button spacing */
}

/* === CTA Section Button Consistency === */
/* Apply same consistent sizing and styling to CTA section buttons */
.cta-extension-buttons .chrome-web-store-badge,
.cta-extension-buttons .edge-extension {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 1rem;            /* 16px - unified baseline */
    font-weight: 600;           /* consistent emphasis across all buttons */
    line-height: 1.25;          /* optimal text flow without clipping */
    letter-spacing: -0.01em;    /* subtle tightening for better visual balance */
    text-align: center;         /* center all button text */
    border-radius: 8px;         /* consistent corner radius */
    min-height: 56px;           /* slightly taller for better visual presence */
    max-height: 56px;           /* prevent height variations */
    width: 240px;               /* exact same width for all buttons */
    min-width: 240px;           /* enforce consistent width */
    max-width: 240px;           /* prevent width variations */
    display: inline-flex;       /* flex for perfect centering */
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */
    text-decoration: none;      /* remove default link underlines */
    box-sizing: border-box;     /* consistent box model */
    transition: all 0.2s ease;  /* smooth interactions */
    padding: 14px 28px;         /* slightly more generous padding for better proportions */
    border-width: 2px;          /* same border thickness */
    border-style: solid;        /* explicit border style */
}

/* Specific styling for CTA Chrome badge */
.cta-extension-buttons .chrome-web-store-badge {
    background: white !important;
    border-color: #e2e8f0 !important;
    padding: 12px 20px !important; /* slightly less padding to accommodate larger image */
}

.cta-extension-buttons .chrome-web-store-badge:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Specific styling for CTA Edge button */
.cta-extension-buttons .edge-extension {
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    white-space: normal;        /* allow text wrapping for Edge button */
    line-height: 1.2;           /* tighter line height for better wrapped text */
}

.cta-extension-buttons .edge-extension:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #0f172a;
}

/* Ensure Chrome badge image aligns with other button content and is readable in CTA */
.cta-extension-buttons .chrome-web-store-badge .store-badge {
    height: 36px;               /* larger for better readability */
    width: auto;                /* maintain aspect ratio */
    max-width: 160px;           /* allow more space for text */
    vertical-align: middle;     /* align with text baseline */
}

/* Browser Compatibility Section */
.browser-compatibility {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.compatibility-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.compatibility-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.compatibility-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.browser-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.browser-logo {
    width: 48px;
    height: 48px;
}

.browser-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.browser-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.browser-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.browser-features li {
    color: #475569;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.browser-features li::before {
    content: "✓ ";
    color: #22c55e;
    font-weight: bold;
    margin-right: 8px;
}

.btn-browser-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.download-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.rating {
    color: #f59e0b;
    font-weight: 500;
}

.users {
    color: #64748b;
}

/* Additional Browsers */
.additional-browsers {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.additional-text {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 1rem;
}

.coming-soon-browsers {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.browser-coming-soon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.browser-icon-small {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* How It Works - Step Actions */
.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.step-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-link:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.step-browser-icon {
    width: 16px;
    height: 16px;
}

/* CTA Extension Buttons */
.primary-cta {
    margin-bottom: 24px;
}

.cta-action-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-extension-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}

.secondary-cta {
    margin-bottom: 16px;
}

.cta-divider {
    color: #e2e8f0;
    margin: 16px 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Extension Elements */
@media (max-width: 768px) {
    .extension-downloads {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .extension-btn {
        min-width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .extension-btn .btn-subtext {
        position: static;
        display: block;
        margin-top: 4px;
    }
    
    .secondary-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .browser-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .browser-card {
        padding: 24px;
    }
    
    .compatibility-title {
        font-size: 2rem;
    }
    
    .step-actions {
        justify-content: center;
    }
    
    .cta-extension-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .coming-soon-browsers {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .store-badge {
        height: 48px;
        max-width: 170px;
    }
    
    .store-badge-xl {
        height: 58px;
        max-width: 206px;
    }
    
    .trademark-attribution p {
        font-size: 0.75rem;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .browser-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .browser-info {
        text-align: center;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .step-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .step-link {
        min-width: 180px;
        justify-content: center;
    }
}

/* Browser Detection and Recommendations */
.recommended-browser {
    position: relative;
    box-shadow: 0 0 0 2px #22c55e !important;
}

/* Exclude Chrome Web Store badges from recommendation styling */
.chrome-web-store-badge.recommended-browser,
.chrome-web-store-badge-bordered.recommended-browser {
    box-shadow: none !important;
    position: relative;
}

/* Additional protection for Chrome Web Store badges with higher specificity */
a.chrome-web-store-badge.chrome-extension.recommended-browser,
a.chrome-web-store-badge-bordered.chrome-extension.recommended-browser {
    box-shadow: none !important;
}

.browser-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #22c55e;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Prevent browser badges from appearing on Chrome Web Store badges */
.chrome-web-store-badge .browser-badge,
.chrome-web-store-badge-bordered .browser-badge {
    display: none !important;
}

.extension-btn.recommended-browser .browser-badge {
    top: -12px;
    right: -12px;
}

/* SEO and Accessibility Improvements */
.extension-btn,
.step-link,
.browser-card .btn {
    cursor: pointer;
}

.extension-btn:focus,
.step-link:focus,
.browser-card .btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading States for Extension Buttons */
.extension-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.extension-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== DOWNLOAD PAGE SPECIFIC STYLES ===== */

/* Download Hero */
.download-hero {
    padding: 120px 0 80px 0;
}

.hero-content.single-column {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.browser-message {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 24px;
    margin: 24px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.browser-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.btn-xl {
    padding: 20px 32px;
    font-size: 1.1rem;
    min-width: 280px;
}

.btn-xl .browser-icon {
    width: 32px;
    height: 32px;
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 16px;
}

.button-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.button-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Installation Guide */
.installation-guide {
    padding: 80px 0;
    background: white;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tab-btn:hover:not(.active) {
    border-color: #667eea;
    color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.installation-steps {
    max-width: 600px;
    margin: 0 auto;
}

.install-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.install-step .step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 1.2rem;
}

.step-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* System Requirements */
.system-requirements {
    padding: 80px 0;
    background: #f8fafc;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.requirement-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.req-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.requirement-card h3 {
    margin-bottom: 16px;
    color: #1e293b;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.requirement-card li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Download FAQ */
.download-faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.faq-item {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
}

.faq-item h3 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Final Download Buttons */
.final-download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Download Page */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-xl {
        min-width: 100%;
        max-width: 320px;
    }
    
    .guide-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        min-width: 200px;
    }
    
    .install-step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .final-download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 80px 0 60px 0;
    }
    
    .btn-xl {
        padding: 16px 24px;
        min-width: 100%;
    }
    
    .button-content {
        margin-left: 12px;
    }
    
    .installation-guide,
    .system-requirements,
    .download-faq {
        padding: 60px 0;
    }
}
