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

:root {
    --cloud-white: #FEFEFE;
    --soft-graphite: #333333;
    --muted-navy: #2C3E50;
    --soft-coral: #E85D47;
    --sand-tan: #F5E6D3;
    --leaf-green: #A8D5BA;
    --sunshine-yellow: #FFD662;
    --sky-blue: #A3D5F5;
    --stone-gray: #B0B0B0;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--leaf-green) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.splash-icon {
    width: 120px;
    height: 120px;
    animation: splashIconIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.splash-text {
    font-family: 'Baloo 2', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--muted-navy);
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInText 0.4s ease-out 0.6s forwards;
}

@keyframes splashIconIn {
    0% {
        transform: rotate(-20deg) scale(0.6);
        opacity: 1;
    }
    70% {
        transform: rotate(0deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Baloo 2', sans-serif;
    line-height: 1.6;
    color: var(--soft-graphite);
    background-color: var(--cloud-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--muted-navy);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--sunshine-yellow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--leaf-green) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--muted-navy);
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--soft-graphite);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--muted-navy);
    color: white;
}

.btn-primary:hover {
    background-color: var(--soft-graphite);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--soft-coral);
    color: white;
}

.btn-secondary:hover {
    background-color: #d44e38;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--cloud-white);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--muted-navy);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--muted-navy);
}

.feature-card .icon ion-icon {
    font-size: 3rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--muted-navy);
}

.feature-card p {
    color: var(--soft-graphite);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--sand-tan);
}

.about h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--muted-navy);
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Support Section */
.support {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--cloud-white);
}

.support h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--muted-navy);
}

.support a {
    color: var(--soft-coral);
    text-decoration: none;
    font-weight: 600;
}

.support a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--muted-navy);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

footer nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

footer nav a:hover {
    color: var(--sunshine-yellow);
}

/* Legal Pages */
.legal-page {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--muted-navy);
}

.legal-page h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--muted-navy);
}

.legal-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--soft-graphite);
}

.legal-page p, .legal-page li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--soft-coral);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: var(--stone-gray);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
