:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --background: #f5f7fb;
    --surface: #ffffff;
    --text: #212121;
    --text-secondary: #616161;
    --border: #e5e7eb;
    --shadow: 0 8px 30px rgba(0,0,0,.08);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.7;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: auto;
}

/* ===========================
   HEADER
=========================== */

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 56px 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 28px;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s;
}

nav a:hover {
    opacity: .8;
}

/* ===========================
   FEATURE BANNER
=========================== */

.banner{
    width:min(1100px, calc(100% - 32px));
    margin:32px auto 0;
}

.banner img{
    width:100%;
    border-radius:16px;
    box-shadow:var(--shadow);
}

/* ===========================
   HERO
=========================== */

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    margin: 70px 0;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot{
    width:230px;
}

.app-screenshot:hover {
    transform: translateY(-4px);
}

/* ===========================
   BUTTONS
=========================== */

.button {
    display: inline-block;
    padding: 14px 26px;
    margin-right: 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.button:hover {
    background: var(--primary-dark);
}

.button.disabled {
    opacity: .5;
    cursor: default;
    pointer-events: none;
}

/* ===========================
   SECTIONS
=========================== */

section {
    margin: 70px 0;
}

section h2 {
    margin-bottom: 24px;
    font-size: 2rem;
}

section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ===========================
   CARDS
=========================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.card h3 {
    margin-bottom: 14px;
}

/* ===========================
   LIST
=========================== */

ul {
    padding-left: 22px;
}

li {
    margin-bottom: 10px;
}

/* ===========================
   FOOTER
=========================== */

footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    background: white;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {

    header h1 {
        font-size: 2.3rem;
    }

    .hero{
        margin:50px 0;
    }

    .hero-image {
        order: -1;
    }

    .app-screenshot {
        width: 260px;
    }

    .button {
        display: block;
        margin-right: 0;
    }
}
