﻿/* Tracking Page - Purple/Violet Theme (page-specific styles only) */

/* Theme Color Overrides Only */
:root {
    --primary-color: #8b5cf6;
    --secondary-color: #a78bfa;
    --dark-color: #7c3aed;
    --light-color: #c4b5fd;
    --accent-color: #6366f1;
}

/* Hero */
.hero {
    border-top: 3px solid #8b5cf6;
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(2, 6, 23, 0.98) 60%,
            rgba(99, 102, 241, 0.08) 100%),
        #020617;
    position: relative;
    overflow: hidden;
    padding: calc(125px + 2rem) 1rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.06'%3E%3Cpath d='M30 30l-10-10v20l10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: slideInFromTop 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: slideInFromTop 1s ease-out 0.5s both;
    color: #f59e0b;
    font-weight: 600;
}

.hero-date {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #cbd5e1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.7s both;
}

/* Article badge */
.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #a78bfa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.1s both;
}

/* Article meta */
.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.9s both;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(203, 213, 225, 0.7);
    font-size: 0.875rem;
}

.article-meta-item i {
    color: #8b5cf6;
    font-size: 0.8rem;
}

/* Reading progress bar color */
#reading-progress {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* Section header icon */
.section-header h2 i { color: #8b5cf6; }

/* TOC active color */
.toc-link:hover,
.toc-link.active { color: #8b5cf6; }
.toc-link:hover::before,
.toc-link.active::before { color: #8b5cf6; }

/* Callout */
.callout {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.06));
    border-left: 4px solid #8b5cf6;
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.callout p { margin: 0 !important; color: #e2e8f0 !important; font-size: 0.95rem; line-height: 1.7; }
.callout strong { color: #c4b5fd; }

/* Research box */
.research-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin: 1.25rem 0;
    position: relative;
}
.research-box::before {
    content: '\201C';
    position: absolute;
    top: -8px; left: 16px;
    font-size: 3.5rem;
    color: #8b5cf6;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}
.research-box p { margin: 0 !important; color: #94a3b8 !important; font-style: italic; font-size: 0.92rem; line-height: 1.7; }
.research-box strong { color: #a78bfa; font-style: normal; }

/* Method grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0;
}
.method-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.method-item:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-2px); }
.method-item i { color: #8b5cf6; font-size: 1rem; flex-shrink: 0; width: 18px; text-align: center; }
.method-item span { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; }

/* Tool card */
.tool-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.tool-card:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1); }
.tool-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: white;
}
.tool-body { flex: 1; }
.tool-name { font-weight: 700; font-size: 0.95rem; color: #e2e8f0; margin-bottom: 3px; }
.tool-label { font-size: 0.75rem; color: #8b5cf6; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.tool-desc { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* Readability improvements */
.tool-desc { color: #94a3b8; }
.section-content p { color: #cbd5e1; }

/* Professional Advice Section */
.advice-contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.75rem;
}

#coins-back .advice-contact-bar {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.07), rgba(251, 191, 36, 0.04));
    border-color: rgba(245, 158, 11, 0.35);
}

.advice-contact-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
    flex: 1;
}

#coins-back .advice-contact-text {
    color: #f59e0b;
}

.advice-contact-text i {
    color: #8b5cf6;
    font-size: 1.2rem;
    flex-shrink: 0;
}

#coins-back .advice-contact-text i {
    color: #f59e0b;
}

.advice-contact-text strong { color: #f1f5f9; }

#coins-back .advice-contact-text strong { color: #fbbf24; }

.advice-contact-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.advice-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.advice-contact-btn.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}
.advice-contact-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
    color: #4ade80;
    text-decoration: none;
}

.advice-contact-btn.telegram {
    background: rgba(41, 182, 246, 0.12);
    border-color: rgba(41, 182, 246, 0.3);
    color: #29b6f6;
}
.advice-contact-btn.telegram:hover {
    background: rgba(41, 182, 246, 0.22);
    color: #7dd3fc;
    text-decoration: none;
}

.advice-contact-btn.portal {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}
.advice-contact-btn.portal:hover {
    background: rgba(139, 92, 246, 0.22);
    color: #c4b5fd;
    text-decoration: none;
}

/* WhatsApp dropdown */
.wa-dropdown {
    position: relative;
    display: inline-flex;
}

.wa-caret {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.wa-dropdown.open .wa-caret {
    transform: rotate(180deg);
}

.wa-dropdown-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: #0f172a;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    min-width: 220px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.wa-dropdown.open .wa-dropdown-menu {
    display: block;
}

.wa-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #25d366;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.wa-dropdown-item:hover {
    background: rgba(37, 211, 102, 0.1);
    color: #4ade80;
    text-decoration: none;
}

.wa-dropdown-item + .wa-dropdown-item {
    border-top: 1px solid rgba(37, 211, 102, 0.15);
}

.wa-tag {
    margin-left: auto;
    font-size: 0.7rem;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 4px;
    padding: 1px 6px;
    color: #25d366;
}

/* Responsive */
@media (max-width: 768px) {
    .method-grid { grid-template-columns: 1fr 1fr; }
    .article-meta { gap: 1rem; }
}
@media (max-width: 600px) {
    .advice-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .method-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
}
