
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;

    --bg-dark: #070b14;
    --bg-card: rgba(255, 255, 255, 0.05);

    --text-main: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.76);
    --text-muted: rgba(255, 255, 255, 0.45);

    --border-color: rgba(255, 255, 255, 0.08);

    --radius-btn: 20px;
    --radius-card: 30px;
    --radius-phone: 42px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
            -apple-system,
            BlinkMacSystemFont,
            "PingFang SC",
            "Microsoft YaHei",
            sans-serif;

    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    /* Prevent horizontal scroll on mobile */
    max-width: 100vw; 
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
            radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.16), transparent 30%),
            radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.12), transparent 30%),
            radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.08), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: auto;
}

/* =======================================================
   NAVBAR
======================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(20px);
    background: rgba(7, 11, 20, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.nav-logo span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    color: var(--text-sub);
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

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

header {
    position: relative;
    overflow: hidden;
    padding: 170px 0 120px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 75%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    left: 50%;
    top: -480px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    margin-bottom: 40px;
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.42);
}

h1 {
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
    margin-bottom: 34px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    max-width: 620px;
    color: var(--text-sub);
    font-size: 21px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.badge {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(12px);
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    border-radius: var(--radius-btn);
    transition: 0.35s ease;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 42px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.38);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: 1s;
}

.btn-primary:hover::before {
    left: 140%;
}

.btn-primary span {
    font-size: 12px;
    opacity: 0.82;
    font-weight: 400;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 28px 60px rgba(37, 99, 235, 0.48);
}

.btn-secondary {
    padding: 18px 34px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.trust {
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 14px;
}

.stats {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 70px;
}

.stat-item strong {
    display: block;
    font-size: 34px;
    margin-bottom: 8px;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 14px;
}

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

.hero-phone {
    position: relative;
}

.hero-phone-wrap {
    width: 340px;
    padding: 14px;
    border-radius: 50px;
    background: linear-gradient(145deg, #1e293b, #020617);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
            0 40px 120px rgba(37, 99, 235, 0.34),
            0 0 120px rgba(59, 130, 246, 0.18);
    transform: rotate(-8deg);
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-phone-wrap img {
    width: 100%;
    height: auto;
    border-radius: 38px;
}

.hero-phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%);
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@keyframes heroFloat {
    0% {
        transform: rotate(-8deg) translateY(0px);
    }
    50% {
        transform: rotate(-6deg) translateY(-16px);
    }
    100% {
        transform: rotate(-8deg) translateY(0px);
    }
}

/* =======================================================
   SECTION
======================================================= */

section {
    position: relative;
    padding: 160px 0;
}

.section-title {
    text-align: center;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 18px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    max-width: 720px;
    margin: 0 auto 90px;
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.9;
}

/* =======================================================
   FEATURES
======================================================= */

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

.card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.08),
            0 10px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px);
    transition: 0.35s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-sub);
    line-height: 1.9;
    font-size: 15px;
}

/* =======================================================
   MID CTA
======================================================= */

.cta-mid-section {
    padding: 100px 0;
}

.cta-mid-box {
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(96, 165, 250, 0.18);
    backdrop-filter: blur(20px);
}

.cta-mid-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-mid-desc {
    color: var(--text-sub);
    font-size: 18px;
    margin-bottom: 40px;
}

/* =======================================================
   WORKFLOW
======================================================= */

#workflow {
    background: rgba(255, 255, 255, 0.02);
}

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

.workflow::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.workflow-item {
    position: relative;
    z-index: 2;
    padding: 44px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    text-align: center;
}

.workflow-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #bfdbfe;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.workflow-item h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.workflow-item p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* =======================================================
   SCREENSHOTS
======================================================= */

.screenshots-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.screenshots-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 70%);
    pointer-events: none;
}

.screenshots {
    display: flex;
    gap: 34px;
    overflow-x: auto;
    padding: 30px 6px 60px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Ensure first and last items can be centered */
    scroll-padding: 0 50%; 
}

.screenshots::-webkit-scrollbar {
    display: none;
}

