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

:root {
    --primary-color: #499DA7;
    --secondary-color: #5CBFCB;
    --accent-color: #F39C12;
    --text-color: #2C3E50;
    --text-light: #7F8C8D;
    --light-bg: #ECF0F1;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(73, 157, 167, 0.1);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    text-align: center;
    padding: 80px 20px 100px;
    background: linear-gradient(135deg, #499DA7, #5CBFCB);
    color: var(--white);
    border-radius: 0 0 30% 30% / 60px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.tagline {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* App Intro Section */
.app-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 80px 20px;
    gap: 60px;
    margin-top: -60px;
}

.app-description {
    flex: 1 1 450px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.app-visual {
    flex: 1 1 350px;
    text-align: center;
    position: relative;
}

.app-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(73, 157, 167, 0.2) 0%, rgba(73, 157, 167, 0) 70%);
    filter: blur(40px);
    opacity: 0.4;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.app-preview {
    max-width: 300px;
    border-radius: 36px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.app-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(73, 157, 167, 0.05), rgba(73, 157, 167, 0) 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    flex: 1 1 300px;
    max-width: 350px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #499DA7, #5CBFCB);
    z-index: 2;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(73, 157, 167, 0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(73, 157, 167, 0.1);
    border-radius: 50%;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
}

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

/* Highlights Section */
.highlights {
    padding: 80px 20px;
    background-color: var(--light-bg);
    position: relative;
}

.highlights::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(73, 157, 167, 0.1) 0%, rgba(73, 157, 167, 0) 70%);
    filter: blur(40px);
    opacity: 0.7;
    z-index: 0;
    bottom: -100px;
    left: -100px;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
    position: relative;
}

.highlight-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 40px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.highlight-list li {
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

.highlight-list li:last-child {
    margin-bottom: 0;
}

.check {
    color: #499DA7;
    margin-right: 15px;
    font-size: 1.5rem;
    background: rgba(73, 157, 167, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path d="M0,0 L1000,0 L1000,800 C700,950 300,900 0,800 L0,0 Z" fill="%23499DA7"/></svg>') no-repeat bottom;
    background-size: 100% 100%;
    color: var(--white);
    position: relative;
    margin-top: 80px;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.download-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 16px 36px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: #E67E22;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--text-color);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Debug Panel */
.debug-panel {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-sm);
    color: #fff;
    text-align: left;
}

.debug-panel.active {
    display: block;
}

.debug-panel h4 {
    margin-bottom: 10px;
    color: #f8f9fa;
}

#user-agent-info {
    font-family: monospace;
    word-break: break-all;
    line-height: 1.5;
    font-size: 0.9rem;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

/* Icons */
.icon {
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 60px 15px 80px;
        border-radius: 0 0 20% 20% / 40px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .app-intro {
        padding: 60px 15px;
        margin-top: -40px;
    }
    
    .app-description {
        padding: 30px;
    }
    
    .features, .highlights, .cta {
        padding: 60px 15px;
    }
    
    .features h2, .highlights h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .card {
        padding: 30px 25px;
    }
    
    .highlight-list {
        padding: 25px 30px;
    }
    
    .highlight-list li {
        font-size: 1.1rem;
    }
    
    .cta {
        margin-top: 60px;
        padding: 80px 15px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 50px 15px 70px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .app-description {
        font-size: 1rem;
        padding: 25px;
    }
    
    .features h2, .highlights h2, .cta h2 {
        font-size: 1.6rem;
    }
    
    .download-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
} 