/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #020617;
    /* Deepest Navy/Black */
    --surface-color: #0f172a;
    /* Slate 900 */
    --primary-color: #3b82f6;
    /* Blue 500 */
    --primary-hover: #2563eb;
    /* Blue 600 */
    --accent-color: #6366f1;
    /* Indigo 500 */
    --secondary-accent: #f43f5e;
    /* Rose 500 (for "Morangofy" vibes if needed) */
    --text-primary: #f8fafc;
    /* Slate 50 */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --gradient-hero: linear-gradient(135deg, #09090b 0%, #0f172a 100%);
    --gradient-blue: linear-gradient(to right, #3b82f6, #6366f1);
    --gradient-pink: linear-gradient(to right, #ec4899, #f43f5e);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn {
    font-family: 'Outfit', sans-serif;
}

/* Background Grid Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background-image: linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 1.5rem 0 3rem 0;
        /* Less top space, normal bottom */
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-secondary);
}

/* Header Refined (Morangofy Style) */
header {
    position: fixed;
    top: 20px;
    /* Floating header look */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 50;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    nav {
        height: auto;
        padding: 0.75rem 1rem;
        flex-direction: row;
        /* Match logo and button on same row? No, better stack but cleaner */
        justify-content: space-between;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .nav-link {
        display: none;
        /* Hide login link on mobile to save space */
    }

    .nav-actions .btn-cta-pink {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-links {
        display: none !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* White Section Utility */
.section-white {
    background: linear-gradient(to bottom, var(--bg-color) 0%, #ffffff 15%, #ffffff 100%);
    color: #1e293b;
    padding-top: 8rem;
}

.section-white h2,
.section-white h3,
.section-white h4,
.section-white p {
    color: #1e293b;
}

.section-white .text-gradient {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-white .glass-card {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.section-white .btn-primary {
    background: #ec4899;
    /* Pink to match ref? Or keep blue. User said "igual". */
    box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.39);
}

.section-white .btn-primary:hover {
    background: #db2777;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.23);
}

/* Specific Morangofy Button Style */
/* Specific Morangofy Button Style & Bento Utils */
.btn-cta-pink {
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    border-radius: 999px;
    /* Pill shape */
    padding: 0.8rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cta-pink:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

/* Bento Grid System */
.bento-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bento-card-large {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@media (max-width: 992px) {
    .bento-card-large {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .bento-card-large img {
        margin-top: 2rem;
        max-width: 100%;
    }
}

.bento-grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .bento-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-card-small {
    background: transparent;
    /* Rely on bottom rule or glass override */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card-small:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 72, 153, 0.3);
}

.bento-icon {
    margin-bottom: 1.5rem;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .bento-card-large {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .bento-card-large .btn-cta-pink {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Refined (Duckfy Style) */
.hero {
    padding-top: 140px;
    padding-bottom: 0;
    position: relative;
    text-align: center;
    /* overflow: hidden; REMOVED to allow glow bleed */
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: white;
}

@media(min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem !important;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

@media (max-width: 767px) {
    .hero p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
}

/* Primary Top Glow (Behind text) */
.hero-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* Dashboard Container */
.dashboard-container {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* Give it space to float */
    padding: 2px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.1));
    border-radius: 24px;
    /* Fully rounded */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    overflow: hidden;
    /* Contain inner content */
}

@media (max-width: 767px) {
    .dashboard-container {
        margin-top: 1.5rem;
        transform: scale(1.1);
        width: 100%;
        margin-bottom: 3rem;
    }
}

.dashboard-inner {
    background: #020617;
    border-radius: 22px;
    /* Match outer radius */
    overflow: hidden;
    position: relative;
}

.dashboard-inner img {
    width: 100%;
    display: block;
    border-radius: 22px;
}

/* Bottom Glow (Under Dashboard - Horizon Effect) */
.hero-bottom-glow {
    position: absolute;
    bottom: -180px;
    /* Push it lower to bleed into next section */
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    /* Wider than screen to curve */
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.5) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    filter: blur(90px);
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}






@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Stats Strip - Ensure z-index allows glow behind or over */
.stats-container {
    position: relative;
    z-index: 20;
    /* Above glow */
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media(min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Features Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Features Grid - 3x2 Layout */
.features-grid-3x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .features-grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .features-grid-3x2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    /* Slightly brighter on hover */
    transform: translateY(-5px);
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.glass-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Members Area Section */
.split-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .split-section {
        flex-direction: row;
    }

    .split-section.reversed {
        flex-direction: row-reverse;
    }

    .split-section>* {
        flex: 1;
    }
}

@media (max-width: 991px) {
    .split-section {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }

    .split-section.reversed {
        flex-direction: column-reverse !important;
        gap: 0 !important;
        /* Zero gap between notification and text */
    }

    .notifications-column {
        min-height: 80px !important;
        /* Ultra compact */
        padding: 0 !important;
        margin-bottom: -0.5rem;
        /* Pull mobile text closer */
    }
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--primary-color);
}

/* Awards / Gamification */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.award-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.award-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-secondary);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    animation: slideUp 1s ease-out;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile App Badges */
.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .app-buttons {
        justify-content: center;
    }
}

.app-btn {
    background: #000;
    color: white;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.8rem;
}

.app-btn-text span {
    display: block;
    font-size: 0.6rem;
    color: #aaa;
}

.app-btn-text strong {
    font-size: 0.9rem;
}

/* Floating Animation for Wristbands */
@keyframes float-pulseira {

    0%,
    100% {
        transform: translateY(0) rotate(15deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.pulseira-float-right img {
    animation: float-pulseira 6s ease-in-out infinite;
}

@keyframes float-pulseira-left {

    0%,
    100% {
        transform: translateY(0) rotate(-15deg);
    }

    50% {
        transform: translateY(-15px) rotate(-10deg);
    }
}

.pulseira-float-left img {
    animation: float-pulseira-left 7s ease-in-out infinite;
}

/* Montage Responsive */
@media (max-width: 900px) {
    .awards-montage-row {
        flex-direction: column;
        align-items: center !important;
        gap: 2rem !important;
    }

    .award-montage-item {
        width: 100% !important;
        max-width: 280px;
    }

    .award-montage-item.center-card {
        transform: none !important;
        /* Remove lift on mobile */
        z-index: 10 !important;
    }

    .pulseira-float-left {
        left: -20px !important;
        bottom: 50% !important;
    }

    .pulseira-float-right {
        right: -20px !important;
        top: 0 !important;
    }

    .awards-timeline {
        display: none;
        /* Hide timeline on mobile as it breaks vertical flow */
    }
}

/* Global Glass Theme for Bento Cards */
.bento-card-large,
.bento-card-small {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.3) !important;
}

.bento-card-small:hover {
    background: rgba(13, 18, 30, 0.8) !important;
    border-color: rgba(236, 72, 153, 0.3) !important;
}

/* --- FINAL NOTIFICATIONS IMPLEMENTATION (SYNCED WITH LOGIN) --- */
@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(40px) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-40px) scale(0.9);
    }
}

.notifications-wrapper {
    position: relative;
    width: 288px;
    height: 180px;
    margin: 0 auto;
    perspective: 1000px;
}

@media (max-width: 480px) {
    .notifications-wrapper {
        width: 100%;
        max-width: 288px;
        height: 100px;
        transform: scale(0.8);
        margin: 0 auto !important;
    }
}

.notification-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* Crucial for centering when wrapper is wider */
    width: 288px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-left: 4px solid #5e59ec !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    opacity: 0;
    pointer-events: auto;
}

/* Redefine active-anim without keyframes here, just class trigger */
.notification-card.active-anim {
    animation: 4s ease-in-out forwards float-up !important;
}

/* Stacking Layers - Ensure they still have translateX(-50%) */
.notif-back {
    transform: translateX(-50%) translateY(-105px) scale(0.95) !important;
    opacity: 0.6 !important;
    z-index: 10 !important;
}

.notif-front {
    z-index: 20 !important;
}

.notification-avatar {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    flex-shrink: 0 !important;
}

.notification-avatar img {
    width: 2rem !important;
    /* w-8 */
    height: 2rem !important;
    /* h-8 */
    object-fit: contain !important;
}

.notification-details {
    flex: 1 !important;
    min-width: 0 !important;
}

.notification-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.notif-title {
    font-size: 0.75rem !important;
    /* text-xs */
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.notif-time {
    font-size: 10px !important;
    color: #64748b !important;
}

.notif-value {
    font-size: 0.875rem !important;
    /* text-sm */
    font-weight: 900 !important;
    color: #0f172a !important;
    margin-top: 0.125rem !important;
    margin-bottom: 0 !important;
}

.notif-user {
    font-size: 10px !important;
    color: #64748b !important;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}