/* DoseBloom Website — App Color Palette */
:root {
    --mint: #66bfa6;
    --lavender: #5a4894;
    --peach: #f2a673;
    --blush: #e67380;
    --sky: #4d5fa8;
    --bg: #fafbfd;
    --text: #2c2c3a;
    --text-light: #6b6b80;
    --card-bg: #ffffff;
    --card-shadow: 0 2px 16px rgba(0,0,0,0.07);
    --radius: 18px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--text);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    z-index: 200;
}

.skip-link:focus {
    top: 16px;
}

/* ── Navigation ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(250, 251, 253, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 14px 0;
}
nav .container {
    display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
    font-weight: 700; font-size: 1.2rem;
}
nav .logo img {
    width: 36px; height: 36px; border-radius: 8px;
}
nav .nav-links {
    display: flex; gap: 28px; list-style: none;
}
nav .nav-links a {
    text-decoration: none; color: var(--text-light);
    font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
nav .nav-links a:hover { color: var(--lavender); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.container {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
}

/* ── Hero ── */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(170deg, #f0ecf9 0%, var(--bg) 60%);
}
.hero .icon-img {
    width: 120px; height: 120px; border-radius: 28px;
    box-shadow: 0 8px 32px rgba(140, 122, 199, 0.25);
    margin-bottom: 32px;
}
.hero h1 {
    font-size: 3rem; font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--lavender), var(--sky));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.25rem; color: var(--text-light);
    max-width: 560px; margin: 0 auto 36px;
}
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--lavender);
    color: #fff;
    font-weight: 600; font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(140, 122, 199, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(140, 122, 199, 0.4);
}

/* ── Screenshots ── */
.screenshots {
    padding: 80px 0;
    text-align: center;
}
.screenshots h2 {
    font-size: 2rem; font-weight: 700; margin-bottom: 40px;
}
.screenshot-grid {
    display: flex; gap: 20px; justify-content: center;
    flex-wrap: wrap;
}
.screenshot-grid img {
    width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    flex-shrink: 0;
}

/* ── Features ── */
.features {
    padding: 80px 0;
    background: #fff;
}
.features h2 {
    font-size: 2rem; font-weight: 700;
    text-align: center; margin-bottom: 48px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.55;
}

/* Color accents for feature icons */
.fi-lavender { background: rgba(140, 122, 199, 0.14); }
.fi-mint     { background: rgba(102, 191, 166, 0.14); }
.fi-peach    { background: rgba(242, 166, 115, 0.14); }
.fi-blush    { background: rgba(230, 115, 128, 0.14); }
.fi-sky      { background: rgba(102, 179, 242, 0.14); }

/* ── How It Works ── */
.how-it-works {
    padding: 80px 0;
    text-align: center;
}
.how-it-works h2 {
    font-size: 2rem; font-weight: 700; margin-bottom: 48px;
}
.steps {
    display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.step {
    flex: 1; min-width: 200px; max-width: 280px;
}
.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--lavender); color: #fff;
    font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--text-light); }

/* ── Highlights Strip ── */
.highlights {
    padding: 60px 0;
    background: linear-gradient(135deg, #ece7f8, #dbe5fb);
    color: var(--text); text-align: center;
}
.highlights-grid {
    display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
}
.highlight-item h3 {
    font-size: 2rem; font-weight: 800;
    color: var(--lavender);
}
.highlight-item p {
    font-size: 0.95rem;
    color: var(--text);
}

/* ── Why DoseBloom ── */
.why-dosebloom {
    padding: 80px 0;
    background: #fff;
}
.why-dosebloom h2 {
    font-size: 2rem; font-weight: 700;
    text-align: center; margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem; color: var(--text-light);
    max-width: 600px; margin: 0 auto 48px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.why-item {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--bg);
    border-left: 4px solid var(--lavender);
}
.why-item h3 {
    font-size: 1.15rem; font-weight: 700; margin-bottom: 12px;
    color: var(--text);
}
.why-item p {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.65;
}

/* ── CTA ── */
.cta {
    padding: 100px 0; text-align: center;
}
.cta h2 {
    font-size: 2rem; font-weight: 700; margin-bottom: 16px;
}
.cta p {
    font-size: 1.1rem; color: var(--text-light); margin-bottom: 32px;
}

/* ── Footer ── */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}
footer a {
    color: var(--lavender); text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* ── Privacy Page ── */
.privacy-page {
    padding: 140px 0 80px;
    max-width: 780px; margin: 0 auto;
}
.privacy-page h1 {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 8px;
}
.privacy-page .last-updated {
    color: var(--text-light); margin-bottom: 36px; font-size: 0.95rem;
}
.privacy-page h2 {
    font-size: 1.3rem; font-weight: 700;
    margin-top: 32px; margin-bottom: 12px;
    color: var(--lavender);
}
.privacy-page a {
    color: var(--lavender);
}
.privacy-page p, .privacy-page ul {
    font-size: 1rem; color: var(--text-light); margin-bottom: 14px;
}
.privacy-page ul {
    padding-left: 24px;
}
.privacy-page li {
    margin-bottom: 6px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .screenshot-grid img { width: 160px; }
    nav .nav-links { gap: 16px; }
    nav .nav-links a { font-size: 0.85rem; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    nav {
        position: static;
    }
    nav .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    nav .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
    }
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 96px 0 72px; }
    .screenshot-grid { gap: 12px; }
    .screenshot-grid img { width: 140px; }
    .steps { flex-direction: column; align-items: center; }
    .highlights-grid { flex-direction: column; gap: 24px; }
    .privacy-page { padding: 72px 0 56px; }
}
