/* AllowanceQuest Landing Page Styles */

:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --dark-color: #1F2937;
    --light-color: #F8FAFC;
    --gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::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="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.phone-mockup img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.phone-mockup img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.2));
}

/* Slick Carousel Custom Styles */
.screenshot-slider {
    max-width: 400px;
    margin: 0 auto;
}

.screenshot-slider .slick-slide {
    padding: 0 10px;
    outline: none;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.screenshot-slider .slick-slide img,
.screenshot-slider .slick-slide picture {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.screenshot-slider .slick-slide picture img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.screenshot-slider .slick-slide img:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 6px 15px rgba(0, 0, 0, 0.08);
}

.screenshot-slider .slick-dots {
    bottom: -50px;
}

.screenshot-slider .slick-dots li button:before {
    color: white;
    opacity: 0.5;
    font-size: 12px;
}

.screenshot-slider .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}

.screenshot-slider .slick-prev,
.screenshot-slider .slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.screenshot-slider .slick-prev:before,
.screenshot-slider .slick-next:before {
    color: white;
    font-size: 20px;
}

.screenshot-slider .slick-prev {
    left: -25px;
}

.screenshot-slider .slick-next {
    right: -25px;
}

/* Layout Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: #6B7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--light-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: #6B7280;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.store-badge {
    height: 60px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0;
}

.footer .text-muted {
    color: #9CA3AF !important;
}

.footer h5, .footer h6 {
    color: white;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .btn-hero {
        margin-bottom: 2rem;
        display: block;
        text-align: center;
    }

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

    .phone-mockup {
        margin-top: 2rem;
    }

    .phone-mockup img {
        max-width: 280px;
    }

    .screenshot-slider {
        max-width: 320px;
    }

    .screenshot-slider .slick-slide img {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.04);
    }

    .screenshot-slider .slick-prev,
    .screenshot-slider .slick-next {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

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

    .btn-hero {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .phone-mockup img {
        max-width: 240px;
    }

    .screenshot-slider {
        max-width: 280px;
    }

    .screenshot-slider .slick-slide img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.03);
    }

    .screenshot-slider .slick-dots {
        bottom: -30px;
    }
}
