/* ============================================================
   SECTION SAAS FEATURES - Estilo Apple
   ============================================================ */

.section-saas-features {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fafafa 0%, #fafafa 100%);
    overflow: hidden;
}

/* ===== CABECERA DE SECCIÓN ===== */
.section-header {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #441516;
    background: rgba(68, 21, 22, 0.08);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.section-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text-primary {
    background: linear-gradient(135deg, #441516 0%, #632c2d  100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 20px;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== GRID DE FEATURES ===== */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse .feature-content {
    direction: ltr;
}

.feature-item.reverse .feature-visual {
    direction: ltr;
}

/* ===== CONTENIDO DE FEATURE ===== */
.feature-content {
    padding: 20px 0;
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(68, 21, 22, 0.08), rgba(11, 163, 173, 0.08));
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 32px;
    color: #441516;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #374151;
}

.highlight-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #441516, #632c2d );
    flex-shrink: 0;
}

/* ===== VISUAL DE FEATURE (DEMOS) ===== */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-screenshot {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover .feature-screenshot {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* ===== DEMO CALENDARIO ===== */
.demo-calendar {
    font-family: 'Montserrat', sans-serif;
}

.demo-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 16px 0;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.demo-nav {
    display: flex;
    gap: 8px;
}

.demo-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    transition: background 0.2s;
}

.demo-nav-btn:hover {
    background: #e5e7eb;
}

.demo-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.demo-weekday {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    padding: 6px 0;
    text-transform: uppercase;
}

.demo-day {
    font-size: 14px;
    padding: 8px 0;
    border-radius: 8px;
    color: #374151;
    transition: background 0.2s;
}

.demo-day:hover {
    background: #f3f4f6;
}

.demo-day.demo-booked {
    background: rgba(68, 21, 22, 0.08);
    color: #441516;
    font-weight: 600;
    position: relative;
}

.demo-day.demo-booked::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #441516;
}

.demo-day.demo-today {
    background: #441516;
    color: white;
    font-weight: 600;
}

