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

:root {
    --blue:   #2D5BE3;
    --blue2:  #1A2D6B;
    --accent: #7EB8F7;
    --white:  #ffffff;
    --dark:   #0F1A3A;
    --card:   rgba(255,255,255,0.08);
}

body {
    font-family: 'Oxygen', sans-serif;
    background: var(--blue);
    color: var(--white);
    overflow-x: hidden;
}

/* ── Nav ── */
nav {
    background: rgba(0,0,0,0.2);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a.brand {
    font-family: 'Arvo', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a.brand span { color: var(--accent); }

nav a.back {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

nav a.back:hover { color: var(--white); }

/* ── Footer ── */
footer {
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 32px 24px;
    font-size: 0.85rem;
    opacity: 0.6;
}

footer a { color: var(--white); }

/* ── Store button ── */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--dark);
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255,255,255,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,255,0.3);
}

.store-btn svg { width: 22px; height: 22px; }

/* ── Sections ── */
section { padding: 80px 24px; }

.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Arvo', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.section-title span { color: var(--accent); }

/* ── Hero ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, #1A2D6B 0%, #2D5BE3 50%, #4A7FD4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?w=1400&q=60&fit=crop') center/cover no-repeat;
    opacity: 0.08;
}

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-family: 'Arvo', serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.hero h1 span { color: var(--accent); }

.hero p.tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    opacity: 0.9;
    margin-top: 12px;
    letter-spacing: 0.5px;
    position: relative;
}

.hero p.description {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.7;
    position: relative;
}

/* ── Features ── */
.features { background: rgba(0,0,0,0.15); }

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

.feature-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: 'Arvo', serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* ── Categories ── */
.categories { background: rgba(0,0,0,0.08); }

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pill {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Difficulties ── */
.difficulties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.diff-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
}

.diff-card .pieces {
    font-size: 2rem;
    font-family: 'Arvo', serif;
    color: var(--accent);
    font-weight: 700;
}

.diff-card .label {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 6px 0 4px;
}

.diff-card .grid-size {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ── CTA ── */
.cta {
    background: linear-gradient(135deg, #1A2D6B, #4A7FD4);
    text-align: center;
    padding: 80px 24px;
}

.cta h2 {
    font-family: 'Arvo', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.cta p {
    opacity: 0.8;
    font-size: 1.05rem;
    margin-bottom: 36px;
}

/* ── Document pages (privacy, terms) ── */
.content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.content h1 {
    font-family: 'Arvo', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.content h1 span { color: var(--accent); }

.effective-date {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 48px;
}

.content h2 {
    font-family: 'Arvo', serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin: 40px 0 12px;
}

.content p {
    font-size: 0.98rem;
    line-height: 1.75;
    opacity: 0.85;
    margin-bottom: 16px;
}

.content ul {
    margin: 0 0 16px 20px;
}

.content ul li {
    font-size: 0.98rem;
    line-height: 1.75;
    opacity: 0.85;
    margin-bottom: 6px;
}

.content a {
    color: var(--accent);
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .hero { padding: 60px 20px 60px; }
    .store-btn { padding: 14px 28px; }
}
