@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --bg-white: #FFFFFF;
    --bg-dark: #1A202C;
    --bg-light: #F9FAFB;
    --text-dark: #2C3338;
    --text-gray: #8F9BA8;
    --accent-dark: #1A202C;
    --font-main: 'Outfit', sans-serif;
    
    /* App Icon Colors */
    --app-blendplan: #1f4e3d;
    --app-mindful: #5b5b98;
    --app-focus: #1c3b6e;
    --app-nourish: #ebdabb;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography Basics */
.brand-logotype {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.brand-logotype-light {
    font-weight: 300;
    color: var(--text-gray);
}

.brand-logotype-small {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.white-text {
    color: var(--bg-white);
}

.gray-text {
    color: var(--text-gray);
}

.tagline {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 2rem;
}

.small-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Language Toggle */
.lang-selector-container {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 10;
}

.lang-toggle {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--text-gray);
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}
.lang-toggle:hover,
.lang-toggle.active {
    color: var(--text-dark);
}
.lang-divider {
    font-size: 0.7rem;
    color: var(--text-gray);
    opacity: 0.3;
}

/* Top Section (White) */
.section-top {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-gray), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* Entrance Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}
.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Manifesto Section */
.section-manifesto {
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-white);
}
.manifesto-text {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    max-width: 700px;
}
.manifesto-text em {
    font-style: italic;
    color: var(--text-gray);
}

.main-lotus, .main-lotus-img {
    width: 150px;
    height: 120px;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Middle Section (Off-White Portfolio) */
.section-middle {
    background-color: var(--bg-light);
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.middle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 1200px;
}

.middle-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.left-border {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.gold-lotus, .white-lotus {
    width: 100px;
    height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.white-lotus {
    filter: brightness(0) invert(1);
}

/* Influencer Callout */
.influencer-callout {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 3rem;
    width: 100%;
    max-width: 600px;
}

.influencer-callout p {
    color: var(--bg-white);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.btn-solid-dark {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--accent-dark);
    color: var(--bg-white);
    text-transform: uppercase;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-solid-dark:hover {
    background-color: var(--text-dark);
}

.btn-solid-light {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--bg-white);
    color: var(--bg-dark);
    text-transform: uppercase;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-solid-light:hover {
    background-color: var(--text-gray);
    color: var(--bg-white);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-dark);
    color: var(--accent-dark);
    text-transform: uppercase;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--accent-dark);
    color: var(--bg-white);
}

.btn-outline-light {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--bg-white);
    color: var(--bg-white);
    text-transform: uppercase;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--bg-dark);
}

/* Premium Bento Buttons */
.bento-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-btn svg {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-btn-dark {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: 1px solid var(--text-dark);
}
.bento-btn-dark:hover {
    background-color: transparent;
    color: var(--text-dark);
}
.bento-btn-dark:hover svg {
    transform: translateX(6px);
}

.bento-btn-light {
    background-color: var(--bg-white);
    color: var(--bg-dark);
    border: 1px solid var(--bg-white);
}
.bento-btn-light:hover {
    background-color: transparent;
    color: var(--bg-white);
}
.bento-btn-light:hover svg {
    transform: translateX(6px);
}

.bento-btn-outline-dark {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}
.bento-btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}
.bento-btn-outline-dark:hover svg {
    transform: translateX(6px);
}

.bento-btn-link-dark {
    background-color: transparent;
    color: var(--text-dark);
    border: none;
    padding-left: 0;
    padding-right: 0;
}
.bento-btn-link-dark:hover svg {
    transform: translateX(6px);
}

/* Unified Bento Container (Apple Style) */
.unified-bento-container:hover {
    transform: translateY(-10px);
}

.bento-side {
    display: flex;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.light-bento {
    background-color: var(--bg-white);
    color: var(--text-dark);
}
.light-bento:hover {
    background-color: #f8f9fa;
}

.dark-bento {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}
.dark-bento:hover {
    background-color: #151a23;
}

/* Bento Sides */
.bento-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 400px;
    padding: 4rem;
    gap: 3rem;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease;
}

