/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="60" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Pain Point Section */
.pain-point {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #ff6b6b;
    animation: fadeInUp 0.8s ease-out;
}

.pain-text {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.95;
}

.pain-text:last-child {
    margin-bottom: 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-slogan {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffeb3b;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-text .description {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-text .tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.download-btn.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.download-btn i {
    font-size: 24px;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn .small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-btn .large {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.5s backwards;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 36px;
    padding: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame.small {
    width: 200px;
    height: 400px;
    border-radius: 28px;
    padding: 6px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #000;
    border-radius: 6px;
    z-index: 10;
}

.phone-frame.small::before {
    width: 35px;
    height: 3px;
    top: 6px;
}

.screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-frame.small .screen {
    border-radius: 24px;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.app-header h2 {
    font-size: 28px;
    color: #007AFF;
    margin-bottom: 5px;
}

.app-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.expense-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.month-expenses h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.amounts {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amounts .general .amount {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.amounts .transport .amount {
    font-size: 24px;
    font-weight: 600;
    color: #007AFF;
}

.amounts .label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stat-item i {
    font-size: 24px;
    color: #007AFF;
    margin-bottom: 10px;
}

.stat-item .number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 12px;
    color: #666;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #f8f9fa 100%);
    position: relative;
    z-index: 2;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 122, 255, 0.1) 0%, transparent 100%);
    z-index: 1;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #5856D6);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: white;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item p {
    margin-top: 20px;
    font-weight: 500;
    color: #666;
}

/* Screenshot Images */
.screenshot-item .screen img,
.hero-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.hero-screenshot {
    border-radius: 32px;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.download-highlight {
    background: rgba(255, 235, 59, 0.2);
    border: 2px solid #ffeb3b;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 40px !important;
    font-weight: 600;
    font-size: 1.1rem !important;
    opacity: 1 !important;
}

/* Pricing Section */
.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.pricing-card.yearly {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.pricing-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.pricing-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    color: white;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 5px;
}

.pricing-card .savings {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-check i {
    color: #4CAF50;
    font-size: 18px;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.seo-content h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.seo-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.seo-item:hover {
    transform: translateY(-5px);
}

.seo-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.seo-item p {
    color: #666;
    line-height: 1.6;
}

.keywords-section {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.keywords-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    color: #ccc;
}

.footer-links a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .description {
        font-size: 1.1rem;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-card {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.9);
    }
    
    .screenshots-carousel {
        gap: 20px;
    }
    
    .phone-frame.small {
        width: 160px;
        height: 320px;
    }
    
    .pricing-info {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .features-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .pain-point {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .pain-text {
        font-size: 0.9rem;
    }
    
    .hero-slogan {
        font-size: 1.4rem;
    }
    
    .seo-content {
        padding: 60px 0;
    }
    
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0 80px 0;
    }
    
    .features,
    .screenshots,
    .download-section {
        padding: 80px 0;
    }
    
    .features h2,
    .screenshots h2,
    .download-content h2 {
        font-size: 2rem;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
    
    .phone-frame.small {
        width: 160px;
        height: 320px;
    }
} 