/* ===== CSS Variables ===== */
:root {
    --primary-pink: #EC7F8C;
    --primary-dark: #C33844;
    --secondary-teal: #51B5BB;
    --fertile-yellow: #FFCC44;
    --fertile-purple: #7265E3;
    --background-pink: #FCE4EC;
    --text-dark: #2D3142;
    --text-secondary: #4C5980;
    --text-light: #454545;
    --white: #ffffff;
    --border-color: #EDEDED;

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-nav {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--background-pink) 0%, #fff5f7 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.store-btn img {
    height: 50px;
    transition: var(--transition);
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 350px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.period-icon {
    background: rgba(236, 127, 140, 0.15);
    color: var(--primary-pink);
}

.fertile-icon {
    background: rgba(255, 204, 68, 0.15);
    color: var(--fertile-yellow);
}

.horoscope-icon {
    background: rgba(114, 101, 227, 0.15);
    color: var(--fertile-purple);
}

.health-icon {
    background: rgba(81, 181, 187, 0.15);
    color: var(--secondary-teal);
}

.reminder-icon {
    background: rgba(236, 127, 140, 0.15);
    color: var(--primary-pink);
}

.privacy-icon {
    background: rgba(45, 49, 66, 0.1);
    color: var(--text-dark);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Horoscope Section ===== */
.horoscope {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f0ff 0%, #fff5f7 100%);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.zodiac-item {
    background: var(--white);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.zodiac-item:hover {
    background: var(--fertile-purple);
    color: var(--white);
    transform: translateY(-3px);
}

.horoscope-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.horoscope-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== Languages Section ===== */
.languages {
    padding: 80px 0;
    background: var(--white);
}

.languages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.language-tag {
    background: var(--background-pink);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.language-tag:hover {
    background: var(--primary-pink);
    color: var(--white);
}

/* ===== Download Section ===== */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.section-title.white,
.section-subtitle.white {
    color: var(--white);
}

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

.store-btn-large img {
    height: 60px;
    transition: var(--transition);
}

.store-btn-large:hover img {
    transform: scale(1.05);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .horoscope-features {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
