/* General Setup */
:root {
    --background-color: hsl(222, 47%, 11%);
    --primary-text-color: hsl(210, 40%, 98%);
    --secondary-text-color: hsl(210, 40%, 80%);
    --card-background: hsl(222, 47%, 15%);
    --card-border: hsl(222, 47%, 25%);
    --accent-gradient: linear-gradient(90deg, #8e2de2, #4a00e0);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Titles and Text */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

p {
    color: var(--secondary-text-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.2);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--card-background);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #8e2de2;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.screenshots-grid img:hover {
    opacity: 1;
}

/* Tech Stack Section */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.tech-list li {
    background-color: var(--card-background);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0 2rem;
    color: var(--secondary-text-color);
}

footer a {
    color: #8e2de2;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Animation for reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
