﻿/* inboxout-landing.css */
/* Mobile-first, very small, no frameworks */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #111;
    background-color: #fafafa;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    gap: 1rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 28px;
    width: auto;
    display: block;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}

.btn-primary {
    background: #000000;
}

    .btn-primary:hover,
    .btn-primary:focus-visible {
        background: #222222;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

.btn-header {
    font-size: 0.85rem;
}

.btn-hero {
    margin-top: 1rem;
}

/* Hero */

.hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f7 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-copy h1 {
    font-size: 1.6rem;
    margin: 0 0 0.75rem;
}

.hero-tagline {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

    .hero-benefits li {
        position: relative;
        padding-left: 1.2rem;
        margin-bottom: 0.3rem;
    }

        .hero-benefits li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: darkgreen;
        }

.hero-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #444;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Device frame */

.device-frame {
    background-color: #111;
    border-radius: 1.8rem;
    padding: 0.5rem;
    max-width: 260px;
    width: 70vw;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: floatIn 420ms ease-out both;
}

    .device-frame::before {
        content: "";
        position: absolute;
        top: 0.4rem;
        left: 50%;
        transform: translateX(-50%);
        width: 30%;
        height: 0.15rem;
        border-radius: 999px;
        background-color: #333;
    }

    .device-frame img {
        width: 100%;
        display: block;
        border-radius: 1.4rem;
    }

/* Sections */

.section {
    padding: 2rem 0;
}

.section-alt {
    background-color: #ffffff;
}

.section h2 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem;
}

.section-text {
    margin-top: 1rem;
    font-size: 0.96rem;
}

/* Steps */

.steps-list {
    margin: 0.5rem 0 0;
    padding-left: 1.4rem;
    font-size: 0.95rem;
}

    .steps-list li + li {
        margin-top: 0.3rem;
    }

/* Screenshots grid */

.screens-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background-color: #f7f7f7;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #e2e2e2;
}

    .card h3 {
        margin: 0 0 0.4rem;
        font-size: 1.05rem;
    }

    .card p {
        margin: 0 0 0.75rem;
        font-size: 0.94rem;
    }

.screenshot-frame {
    border-radius: 0.6rem;
    overflow: hidden;
    background-color: #111;
    padding: 0.35rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

    .screenshot-frame img {
        display: block;
        width: 100%;
        border-radius: 0.4rem;
    }

/* Footer */

.site-footer {
    padding: 1.5rem 0 2rem;
    background-color: #111111;
    color: #f4f4f4;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-copy {
    margin: 0;
}

.footer-nav a {
    color: #f4f4f4;
    text-decoration: none;
}

    .footer-nav a:hover,
    .footer-nav a:focus-visible {
        text-decoration: underline;
    }

.footer-separator {
    margin: 0 0.4rem;
    opacity: 0.7;
}

.footer-meta {
    margin-top: 0.75rem;
    color: #cccccc;
}

/* Animation (very subtle) */

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Larger screens */

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .hero-copy {
        flex: 1.2;
    }

    .hero-visual {
        flex: 1;
        justify-content: flex-end;
    }

    .hero-copy h1 {
        font-size: 1.9rem;
    }

    .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 3rem 0 2.5rem;
    }
}
