:root {
    --primary: #009688;
    --primary-dark: #00796b;
    --primary-light: #e0f2f1;
    --text: #263238;
    --muted: #607d8b;
    --background: #f7f9f9;
    --white: #ffffff;
    --border: #e0e0e0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

a {
    color: inherit;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */

.hero {
    padding: 90px 0 70px;
    background: linear-gradient(
            135deg,
            var(--primary-light) 0%,
            var(--white) 65%
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    margin: 0 0 30px;
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--muted);
}

.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hero-placeholder {
    min-height: 420px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
    padding: 30px;
}

.hero-placeholder strong {
    display: block;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Sections */

section {
    padding: 80px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-header h2 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.feature h3 {
    margin: 0 0 8px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* Screenshots */

.screenshots {
    background: var(--white);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.screenshot {
    aspect-ratio: 108 / 240;
    overflow: hidden;
    border-radius: 18px;
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.screenshot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.screenshot-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    color: var(--muted);
}

/* Offline */

.offline {
    background: var(--primary);
    color: var(--white);
}

.offline-content {
    max-width: 800px;
}

.offline h2 {
    margin: 0 0 15px;
    font-size: 2rem;
}

.offline p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Use cases */

.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 50px;
    padding: 0;
    list-style: none;
}

.use-cases li {
    padding: 12px 0 12px 28px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.use-cases li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* CTA */

.cta {
    text-align: center;
}

.cta h2 {
    margin: 0 0 15px;
    font-size: 2rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--muted);
}

/* Footer */

footer {
    padding: 30px 0;
    background: #263238;
    color: #cfd8dc;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer a {
    color: #cfd8dc;
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
}

/* Responsive */

@media (max-width: 800px) {
    nav {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-placeholder {
        min-height: 300px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}