/* ==========================================================================
   NICECC (nicecc.cfd) - EXTENDED STYLES
   Preserves original palette, typography, glassmorphism and adds:
   - Header navigation links & CTA
   - Hero buttons
   - Telemetry E-E-A-T strip
   - Pricing section & cards
   - Guides section & cards
   - FAQ accordion
   - Download Modal (Android & iOS Only)
   - Breadcrumb & Download Center styling
   ========================================================================== */

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* Hero Action Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-glow);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.55);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    padding: 14px 26px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--text-main);
}

/* E-E-A-T Telemetry Badge Strip */
.eeat-strip {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.5rem auto 3rem auto;
    max-width: 900px;
}

.eeat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: var(--text-sub);
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Section Common Styling */
.section-block {
    margin: 5rem auto;
    text-align: center;
    max-width: 1100px;
    padding: 0 1.5rem;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-sub);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Pricing Grid & Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.2rem 2rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15);
}

.pricing-card.featured {
    border-color: rgba(168, 85, 247, 0.6);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent-glow);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.plan-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 1.8rem;
}

.plan-currency {
    font-size: 1.3rem;
    color: #c7d2fe;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
}

.plan-cycle {
    color: var(--text-sub);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.plan-features li svg {
    color: #a855f7;
    flex-shrink: 0;
}

/* Guides / Short Article Cards */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    text-align: left;
}

.guide-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.45);
}

.guide-category {
    font-size: 0.78rem;
    color: #a855f7;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #f8fafc;
}

.guide-card p {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.guide-card a.context-link {
    color: #c084fc;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.guide-card a.context-link:hover {
    color: #f472b6;
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-tag {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-sub);
    padding: 2px 8px;
    border-radius: 4px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    color: #a855f7;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.2rem 1.5rem;
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer Friendly Links (Dofollow SEO Pipe) */
.footer-friendly-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-sub);
}

.footer-friendly-links a {
    color: #c7d2fe;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-friendly-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Universal Download Modal */
.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.download-modal-dialog {
    background: #18192e;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.25);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    padding: 2.2rem 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    text-align: center;
}

.download-modal-overlay.active .download-modal-dialog {
    transform: translateY(0);
}

.download-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--card-border);
    color: var(--text-sub);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.download-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.download-modal-header {
    margin-bottom: 1.4rem;
}

.download-modal-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    margin-bottom: 10px;
}

.download-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.download-modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.modal-plan-intent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px dashed rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    padding: 8px 14px;
    margin-bottom: 1.4rem;
    font-size: 0.85rem;
    color: #f8fafc;
}

.modal-plan-name {
    color: #c084fc;
    font-weight: 700;
}

.download-platform-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 14px 18px;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-align: left;
}

.platform-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.2);
}

.platform-btn-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.platform-btn-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c084fc;
    flex-shrink: 0;
}

.platform-btn-icon svg {
    width: 22px;
    height: 22px;
}

.platform-btn-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-radius: 4px;
}

.platform-tag.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.platform-btn-text p {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.platform-btn-arrow {
    color: #c084fc;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.platform-btn:hover .platform-btn-arrow {
    transform: translateX(4px);
}

.download-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.modal-footer-tips {
    font-size: 0.82rem;
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.modal-footer-link {
    font-size: 0.85rem;
    color: #c084fc;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.modal-footer-link:hover {
    color: #fff;
}

/* Download Page Specifics */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 2rem;
    text-align: left;
}

.breadcrumb a {
    color: #c7d2fe;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.dl-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
    text-align: left;
}

.dl-platform-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dl-platform-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.5);
}

.dl-specs-list {
    list-style: none;
    margin: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-sub);
}

.dl-specs-list li strong {
    color: var(--text-main);
}

.dl-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.dl-step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
}

.dl-step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
