/* ===== BASE ===== */
:root {
    --accent: #229CCE;
    --accent-hero: #4B9AB2;
    --accent-light: #4db8e8;
    --dark: #111827;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    text-decoration: none;
}

/* ===== SHARED ELEMENTS ===== */
.tc-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tc-accent {
    color: var(--accent-hero);
}

.tc-body-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.tc-subheading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tc-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg);
    border-left: 3px solid var(--accent);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
}

/* ===== BUTTONS ===== */
.tc-btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.tc-btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

.tc-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
}

.tc-btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: translateY(-1px);
}

.tc-btn-ms {
    display: inline-block;
    transition: opacity 0.2s, transform 0.15s;
}

.tc-btn-ms:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.tc-section {
    padding: 80px 0;
    background: var(--white);
}

.tc-section-alt {
    background: var(--bg);
}

/* ===== HERO ===== */
.tc-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f0f7fc 0%, #e8f4fb 40%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.tc-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,156,206,0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.tc-hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.tc-hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Hero App Mockup */
.tc-app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tc-mockup-inner {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 520px;
}

.tc-mockup-topbar {
    background: #1e2d3d;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.tc-mockup-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.tc-mockup-topbar span:nth-child(2) { background: #febc2e; }
.tc-mockup-topbar span:nth-child(3) { background: #28c840; }

.tc-mockup-screen {
    display: flex;
    height: 280px;
}

.tc-mockup-sidebar {
    width: 60px;
    background: #1a2332;
    border-right: 1px solid #243447;
    flex-shrink: 0;
}

.tc-mockup-content {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-mockup-stat {
    height: 40px;
    background: linear-gradient(90deg, #1e3a5f 0%, #243447 100%);
    border-radius: 6px;
    width: 100%;
}

.tc-mockup-stat-sm {
    height: 28px;
    width: 60%;
    background: linear-gradient(90deg, #229CCE22 0%, #1e3a5f 100%);
}

.tc-mockup-chart {
    flex: 1;
    background: linear-gradient(180deg, #229CCE15 0%, transparent 100%);
    border-radius: 6px;
    border: 1px solid #229CCE30;
    position: relative;
    overflow: hidden;
}

.tc-mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.tc-mockup-row {
    height: 16px;
    background: #1e2d3d;
    border-radius: 4px;
}

.tc-mockup-row-sm {
    width: 75%;
}

/* ===== SCREEN PREVIEW (dashboard section) ===== */
.tc-screen-preview {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.tc-screen-header {
    background: #1e2d3d;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}

.tc-screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
}

.tc-screen-body {
    padding: 16px;
}

.tc-screen-row {
    height: 14px;
    background: #1e2d3d;
    border-radius: 4px;
}

.tc-screen-row-wide {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #229CCE40, #1e2d3d);
}

.tc-screen-row-alt {
    background: #162032;
}

.tc-screen-block {
    flex: 1;
    height: 60px;
    background: #1e2d3d;
    border-radius: 8px;
}

.tc-screen-block-dark {
    background: #162032;
}

.tc-screen-chart-area {
    height: 100px;
    background: linear-gradient(180deg, #229CCE20 0%, transparent 100%);
    border-radius: 8px;
    border: 1px solid #229CCE25;
}

.tc-screen-table {
    padding-top: 4px;
}

/* ===== WARNING CARD ===== */
.tc-warning-card {
    background: var(--white);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.1);
}

.tc-warning-icon {
    width: 48px;
    height: 48px;
    background: #fef3c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #d97706;
    margin-bottom: 1rem;
}

.tc-warning-card h4 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

/* ===== STEP CARDS ===== */
.tc-step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tc-step-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-2px);
}

.tc-step-card-accent {
    border-color: var(--accent);
    background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 100%);
}

.tc-step-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem auto;
}

.tc-step-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.tc-step-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.tc-step-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
}

.tc-step-list i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* ===== FEATURE CARDS ===== */
.tc-feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.tc-feature-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-2px);
}

/* Image wrapper with zoom overlay */
.tc-feature-img-wrapper {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    flex-shrink: 0;
}

