/* ===== Features Page Specific Styles ===== */

/* Features Hero */
.features-hero {
    padding: 140px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.features-hero h1 {
    margin-bottom: 16px;
}

.features-hero p {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Navigation */
.features-nav-section {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0;
}

.features-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.feature-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-600);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.feature-nav-item:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

.feature-nav-item.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-img-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Feature Detail Sections */
.feature-detail {
    padding: 100px 0;
}

.feature-detail.alt {
    background: var(--color-gray-50);
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-detail-grid.reverse {
    direction: rtl;
}

.feature-detail-grid.reverse>* {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    padding: 8px 16px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

/* Gradientes coherentes con la paleta de la app */
.feature-badge.gradient-1 {
    background: linear-gradient(135deg, #3AAFA9 0%, #5DC0BB 100%);
}

/* Teal principal */
.feature-badge.gradient-2 {
    background: linear-gradient(135deg, #5DC0BB 0%, #7DD1CC 100%);
}

/* Teal claro */
.feature-badge.gradient-3 {
    background: linear-gradient(135deg, #F4A261 0%, #F6B67A 100%);
}

/* Naranja cálido */
.feature-badge.gradient-4 {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

/* Verde */
.feature-badge.gradient-5 {
    background: linear-gradient(135deg, #E85A5A 0%, #F07070 100%);
}

/* Coral */
.feature-badge.gradient-6 {
    background: linear-gradient(135deg, #FFB347 0%, #FFC875 100%);
}

/* Amarillo cálido */
.feature-badge.gradient-7 {
    background: linear-gradient(135deg, #E85A5A 0%, #F07070 100%);
}

/* Coral (mensajes amor) */
.feature-badge.gradient-8 {
    background: linear-gradient(135deg, #2B7A78 0%, #3AAFA9 100%);
}

/* Teal oscuro (mediadores) */

.feature-detail-content h2 {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.feature-intro {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.feature-highlights {
    display: grid;
    gap: 24px;
}

.highlight {
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-detail.alt .highlight {
    background: white;
}

.highlight h4 {
    margin-bottom: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight h4 img.icon-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.highlight p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Feature Mockups */
.feature-mockup {
    background: var(--color-gray-900);
    border-radius: 32px;
    padding: 16px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.feature-mockup.kids {
    background: linear-gradient(135deg, #F4A261 0%, #E08C4A 100%);
}

.mockup-content {
    background: white;
    border-radius: 24px;
    padding: 24px;
    min-height: 400px;
}

/* Calendar Mockup */
.calendar-mockup .calendar-header {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 20px;
    text-align: center;
}

.calendar-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.stat-mini {
    text-align: center;
}

.stat-mini .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-mini .stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* Chat Mockup */
.chat-mockup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 85%;
}

.chat-message.received {
    background: var(--color-gray-100);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.sent {
    background: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message p {
    margin: 0;
    font-size: 0.9375rem;
}

.ai-suggestion {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(58, 175, 169, 0.1) 0%, rgba(93, 192, 187, 0.1) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(58, 175, 169, 0.2);
}

.ai-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ai-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-content p {
    font-size: 0.875rem;
    color: var(--color-gray-700);
    margin: 0 0 12px 0;
}

.ai-actions {
    display: flex;
    gap: 8px;
}

.ai-btn {
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--color-gray-100);
    color: var(--color-gray-600);
}

.ai-btn.primary {
    background: var(--color-primary);
    color: white;
}

/* Ephemeral Mockup */
.ephemeral-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ephemeral-message {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.1) 0%, rgba(246, 182, 122, 0.1) 100%);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(244, 162, 97, 0.3);
}

.ephemeral-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.lock-icon {
    font-size: 1.25rem;
}

.ephemeral-message>p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.ephemeral-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* Gastos Mockup */
.agreement-preview {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.agreement-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
    font-weight: 600;
}

.doc-icon {
    font-size: 1.25rem;
}

.agreement-body {
    padding: 20px 16px;
}

.agreement-body p {
    margin: 0 0 8px 0;
    font-size: 0.9375rem;
}

.signatures {
    padding: 16px;
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
}

.signature {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.signature:last-child {
    margin-bottom: 0;
}

.signature.signed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.signature.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

/* Menu Mockup */
.menu-import {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.menu-import input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

.menu-import button {
    padding: 10px 16px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
}

.menu-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-day {
    padding: 12px;
    background: var(--color-gray-50);
    border-radius: var(--radius-sm);
}

.menu-day .day {
    display: block;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.menu-day .meal {
    font-size: 0.9375rem;
    color: var(--color-gray-700);
}

/* Health Mockup */
.health-card {
    padding: 20px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.health-card h4 {
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

.health-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.health-item:last-child {
    margin-bottom: 0;
}

.health-icon {
    font-size: 1.25rem;
}

/* Kids Mockup */
.kids-mockup {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 100%);
    text-align: center;
}

.kids-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.kids-today {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.today-icon {
    font-size: 3rem;
}

.today-text {
    font-size: 1rem;
    color: var(--color-gray-600);
}

.today-parent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.kids-week {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.week-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.week-day.mama {
    background: var(--color-primary);
    color: white;
}

.week-day.papa {
    background: var(--color-secondary);
    color: white;
}

/* Network Mockup */
.connection-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.connection-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
}

.connection-info {
    flex: 1;
}

.connection-info strong {
    display: block;
    font-size: 0.9375rem;
}

.connection-info span {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.match-badge {
    padding: 4px 12px;
    background: var(--color-success);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.match-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.match-suggestion button {
    padding: 8px 16px;
    background: var(--color-success);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* More Features Section */
.more-features {
    padding: 100px 0;
    background: white;
}

.more-features .section-title {
    margin-bottom: 60px;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.more-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.more-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.more-icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 16px auto;
    object-fit: contain;
}

.more-item h4 {
    margin-bottom: 8px;
}

.more-item p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-detail-grid.reverse {
        direction: ltr;
    }

    .feature-detail-visual {
        order: -1;
    }

    .more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-nav {
        justify-content: flex-start;
        padding: 12px 0;
    }

    .feature-nav-item {
        padding: 10px 16px;
    }

    .feature-detail {
        padding: 60px 0;
    }

    .more-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== NEW FEATURES MOCKUPS ===== */

/* Emotions Mockup */
.emotions-mockup {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 100%);
    text-align: center;
}

.emotions-header {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-gray-800);
}

.emotions-picker {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.emotions-picker .emotion {
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.emotions-picker .emotion img {
    width: 100%;
    height: 100%;
}

.emotions-picker .emotion:hover {
    transform: scale(1.1);
    opacity: 1;
}

.emotions-picker .emotion.selected {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.2);
    opacity: 1;
}

.emotions-streak {
    padding: 12px 20px;
    background: white;
    border-radius: var(--radius-full);
    display: inline-block;
    font-weight: 600;
    color: #E08C4A;
}

/* Love Messages Mockup */
.love-mockup {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

.love-header {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-gray-800);
}

.love-message {
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.love-sender {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #E85A5A;
    margin-bottom: 8px;
}

.love-message p {
    font-size: 1rem;
    color: var(--color-gray-800);
    margin: 0 0 8px 0;
}

.love-time {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.love-actions {
    text-align: center;
}

.love-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #E85A5A 0%, #F07070 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.love-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(232, 90, 90, 0.4);
}

/* Mediator Mockup */
.mediator-mockup {
    background: linear-gradient(135deg, #E8F6F5 0%, #D1EDEB 100%);
}

.mediator-card-preview {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.mediator-avatar {
    margin: 0 auto 16px auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f3f4f6;
    overflow: hidden;
}

.mediator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}