.phone-mockup {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
    height: auto;
    scroll-snap-align: center;
    padding: 12px;
    border-radius: var(--radius-phone);
    background: linear-gradient(145deg, #1e293b, #000);
    border: 4px solid #222;
    box-shadow:
            0 40px 100px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: 0.4s ease;
    cursor: zoom-in;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup:nth-child(1) { margin-top: 0px; margin-bottom: 40px; }
.phone-mockup:nth-child(2) { margin-top: 40px; margin-bottom: 0px; }
.phone-mockup:nth-child(3) { margin-top: 0px; margin-bottom: 40px; }
.phone-mockup:nth-child(4) { margin-top: 40px; margin-bottom: 0px; }
.phone-mockup:nth-child(5) { margin-top: 0px; margin-bottom: 40px; }

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    background: #000;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 3;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-phone);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 30%);
    pointer-events: none;
}

.phone-mockup:hover {
    transform: translateY(-14px) scale(1.03);
    border-color: #444;
    box-shadow: 0 50px 120px rgba(37, 99, 235, 0.2);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    border-radius: 30px;
    display: block;
}

/* =======================================================
   ABOUT
======================================================= */

.about-section {
    position: relative;
}

.about-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
}

.about-left,
.about-right {
    display: flex;
    flex-direction: column;
}

.about-left {
    justify-content: center;
    padding: 3rem;
    border-radius: 32px;
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.05),
                    rgba(255, 255, 255, 0.02)
            );
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.about-left .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.08rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.about-right {
    gap: 1.5rem;
}

.dev-note-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 28px;
    background:
            linear-gradient(
                    135deg,
                    rgba(88, 166, 255, 0.14),
                    rgba(88, 166, 255, 0.04)
            );
    border: 1px solid rgba(88, 166, 255, 0.18);
    min-height: 220px;
}

.dev-note-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.dev-note-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.dev-note-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.about-tags span {
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.about-tags span:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 166, 255, 0.3);
}

/* =======================================================
   COMMUNITY
======================================================= */

#community {
    background: rgba(255, 255, 255, 0.02);
}

.community-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
    border-radius: 36px;
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.04),
                    rgba(255, 255, 255, 0.02)
            );
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.community-panel::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.10);
    filter: blur(80px);
}

.community-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(88, 166, 255, 0.12);
    color: #58a6ff;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.community-info .section-title {
    text-align: left;
    margin-bottom: 1.2rem;
}

.community-info .section-desc {
    text-align: left;
    margin: 0;
    max-width: 520px;
    line-height: 2;
}

.community-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-item {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.community-qrcode {
    display: flex;
    justify-content: center;
}

.qrcode-card {
    width: 100%;
    max-width: 320px;
    padding: 2rem;
    border-radius: 30px;
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.06),
                    rgba(255, 255, 255, 0.03)
            );
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.qr-code {
    width: 100%;
    height: auto;
    max-width: 220px;
    background: #fff;
    padding: 0.8rem;
    border-radius: 24px;
}

.qrcode-text {
    margin-top: 1.5rem;
}

.qrcode-text strong {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

.qrcode-text span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
}

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

.footer-modern {
    padding: 90px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

footer h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.footer-links {
    margin-bottom: 24px;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    margin: 0 14px;
    color: var(--text-sub);
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.record a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 1.6rem;
    border-radius: 16px;
    background: #58a6ff;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

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

/* =======================================================
   LIGHTBOX
======================================================= */

.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    margin: auto;
    display: block;
    max-width: 92%;
    max-height: 92vh;
    border-radius: 14px;
    transition: 0.3s ease;
}

.lightbox-modal.show .lightbox-content {
    transform: translateY(-50%) scale(1);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 32px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    z-index: 10000;
}

.close-lightbox:hover {
    opacity: 1;
}

/* =======================================================
   MOBILE DOWNLOAD BAR
======================================================= */

.mobile-download {
    display: none;
}

/* =======================================================
   SCROLL & ANIMATION
======================================================= */

.fade-section {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

.js-enabled .fade-section.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.preview-image {
    cursor: zoom-in;
    transition: 0.3s ease;
}

.preview-image:hover {
    transform: scale(1.03);
}

/* =======================================================
   PAGE HERO (Subpages: privacy, user_agreement, about_us)
======================================================= */

.page-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
}

.page-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 24px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.page-title {
    font-size: 46px;
    margin-bottom: 16px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--text-sub);
    font-size: 19px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* =======================================================
   CONTACT BOX (Subpages)
======================================================= */

.contact-box {
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #bfdbfe;
    display: inline-block;
    transition: 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.contact-box:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* =======================================================
   POLICY SECTION (privacy & user_agreement)
======================================================= */

.policy-section {
    padding-top: 40px;
    padding-bottom: 100px;
}

.policy-wrapper {
    max-width: 920px;
    margin: auto;
    padding: 56px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.08),
            0 10px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px);
}

