/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Shippori Mincho', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 50%, #fff9e6 100%);
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 20px 40px;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 50%, #fff9e6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.app-icon {
    margin-bottom: 30px;
    margin-left: 50px;
    
    animation: float 3s ease-in-out infinite;
}

.app-icon img {
    width: 240px;
    height: 240px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #9333ea, #ec4899);
    display: block;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9333ea, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #9333ea;
    border: 2px solid #9333ea;
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: #9333ea;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    animation: pulse 4s ease-in-out infinite;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

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

/* Features Section */
.features {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    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;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
}

.step p {
    color: #6b7280;
    line-height: 1.7;
}

/* Download Section */
.download {
    padding: 100px 20px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

.download-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.download-button img {
    height: 60px;
    transition: all 0.3s ease;
}

.download-button:hover img {
    transform: scale(1.05);
}

.download-note {
    opacity: 0.8;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-email {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #9333ea;
    text-decoration: none;
    padding: 20px 40px;
    border: 2px solid #9333ea;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(147, 51, 234, 0.05);
}

.contact-email:hover {
    background: #9333ea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: #1f2937;
    color: #9ca3af;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ec4899;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px 40px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .contact-email {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

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

/* Loading animation for images */
img[id$="-img"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[id$="-img"].loaded {
    opacity: 1;
}