.bento-image-wrapper {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-text-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.bento-img-left {
    width: 200px;
    height: 200px;
    border-radius: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}
.bento-side:hover .bento-img-left {
    transform: scale(1.05);
}

/* Community Card (Right) */
.community-side {
    justify-content: center; /* Center the text horizontally in the card */
    align-items: center;
}
.community-content {
    /* No padding required here as it's centered, handled by bento-side padding */
    width: 100%;
}
.bento-img-right {
    width: 400px; /* Make the watermark massive */
    height: 400px;
    object-fit: contain;
    opacity: 0.03; /* Extremely subtle */
    filter: brightness(0) invert(1);
    transition: transform 0.8s ease; /* Slower, luxurious transition */
}
.bento-side:hover .bento-img-right {
    transform: scale(1.1) rotate(5deg);
}

.bento-title {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (max-width: 1200px) {
    .bento-side { padding: 3rem; gap: 2rem; }
    .bento-img-left { width: 160px; height: 160px; border-radius: 36px; }
    .bento-img-right { width: 180px; height: 180px; }
    .bento-title { font-size: 3rem; }
}

@media (max-width: 992px) {
    .unified-bento-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .bento-side {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
        min-height: auto;
    }
    .bento-text-wrapper {
        align-items: center;
        text-align: center;
    }
    .blendplan-side .bento-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
    .community-side .bento-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
    .bento-title {
        font-size: 2.5rem !important;
    }
}

.signature-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 300px;
    line-height: 1.6;
}

.apps-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.app-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* App Feature Card */
.app-feature-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    transition: all 0.4s ease;
    background: var(--bg-white);
}

.app-feature-card:hover {
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.app-feature-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-outline-light {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--bg-white);
    text-transform: uppercase;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--bg-dark);
}

.blendplan-icon { background-color: var(--app-blendplan); }
.mindful-icon { background-color: var(--app-mindful); }
.focus-icon { background-color: var(--app-focus); }
.nourish-icon { background-color: var(--app-nourish); }

.small-lotus {
    width: 50px;
    height: 40px;
    object-fit: contain;
}

.app-name {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Site Footer */
.site-footer {
    padding: 2.5rem 2rem 1rem;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Footer Equation Section */
.footer-equation {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.equation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Increased spacing for a more airy, premium look */
    flex-wrap: wrap;
}

.eq-symbol {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 300;
    opacity: 0.6; /* Makes the mathematical signs look more subtle */
}

.eq-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.eq-title {
    font-size: 0.95rem;
    font-weight: 400;
}

.eq-desc {
    font-size: 0.65rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

.small-lotus-eq {
    width: 24px;
    height: 18px;
    margin: 0 !important;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: var(--text-dark);
    border-radius: 50%;
    margin: 6px 0;
}

.minimal-input::placeholder {
    color: var(--text-gray);
    opacity: 0.5;
}

/* Platform Custom Selector */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

.platform-pill {
    padding: 1.5rem;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-pill:hover {
    background-color: var(--accent-dark);
    color: var(--bg-white);
    border-color: var(--accent-dark);
}

.platform-pill.selected {
    background-color: var(--accent-dark);
    color: var(--bg-white);
    border-color: var(--accent-dark);
}


.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.footer-dot {
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background-color: var(--text-gray);
    opacity: 0.3;
}

.footer-bottom {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-gray);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Modal styling overrides to match light theme */
.modal-content {
    background: var(--bg-white);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

input, select {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-dark);
}

.close-btn {
    color: var(--text-gray);
}

.consent-wrapper {
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 992px) {
    .middle-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .left-border {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 3rem;
    }
    .bottom-split {
        grid-template-columns: 1fr;
    }
    .split-left {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .apps-grid {
        flex-wrap: wrap;
    }
    .equation-content {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .brand-logotype {
        font-size: 2.5rem;
    }
    .brand-logotype-small {
        font-size: 1.5rem;
    }
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }
}
