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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e0ff 100%);
    padding: 80px 20px 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.2;
}

.highlight {
    color: #6b46c1;
}

.hero-content p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    margin-bottom: 20px;
}

.join-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.join-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 70, 193, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
}

/* App download buttons */
.app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 20px;
    min-width: 160px;
    transition: all 0.3s ease;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.app-button-content {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.app-store::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="white" d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.google-play::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.app-store-text,
.google-play-text {
    font-size: 0.8rem;
    font-weight: normal;
}

.app-store-name,
.google-play-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
}

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

.step {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step:hover::before {
    transform: scaleX(1);
}

.step img {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.step:hover img {
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #6b46c1;
    font-weight: 600;
}

.step p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Why Unicorns Finder Section */
.why-unicorns-finder {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e0ff 100%);
    padding: 80px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-and-features h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 700;
}

.text-and-features p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* 优化的特性列表样式 */
.features-list {
    list-style: none;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.features-list li {
    padding: 16px 20px;
    position: relative;
    color: #4a5568;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border-left: 4px solid #6b46c1;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.features-list li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.15);
    border-left-color: #9333ea;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.3);
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.join-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.join-button:hover::before {
    left: 100%;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.4);
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Whats Unicorn Section */
.whats-a-unicorn-in-dating {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-main-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 700;
}

.unicorn-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.unicorn-content-row.reverse {
    direction: rtl;
}

.unicorn-content-row.reverse .unicorn-text {
    direction: ltr;
}

.unicorn-content-row.reverse .unicorn-image {
    direction: ltr;
}

.unicorn-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #6b46c1;
    font-weight: 600;
}

.unicorn-text p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 优化unicorn部分的列表样式 */
.unicorn-text ul {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.unicorn-text ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.unicorn-text ul li::before {
    content: "✨";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.unicorn-text ul li:hover {
    color: #6b46c1;
    padding-left: 40px;
}

.unicorn-text ul li:hover::before {
    transform: scale(1.2);
}

.placeholder-image {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e0ff 100%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.placeholder-image span {
    font-size: 4rem;
    margin-bottom: 20px;
}

.placeholder-image p {
    color: #6b46c1;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e0ff 100%);
    padding: 80px 20px;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 700;
}

.testimonials blockquote {
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 5px solid #6b46c1;
    transition: all 0.3s ease;
}

.testimonials blockquote:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.testimonials blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #6b46c1;
    opacity: 0.3;
    font-family: serif;
}

.testimonials blockquote p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonials cite {
    display: block;
    text-align: right;
    color: #6b46c1;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem;
}

/* App Download Section */
.app-download-section {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin: 80px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.app-download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.app-download-section p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.member-count {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.app-download-section .app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.app-download-section .app-button {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.app-download-section .app-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05) translateY(-5px);
    border-color: white;
}

/* 优化的导航样式 */
.article-nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    min-width: 200px;
}

.article-nav:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.article-nav h4 {
    color: #6b46c1;
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.article-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-nav li {
    margin-bottom: 8px;
}

.article-nav a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.article-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.article-nav a:hover,
.article-nav a.active {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: #6b46c1;
    transform: translateX(8px);
}

.article-nav a:hover::before,
.article-nav a.active::before {
    transform: scaleY(1);
}

/* 优化的移动端导航 */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.5);
}

.mobile-nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    min-width: 200px;
}

.mobile-nav-menu h4 {
    color: #6b46c1;
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 8px;
}

.mobile-nav-menu a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
}

.mobile-nav-menu a:hover {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: #6b46c1;
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container,
    .content-container,
    .unicorn-content-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-main-title,
    .how-it-works h2,
    .text-and-features h2,
    .testimonials h2,
    .app-download-section h2 {
        font-size: 2rem;
    }

    .article-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .unicorn-content-row.reverse {
        direction: ltr;
    }

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

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .app-button {
        width: 200px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .features-list li {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .app-button {
        min-width: 140px;
        padding: 8px 15px;
    }

    .app-store::before,
    .google-play::before {
        width: 24px;
        height: 24px;
    }

    .app-store-text,
    .google-play-text {
        font-size: 0.7rem;
    }

    .app-store-name,
    .google-play-name {
        font-size: 1rem;
    }

    .mobile-nav-toggle {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .mobile-nav-menu {
        bottom: 90px;
        right: 20px;
        min-width: 180px;
    }
}

/* Additional Utility Classes */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 60px 0;
}

/* Smooth scrolling for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Focus states for accessibility */
.join-now-btn:focus,
.join-button:focus,
.app-button:focus,
.article-nav a:focus,
.mobile-nav-menu a:focus {
    outline: 3px solid rgba(107, 70, 193, 0.5);
    outline-offset: 2px;
}