
/* =========================================
   Variables (Bisexual Pride Colors & Theme)
   ========================================= */
   :root {
    /* Bi Pride Colors */
    --bi-pink: #D60270;
    --bi-purple: #9B4F96;
    --bi-blue: #0038A8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--bi-pink), var(--bi-purple), var(--bi-blue));
    
    /* UI Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #1F2937;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light-gray: #9CA3AF;
    --border-color: #E5E7EB;
    
    /* Shadows & Radii */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-gray);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

h2 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--bi-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bi-pink);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-white { color: var(--bg-white); }
.text-white h3, .text-white p { color: var(--bg-white); }
.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.pr-30 { padding-right: 30px; }
.pl-30 { padding-left: 30px; }
.bg-light { background-color: var(--bg-light); }

/* =========================================
   Typography & Effects
   ========================================= */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(155, 79, 150, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--bi-purple);
    color: var(--bi-purple);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.link-arrow {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--bi-purple);
}

.link-arrow:hover {
    color: var(--bi-pink);
    transform: translateX(5px);
}

/* =========================================
   Header / Navbar
   ========================================= */
.navbar {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--bi-purple);
}

.nav-links a {
    margin: 0 20px;
    font-weight: 500;
    color: var(--text-gray);
}

.nav-links a:hover {
    color: var(--bi-pink);
}

.nav-buttons .btn-outline {
    margin-right: 10px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1.1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(155, 79, 150, 0.1);
    color: var(--bi-purple);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-note {
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

.hero-image {
    flex: 0.9;
}

/* =========================================
   真实图片样式控制 (Real Images Setup)
   ========================================= */
.hero-real-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.feature-real-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.blog-real-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block; /* 防止图片底部出现空隙 */
}

/* =========================================
   Trust Bar
   ========================================= */
.trust-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    background-color: #fafafa;
}

.trust-bar p {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-cloud {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    color: var(--text-gray);
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0.6;
}

/* =========================================
   Alternating Features
   ========================================= */
.feature-showcase {
    padding: 100px 0;
}

.row {
    display: flex;
    gap: 40px;
}

.align-center {
    align-items: center;
}

.col-half {
    flex: 1;
}

.feature-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* =========================================
   Grid Sections (Steps & Blog)
   ========================================= */
.steps-section, .blog-section {
    padding: 100px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bg-white);
    margin: 0 auto 20px;
}

.pink-bg { background-color: var(--bi-pink); }
.purple-bg { background-color: var(--bi-purple); }
.blue-bg { background-color: var(--bi-blue); }

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =========================================
   Safety Section
   ========================================= */
.safety-section {
    padding: 100px 0;
}

.safety-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-md);
    /* 点状背景增加设计感 */
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1.5" fill="%23E5E7EB"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') var(--bg-white);
}

.safety-content {
    flex: 2;
    background: rgba(255, 255, 255, 0.2); /* 保证文字在点状背景上清晰可见 */
    padding: 20px;
    border-radius: 10px;
}

.safety-icon {
    flex: 1;
    font-size: 8rem;
    text-align: center;
}

/* =========================================
   Blog / Resources Section
   ========================================= */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-content {
    padding: 25px;
}

.category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bi-purple);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-content h4 a {
    color: var(--text-dark);
}

.blog-content h4 a:hover {
    color: var(--bi-blue);
}

/* =========================================
   Bottom CTA
   ========================================= */
.bottom-cta {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.bottom-cta h2 {
    font-size: 2rem;
}

.bottom-cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Footer (Rich SEO structure)
   ========================================= */
.footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding-right: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bi-pink);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

/* =========================================
   Media Queries (Responsive Design for Mobile/Tablet)
   ========================================= */
@media (max-width: 992px) {
    .hero-container, .row, .safety-box {
        flex-direction: column;
        text-align: center;
    }
    
    .reverse-mobile {
        flex-direction: column-reverse;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .col-half.pr-30, .col-half.pl-30 {
        padding: 0;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        padding-right: 0;
    }
    
    .logo-cloud {
        gap: 20px;
    }
    
    .safety-icon {
        font-size: 5rem;
    }
}
/* =========================================
   Mobile App Section
   ========================================= */
.app-section {
    padding: 100px 0;
    background-color: var(--bg-white); /* 如果你想让它有区分度，可以改为 var(--bg-light) */
    border-top: 1px solid var(--border-color);
}

/* App 下载按钮容器 */
.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* 仿 App Store / Google Play 按钮样式 */
.btn-app {
    display: inline-flex;
    align-items: center;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-app:hover {
    background-color: var(--bi-purple);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.app-icon {
    font-size: 1.8rem;
    margin-right: 12px;
}

.app-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-small {
    font-size: 0.7rem;
    line-height: 1;
    margin-bottom: 3px;
    opacity: 0.9;
}

.app-big {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* 手机Mockup图片样式 */
.app-mockup-image {
    width: 100%;
    max-width: 350px; /* 限制手机图的最大宽度使其更逼真 */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); /* 为透明背景的手机图添加自然阴影 */
    transition: transform 0.5s ease;
}

.app-mockup-image:hover {
    transform: translateY(-10px); /* 鼠标悬浮时手机轻微上浮 */
}

/* =========================================
   App Section 移动端适配补充
   ========================================= */
@media (max-width: 992px) {
    .app-buttons {
        justify-content: center; /* 移动端按钮居中 */
    }
    .mt-mobile-30 {
        margin-top: 50px; /* 移动端拉开文字和图片的距离 */
    }
}