/* ========================================
   KUENTAS - CENTRO DE AYUDA
   Estilos específicos para la sección de ayuda
======================================== */

/* ===== VARIABLES ===== */
:root {
    --help-primary: #7C3AED;
    --help-secondary: #FB923C;
    --help-accent: #EC4899;
    --help-success: #10B981;
    --help-warning: #F59E0B;
    --help-info: #06B6D4;
    --help-bg: #F8F9FC;
    --help-card: #FFFFFF;
    --help-text: #1F2937;
    --help-text-muted: #6B7280;
    --help-border: #E5E7EB;
}

/* ===== HERO SECTION ===== */
.help-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.help-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.help-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        #F8F9FC 0%,
        #EDE9FE 30%,
        #FEF3E2 60%,
        #FCE7F3 100%
    );
}

.help-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
}

.help-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.help-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--help-primary);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.help-hero-badge svg {
    width: 18px;
    height: 18px;
}

.help-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--help-text);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.help-hero h1 span {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-hero p {
    font-size: 1.25rem;
    color: var(--help-text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Search Box */
.help-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 24px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.help-search-box input {
    width: 100%;
    padding: 20px 60px 20px 56px;
    font-size: 1.1rem;
    border: 2px solid var(--help-border);
    border-radius: 16px;
    background: var(--help-card);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    font-family: inherit;
}

.help-search-box input:focus {
    outline: none;
    border-color: var(--help-primary);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.2), 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.help-search-box input::placeholder {
    color: #9CA3AF;
}

.help-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--help-text-muted);
    pointer-events: none;
}

.help-search-box .search-shortcut {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    background: #F3F4F6;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--help-text-muted);
    font-family: inherit;
    border: 1px solid var(--help-border);
}

/* Quick Links */
.help-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.quick-links-label {
    font-size: 0.9rem;
    color: var(--help-text-muted);
}

.quick-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--help-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--help-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--help-card);
    border-color: var(--help-primary);
    color: var(--help-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--help-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-icon svg {
    width: 24px;
    height: 24px;
}

.floating-icon.fi-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
}
.floating-icon.fi-1 svg { color: var(--help-primary); }

.floating-icon.fi-2 {
    top: 35%;
    right: 10%;
    animation-delay: 1s;
}
.floating-icon.fi-2 svg { color: var(--help-secondary); }

.floating-icon.fi-3 {
    bottom: 30%;
    left: 12%;
    animation-delay: 2s;
}
.floating-icon.fi-3 svg { color: var(--help-accent); }

.floating-icon.fi-4 {
    top: 60%;
    right: 8%;
    animation-delay: 3s;
}
.floating-icon.fi-4 svg { color: var(--help-success); }

.floating-icon.fi-5 {
    bottom: 20%;
    right: 15%;
    animation-delay: 4s;
}
.floating-icon.fi-5 svg { color: var(--help-info); }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CATEGORIES SECTION ===== */
.help-categories {
    padding: 80px 0;
    background: var(--help-card);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--help-text-muted);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 2px solid var(--help-border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color, var(--help-primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    border-color: var(--card-color, var(--help-primary));
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-color, var(--help-primary)), color-mix(in srgb, var(--card-color, var(--help-primary)) 80%, black));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.category-content {
    flex: 1;
    min-width: 0;
}

.category-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 4px;
}

.category-content p {
    font-size: 0.85rem;
    color: var(--help-text-muted);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count {
    font-size: 0.75rem;
    color: var(--card-color, var(--help-primary));
    font-weight: 600;
}

.category-arrow {
    width: 20px;
    height: 20px;
    color: var(--help-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card:hover .category-arrow {
    color: var(--card-color, var(--help-primary));
    transform: translateX(4px);
}

/* Premium Card */
.category-card.premium-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: rgba(124, 58, 237, 0.2);
}

.premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.premium-badge svg {
    width: 12px;
    height: 12px;
}

/* ===== POPULAR ARTICLES ===== */
.help-popular {
    padding: 80px 0;
    background: var(--help-bg);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.popular-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--help-card);
    border: 1px solid var(--help-border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-card:hover {
    border-color: var(--help-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.1);
}

.popular-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.popular-content p {
    font-size: 0.8rem;
    color: var(--help-text-muted);
    line-height: 1.4;
}

.popular-arrow {
    width: 18px;
    height: 18px;
    color: var(--help-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.popular-card:hover .popular-arrow {
    color: var(--help-primary);
    transform: translateX(4px);
}

.pro-tag {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    margin-top: 6px;
}

/* ===== TIPS SECTION ===== */
.help-tips {
    padding: 60px 0;
    background: var(--help-bg);
}

.tips-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 20px;
}

.tips-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tips-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--help-warning), #D97706);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tips-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.tips-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 4px;
}

.tips-text p {
    font-size: 0.95rem;
    color: var(--help-text-muted);
    max-width: 500px;
}

.tips-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--help-card);
    border: 2px solid var(--help-primary);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--help-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tips-link:hover {
    background: var(--help-primary);
    color: white;
}

.tips-link svg {
    width: 16px;
    height: 16px;
}

/* ===== CONTACT SECTION ===== */
.help-contact {
    padding: 80px 0 100px;
    background: var(--help-card);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(135deg, #F8F9FC 0%, #EDE9FE 100%);
    border-radius: 28px;
    overflow: hidden;
}

.contact-illustration {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.contact-icon-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

.contact-icon-main svg {
    width: 44px;
    height: 44px;
    color: white;
}

.contact-icon-float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--help-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: float 4s ease-in-out infinite;
}

.contact-icon-float svg {
    width: 20px;
    height: 20px;
}

.contact-icon-float.cf-1 {
    top: 10px;
    right: 20px;
    animation-delay: 0s;
}
.contact-icon-float.cf-1 svg { color: var(--help-accent); }

.contact-icon-float.cf-2 {
    bottom: 20px;
    left: 10px;
    animation-delay: 1s;
}
.contact-icon-float.cf-2 svg { color: var(--help-success); }

.contact-content {
    flex: 1;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 12px;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--help-text-muted);
    margin-bottom: 28px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
}

.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-buttons .btn svg {
    width: 20px;
    height: 20px;
}

.contact-buttons .btn-primary {
    background: linear-gradient(135deg, var(--help-primary), #6D28D9);
    color: white;
    border: none;
}

.contact-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
}

.contact-buttons .btn-outline {
    background: var(--help-card);
    color: var(--help-text);
    border: 2px solid var(--help-border);
}

.contact-buttons .btn-outline:hover {
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-3px);
}

