@import 'intentions.css';

:root {
    --primary: #69F0AE;
    /* Badoo-like accent green/mint if needed, but let's stick to their purple/white vibe */
    --brand-purple: #007BFF;
    /* Blue primary color */
    --brand-orange: #ff7e5f;
    /* generic dating accent */
    --bg-light: #ffffff;
    --bg-alt: #f9f7fc;
    /* Very light lavender */
    --text-main: #2D2D2D;
    --text-muted: #5E5E5E;
    --border-radius-btn: 50px;
    --border-radius-card: 20px;
    --container-width: 1300px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-purple {
    color: var(--brand-purple);
}

.btn-primary {
    background-color: var(--brand-purple);
    color: white;
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

.section-padding {
    padding: 80px 0;
}

/* Organic Shapes */
.blob-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
}

.blob-shape-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
}

/* Header */
header {
    padding: 20px 0;
    background: var(--bg-light);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-purple);
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--brand-purple);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Intentions Section */
.intentions-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.intentions-content p {
    margin-bottom: 20px;
}

.intentions-content .text-muted-small {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.rounded-btn {
    border-color: var(--text-main);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 50px;
}

.rounded-btn:hover {
    background-color: var(--text-main);
    color: white;
}


/* Hide Mobile Elements on Desktop */
.mobile-menu-btn,
.mobile-menu {
    display: none;
}

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-text .btn-primary {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    /* Badoo generic happy main image style */
    border-radius: 40px 10px 40px 10px;
}

/* How It Works (NEW) */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.hiw-step {
    padding: 20px;
}

.hiw-icon {
    width: 100px;
    height: 100px;
    background: #e3f2fd;
    color: var(--brand-purple);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.hiw-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.hiw-step h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.hiw-step p {
    color: var(--text-muted);
}


/* Features (ZigZag) */
.feature-section {
    background-color: var(--bg-light);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row.reverse {
    direction: rtl;
    /* simple way to flip grid, but usually better to reorder cols */
}

.feature-row.reverse .feature-text {
    direction: ltr;
}

.feature-img {
    width: 100%;
    /* Organic Blob Shape for images */
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.feature-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-alt);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--brand-purple);
    font-size: 0.9rem;
}

/* Safety Badges (NEW) */
.safety-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.s-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Stats (NEW) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--brand-purple);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Success Stories */
.stories-section {
    background-color: var(--bg-alt);
    text-align: center;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.story-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-card);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.story-content {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Download CTA */
.download-section {
    text-align: center;
    background-color: var(--bg-light);
}

.download-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

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

.app-badges img {
    height: 60px;
    width: auto;
    transition: opacity 0.2s;
    border-radius: 10px;
    /* Slight rounding if the image doesn't have it */
}

.app-badges img:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 50px 0;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animations (Simple fade up) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-card);
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-purple);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tablet (iPad Pro, etc.) */
@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 40px;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto; /* Let content determine height */
        padding: 100px 0;
    }

    .hero-text h1 {
        font-size: 3rem; /* Scale down from 4rem */
    }

    .hero-content {
        gap: 30px;
    }

    /* Feature adjustments */
    .feature-row {
        gap: 40px;
    }

    .feature-text h2 {
        font-size: 2.5rem;
    }
    
    .intentions-content h2 {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .nav-container nav,
    .header-actions {
        display: none;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1002;
        padding: 10px;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-main);
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        z-index: 1001;
        padding: 100px 30px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .mobile-menu a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-main);
    }

    /* Hero Spacing Fix */
    .hero {
        padding-top: 20px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        margin-top: 30px;
    }

    .hiw-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
        text-align: center;
    }

    .feature-tags {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    /* Global Mobile Typography Rescaling */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    /* Hero Text Adjustments */
    .hero-text h1 {
        font-size: 2.5rem;
        /* Slightly larger for hero */
    }

    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 20px;
    }
    
    .hero-text .btn-primary {
        padding: 12px 24px;
        font-size: 1rem;
        width: auto;
    }

    /* Feature Text */
    .feature-text h2 {
        font-size: 1.8rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    /* HiW & Stats */
    .hiw-step h3 {
        font-size: 1.4rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    /* Download Section Mobile */
    .download-section h2 {
        font-size: 1.8rem;
    }

    .download-section p {
        font-size: 1rem;
    }

    .app-badges img {
        height: 40px;
    }

    /* Intentions Mobile */
    .intentions-content h2 {
        font-size: 2rem;
    }
}