
/* ==========================================================================
   CSS Variables (Bisexual Pride Flag Colors + Dark Mode Palette)
   ========================================================================== */
:root {
    --bi-pink: #D60270;
    --bi-purple: #9B4F96;
    --bi-blue: #0038A8;
    
    --bg-dark: #0B0C10;
    --bg-card: #1F2833;
    --text-main: #F8F9FA;
    --text-muted: #C5C6C7;
    
    --gradient-bi: linear-gradient(135deg, var(--bi-pink), var(--bi-purple), var(--bi-blue));
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* Typography Enhancements */
.gradient-text {
    background: var(--gradient-bi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 79, 150, 0.4);
}

.btn-primary {
    background: var(--gradient-bi);
    color: #fff;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--bi-purple);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
        background: linear-gradient(rgba(11, 12, 16, 0.2), rgba(11, 12, 16, 0.2)), 
                url('images/header-bg.jpg') center/cover no-repeat;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bi-pink);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a:hover {
    color: var(--bi-purple);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

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

/* ==========================================================================
   Section 2: Concept (Cards)
   ========================================================================== */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.concept-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border-top: 4px solid var(--bi-purple);
    transition: transform 0.3s;
}

.concept-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.concept-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.concept-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   Section 3: Steps
   ========================================================================== */
.section-steps {
    background-color: #0f131a;
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(155, 79, 150, 0.2);
    font-weight: bold;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step h3, .step p {
    position: relative;
    z-index: 1;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-muted);
}

/* ==========================================================================
   Section 4 & 5: Split Views (Couples / Singles)
   ========================================================================== */
.split-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.reverse .split-container {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 2, 112, 0.1);
}

.split-text {
    flex: 1;
}

.split-text h2 {
    text-align: left;
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.split-text ul {
    margin-left: 20px;
}

.split-text li {
    margin-bottom: 10px;
    position: relative;
}

.split-text li::before {
    content: '✦';
    position: absolute;
    left: -20px;
    color: var(--bi-pink);
}

/* ==========================================================================
   Section 6: Features
   ========================================================================== */
.section-features {
    background-color: #0f131a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    border-left: 3px solid var(--bi-blue);
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Section 7: Safety
   ========================================================================== */
.safety-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px dashed var(--bi-purple);
}

.badge h4 {
    margin-bottom: 10px;
    color: var(--bi-pink);
}

.badge p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Section 8: Testimonials
   ========================================================================== */
.section-testimonials {
    background: linear-gradient(rgba(11, 12, 16, 0.2), rgba(11, 12, 16, 0.2)), 
                url('images/couples-looking-for-female.jpg') center/cover;
}

.testimoinal-slider {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    background: rgba(31, 40, 51, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    color: var(--bi-blue);
    font-weight: 600;
}

/* ==========================================================================
   Section 9: CTA
   ========================================================================== */
.section-cta {
    text-align: center;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-bi);
    opacity: 0.1;
    z-index: 0;
}

.section-cta .container {
    position: relative;
    z-index: 1;
}

.section-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ==========================================================================
   Section 10: Footer (With External Links Placeholder)
   ========================================================================== */
.section-footer {
    background: #000;
    padding-top: 60px;
    border-top: 2px solid var(--bi-purple);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 0 40px 0;
}

.footer-col h3 {
    color: var(--bi-pink);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--bi-pink);
    padding-left: 5px;
}

/* Specific styling for external links area */
.external-links li a {
    color: var(--bi-blue);
}
.external-links li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Mobile Responsiveness (Media Queries)
   ========================================================================== */
/* ==========================================================================
   Mobile Responsiveness 
   ========================================================================== */

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */
@media (max-width: 992px) {
    
    .split-container {
        flex-direction: column;
        text-align: center;
    }
    .reverse .split-container {
        flex-direction: column;
    }
    .split-text h2 {
        text-align: center;
    }
    .split-text ul {
        text-align: left;
        display: inline-block;
    }

   
    .app-container {
        flex-direction: column;
        text-align: center;
    }
    .app-text h2 {
        text-align: center;
    }
    .app-text p {
        margin: 0 auto 40px auto;
    }
    .app-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
  
    .logo {
        font-size: 1.1rem; 
        letter-spacing: 0px; 
        white-space: nowrap; 
    }
    .navbar {
        padding: 15px 5%; 
    }

    /* 基础文字和按钮的缩小 */
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .steps-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    .nav-links {
        display: none; 
    }
    h2 {
        font-size: 2rem;
    }
    .badge {
        width: 200px;
        height: 200px;
    }

    
    .app-text h2 {
        font-size: 2.2rem;
    }
    .app-image img {
        width: 250px; 
    }
}


@media (max-width: 400px) {
    .logo {
        font-size: 0.95rem;
    }
}

}

/* ==========================================================================
   Section 8.5: App Download Section
   ========================================================================== */
.section-app {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #151821 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    text-align: left;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.app-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 550px;
}

/* App Store & Google Play Buttons */
.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(155, 79, 150, 0.5); /* 紫色边框 */
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.store-btn:hover {
    transform: translateY(-3px);
    border-color: var(--bi-pink);
    box-shadow: 0 8px 20px rgba(214, 2, 112, 0.3);
}

.btn-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.btn-text strong {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.app-image {
    flex: 1;
    text-align: center;
    position: relative;
}


.app-image img {
    max-width: 100%;
    width: 350px; 
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8));
    animation: floatApp 4s ease-in-out infinite;
}


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