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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-gradient-start: #667eea;
    --bg-gradient-mid: #764ba2;
    --bg-gradient-end: #f093fb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #ffffff;
    --bg-card: #ffffff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 35px rgba(99, 102, 241, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 3rem 0 2rem;
    color: var(--white);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-icon {
    position: relative;
    width: 80px;
    height: 50px;
}

.camera-body {
    width: 60px;
    height: 35px;
    background: var(--white);
    border-radius: 6px;
    position: absolute;
    left: 10px;
    top: 7.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.camera-lens {
    width: 20px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #374151;
    position: absolute;
    left: 15px;
    top: 12.5px;
}

.camera-lens::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #1f2937;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.camera-indicator {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 15px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
    margin-top: 0.5rem;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 4rem 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 32px 32px 0 0;
}

/* App Info Section */
.app-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 220px;
    height: 450px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 30px rgba(99, 102, 241, 0.2);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 40px;
    z-index: 0;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 0 0 18px 18px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    z-index: 11;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.screen-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px 4px;
    position: relative;
    z-index: 2;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 0.6rem;
}

.screen-content {
    width: 100%;
    height: calc(100% - 30px);
    background: #000;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.app-screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.placeholder-content {
    color: rgba(255, 255, 255, 0.6);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.app-details {
    padding: 1rem;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

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

/* Download Section */
.download-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    overflow: visible;
    position: relative;
}

.download-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(99, 102, 241, 0.1);
    overflow: visible;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    border-radius: 24px;
    overflow: hidden;
    z-index: 0;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.download-card.coming-soon {
    opacity: 0.85;
    position: relative;
}

.download-card.coming-soon:hover {
    transform: translateY(-8px) scale(1.01);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.platform-icon.android {
    animation: float 3s ease-in-out infinite;
}

.platform-icon.tv {
    animation: float 3s ease-in-out infinite 0.5s;
}

.platform-icon.ios {
    animation: float 3s ease-in-out infinite 1s;
}

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

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.platform-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.15rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.download-btn span,
.download-btn svg {
    position: relative;
    z-index: 1;
}

.download-btn.android-btn {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
}

.download-btn.android-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

.download-btn.tv-btn {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 50%, #4b5563 100%);
    cursor: not-allowed;
}

.download-btn.tv-btn:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #374151 100%);
}

.download-btn.ios-btn {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 50%, #4b5563 100%);
    cursor: not-allowed;
}

.download-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--accent-color), #f472b6, #ec4899);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    letter-spacing: 0.3px;
    z-index: 100;
    white-space: nowrap;
    min-width: fit-content;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Features Section */
.features-section {
    margin-top: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2.5rem 0;
    color: var(--white);
    opacity: 0.95;
    font-size: 0.95rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .header {
        padding: 2rem 0 1.5rem;
    }

    .logo-text {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .main-content {
        padding: 2.5rem 1.5rem;
        margin: 1rem 0;
        border-radius: 24px;
    }

    .app-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .app-screenshot {
        object-fit: cover;
    }
    
    .placeholder-content p {
        font-size: 0.75rem;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }

    .app-title {
        font-size: 2rem;
        text-align: center;
    }

    .app-description {
        text-align: center;
    }

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

    .download-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.75rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card,
.feature-card {
    animation: fadeIn 0.6s ease-out;
}