.tc-feature-img-wrapper .tc-feature-img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
}

.tc-feature-img-wrapper:hover .tc-feature-img {
    transform: scale(1.03);
}

.tc-feature-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: white;
    font-size: 1.8rem;
    opacity: 0;
}

.tc-feature-img-wrapper:hover .tc-feature-img-overlay {
    background: rgba(0,0,0,0.35);
    opacity: 1;
}

/* Card body with inline icon + title */
.tc-feature-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
}

.tc-feature-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.tc-feature-icon-sm {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
}

.tc-feature-title-row h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
}

.tc-feature-card-body p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--text-muted);
}

/* ===== LIGHTBOX ===== */
.tc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    animation: tc-lightbox-in 0.2s ease;
}

@@keyframes tc-lightbox-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.tc-lightbox-content {
    position: relative;
    max-width: 1100px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: tc-lightbox-scale 0.2s ease;
}

@@keyframes tc-lightbox-scale {
    from { transform: scale(0.92); }
    to   { transform: scale(1); }
}

.tc-lightbox-content img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.tc-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.tc-lightbox-close:hover {
    background: rgba(0,0,0,0.9);
}

/* ===== CTA SECTION ===== */
.tc-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    text-align: center;
}

.tc-cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
}

.tc-cta-section p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRICING ===== */
.tc-pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: box-shadow 0.2s;
}

.tc-pricing-card:hover {
    box-shadow: var(--card-shadow);
}

.tc-pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(34,156,206,0.15);
}

.tc-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.tc-pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.tc-pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tc-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tc-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.tc-price-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tc-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.tc-pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--bg);
}

.tc-pricing-features li i {
    color: var(--accent);
    margin-right: 0.5rem;
    font-weight: 700;
}

.tc-pricing-missing {
    opacity: 0.45;
}

.tc-pricing-missing i {
    color: #94a3b8 !important;
}

/* ===== TIMELINE ===== */
.tc-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.tc-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--border));
}

.tc-timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.tc-timeline-item:last-child {
    padding-bottom: 0;
}

.tc-timeline-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
}

.tc-timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.tc-timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.tc-timeline-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* ===== ACCORDION / FAQ ===== */
.tc-accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden;
}

.tc-accordion-btn {
    font-weight: 600 !important;
    color: var(--text) !important;
    background: var(--white) !important;
    font-size: 0.95rem !important;
    padding: 1.1rem 1.25rem !important;
}

.tc-accordion-btn:focus {
    box-shadow: none !important;
}

.tc-accordion-btn:not(.collapsed) {
    color: var(--accent) !important;
    background: #f0f9ff !important;
}

.tc-accordion-btn::after {
    filter: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23229CCE'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.tc-accordion-body {
    padding: 1rem 1.25rem !important;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--white);
}

/* ===== TESTIMONIALS ===== */
.tc-testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.2s;
}

.tc-testimonial-card:hover {
    box-shadow: var(--card-shadow);
}

.tc-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.tc-testimonial-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.tc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tc-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.tc-testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.tc-testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TEAM ===== */
.tc-team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.tc-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1rem;
}

.tc-team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.tc-team-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.tc-footer {
    background: #0f172a;
    padding: 60px 0 30px;
    color: #94a3b8;
}

.tc-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white) !important;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

.tc-footer-brand strong {
    color: var(--accent);
    font-weight: 700;
}

.tc-footer-tagline {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 280px;
}

.tc-footer-socials {
    display: flex;
    gap: 1rem;
}

.tc-footer-socials a {
    color: #64748b;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.tc-footer-socials a:hover {
    color: var(--accent);
}

.tc-footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.tc-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-footer-links li {
    margin-bottom: 0.5rem;
}