/* ===== DEMO TARJETA FIDELIDAD ===== */
.demo-loyalty-card {
    background: linear-gradient(135deg, #441516, #6b2124);
    border-radius: 16px;
    padding: 24px;
    color: white;
}

.demo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.demo-card-brand {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.demo-card-type {
    font-size: 12px;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

.demo-card-stamps {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}

.demo-stamp {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.demo-stamp.filled {
    transform: scale(1);
}

.demo-stamp.empty {
    opacity: 0.3;
}

.demo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.demo-card-progress {
    opacity: 0.9;
}

.demo-card-reward {
    background: rgba(255, 215, 0, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== DEMO EQUIPO ===== */
.demo-team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-team-member {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 12px;
    transition: background 0.2s;
}

.demo-team-member:hover {
    background: #f3f4f6;
}

.demo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.demo-member-info {
    flex: 1;
}

.demo-member-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    display: block;
}

.demo-member-role {
    font-size: 13px;
    color: #6b7280;
}

.demo-member-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

.demo-member-status.active {
    background: #d1fae5;
    color: #065f46;
}

.demo-member-status.busy {
    background: #fee2e2;
    color: #991b1b;
}

.demo-member-status.away {
    background: #fef3c7;
    color: #92400e;
}

/* ===== DEMO GIFT CARD ===== */
.demo-giftcard {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 0;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.demo-giftcard-body {
    padding: 28px 24px;
    background: linear-gradient(135deg, #441516, #632c2d );
    color: white;
}

.demo-giftcard-brand {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.8;
    text-transform: uppercase;
}

.demo-giftcard-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0 16px 0;
}

.demo-giftcard-amount {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.demo-giftcard-code {
    font-family: monospace;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 12px;
    letter-spacing: 2px;
}

.demo-giftcard-footer {
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    background: #f9fafb;
    font-size: 13px;
    color: #6b7280;
}

/* ===== DEMO WHATSAPP ===== */
.demo-whatsapp {
    background: #e8edf0;
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.demo-wp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #075e54;
    color: white;
}

.demo-wp-avatar {
    font-size: 20px;
}

.demo-wp-name {
    font-weight: 600;
    font-size: 16px;
}

.demo-wp-messages {
    padding: 16px 20px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-wp-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.demo-wp-msg small {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    text-align: right;
}

.demo-wp-msg.received {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.demo-wp-msg.sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.demo-wp-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.demo-wp-placeholder {
    flex: 1;
    color: #9ca3af;
    font-size: 14px;
}

.demo-wp-send {
    font-size: 20px;
    cursor: pointer;
}

/* ===== DEMO ANALYTICS ===== */
.demo-chart {
    padding: 12px;
}

.demo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 16px 4px;
    font-weight: 600;
    color: #1a1a1a;
}

.demo-chart-value {
    color: #632c2d ;
    font-size: 14px;
}

.demo-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    height: 140px;
    padding-top: 8px;
}

.demo-bar {
    flex: 1;
    background: linear-gradient(to top, #441516, #632c2d );
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    transition: height 0.6s ease;
    text-align: center;
    position: relative;
    min-width: 30px;
}

.demo-chart-bars:hover .demo-bar {
    opacity: 0.8;
}

/* ===== FOOTER CTA ===== */
.section-footer {
    max-width: 1200px;
    margin: 80px auto 0;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f4f0 0%, #f0f2f5 100%);
    border-radius: 30px;
}

.footer-headline {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.footer-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, #441516, #632c2d );
    color: white;
    box-shadow: 0 4px 20px rgba(68, 21, 22, 0.3);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(68, 21, 22, 0.4);
}

.button-elevated {
    box-shadow: 0 8px 30px rgba(68, 21, 22, 0.25);
}

.button-elevated:hover {
    box-shadow: 0 12px 40px rgba(68, 21, 22, 0.35);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.button-primary:hover .button-arrow {
    transform: translateX(4px);
}

.button-secondary {
    background: transparent;
    color: #441516;
    border: 2px solid #441516;
}

.button-secondary:hover {
    background: #441516;
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .feature-item {
        gap: 40px;
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .section-saas-features {
        padding: 60px 16px;
    }

    .section-headline {
        font-size: 32px;
    }

    .section-intro {
        font-size: 17px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 0;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-screenshot {
        padding: 16px;
        max-width: 100%;
    }

    .demo-calendar-grid {
        gap: 2px;
    }

    .demo-day {
        font-size: 12px;
        padding: 6px 0;
    }

    .demo-chart-bars {
        height: 100px;
    }

    .demo-bar {
        min-width: 20px;
        font-size: 9px;
    }

    .section-footer {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .footer-headline {
        font-size: 24px;
    }

    .footer-actions {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-headline {
        font-size: 26px;
    }

    .demo-giftcard-amount {
        font-size: 32px;
    }

    .demo-card-stamps {
        gap: 8px;
    }

    .demo-stamp {
        font-size: 22px;
    }

    .demo-wp-messages {
        min-height: 120px;
        padding: 12px 14px;
    }
}

/* ============================================================
   FEATURE KLARNA - Estilos específicos
   ============================================================ */

/* ===== BADGE KLARNA ===== */
.feature-badge {
    margin-top: 16px;
}

.badge-klarna {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f5f0ff, #fff5f7);
    padding: 8px 18px 8px 14px;
    border-radius: 40px;
    border: 1px solid rgba(255, 179, 199, 0.3);
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

.badge-klarna img {
    height: 24px;
    width: auto;
}

.badge-klarna span {
    color: #4b5563;
}

/* ===== DEMO KLARNA ===== */
.demo-klarna {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.demo-klarna-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
}

.demo-klarna-logo svg {
    height: 28px;
    width: auto;
}

.demo-klarna-tag {
    font-size: 11px;
    font-weight: 600;
    color: #441516;
    background: rgba(68, 21, 22, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.demo-klarna-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-klarna-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.demo-klarna-option:hover {
    background: #f5f5f5;
    border-color: #e5e7eb;
}

.demo-klarna-option.active {
    background: linear-gradient(135deg, #f8f4f0, #f0f7f8);
    border-color: #441516;
    box-shadow: 0 2px 12px rgba(68, 21, 22, 0.06);
}

.demo-option-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.demo-option-content {
    flex: 1;
}

.demo-option-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.demo-option-desc {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.demo-option-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #441516;
    background: rgba(68, 21, 22, 0.1);
    padding: 2px 12px;
    border-radius: 20px;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.demo-option-example {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #441516;
    margin-top: 4px;
}

.demo-klarna-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
    color: #6b7280;
}

.demo-klarna-security,
.demo-klarna-trust {
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-klarna-security span:first-child,
.demo-klarna-trust span:first-child {
    font-size: 14px;
}

/* ===== RESPONSIVE KLARNA ===== */
@media (max-width: 768px) {
    .demo-klarna {
        padding: 16px;
    }

    .demo-klarna-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .demo-klarna-option {
        padding: 12px 14px;
    }

    .demo-option-title {
        font-size: 14px;
    }

    .demo-option-desc {
        font-size: 12px;
    }

    .demo-klarna-footer {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .badge-klarna {
        font-size: 12px;
        padding: 6px 14px 6px 10px;
    }

    .badge-klarna img {
        height: 20px;
    }
}

@media (max-width: 480px) {
    .demo-klarna-option {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .demo-option-icon {
        font-size: 20px;
    }
}