/* ===== SEARCH MODAL ===== */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    width: 100%;
    max-width: 640px;
    background: var(--help-card);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
}

.search-modal-overlay.active .search-modal {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--help-border);
}

.search-modal-header svg {
    width: 22px;
    height: 22px;
    color: var(--help-text-muted);
    flex-shrink: 0;
}

.search-modal-header input {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    color: var(--help-text);
    background: transparent;
    outline: none;
    font-family: inherit;
}

.search-modal-header input::placeholder {
    color: #9CA3AF;
}

.search-modal-close {
    background: none;
    border: none;
    cursor: pointer;
}

.search-modal-close kbd {
    padding: 6px 10px;
    background: #F3F4F6;
    border: 1px solid var(--help-border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--help-text-muted);
    font-family: inherit;
}

.search-modal-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
}

.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--help-text-muted);
}

.search-empty svg {
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-result-item:hover,
.search-result-item.active {
    background: #F3F4F6;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.search-result-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 2px;
}

.search-result-content p {
    font-size: 0.8rem;
    color: var(--help-text-muted);
}

.search-modal-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 14px 24px;
    border-top: 1px solid var(--help-border);
    background: #FAFAFA;
}

.search-modal-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--help-text-muted);
}

.search-modal-footer kbd {
    padding: 3px 6px;
    background: var(--help-card);
    border: 1px solid var(--help-border);
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: inherit;
}

/* ===== ARTICLE PAGE STYLES ===== */
.article-page {
    padding: 140px 0 80px;
    background: var(--help-bg);
    min-height: 100vh;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumbs */
.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.article-breadcrumbs a {
    color: var(--help-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
    color: var(--help-primary);
}

.article-breadcrumbs svg {
    width: 14px;
    height: 14px;
    color: var(--help-text-muted);
}

.article-breadcrumbs span {
    color: var(--help-text);
    font-weight: 500;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-category,
.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.article-category svg,
.article-category-badge svg {
    width: 16px;
    height: 16px;
}

.article-description {
    font-size: 1.15rem;
    color: var(--help-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--help-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--help-text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    width: 16px;
    height: 16px;
}

/* Article Content */
.article-content {
    background: var(--help-card);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--help-text);
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--help-border);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--help-text);
    margin: 28px 0 14px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
}

/* Step by Step */
.step-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    counter-reset: step-counter;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: #FAFAFA;
    border-radius: 16px;
    border-left: 4px solid var(--help-primary);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 8px;
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Info Boxes */
.info-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    margin: 24px 0;
}

.info-box > svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box > div > strong:first-child {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 4px;
}

.info-box > div p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.info-box.tip,
.info-box-tip {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-box.tip > svg,
.info-box-tip > svg {
    color: var(--help-success);
}

.info-box.warning,
.info-box-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-box.warning > svg,
.info-box-warning > svg {
    color: var(--help-warning);
}

.info-box.info,
.info-box-info {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.info-box.info > svg,
.info-box-info > svg {
    color: var(--help-primary);
}

.info-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box.tip .info-box-icon {
    background: var(--help-success);
}

.info-box.warning .info-box-icon {
    background: var(--help-warning);
}

.info-box.info .info-box-icon {
    background: var(--help-primary);
}

.info-box-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.info-box-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 4px;
}

.info-box-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.info-box ul,
.info-box ol {
    margin: 8px 0 0;
    padding-left: 20px;
}

.info-box li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

/* Feature Box with Icon */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 14px;
    margin: 20px 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-grid .feature-box {
    margin: 0;
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
}

.feature-grid .feature-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 8px;
}

