/* MoodP Landing Page - Mercury Inspired Theme */
:root {
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-light: #818cf8;
    /* Indigo 400 */
    --primary-soft: #e0e7ff;
    /* Indigo 100 */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-sub: #64748b;
    /* Slate 500 */
    --bg-page: #ffffff;
    --bg-section: #f8fafc;
    /* Slate 50 */
    --success: #10b981;
    /* Emerald 500 */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --card-border: 1px solid #e2e8f0;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation --- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

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

.btn-login {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    margin-right: 20px;
    font-size: 15px;
}

.btn-cta-nav {
    background: var(--text-main);
    color: #fff;
    padding: 10px 20px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}

.btn-cta-nav:hover {
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
    padding: 80px 5% 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-main);
    margin: 0 auto 24px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-sub);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-input {
    padding: 16px 24px;
    border-radius: 99px;
    border: 1px solid #e2e8f0;
    width: 320px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.hero-input:focus {
    border-color: var(--primary);
}

.btn-hero {
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.5);
}

.btn-hero:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* --- 3D Dashboard Visual --- */
.hero-visual-container {
    margin-top: 60px;
    perspective: 1200px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-dashboard {
    width: 80%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.15), 0 30px 60px -30px rgba(0, 0, 0, 0.2);
    transform: rotateX(10deg) translateY(0);
    transition: transform 0.5s ease;
    border: 8px solid #000;
    background: #000;
}

.hero-dashboard:hover {
    transform: rotateX(5deg) translateY(-10px);
}

/* --- High-End Testimonial --- */
.testimonial-section {
    padding: 120px 5%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 40px;
    position: relative;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.author-info p {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--text-sub);
}


/* --- Manifesto Message (Social Proof Replacement) --- */
.manifesto-section {
    padding: 100px 5%;
    max-width: 1000px;
    margin: 80px auto;
    text-align: center;
    background: #1e1b4b;
    /* Dark Navy Background */
    border-radius: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.3;
    color: #fff;
    position: relative;
    z-index: 2;
}

.manifesto-sub {
    font-size: 18px;
    color: #94a3b8;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.manifesto-highlight {
    color: var(--primary-light);
    font-style: italic;
}

/* Background decoration for manifesto */
.manifesto-decor {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(30, 27, 75, 0) 70%);
    z-index: 1;
}

/* --- Abstract Feature Section (Mercury Style) --- */
.abstract-feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.abstract-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.abstract-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-sub);
    margin-bottom: 30px;
    max-width: 480px;
}

.abstract-visual {
    position: relative;
    height: 500px;
    background: #f8fafc;
    border-radius: 32px;
    overflow: hidden;
    /* CSS Art / Abstract lines */
    background-image:
        radial-gradient(at 80% 20%, hsla(250, 80%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(160, 80%, 80%, 0.3) 0px, transparent 50%);
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-shape 10s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.2);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.2);
    bottom: 10%;
    left: 10%;
    animation-delay: -2s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

.floating-card-detail {
    position: absolute;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
}

/* --- Bento Grid Features --- */
.bento-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: var(--text-main);
}

.section-desc {
    font-size: 18px;
    color: var(--text-sub);
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    /* Fixed height for consistency */
    gap: 24px;
}

.bento-card {
    background: #fff;
    border: var(--card-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.bento-col-2 {
    grid-column: span 2;
}

.bento-row-2 {
    grid-row: span 2;
}

.b-content {
    z-index: 2;
    position: relative;
    margin-bottom: 20px;
    /* Space for visual */
}

.b-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 8px 0;
    color: var(--text-main);
}

.b-desc {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Visuals positioned absolutely to fill space */
.b-visual {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Occupy bottom 60% */
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.b-visual-full {
    height: 100%;
    top: 0;
    opacity: 0.1;
    z-index: 0;
    background-image: radial-gradient(#6366f1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Artificial UI Elements for Visuals */
.ui-chat-bubble {
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid #f1f5f9;
}

.ui-tag {
    background: #e0e7ff;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}

/* --- Comparison / "Convincer" --- */
.comparison-section {
    background: #0f172a;
    color: #fff;
    padding: 100px 5%;
    text-align: center;
    margin-top: 80px;
    border-radius: 40px;
    margin-left: 2%;
    margin-right: 2%;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
    text-align: left;
}

.compare-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-card.good {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border-color: var(--primary);
    position: relative;
}

.compare-card.good::before {
    content: "MOODP WAY";
    position: absolute;
    top: -12px;
    left: 40px;
    background: var(--primary);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
}

.compare-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
}

.compare-list li {
    margin-bottom: 12px;
    opacity: 0.8;
    display: flex;
    gap: 10px;
}

/* --- Pricing Clean --- */
.pricing-section {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.pricing-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    transition: 0.3s;
    background: #fff;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.plan-period {
    font-size: 16px;
    color: var(--text-sub);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-sub);
    margin-bottom: 30px;
    font-size: 14px;
}

.ai-badge {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    transition: 0.2s;
    background: transparent;
}

.btn-plan.primary {
    background: var(--text-main);
    color: #fff;
    border: none;
}

.btn-plan:hover {
    transform: scale(1.02);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid #f1f5f9;
    padding: 80px 5% 40px;
    background: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-sub);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

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

/* --- Page & Prose Styling --- */
.page-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.prose h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.prose h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.prose h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-sub);
    margin-bottom: 1.5em;
}

.prose ul {
    padding-left: 20px;
    margin-bottom: 1.5em;
    color: var(--text-sub);
}

.prose li {
    margin-bottom: 8px;
}

.page-hero {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 60px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin: 0 0 15px 0;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-col-2 {
        grid-column: span 1;
    }

    .hero-title {
        font-size: 42px;
    }

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

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