:root {
    --primary-blue: #00BFFF;
    --darker-blue: #0099CC;
    --accent-blue: #007BFF;
    --light-blue: #E1F5FE;
    --text-color: #333;
    --light-gray: #f8f8f8;
    --mid-gray: #e0e0e0;
    --dark-gray: #555;
    --code-bg: #f5f7ff;
    --shadow: 0 4px 12px 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;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    scroll-behavior: smooth;
    letter-spacing: 0.02em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--darker-blue);
    text-decoration: underline;
}

header {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
    height: auto;  
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;  
}

header .logo img {
    height: 60px;  
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

header .tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);  
    margin: 0;
    text-align: right;
    font-style: bold;  
}

#about {
    background-color: var(--light-blue);
    padding: 3rem 0;
}

#about p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

#screenshots {
    background-color: white;
    padding: 3rem 0;
}

.screenshot-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.screenshot-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: var(--shadow);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--mid-gray);
}

.screenshot-item .caption {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
}

/* Features Section */
#features {
    background-color: var(--light-gray);
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0;
}

/* CTA Section */
#cta {
    background-color: var(--primary-blue);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

#cta h2 {
    color: white;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: var(--transition);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.github-button {
    background-color: white;
    color: var(--primary-blue);
}

.github-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.docs-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.docs-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.button-icon {
    margin-right: 0.7rem;
}

/* Documentation Section */
#documentation {
    background-color: white;
    padding: 3rem 0 5rem;
}

.docs-navigation {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 5;
}

.docs-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    justify-content: center;
}

.docs-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--dark-gray);
    font-weight: 500;
}

.docs-navigation a:hover,
.docs-navigation a.active {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
}

#documentation h3 {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mid-gray);
    font-weight: 600;
}

.docs-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.docs-content ul,
.docs-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

/* Changed from dark blue to primary-blue */
.docs-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary-blue);
}

code {
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    color: var(--primary-blue);  /* Changed to match theme */
}

.docs-closing {
    text-align: center;
    font-style: bold;
    font-size: 1.2rem;
    margin-top: 3rem;
    color: var(--primary-blue);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    max-width: 140px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Improving Smooth Scrolling - Center content in viewport */
html {
    scroll-padding-top: 100px; /* Add padding to ensure content is centered */
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    header .tagline {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .docs-navigation ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) {
    .button-group {
        flex-direction: row;
    }
}