/* Import Apple‑like system font (Inter is a good approximation) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

/* Base typography */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont,
        "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* fade + rise animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout */
body {
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

header, main, footer {
    padding: 2rem 1rem;
    max-width: 960px;
    margin: 0 auto;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

header h1 span {
    color: #5a67d8;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

a {
    color: #5a67d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* App icon image */
img[alt="Tend App Icon"] {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* App Store badge */
img[alt="Download on the App Store"] {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 auto 2rem auto;
}

/* CTA button */
.cta-button {
    display: inline-block;
    background-color: #5a67d8;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #434190;
}

/* Footer */
footer {
    font-size: 0.9rem;
    text-align: center;
    color: #666;
    padding: 2rem 1rem;
}

footer a {
    color: #5a67d8;
}

/* Full-screen slides */
.slide {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    scroll-snap-align: start;
}
