/* ==========================================================================
   Ressup: Recipe Recorder — Website Styles
   Copyright © 2026 BHB Technologies, Inc. All rights reserved.
   ========================================================================== */

:root {
    --cyan: #96F0F5;
    --cyan-dark: #6DD5DA;
    --navy: #1a2744;
    --navy-light: #2a3a5c;
    --white: #ffffff;
    --off-white: #f8fafa;
    --gray-100: #f1f5f5;
    --gray-200: #e2e8e8;
    --gray-400: #94a3a3;
    --gray-600: #5a6868;
    --gray-800: #2d3636;
    --text: #1a2744;
    --text-light: #5a6868;
    --accent: #007AFF;
    --green: #34C759;
    --orange: #FF9500;
    --red: #FF3B30;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --max-width: 1120px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout ---------- */

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section--alt { background: var(--off-white); }
.section--cyan { background: var(--cyan); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.nav__logo img { height: 36px; width: 36px; border-radius: 8px; }

.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--accent); }

.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */

.hero { padding: 100px 0 80px; text-align: center; }

.hero__logo { width: 100px; height: 100px; border-radius: 22px; margin: 0 auto 24px; box-shadow: var(--shadow-lg); }

.hero__title { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero__title span { color: var(--accent); }

.hero__subtitle { font-size: 1.25rem; color: var(--text-light); max-width: 600px; margin: 0 auto 32px; }

.hero__price { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 32px; }
.hero__price strong { color: var(--text); font-size: 1.3rem; }

.hero__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: var(--white); padding: 14px 32px; border-radius: 50px; font-size: 1.05rem; font-weight: 600; transition: background var(--transition), transform var(--transition); }
.hero__cta:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.hero__cta svg { width: 22px; height: 22px; }

/* ---------- Hero Actions & QR Code ---------- */

.hero__actions { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }

.hero__devices { margin-top: 20px; font-size: 0.95rem; color: var(--gray-600); font-weight: 500; }

.qr-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.qr-placeholder {
    width: 120px; height: 120px;
    background: var(--gray-100); border: 2px dashed var(--gray-400);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 0.85rem; font-weight: 600;
}

.qr-placeholder--light {
    background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.5);
}

.qr-caption { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }

.cta-band__actions { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }

/* ---------- Features ---------- */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card__desc { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Screenshots ---------- */

.screenshots { text-align: center; }
.screenshots__row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.screenshot-placeholder {
    width: 220px; height: 440px;
    background: var(--gray-100); border: 2px dashed var(--gray-200);
    border-radius: 28px; display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 0.85rem; font-weight: 500;
}

/* ---------- Accessibility Callout ---------- */

.a11y-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.a11y-callout__text h2 { font-size: 2rem; margin-bottom: 16px; }
.a11y-callout__text p { color: var(--text-light); margin-bottom: 24px; }
.a11y-list { list-style: none; }
.a11y-list li { padding: 10px 0; font-size: 1.05rem; display: flex; align-items: center; gap: 12px; }
.a11y-list li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--green); color: white; border-radius: 50%; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

/* ---------- CTA Band ---------- */

.cta-band { text-align: center; padding: 60px 0; }
.cta-band h2 { font-size: 2rem; margin-bottom: 12px; color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1.1rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); margin-bottom: 12px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--cyan); }
.footer__copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; text-align: center; color: rgba(255,255,255,0.45); font-size: 0.82rem; }

/* ---------- Page Header ---------- */

.page-header { background: var(--cyan); padding: 48px 0 40px; }
.page-header h1 { font-size: 2.2rem; font-weight: 800; }
.page-header p { color: var(--gray-600); margin-top: 8px; }

/* ---------- Prose (Guide / Privacy / Support) ---------- */

.prose { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--cyan); }
.prose h3 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; color: var(--navy-light); }
.prose p { margin-bottom: 16px; color: var(--gray-800); }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 24px; color: var(--gray-800); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.prose .tip {
    background: #e8f8f8; border-left: 4px solid var(--cyan-dark);
    padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0; font-size: 0.95rem;
}
.prose .tip strong { display: block; margin-bottom: 4px; }

/* Guide index cards */
.guide-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.guide-card {
    display: block; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 24px; transition: box-shadow var(--transition), transform var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.guide-card__icon { font-size: 1.8rem; margin-bottom: 8px; }
.guide-card__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.guide-card__desc { font-size: 0.9rem; color: var(--text-light); }

/* ---------- Support ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.contact-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.contact-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.contact-card__title { font-weight: 700; margin-bottom: 6px; }
.contact-card__email { font-size: 1.05rem; }

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .hero__title { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .a11y-callout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .guide-index { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .nav__links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px 24px; gap: 16px; box-shadow: var(--shadow); }
    .nav__links.open { display: flex; }
    .nav__toggle { display: block; }
    .screenshot-placeholder { width: 160px; height: 320px; }
}
