/* Base Styles */
:root {
    --primary-color: #FF8BA7;
    /* Soft Coral Pink */
    --primary-light: #FFC6C6;
    /* Pale Pink */
    --primary-dark: #FF6B8B;
    /* Darker Coral */
    --secondary-color: #FFEDA3;
    /* Soft Yellow for accents */
    --accent-blue: #BDE0FE;
    /* Baby Blue for balance */
    --bg-color: #FFF9FB;
    /* Very subtle pinkish white */
    --text-color: #5D4037;
    /* Dark Brown (Softer than black) */
    --text-light: #8D6E63;
    /* Light Brown */
    --white: #ffffff;
    --gray-light: #FFF0F5;
    /* Lavender Blush */
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --shadow-soft: 0 10px 30px rgba(255, 139, 167, 0.15);
    --shadow-card: 0 15px 35px rgba(255, 107, 139, 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    /* Slightly increased for readability */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    margin: 1rem auto 0;
    border-radius: 4px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 139, 167, 0.1);
    /* Pinkish shadow */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Language Selector */
.lang-selector-container {
    margin-right: 1.5rem;
}

.lang-selector {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--primary-light);
    background-color: var(--white);
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    border-color: var(--primary-color);
    background-color: var(--gray-light);
}

.btn-download-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
    opacity: 1;
    /* Reset opacity for gradient buttons */
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #FFF0F5 0%, #FFFFFF 100%);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 237, 163, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(189, 224, 254, 0.4) 0%, transparent 20%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 237, 163, 0.6);
    /* Soft yellow highlight */
    z-index: -1;
    border-radius: 6px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.store-badge img {
    height: 54px;
    /* Slightly larger */
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.phone-mockup {
    max-width: 85%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(255, 107, 139, 0.2));
    /* Soft pink shadow */
    border-radius: 40px;
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: translateY(-5px);
}

/* Problem Section */
.problem {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
    text-align: center;
}

.problem-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-item {
    background-color: #FFF5F7;
    /* Very light pink */
    padding: 2rem 2.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
    border: 1px solid rgba(255, 139, 167, 0.2);
}

.check-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 107, 139, 0.3);
}

.problem-message {
    font-size: 1.15rem;
    line-height: 2;
    background: linear-gradient(135deg, #FFF9FB 0%, #FFF0F5 100%);
    display: inline-block;
    padding: 3rem;
    border-radius: 30px;
    color: var(--text-color);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 139, 167, 0.1);
}

/* Features Section */
.features {
    padding: var(--spacing-lg) 0;
    background-color: #FCFCFC;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 237, 163, 0.1) 0%, transparent 60%);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
    padding: 2rem;
    /* Added padding */
}

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.feature-media {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 220px;
    background-color: #FFF9FB;
    padding: 3rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 139, 167, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #FFF5C2);
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 237, 163, 0.5);
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    /* Commonly used gradient for female-focused apps */
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.center {
    justify-content: center;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: #FFF0F5;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    margin: 0 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    opacity: 0.6;
}

/* Contact Page specific */
.btn-mail {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(255, 107, 139, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 139, 0.4);
    opacity: 1;
}

.contact-email {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 1.5rem 0;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav {
        display: none;
        /* Mobile menu to be implemented if needed */
    }

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

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .app-badges {
        justify-content: center;
    }

    .feature-card {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 4rem;
        text-align: center;
        padding: 0;
    }

    .feature-card.reverse {
        flex-direction: column;
    }

    .problem-list {
        flex-direction: column;
    }

    .problem-message {
        padding: 2rem;
        font-size: 1rem;
    }
}

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

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