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

:root {
    --purple-dark: #1a0a2e;
    --purple-medium: #4a148c;
    --purple-light: #7b2cbf;
    --purple-bright: #9d4edd;
    --pink-bright: #e6399b;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-medium) 50%, var(--purple-bright) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* 背景点状图案 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(26, 10, 46, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 主内容区 */
.main-content {
    position: relative;
    z-index: 1;
    padding: 120px 40px 60px;
    min-height: 100vh;
}

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

/* 左侧内容 */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.logo-container {
    margin-bottom: 10px;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    color: var(--white);
}

.tagline {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0;
}

/* 移动端截图包装器 */
.mobile-screenshot-wrapper {
    display: none;
}

/* 桌面端截图 */
.desktop-screenshot {
    display: block;
}

/* Google Play 按钮 */
.google-play-btn {
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease;
    max-width: 200px;
    text-decoration: none;
}

.google-play-btn:hover {
    transform: scale(1.05);
}

.google-play-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 备用文本样式 */
.google-play-btn .fallback-text {
    display: none;
    padding: 12px 24px;
    background: var(--white);
    color: var(--black);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* 右侧手机Mockup */
.right-section {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup-container:hover {
    transform: rotate(5deg) scale(1.02);
}

.phone-screen-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 装饰性元素 */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.emoji-happy {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 80px;
    transform: rotate(-15deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.emoji-thumbs-up {
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 60px;
    transform: rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite 1.5s;
}

.stars {
    position: absolute;
    bottom: 20px;
    right: 80px;
    font-size: 24px;
    animation: twinkle 2s ease-in-out infinite;
}


@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .right-section {
        order: 0;
    }

    .phone-mockup-container {
        max-width: 450px;
        margin: 0 auto;
    }

    .tagline {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 10, 46, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-container.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-content {
        padding: 100px 20px 40px;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .left-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* 桌面端截图在移动端隐藏 */
    .desktop-screenshot {
        display: none;
    }

    /* 移动端截图显示 */
    .mobile-screenshot-wrapper {
        display: block;
        margin: 20px 0;
    }

    .mobile-screenshot-wrapper .right-section {
        margin: 0;
    }

    .description-part1 {
        margin-bottom: 0;
    }

    .description-part2 {
        margin-top: 20px;
        margin-bottom: 0;
    }

    .tagline {
        font-size: 32px;
    }

    .description {
        font-size: 16px;
    }

    .logo-text {
        font-size: 24px;
    }

    .phone-mockup-container {
        max-width: 350px;
        transform: rotate(0deg);
        margin: 20px auto;
    }

    .google-play-btn {
        margin-top: 20px;
    }

    .emoji-happy {
        font-size: 60px;
        top: -10px;
        left: -10px;
    }

    .emoji-thumbs-up {
        font-size: 50px;
        bottom: -20px;
    }

    .stars {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 28px;
    }

    .description {
        font-size: 14px;
    }

    .phone-mockup-container {
        max-width: 280px;
    }

    .emoji-happy {
        font-size: 50px;
    }

    .emoji-thumbs-up {
        font-size: 40px;
    }
}

/* 关于我们部分 */
.about-section {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
    background: rgba(26, 10, 46, 0.5);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--purple-bright);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-list li {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-bright);
    font-weight: bold;
    font-size: 20px;
}

.features-list li strong {
    color: var(--white);
    font-weight: 600;
}

/* 联系我们部分 */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--purple-bright);
    margin-top: 30px;
    margin-bottom: 15px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.contact-methods {
    margin: 30px 0;
}

.contact-item {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.contact-item strong {
    color: var(--white);
    font-weight: 600;
    margin-right: 10px;
}

.contact-item a {
    color: var(--purple-bright);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--pink-bright);
    text-decoration: underline;
}

.account-actions {
    margin-top: 40px;
    padding: 30px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.account-actions h3 {
    margin-top: 0;
}

.delete-account-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--purple-bright) 0%, var(--pink-bright) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    margin: 15px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.delete-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5);
}

.notice {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 10px;
}

/* 响应式设计 - 关于我们和联系我们 */
@media (max-width: 768px) {
    .about-section,
    .contact-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .about-text h3,
    .contact-info h3 {
        font-size: 24px;
    }

    .about-text p,
    .contact-info p,
    .features-list li,
    .contact-item {
        font-size: 16px;
    }

    .account-actions {
        padding: 20px;
    }

    .delete-account-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-section,
    .contact-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-text h3,
    .contact-info h3 {
        font-size: 20px;
    }

    .about-text p,
    .contact-info p,
    .features-list li,
    .contact-item {
        font-size: 14px;
    }
}

/* Agreement Display Section */
.agreement-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.agreement-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.close-agreement-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-agreement-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.agreement-content-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#agreement-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .agreement-section {
        padding: 60px 15px 15px;
    }

    .agreement-wrapper {
        height: 85vh;
        border-radius: 10px;
    }

    .close-agreement-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}