.policy-wrapper h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 700;
}

.policy-wrapper h2:first-of-type {
    margin-top: 0;
}

.policy-wrapper p {
    color: var(--text-sub);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-wrapper ul {
    padding-left: 20px;
    margin-bottom: 24px;
    color: var(--text-sub);
}

.policy-wrapper li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-wrapper a {
    color: #93c5fd;
    transition: 0.3s;
    word-break: break-all;
}

.policy-wrapper a:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.policy-table-scroll {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.policy-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14px;
}

.policy-table th,
.policy-table td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.policy-table th {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 700;
}

.policy-table th:first-child,
.policy-table td:first-child {
    width: 20%;
}

.policy-table th:last-child,
.policy-table td:last-child {
    width: 25%;
}

.policy-table td {
    color: var(--text-sub);
}

.policy-date {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 14px;
    text-align: right;
}

/* =======================================================
   ABOUT CARD (about_us page)
======================================================= */

.about-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.about-card p {
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 16px;
}

.highlight {
    color: #bfdbfe;
    font-weight: 600;
}

/* =======================================================
   RESPONSIVE (Mobile Adaptation)
======================================================= */

@media (max-width: 900px) {
    /* Layout Changes */
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 70px;
        padding-top: 20px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subtitle {
        max-width: 100%;
    }

    .badges {
        justify-content: center;
    }

    .stats {
        justify-content: center;
        gap: 30px;
    }

    .about-shell,
    .community-panel {
        grid-template-columns: 1fr;
    }

    .about-left,
    .community-panel {
        padding: 2rem;
    }

    .about-left .section-title,
    .community-info .section-title,
    .community-info .section-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .community-info .section-desc {
        max-width: 100%;
    }

    .community-list {
        align-items: center;
    }
    
    .community-item {
        width: 100%;
        max-width: 400px;
    }

    .footer-main,
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Navbar & Header */
    .navbar-inner {
        height: 60px;
    }

    .nav-links {
        display: none;
    }
    
    .nav-logo {
        margin: 0 auto;
    }

    header {
        padding: 100px 0 60px;
    }

    h1 {
        font-size: 42px;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }

    .buttons {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
    
    .btn-primary span {
        font-size: 11px;
    }

    /* Hero Phone Adjustments for Mobile */
    .hero-phone-wrap {
        width: 260px;
        transform: rotate(0deg); /* Remove rotation on mobile for better fit */
        animation: none; /* Remove floating animation to save battery/distraction */
        box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    }
    
    .hero-phone-glow {
        width: 300px;
        height: 300px;
    }

    /* Sections */
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .section-desc {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .workflow::before {
        display: none;
    }
    
    .workflow-item {
        padding: 30px 20px;
    }
    
    .card {
        padding: 30px 24px;
    }

    /* Mid CTA */
    .cta-mid-section {
        padding: 60px 0;
    }

    .cta-mid-box {
        padding: 50px 24px;
    }

    .cta-mid-title {
        font-size: 28px;
    }

    .cta-mid-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Screenshots Scroll Padding fix */
    .screenshots {
        padding: 20px 0 40px;
        /* Allow snapping to start/end properly */
        scroll-padding-left: 4%;
        scroll-padding-right: 4%;
    }

    .phone-mockup {
        width: 220px;
        /* Reset margins for uniform look on mobile scroll */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .phone-mockup:hover {
        transform: none; /* Disable hover effect on touch */
    }

    /* Sticky Download Bar */
    .mobile-download {
        display: block;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 20px;
        z-index: 999;
        /* Safe area for iPhone X+ */
        bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .mobile-download a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 54px;
        border-radius: 27px;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
        backdrop-filter: blur(10px);
    }
    
    /* Add padding to footer so content isn't hidden behind sticky bar */
    footer {
        padding-bottom: 100px;
    }

    /* Subpage Responsive Helpers */
    .page-hero {
        padding: 100px 0 40px;
    }
    
    .page-logo {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .page-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .contact-box {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .policy-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 0 16px;
        width: auto;
    }
    
    .policy-wrapper h2 {
        font-size: 20px;
        margin-top: 30px;
    }
    
    .policy-wrapper p {
        font-size: 15px;
    }

    .policy-table-scroll {
        margin-left: -4px;
        margin-right: -4px;
        padding-bottom: 8px;
    }

    .policy-table {
        min-width: 680px;
    }
    
    .dev-note-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
