html {
  overscroll-behavior: none;
}

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #4a4a4a 50%, #2c2c2c 75%, #1a1a1a 100%);
    background-size: 400% 400%;
    background-position: 0% 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga", "kern";
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 40px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.project-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.project-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.project-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.content-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.demo-section {
    text-align: center;
    margin-top: 40px;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.demo-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* API Documentation Styles */
.api-endpoint {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.api-endpoint code {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

pre code {
    background: none;
    color: #e8e8e8;
    padding: 0;
    border-radius: 0;
    font-weight: normal;
}

code {
    background: rgba(255, 255, 255, 0.1);
    color: #667eea;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.section-content h3 {
    color: #667eea;
    margin: 25px 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.section-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.section-content li {
    margin: 8px 0;
    line-height: 1.6;
}

.section-content li strong {
    color: #667eea;
}

/* Scrollbar styling for code blocks */
pre::-webkit-scrollbar {
    height: 8px;
}

pre::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* API Tester Styles */
.api-tester {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.api-response,
.api-error {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.api-response {
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
}

.api-error {
    border: 1px solid rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.05);
}

.api-response h3,
.api-error h3 {
    margin: 0;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
}

.api-response h3 {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff88;
}

.api-error h3 {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
}

.api-response pre,
.api-error pre {
    margin: 0;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.demo-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.demo-button:disabled:hover {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .project-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .project-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .content-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-stack {
        gap: 10px;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .back-link, .demo-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Chrome Extension Styles */
.extension-download {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.extension-info {
    display: flex;
    gap: 20px;
    flex: 1;
}

.extension-icon {
    font-size: 3rem;
    color: #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.extension-details h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.extension-details p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 1rem;
}

.extension-details ul {
    list-style: none;
    padding: 0;
}

.extension-details li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.extension-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4285f4;
    font-weight: bold;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-section .download-button:first-child {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-section .download-button:first-child:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}



.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

.download-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    max-width: 200px;
    line-height: 1.4;
}

.installation-guide {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.installation-guide h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.installation-guide ol {
    padding-right: 20px;
}

.installation-guide li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.installation-guide code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #4285f4;
}

/* Responsive Design for Extension Section */
@media (max-width: 768px) {
    .extension-download {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .extension-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .extension-icon {
        align-self: center;
    }
    
    .download-section {
        width: 100%;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .extension-download {
        padding: 15px;
    }
    
    .extension-details h3 {
        font-size: 1.2rem;
    }
    
    .download-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}