:root {
    color-scheme: dark;
    --bg: #0f172a;
    --panel: rgba(15, 23, 42, 0.88);
    --panel-strong: rgba(30, 41, 59, 0.95);
    --accent: #7dd3fc;
    --accent-soft: #38bdf8;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 26%),
                radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.16), transparent 22%),
                var(--bg);
    color: var(--text);
}

body {
    padding: 32px;
}

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px 28px 32px;
    background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(15,23,42,0.84));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    margin-bottom: 32px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
}

.subtitle {
    margin: 16px 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.hero-card {
    justify-self: end;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 24px;
    padding: 22px 24px;
    display: inline-grid;
    gap: 8px;
    text-align: right;
}

.hero-card p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.hero-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.app-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.90));
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    position: relative;
    overflow: hidden;
}

.app-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 35%);
    opacity: 0;
    transition: opacity 250ms ease;
}

.app-button:hover::before {
    opacity: 1;
}

.app-button:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.app-button span {
    z-index: 1;
}

.app-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 1;
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-card {
        justify-self: start;
        text-align: left;
    }
}
