/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #1E2D4F;
    --red: #E53935;
    --red-hover: #C62828;
    --medium-gray: #8E92A0;
    --light-gray: #B8BCC8;
    --bg: #FAFBFC;
    --white: #FFFFFF;
    --navy-tint: rgba(30, 45, 79, 0.06);
    --red-tint: rgba(229, 57, 53, 0.06);
    --text-body: #3A3F4B;
    --border: #E2E5EB;
    --max-width: 1080px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }

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

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

/* === Nav === */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.2rem;
}

.site-nav__brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.site-nav__links a {
    color: var(--medium-gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s;
}

.site-nav__links a:hover { color: var(--navy); }

/* === Hero === */
.hero {
    padding: 80px 0 64px;
    text-align: center;
}

.hero__icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(30, 45, 79, 0.12);
    margin: 0 auto 32px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

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

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero__cta {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 36px;
    border-radius: 12px;
    transition: background 0.15s, transform 0.1s;
}

.hero__cta:hover {
    background: var(--red-hover);
    color: var(--white);
    transform: translateY(-1px);
}

/* === Screenshot Section === */
.screenshots {
    padding: 48px 0 72px;
}

.screenshots__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 840px;
    margin: 0 auto;
}

.screenshot-placeholder {
    aspect-ratio: 9 / 19.5;
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--light-gray);
    font-size: 0.85rem;
}

.screenshot-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

/* === Features === */
.features {
    padding: 72px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--medium-gray);
    font-size: 1.05rem;
}

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

.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    background: var(--bg);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}

.feature-card__icon--navy { background: var(--navy-tint); }
.feature-card__icon--red { background: var(--red-tint); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* === How It Works === */
.how-it-works {
    padding: 72px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 0 8px;
}

.step__number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.step p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.45;
}

/* === Contact === */
.contact {
    padding: 72px 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact p {
    color: var(--light-gray);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.contact__email {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: border-color 0.15s, background 0.15s;
}

.contact__email:hover {
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

/* === Footer === */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__copy {
    color: var(--light-gray);
    font-size: 0.85rem;
}

.site-footer__links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.site-footer__links a {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.site-footer__links a:hover { color: var(--navy); }

/* === Privacy Policy Page === */
.legal {
    padding: 64px 0;
    max-width: 720px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.legal__updated {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal p, .legal li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal li { margin-bottom: 6px; }

/* === Responsive === */
@media (max-width: 768px) {
    .hero { padding: 56px 0 40px; }
    .hero h1 { font-size: 2rem; }
    .hero__subtitle { font-size: 1.05rem; }
    .hero__icon { width: 96px; height: 96px; border-radius: 22px; }

    .screenshots__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

    .features__grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 16px; }

    .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .site-footer .container { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .screenshots__grid { grid-template-columns: 1fr; max-width: 240px; margin: 0 auto; }
    .steps { grid-template-columns: 1fr; }
}
