:root {
    --brand-blue: #1f5eff;
    --brand-cyan: #33c8ff;
    --brand-green: #47c46a;
    --brand-ink: #091226;
    --brand-soft: #f6fbff;
    --card-white: rgba(255, 255, 255, 0.88);
    --line-soft: rgba(255, 255, 255, 0.24);
    --shadow-strong: 0 28px 80px rgba(8, 28, 79, 0.28);
    --shadow-soft: 0 18px 48px rgba(16, 24, 40, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--brand-ink);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(102, 218, 255, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 222, 161, 0.2), transparent 30%),
        linear-gradient(180deg, #0f4cf2 0%, #1e85ff 26%, #f3f9ff 66%, #ffffff 100%);
}

body::before,
body::after {
    position: fixed;
    content: "";
    width: 260px;
    height: 260px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(28px);
}

body::before {
    top: 120px;
    left: -90px;
    background: rgba(255, 209, 114, 0.42);
}

body::after {
    right: -100px;
    bottom: 120px;
    background: rgba(71, 196, 106, 0.22);
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 32px;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: white;
    text-decoration: none;
}

.brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #9effcc 100%);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-copy span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.87rem;
}

.nav {
    display: flex;
    gap: 10px;
    padding: 6px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(10, 23, 58, 0.18);
    backdrop-filter: blur(14px);
}

.nav a {
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: background 0.25s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: center;
    padding: 28px 0 56px;
}

.hero-copy {
    color: white;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #d7f2ff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.9rem, 5.2vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
    text-shadow: 0 5px 20px rgba(12, 18, 66, 0.18);
}

.hero-text {
    max-width: 48ch;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.75;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
    color: var(--brand-ink);
    background: linear-gradient(135deg, #ffe083 0%, #ffffff 100%);
    box-shadow: 0 18px 34px rgba(9, 18, 38, 0.18);
}

.button-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
    min-height: 680px;
}

.phone-card {
    position: absolute;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
    padding: 14px;
}

.phone-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.phone-card-main {
    top: 0;
    right: 16px;
    width: min(100%, 380px);
    height: 620px;
    transform: rotate(2deg);
}

.phone-card-top {
    top: 42px;
    left: 0;
    width: 220px;
    height: 330px;
    transform: rotate(-8deg);
}

.phone-card-bottom {
    right: 0;
    bottom: 0;
    width: 240px;
    height: 340px;
    transform: rotate(7deg);
}

.floating-card {
    position: absolute;
    max-width: 280px;
    padding: 18px 18px 20px;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.floating-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.16rem;
    line-height: 1.45;
}

.floating-label {
    color: #ff7a00;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.floating-card-top {
    left: 40px;
    bottom: 84px;
}

.floating-card-bottom {
    right: 80px;
    bottom: 48px;
}

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

.feature-card,
.trust-card,
.poster-tile {
    border: 1px solid rgba(17, 32, 79, 0.08);
    border-radius: 30px;
    background: var(--card-white);
    box-shadow: var(--shadow-soft);
}

.feature-card,
.trust-card {
    padding: 26px;
}

.feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31, 94, 255, 0.12), rgba(55, 201, 255, 0.24));
    color: var(--brand-blue);
    font-weight: 700;
}

.feature-card h2,
.trust-card h3,
.section-heading h2 {
    margin: 18px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.03em;
}

.feature-card p,
.trust-card p,
.section-heading p,
.poster-copy p {
    margin: 0;
    color: rgba(9, 18, 38, 0.72);
    line-height: 1.72;
}

.feature-gallery,
.privacy-section {
    margin-top: 84px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

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

.poster-tile {
    overflow: hidden;
}

.poster-tile-large {
    grid-column: span 2;
}

.poster-tile img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.poster-tile-large img {
    height: 580px;
}

.poster-copy {
    padding: 20px 22px 24px;
}

.poster-copy span {
    color: rgba(9, 18, 38, 0.54);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.poster-copy strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 1.2rem;
}

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

.footer {
    margin-top: 72px;
    padding: 28px 0 12px;
    color: rgba(9, 18, 38, 0.52);
    font-size: 0.94rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 760px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poster-tile-large {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .site-shell {
        width: min(100% - 20px, 100%);
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nav {
        justify-content: space-between;
        overflow-x: auto;
    }

    .hero {
        padding-top: 12px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .phone-card,
    .phone-card-main,
    .phone-card-top,
    .phone-card-bottom,
    .floating-card,
    .floating-card-top,
    .floating-card-bottom {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
        max-width: none;
    }

    .phone-card img {
        height: 480px;
    }

    .feature-grid,
    .gallery-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .poster-tile-large {
        grid-column: auto;
    }

    .poster-tile img,
    .poster-tile-large img {
        height: 460px;
    }
}
