:root {
    --primary-color: #3b82f6;
    --accent-color: #f97316;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --text-dark: #334155;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #22c55e;
    --section-padding: 1.5rem 2rem;
}

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

body { 
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-dark); 
    background-color: var(--light-bg);
    scroll-behavior: smooth;
}

header { 
    background: linear-gradient(to right, var(--dark-bg), #2d3748);
    color: var(--text-light);
    padding: 0.3rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.header-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    padding: 0.5rem;
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

section { 
    padding: var(--section-padding);
    max-width: 1000px;
    margin: 0 auto;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-container {
    background-color: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav { 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

nav a { 
    color: var(--text-light);
    margin: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent-color);
}

.header-img {
    width: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.intro {
    text-align: center;
    padding: 0.7rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.whats-new-list {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.whats-new-list li {
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.whats-new-list li:before {
    content: "→";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.download { 
    display: block;
    text-align: center;
    margin: 2rem 0;
}

.download a { 
    background: linear-gradient(to right, var(--success-color), #15803d);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.download a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.screenshots { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.screenshot-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 9/16;
}

.screenshot-container:hover {
    transform: scale(1.05);
}

.screenshots img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.lightbox-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    object-fit: contain;
}

.faq-container {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.faq { 
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-me {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--accent-color);
}

.about-me p {
    margin-bottom: 1rem;
}

.about-me a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-me a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

footer { 
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .screenshots {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-container {
        padding: 0.5rem;
    }
    nav a {
        margin: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .screenshots {
        grid-template-columns: 1fr;
    }
}