/* Just A Pinch Landing Page Styles */

:root {
    --primary-color: #8b4513;
    --secondary-color: #a0522d;
    --accent-color: #d2b48c;
    --dark-color: #1F2937;
    --light-color: #F8FAFC;
    --gradient: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    --gradient-secondary: linear-gradient(135deg, #d2b48c 0%, #a0522d 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;
}

.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;
    border-radius: 20px;
}

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

.safety-badge {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 5px;
    display: inline-block;
}

.age-badge {
    background: #FF9800;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 5px;
    display: inline-block;
}

.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 8px 25px 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);
}

.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;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light-color);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    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 40px 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.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--dark-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

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

.step-text {
    color: var(--dark-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--light-color);
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

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

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.benefit-text {
    color: var(--dark-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--gradient);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background: white;
}

.requirement-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.requirement-text {
    color: var(--dark-color);
    opacity: 0.8;
}

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

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

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

.store-badge {
    height: 60px;
    margin: 0 10px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.store-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-color);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: white;
    padding: 1.5rem;
    color: var(--dark-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
    background: white;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: white;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-links {
    margin-top: 1rem;
}

.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.6s ease;
}

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

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

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

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

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

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

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

    .store-badge {
        height: 50px;
        margin: 5px;
    }

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

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

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

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

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

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

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

/* Legal Documents Styles */
.legal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.legal-content h1 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Special handling for URLs and long strings */
.legal-content a {
    word-break: break-all;
    overflow-wrap: break-word;
}

.legal-content code {
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.legal-back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-back-link:hover {
    color: var(--secondary-color);
}

.legal-header {
    background: var(--gradient);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.legal-header h1 {
    color: white;
    border-bottom: 3px solid white;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 2rem;
}

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

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

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

.legal-footer .footer-link:hover {
    color: var(--primary-color);
}

/* Language switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher .btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile language switcher - positioned below header */
.language-switcher-mobile {
    display: none;
    background: rgba(139, 69, 19, 0.1);
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
}

.language-switcher-mobile .btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher-mobile .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        word-break: break-word;
        overflow-wrap: break-word;
        overflow-x: hidden;
    }

    .legal-header {
        padding: 2rem 0;
    }

    .legal-header h1 {
        font-size: 1.8rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .legal-content h2 {
        font-size: 1.3rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .legal-content h4 {
        font-size: 1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Hide desktop language switcher on mobile */
    .language-switcher {
        display: none;
    }

    /* Show mobile language switcher */
    .language-switcher-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    /* Hide mobile language switcher on desktop */
    .language-switcher-mobile {
        display: none;
    }
}
