/* Base styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Hero section styling */
/*
 * The hero section uses a full‑screen background image with a subtle overlay
 * and centered text. By sizing the container to the viewport height and
 * using object‑fit on the image we ensure the focal point (the glowing
 * circle) is always visible on page load, even on wider screens. The
 * object‑position moves the image slightly upward so that the circle
 * appears centred rather than buried at the bottom of the viewport.
 */
.hero {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
    /* occupy full viewport height so the hero always fills the screen */
    height: 100vh;
}

/* make the hero image act like a background covering the header */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* shift the image up so the glowing circle is visible on page load */
    /* the second value controls the vertical position (0% = top, 50% = center, 100% = bottom) */
    /* position the glowing circle roughly at 60% of the image to make it fully visible */
    object-position: center 55%;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    background-color: #007aff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #005fcc;
}

/* Sections */
section {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #222;
}

/* Feature grid */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature {
    flex: 1 1 250px;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2rem;
    color: #007aff;
    margin-bottom: 0.5rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.feature p {
    font-size: 0.95rem;
    color: #555;
}

/* In-app purchase table */
.iap-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.iap-table th,
.iap-table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.iap-table th {
    background-color: #007aff;
    color: #fff;
}

.iap-table tr:nth-child(even) td {
    background-color: #fafafa;
}

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

/* Responsive tweaks */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero .tagline {
        font-size: 1rem;
    }
    .feature-grid {
        gap: 1rem;
    }
    .feature {
        flex: 1 1 100%;
    }
}