.tc-footer-links a {
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.tc-footer-links a:hover {
    color: var(--accent);
}

.tc-footer-divider {
    border-color: #1e293b;
    margin: 2rem 0 1.5rem;
}

.tc-footer-copy {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

/* ===== READ ONLY BANNER ===== */
.tc-readonly-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.tc-readonly-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tc-readonly-badge {
    display: inline-block;
    background: #1e293b;
    color: #f59e0b;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    vertical-align: middle;
}

/* ===== STEP 4 WIDE CARD ===== */
.tc-step-card-wide {
    background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 100%);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2rem;
}

.tc-step-card-wide h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.tc-step-list-wide {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tc-step-list-wide li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tc-step-list-wide i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== IMAGES ===== */
.tc-hero-img {
    width: 100%;
    max-width: 580px;
    border-radius: 12px;
    drop-shadow: 0 24px 60px rgba(0,0,0,0.15);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.18));
}

.tc-section-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.tc-step-gif {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.tc-exchange-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tc-exchange-logos img {
    height: 22px;
    object-fit: contain;
    filter: grayscale(0.3);
}


.tc-author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tc-team-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
}

/* ===== NATIVE BLAZOR FAQ ===== */
.tc-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tc-faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.tc-faq-item.tc-faq-open {
    border-color: var(--accent);
}

.tc-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.tc-faq-item.tc-faq-open .tc-faq-question {
    color: var(--accent);
    background: #f0f9ff;
}

.tc-faq-question i {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--accent);
}

.tc-faq-answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0;
}

/* ===== BLAZOR ERROR UI ===== */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--accent);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ===== BLOG LISTING ===== */
.tc-blog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 70px 0 50px;
    text-align: center;
}

.tc-blog-hero .tc-label {
    color: var(--accent-light);
}

.tc-blog-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tc-blog-hero-sub {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.tc-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tc-blog-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.tc-blog-card-img-wrapper {
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
    background: var(--bg);
}

.tc-blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tc-blog-card:hover .tc-blog-card-img-wrapper img {
    transform: scale(1.05);
}

.tc-blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tc-blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tc-blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    flex: 1;
}

.tc-blog-card-excerpt {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-blog-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

/* ===== BLOG POST (SINGLE ARTICLE) ===== */
.tc-article-hero-wrap {
    background: var(--bg-alt);
    padding: 2.5rem 0 1rem;
}

.tc-article-hero {
    position: relative;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    aspect-ratio: 16 / 7;
    max-height: 420px;
}

.tc-article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.tc-article-hero-overlay {
    display: none;
}

.tc-article-back {
    padding-bottom: 0.5rem;
}

.tc-back-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.tc-back-link:hover {
    color: var(--accent);
}

.tc-article-header {
    margin-bottom: 1.5rem;
}

.tc-article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.tc-article-byline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tc-article-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.tc-article-divider {
    border-color: var(--border);
    margin: 1.5rem 0;
}

/* Article body typography */
.tc-article-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text);
}

.tc-article-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.tc-article-body h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tc-article-body p {
    color: var(--text);
    margin-bottom: 1rem;
}

.tc-article-body ul, .tc-article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.tc-article-body li {
    margin-bottom: 0.4rem;
    color: var(--text);
    line-height: 1.7;
}

.tc-article-body strong {
    color: var(--text);
}

/* CTA block */
.tc-article-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 14px;
    margin-top: 2rem;
}

.tc-article-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Prev / Next navigation */
.tc-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2.5rem 0 3rem;
}

.tc-article-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    max-width: 48%;
}

.tc-article-nav-btn:hover {
    border-color: var(--accent);
    background: #f0f9ff;
}

.tc-article-nav-next {
    text-align: right;
    margin-left: auto;
}

.tc-nav-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tc-nav-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .tc-hero-text h1 {
        font-size: 2.2rem;
    }

    .tc-hero {
        padding: 60px 0;
    }

    .tc-hero-image {
        margin-top: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .tc-hero-text h1 {
        font-size: 1.9rem;
    }

    .tc-section {
        padding: 60px 0;
    }

    .tc-timeline {
        padding-left: 30px;
    }

    .tc-article-hero-wrap {
        padding: 1.25rem 0 0.5rem;
    }

    .tc-article-hero {
        aspect-ratio: 16 / 9;
    }
}
