/* Landing page styles — ScoreApp-inspired design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fbf7f3;
    color: #1a1a2e;
    -webkit-text-size-adjust: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-logo {
    max-width: 250px;
    width: 80%;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #d0fe00;
    color: #1a1a2e;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 56px;
    min-width: 200px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(208, 254, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* --- Categories Section --- */
.categories {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.categories h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #8142ff;
}

.categories > p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8142ff;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero { padding: 1.5rem; }
    .hero::before { background: rgba(0, 0, 0, 0.65); }
    .cta-button { padding: 0.875rem 2rem; font-size: 1.1rem; width: 100%; max-width: 300px; }
    .categories { padding: 3rem 1.5rem; }
    .category-grid { grid-template-columns: 1fr; }
}
