:root {
    --ink: #2d2740;
    --muted: #6b6480;
    --paper: #faf8ff;
    --brand: #8b7cf6;
    --brand-deep: #6d5ce7;
    --lilac: #ebe4ff;
    --line: rgba(109, 92, 231, 0.14);
}

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

body {
    font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--ink);
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

.box {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 88px;
    padding: 36px 24px;
    background: #fff;
    border-bottom: 1px solid #f0ebfa;
}

.nav-item {
    position: relative;
    padding: 8px 4px;
    font-size: 28px;
    font-weight: 600;
    color: #9a93ad;
    transition: color 0.2s;
}

.nav-item:hover {
    color: #5a536c;
}

.nav-item.is-active {
    color: var(--ink);
}

.bot {
    width: 100%;
    position: relative;
    background: #fff;
    line-height: 0;
}

.bot .hero-bg {
    display: block;
    width: 100%;
    height: auto;
}

.bot .hero-bg--mobile {
    display: none;
}

.bot .btn1,
.bot .btn2 {
    height: auto;
    cursor: pointer;
}

.bot .btn1 {
    width: 12vw;
    position: absolute;
    top: 20vw;
    left: 29vw;
}

.bot .btn2 {
    width: 12vw;
    position: absolute;
    top: 20vw;
    left: 43vw;
}


.community {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 80px 28px 72px;
    color: var(--ink);
    background:
        radial-gradient(
            ellipse at 92% 8%,
            rgba(196, 181, 253, 0.45),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 8% 78%,
            rgba(167, 243, 208, 0.28),
            transparent 52%
        ),
        linear-gradient(165deg, #faf8ff 0%, #f5f1ff 48%, #f7faf8 100%);
}

.community:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 42% 70% at 110% 90%,
            rgba(251, 207, 232, 0.28),
            transparent 70%
        ),
        radial-gradient(
            ellipse 36% 50% at -8% 0%,
            rgba(196, 181, 253, 0.22),
            transparent 70%
        );
}

.container {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

.accent {
    background: linear-gradient(100deg, #8b7cf6 0%, #c084fc 70%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.features-head {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: end;
    margin-bottom: 36px;
}

.features-head h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.features-head p {
    margin: 0;
    max-width: 360px;
    justify-self: end;
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
}

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

.feature-card {
    padding: 28px 24px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 32px rgba(45, 39, 64, 0.05);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(109, 92, 231, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 14px;
}

.feature-icon--violet {
    color: #7c3aed;
    background: #ede9fe;
}

.feature-icon--mint {
    color: #059669;
    background: #d1fae5;
}

.feature-icon--rose {
    color: #db2777;
    background: #fce7f3;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.showcase {
    margin-top: 88px;
}

.showcase-title {
    margin: 0 0 40px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

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

.phone-card {
    text-align: center;
}

.phone-kicker {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.phone-frame {
    position: relative;
    margin: 0 auto 18px;
    padding: 12px;
    max-width: 220px;
    border-radius: 28px;
    background: linear-gradient(160deg, #ebe4ff 0%, #ddd6fe 45%, #e9d5ff 100%);
    box-shadow: 0 18px 40px rgba(109, 92, 231, 0.16);
}

.phone-frame:before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 1;
    width: 54px;
    height: 8px;
    border-radius: 999px;
    background: rgba(45, 39, 64, 0.18);
    transform: translateX(-50%);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: #1a1230;
}

.phone-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -0.2px;
}

.phone-card > p:last-child {
    margin: 0 auto;
    max-width: 200px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.faq {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
    margin-top: 88px;
}

.faq-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.2px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(225deg);
}

.faq-item p {
    margin: 0 0 18px;
    padding-right: 28px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
}

.signin {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 56px;
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(
        120deg,
        rgba(237, 233, 254, 0.95),
        rgba(224, 242, 254, 0.75)
    );
    border: 1px solid rgba(139, 124, 246, 0.18);
}

.google-mark {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(45, 39, 64, 0.08);
}

.signin h2 {
    margin: 2px 0 8px;
    font-size: 17px;
}

.signin p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.text-link {
    color: var(--brand-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer {
    padding: 44px 28px 28px;
    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(237, 233, 254, 0.7),
            transparent 42%
        ),
        #fff;
    border-top: 1px solid #f0ebfa;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.9fr;
    gap: 32px 40px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 28px;
}

.footer-brand-block {
    max-width: 280px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.6px;
    color: var(--ink);
}

.footer-dot {
    color: var(--brand);
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f4ff;
    border: 1px solid rgba(139, 124, 246, 0.14);
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    word-break: break-all;
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.footer-mail svg {
    flex: 0 0 auto;
    color: var(--brand);
}

.footer-mail:hover {
    color: var(--brand-deep);
    background: #efeaff;
    border-color: rgba(139, 124, 246, 0.28);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.footer-links a {
    width: fit-content;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-deep);
}

.copyright {
    max-width: 1080px;
    margin: auto;
    padding-top: 18px;
    border-top: 1px solid #f0ebfa;
    font-size: 11px;
    color: #8a8399;
    text-align: center;
}

#site-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    max-width: min(90vw, 320px);
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(45, 39, 64, 0.92);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

#site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1100px) {
    .phone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .phone-frame {
        max-width: 240px;
    }
}

@media (max-width: 900px) {
    .features-head {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }

    .features-head p {
        justify-self: start;
        max-width: none;
    }

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

    .faq {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 64px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .bot .hero-bg--desktop {
        display: none;
    }

    .bot .hero-bg--mobile {
        display: block;
    }

    .top {
        gap: 28px;
        padding: 20px 16px;
    }

    .nav-item {
        font-size: 16px;
        white-space: nowrap;
    }

    .bot .btn1,
    .bot .btn2 {
        width: 40vw;
        top: 100vw;
    }

    .bot .btn1 {
        left: 5vw;
    }

    .bot .btn2 {
        left: auto;
        right: 5vw;
    }

    .community {
        padding: 52px 20px 48px;
    }

    .features-head h2,
    .showcase-title,
    .faq-title {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .showcase {
        margin-top: 56px;
    }

    .phone-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .phone-frame {
        max-width: 260px;
    }

    .faq {
        margin-top: 56px;
    }

    .faq-item summary {
        font-size: 15px;
        padding: 16px 0;
    }

    .signin {
        gap: 14px;
        padding: 18px;
        margin-top: 36px;
    }

    .signin p {
        font-size: 13px;
    }

    .google-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .site-footer {
        padding: 32px 20px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 22px;
        text-align: center;
    }

    .footer-brand-block {
        max-width: none;
        grid-column: auto;
    }

    .footer-brand {
        font-size: 24px;
    }

    .footer-col {
        align-items: center;
    }

    .footer-mail {
        justify-content: center;
        text-align: left;
    }

    .footer-links {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 28px;
    }
}
