:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --panel: rgba(8, 17, 31, 0.76);
    --line: rgba(173, 216, 255, 0.16);
    --text: #f4f8fc;
    --muted: #afbdd0;
    --accent: #6ee7c8;
    --accent-strong: #8bd8ff;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(110, 231, 200, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(139, 216, 255, 0.2), transparent 26%),
        linear-gradient(180deg, #0a1627 0%, #07111f 45%, #091524 100%);
}

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    padding: 18px 0 44px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 90px auto auto 52%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(110, 231, 200, 0.18), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 6px 0 18px;
}

.brand {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

h1 {
    margin: 12px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.55rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.hero-copy p {
    margin: 0;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.68;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #04101e;
    box-shadow: 0 10px 30px rgba(110, 231, 200, 0.22);
}

.hero-visual {
    position: relative;
    padding: 18px 18px 14px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 27, 46, 0.92), rgba(8, 17, 31, 0.92));
    box-shadow: var(--shadow);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-phone-frame {
    position: relative;
    max-width: 240px;
    margin: 0 auto;
    padding: 9px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-phone-frame img {
    display: block;
    width: 100%;
    border-radius: 16px;
    background: #fff;
}

.hero-lines {
    margin: 14px auto 0;
    max-width: 240px;
    position: relative;
    min-height: 72px;
    overflow: hidden;
}

.hero-lines-track {
    display: flex;
    width: 300%;
    animation: slideCards 9s ease-in-out infinite;
}

.hero-line {
    width: 100%;
    flex: 0 0 33.3333%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideCards {
    0%, 24% {
        transform: translateX(0%);
    }
    33%, 57% {
        transform: translateX(-33.3333%);
    }
    66%, 90% {
        transform: translateX(-66.6666%);
    }
    100% {
        transform: translateX(0%);
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.section {
    padding: 28px 0 72px;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pillar {
    position: relative;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(18, 31, 51, 0.92), rgba(8, 17, 31, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    text-align: left;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pillar::after {
    content: "";
    position: absolute;
    inset: auto -40px -50px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.pillar-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pillar-utility .pillar-icon {
    background: linear-gradient(135deg, rgba(110, 231, 200, 0.24), rgba(110, 231, 200, 0.08));
    color: #8ef0d6;
}

.pillar-casual .pillar-icon {
    background: linear-gradient(135deg, rgba(255, 180, 92, 0.24), rgba(255, 180, 92, 0.08));
    color: #ffd089;
}

.pillar-retention .pillar-icon {
    background: linear-gradient(135deg, rgba(139, 216, 255, 0.24), rgba(139, 216, 255, 0.08));
    color: #a8e7ff;
}

.pillar h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.pillar-utility h3 {
    color: #8ef0d6;
}

.pillar-casual h3 {
    color: #ffd089;
}

.pillar-retention h3 {
    color: #a8e7ff;
}

.pillar p {
    margin: 0;
    color: #dbe6f3;
    line-height: 1.8;
    font-size: 0.98rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shot {
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 30, 50, 0.95), rgba(9, 19, 32, 0.95));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
}

.shot img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: top center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.footer-copy {
    padding: 0 0 56px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .hero-grid,
    .pillars,
    .gallery {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 18px;
    }

    .page-shell {
        width: min(100% - 20px, 1180px);
    }

    .hero-visual,
    .pillar,
    .shot {
        border-radius: 22px;
    }

    .hero-copy p,
    .section-heading p,
    .pillar p,
    .hero-line {
        font-size: 0.98rem;
    }

    h1 {
        font-size: clamp(2.45rem, 11vw, 3.7rem);
    }

    .hero-lines {
        max-width: 260px;
    }
}