.feature-grid .feature-box p {
    font-size: 0.85rem;
    color: var(--help-text-muted);
    line-height: 1.5;
}

/* Steps List (alternate style) */
.steps-list {
    margin: 24px 0;
}

.steps-list .step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 16px;
    border-left: 4px solid var(--help-primary);
    transition: all 0.3s ease;
}

.steps-list .step-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.steps-list .step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.steps-list .step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 6px;
}

.steps-list .step-content p {
    font-size: 0.9rem;
    color: var(--help-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Related Articles Section */
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--help-border);
}

.related-articles h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #FAFAFA;
    border: 1px solid var(--help-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    background: #F3F4F6;
    border-color: var(--help-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.related-card svg {
    width: 20px;
    height: 20px;
    color: var(--help-primary);
    flex-shrink: 0;
}

.related-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--help-text);
}

/* Article Intro Paragraph */
.article-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--help-border);
}

/* H2 with icon */
.article-content h2 svg {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    vertical-align: -4px;
    color: var(--help-primary);
}

/* Article Footer */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--help-border);
}

.article-feedback {
    text-align: center;
    margin-bottom: 32px;
}

.article-feedback h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 16px;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--help-border);
    border-radius: 12px;
    background: var(--help-card);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--help-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    border-color: var(--help-primary);
    color: var(--help-primary);
}

.feedback-btn.positive:hover {
    border-color: var(--help-success);
    color: var(--help-success);
    background: rgba(16, 185, 129, 0.05);
}

.feedback-btn.negative:hover {
    border-color: #EF4444;
    color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}

.feedback-btn svg {
    width: 18px;
    height: 18px;
}

/* Related Articles */
.related-articles h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 16px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: #F3F4F6;
    transform: translateX(4px);
}

.related-item svg {
    width: 18px;
    height: 18px;
    color: var(--help-primary);
    flex-shrink: 0;
}

.related-item span {
    font-size: 0.95rem;
    color: var(--help-text);
}

/* ===== CATEGORY INDEX PAGE ===== */
.category-page {
    padding: 140px 0 80px;
    background: var(--help-bg);
    min-height: 100vh;
}

.category-header {
    text-align: center;
    margin-bottom: 48px;
}

.category-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-header-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.category-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--help-text);
    margin-bottom: 12px;
}

.category-header p {
    font-size: 1.1rem;
    color: var(--help-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.articles-list {
    max-width: 700px;
    margin: 0 auto;
}

.article-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--help-card);
    border: 1px solid var(--help-border);
    border-radius: 16px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-list-item:hover {
    border-color: var(--help-primary);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.article-list-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-list-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.article-list-content {
    flex: 1;
}

.article-list-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 4px;
}

.article-list-content p {
    font-size: 0.9rem;
    color: var(--help-text-muted);
}

.article-list-arrow {
    width: 20px;
    height: 20px;
    color: var(--help-text-muted);
    transition: all 0.3s ease;
}

.article-list-item:hover .article-list-arrow {
    color: var(--help-primary);
    transform: translateX(4px);
}

/* ===== PRICING PLANS (que-es-premium) ===== */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.plan-card {
    position: relative;
    background: #FFFFFF;
    border: 2px solid var(--help-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.plan-card.plan-featured {
    border-color: var(--help-primary);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.plan-card.plan-featured:hover {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.18);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: linear-gradient(135deg, var(--help-primary), var(--help-accent));
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.plan-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--help-text);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-card.plan-featured .plan-price {
    color: var(--help-primary);
}

.plan-billing {
    font-size: 0.85rem;
    color: var(--help-text-muted);
    margin-bottom: 16px;
}

.plan-monthly {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #F3F4F6;
    color: var(--help-text-muted);
}

.plan-card.plan-featured .plan-monthly {
    background: rgba(124, 58, 237, 0.1);
    color: var(--help-primary);
}

.plan-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-savings {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

@media (max-width: 768px) {
    .pricing-plans {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-price {
        font-size: 1.8rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .help-hero {
        padding: 130px 0 70px;
        min-height: auto;
    }

    .help-hero h1 {
        font-size: 2.25rem;
    }

    .help-hero p {
        font-size: 1.05rem;
    }

    .help-search-box .search-shortcut {
        display: none;
    }

    .floating-icons {
        display: none;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .tips-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .tips-content {
        flex-direction: column;
    }

    .tips-text p {
        max-width: none;
    }

    .contact-card {
        flex-direction: column;
        padding: 40px 28px;
        text-align: center;
    }

    .contact-illustration {
        width: 140px;
        height: 140px;
    }

    .contact-icon-main {
        width: 80px;
        height: 80px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .article-content {
        padding: 28px;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .step-item {
        flex-direction: column;
        gap: 12px;
    }

    .search-modal-footer {
        display: none;
    }
}

@media (max-width: 480px) {
    .help-quick-links {
        flex-direction: column;
    }

    .quick-links-label {
        margin-bottom: 8px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .steps-list .step-item {
        flex-direction: column;
        gap: 12px;
    }
}
