@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #007AFF;
    --secondary-color: #F2F2F7;
    --text-color: #1c1c1e;
    --light-gray: #e5e5ea;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--white);
}

header {
    background-color: var(--white);
    padding: 1rem 5%;
    position: fixed;
    width: 90%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

main {
    padding-top: 80px; /* Header height */
}

section {
    padding: 4rem 5%;
    border-bottom: 1px solid var(--light-gray);
}

section:last-of-type {
    border-bottom: none;
}

.hero {
    text-align: center;
    padding: 6rem 5%;
    background-color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.app-store-btn {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.app-store-btn:hover {
    opacity: 0.8;
}

.app-store-btn img {
    height: 50px;
    width: auto;
}

#features h2, #about h2, #support h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

#about p, #support p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

#support a {
    color: var(--primary-color);
    font-weight: 600;
}

footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--white);
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Simple responsive solution, can be improved with a burger menu */
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}
