/* 网球主页 - 浅色 + 网球绿主题 */
:root {
    --tennis-green: #00A651;
    --tennis-green-dark: #008c45;
    --tennis-green-soft: #00A65115;
    --tennis-lime: #DAF034;
    --tennis-lime-soft: #E9F89A;
    --tennis-bg: #f9faf8;
    --tennis-bg-alt: #ffffff;
    --tennis-card: #ffffff;
    --tennis-text: #1a1a1a;
    --tennis-text-soft: #6b7280;
    --tennis-text-mute: #8e8e93;
    --tennis-border: #ececec;
    --tennis-gradient: linear-gradient(135deg, #00A651 0%, #7BC142 100%);
    --tennis-hero-gradient: linear-gradient(180deg, #f4faf2 0%, #f9faf8 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
    background: var(--tennis-bg);
    color: var(--tennis-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tennis-text);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo span {
    white-space: nowrap;
}

/* Mode toggle (浅色版) */
.mode-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    background: #eef0ec;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.mode-toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--tennis-text-soft);
    transition: all 0.2s ease;
    line-height: 1;
}

.mode-toggle-item:hover {
    color: var(--tennis-text);
}

.mode-toggle-item.active {
    background: var(--tennis-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.25);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--tennis-text-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--tennis-green);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--tennis-hero-gradient);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--tennis-green-soft);
    color: var(--tennis-green-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--tennis-text);
}

.hero-title .accent {
    background: var(--tennis-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--tennis-text-soft);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--tennis-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.35);
}

.btn-secondary {
    background: #fff;
    color: var(--tennis-text);
    border: 1px solid var(--tennis-border);
}

.btn-secondary:hover {
    border-color: var(--tennis-green);
    color: var(--tennis-green);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    border-radius: 40px;
    padding: 12px;
    background: var(--tennis-gradient);
    box-shadow: 0 30px 60px rgba(0, 166, 81, 0.25);
    animation: float 3s ease-in-out infinite;
}

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

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    background: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--tennis-text-soft);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--tennis-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--tennis-text);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--tennis-text-soft);
}

.features-grid {
    display: grid;
    gap: 2.5rem;
}

.feature-card {
    background: var(--tennis-card);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    transition: all 0.3s;
    border: 1px solid var(--tennis-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.12);
    border-color: var(--tennis-green);
}

.feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-icon {
    flex-shrink: 0;
    width: 200px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #f1f5ee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--tennis-text);
}

.feature-subtitle {
    color: var(--tennis-text-soft);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #4a4a4a;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--tennis-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(218, 240, 52, 0.18) 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--tennis-green);
    font-style: italic;
    color: var(--tennis-text);
    line-height: 1.6;
}

/* Highlights Section */
.highlights {
    padding: 6rem 0;
    background: var(--tennis-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: var(--tennis-card);
    border-radius: 20px;
    border: 1px solid var(--tennis-border);
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 166, 81, 0.1);
    border-color: var(--tennis-green);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--tennis-text);
}

.highlight-item p {
    color: var(--tennis-text-soft);
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 0;
    background: var(--tennis-bg-alt);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.screenshot-item {
    background: var(--tennis-card);
    border-radius: 20px;
    padding: 0.75rem;
    transition: all 0.3s;
    border: 1px solid var(--tennis-border);
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.12);
}

.screenshot-item img {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    height: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    background: #f1f5ee;
    display: block;
}

.screenshot-item p {
    font-size: 0.9rem;
}

.screenshot-item p {
    text-align: center;
    font-weight: 600;
    color: var(--tennis-text);
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: linear-gradient(135deg, #003d1f 0%, #00A651 100%);
    color: #fff;
}

.download-content {
    text-align: center;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.download-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.store-name {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0f1a13;
    padding: 4rem 0 2rem;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.footer-brand p {
    font-weight: 600;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--tennis-lime);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1.5rem 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .feature-card,
    .feature-card:nth-child(even) {
        flex-direction: column;
    }

    .feature-icon {
        width: 100%;
        max-width: 280px;
        height: 360px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .nav-content {
        gap: 0.75rem;
    }

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

    .section-header h2 {
        font-size: 2.25rem;
    }

    .download-content h2 {
        font-size: 2.25rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .logo span {
        display: none;
    }

    .mode-toggle-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .store-button {
        min-width: 160px;
        padding: 0.875rem 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }
}
