/* Landing Page Styles */

:root {
    --landing-bg: #ffffff;
    --landing-accent: #000000;
    --landing-text: #111111;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --mangos: #f99b41;
}

svg {
    pointer-events: none;
}

.landing-body {
    background-color: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto; /* Enable scrolling explicitly */
    scroll-behavior: smooth;
}

/* Reset Global Overrides from styles.css */
.landing-body h1 {
    height: auto;
    line-height: 1.1;
    font-size: 4.5rem; /* Re-affirm landing size */
    padding-left: 0;
    background-image: none;
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.landing-nav .logo img {
    border-radius: 8px;
}

.landing-nav .logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

/* Main Layout */
.landing-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    margin: 30px 0px 60px;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.mangos-gradient-text {
    background: linear-gradient(135deg, #fac747 0%, #f99a42 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 1px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0,0,0,0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #000 0%, #666 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 35px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 18px 36px;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.btn-link {
    text-decoration: none;
    color: var(--landing-text);
    font-weight: 600;
    transition: 0.2s;
}

.btn-link:hover { opacity: 0.7; }

/* Orb Visual */
.hero-visual {
    position: absolute;
    opacity: .9;
    left: 50%;
    top: 170px;
    transform: translateX(85px);
}

.orb-container {
    position: relative;
    width: 96px;
    height: 96px;
    animation: floating 6s ease-in-out infinite;
    overflow: hidden;
    text-align: center;
}

.orb-video {
    border-radius: 50%;
    width: 96px;
    height: 96px;
}

/* Bento Features */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bento-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0,0,0,0.1);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

.feature-free { grid-column: span 3; }

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 60px 0px;
}

.final-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.final-cta a {
    display: inline-block;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    overflow: hidden;
}

.btn-large {
    padding: 24px 60px;
    font-size: 1.4rem;
    border-radius: 100px;
}

/* Footer */
.landing-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: #999;
    font-size: 0.9rem;
}

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

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* SVG Animations */
.animate-mic-head {
    transform-origin: center;
    animation: mic-pulse 2s ease-in-out infinite;
}

@keyframes mic-pulse {
    50% { transform: translateY(-1px); stroke-width: 1.8px; }
}

.animate-receipt-line {
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
    animation: draw-line 3s ease-in-out infinite;
}

.animate-receipt-line:nth-child(1) { animation-delay: 0s; }
.animate-receipt-line:nth-child(2) { animation-delay: 0.5s; }
.animate-receipt-line:nth-child(3) { animation-delay: 1s; }

@keyframes draw-line {
    0% { stroke-dashoffset: 10; opacity: 0.5; }
    20% { stroke-dashoffset: 0; opacity: 1; }
    80% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -10; opacity: 0.5; }
}

.animate-group-member {
    animation: member-pulse 3s ease-in-out infinite;
}

@keyframes member-pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-2px); }
    50% { opacity: 1; transform: translateX(0); }
}

.animate-heart-beat {
    transform-origin: center;
    animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* Responsive */
@media (min-width: 54em) {
    .hero {
        grid-template-columns: 1.2fr 1fr;
        margin-bottom: 130px;
    }

    .hero-visual {
        top: 110px;
        transform: translateX(110px);
    }

    .orb-container {
        width: 512px;
        height: 512px;
    }

    .orb-video {
        width: 512px;
        height: 512px;
    }

    .hero h1 { font-size: 4.5rem; }

    .hero-actions .btn-neo {
        width: auto;
    }

    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .feature-free .bento-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
/* Wizard Specifics */
.wizard-modal {
    max-width: 480px;
    padding: 40px;
    position: relative;
}

.wizard-form h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.wizard-step {
    display: none;
    animation: fadeInStep 0.4s ease forwards;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step input[type="text"],
.wizard-step input[type="email"] {
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #eee;
    font-size: 1.1rem;
    font-family: inherit;
    transition: 0.2s;
}

.wizard-step input:focus {
    border-color: var(--mangos);
    outline: none;
    background: #fff;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card span {
    display: block;
    padding: 16px;
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 16px;
    font-weight: 600;
    transition: 0.2s;
    text-align: center;
}

.option-card input:checked + span {
    background: #fff;
    border-color: var(--mangos);
    color: var(--mangos);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 16px;
}

.wizard-actions .btn-neo {
    flex: 1;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.3;
    transition: 0.2s;
}

.btn-close:hover { opacity: 1; }

.success-content {
    text-align: center;
}

.success-content h2 { margin-bottom: 8px; }
.success-content p { color: #666; margin-bottom: 32px; }

@media (min-width: 54em) {
    .options-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
