/* CFO Toolkit Page Styles */
:root {
    --tk-bg: #0a0a0a;
    --tk-card-bg: #141414;
    --tk-border: rgba(255, 255, 255, 0.08);
    --tk-gold: #b8943f;
    --tk-gold-dim: rgba(184, 148, 63, 0.4);
    --tk-text: #e0e0e0;
    --tk-text-muted: #999;
}

.cfo-toolkit-page {
    background-color: var(--tk-bg);
    color: var(--tk-text);
    font-family: 'Libre Franklin', sans-serif;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(184, 148, 63, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(184, 148, 63, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
}

.cfo-toolkit-page .cfov-breadcrumb {
    background: transparent;
    padding: 2rem 4rem 1rem;
    border: none;
}

.cfo-toolkit-page .cfov-breadcrumb-inner {
    color: var(--tk-text-muted);
}

.cfo-toolkit-page .cfov-breadcrumb-inner a {
    color: var(--tk-text-muted);
}

/* ─── HERO SECTION ─── */
.tk-hero {
    /* padding: 4rem 0 6rem; */
    position: relative;
}

.tk-hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--tk-gold);
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tk-hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--tk-gold);
}

.tk-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    max-width: 900px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tk-hero h1 em {
    font-style: italic;
    color: var(--tk-gold);
    display: inline-block;
    position: relative;
}

.tk-hero-desc {
    font-size: 1.25rem;
    color: var(--tk-text-muted);
    line-height: 1.7;
    max-width: 700px;
    font-weight: 300;
}

/* ─── STATS BAR ─── */
.tk-stats-bar {
    display: flex;
    gap: 5rem;
padding: 0rem 0 3rem;
    border-top: 1px solid var(--tk-border);
    margin-top: 4rem;
}

.tk-stat-item {
    display: flex;
    flex-direction: column;
}

.tk-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tk-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tk-text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ─── COLLECTION COMMON ─── */
.tk-section-header {
    margin-bottom: 4rem;
}

.tk-collection-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tk-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tk-collection-label::before {
    content: '';
    width: 25px;
    height: 1px;
    background: var(--tk-gold);
}

.tk-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tk-section-header p {
    color: var(--tk-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* ─── COLLECTION I: COUNTRY PLAYBOOKS ─── */
.tk-country-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1rem;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--tk-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 5rem 4rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.tk-country-layout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(184, 148, 63, 0.05), transparent 60%);
    pointer-events: none;
    border-radius: 20px;
}

/* ─── COLLECTION I: COUNTRY GRAPHIC ENHANCEMENTS ─── */
.tk-country-graphic {
    flex: 1;
    min-height: 450px;
    background: radial-gradient(circle at center, rgba(184, 148, 63, 0.08) 0%, transparent 70%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--tk-border);
}

/* Orbital Rings */
.tk-cg-orbits {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.tk-cg-orbit {
    position: absolute;
    border: 1px dashed rgba(184, 148, 63, 0.15);
    border-radius: 50%;
}

.tk-cg-orbit-1 { width: 280px; height: 280px; animation: orbit-rotate 40s infinite linear; }
.tk-cg-orbit-2 { width: 380px; height: 380px; animation: orbit-rotate 60s infinite linear reverse; }
.tk-cg-orbit-3 { width: 480px; height: 480px; animation: orbit-rotate 90s infinite linear; border-style: dotted; }

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulse Nodes (Blink Points) */
.tk-cg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tk-pulse-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--tk-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tk-gold), 0 0 20px var(--tk-gold);
    transform: translate(-50%, -50%);
    animation: node-pulse 3s infinite ease-in-out;
    animation-delay: var(--d);
}

.tk-pulse-node::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--tk-gold);
    border-radius: 50%;
    opacity: 0;
    animation: node-ripple 3s infinite ease-out;
    animation-delay: var(--d);
}

@keyframes node-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

@keyframes node-ripple {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.tk-cg-circle {
    width: 160px;
    height: 160px;
    background: #0d0d0d;
    border: 2px solid var(--tk-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 50px rgba(184, 148, 63, 0.2);
}

.tk-cg-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--tk-gold);
    line-height: 1;
}

.tk-cg-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.tk-country-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tk-continent-group h4 {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tk-gold);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.tk-country-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tk-chip {
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--tk-text-muted);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.tk-chip:hover {
    background: rgba(184, 148, 63, 0.1);
    border-color: var(--tk-gold-dim);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ─── COLLECTION II: INDUSTRY ─── */
.tk-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.tk-industry-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tk-industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 148, 63, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.tk-industry-card:hover {
    border-color: var(--tk-gold-dim);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(20, 20, 20, 0.6);
}

.tk-industry-card:hover::before {
    opacity: 1;
}

.tk-ic-icon {
    font-size: 1.5rem;
    color: var(--tk-gold);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
}

.tk-industry-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tk-ic-badge {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4dc;
    font-weight: 700;
}

/* ─── COLLECTION III: BOOK COMPANIONS ─── */
.tk-books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tk-book-card {
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-clip: padding-box;
    z-index: 1;
}

.tk-book-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    opacity: 1;
    z-index: -1;
}

/* Holographic Shine */
.tk-book-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 55%,
        transparent 100%
    );
    transition: all 0.8s ease;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 2;
}

.tk-book-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border-color: rgba(184, 148, 63, 0.3);
}

.tk-book-card:hover::after {
    top: -50%;
    left: -50%;
}

.tk-bc-volume {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: -1;
}

.tk-bc-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--tk-gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: block;
}

.tk-book-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.tk-bc-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tk-bc-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tk-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tk-book-card:hover .tk-bc-cta {
    transform: translateY(0);
    opacity: 1;
}

/* Specific Card Gradients */
.tk-book-card.rev-ops { background: radial-gradient(circle at top left, #1a3a1a, #0d0d0d); }
.tk-book-card.ai-gov { background: radial-gradient(circle at top left, #1a2a4a, #0d0d0d); }
.tk-book-card.erp-impl { background: radial-gradient(circle at top left, #4a1a1a, #0d0d0d); }
.tk-book-card.system-cfo { background: radial-gradient(circle at top left, #3a1a4a, #0d0d0d); }

/* ─── POPULAR TOOLKITS GRID ─── */
.tk-popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.tk-pop-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.tk-pop-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--tk-gold-dim);
    transform: translateX(10px);
}

.tk-pop-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tk-pop-info { flex: 1; }
.tk-pop-info h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.25rem; }
.tk-pop-info p { font-size: 0.85rem; color: var(--tk-text-muted); margin: 0; }

.tk-pop-meta { text-align: right; }
.tk-pop-free { display: block; color: #4dc; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.25rem; }
.tk-pop-type { font-size: 0.65rem; color: rgba(255,255,255,0.3); font-weight: 700; letter-spacing: 1px; }

/* ─── WORKSHOP MATERIALS ─── */
.tk-workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.tk-ws-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
}

.tk-ws-card:hover {
    border-color: var(--tk-gold-dim);
    background: rgba(255,255,255,0.03);
    transform: translateY(-5px);
}

.tk-ws-eyebrow {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a8f;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tk-ws-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 1.5rem; color: #fff; }
.tk-ws-card p { font-size: 0.95rem; color: var(--tk-text-muted); line-height: 1.6; margin-bottom: 2rem; }

.tk-ws-assets { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tk-ws-assets span {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    color: rgba(255,255,255,0.5);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .tk-popular-grid { grid-template-columns: 1fr; }
    .tk-workshop-grid { grid-template-columns: repeat(2, 1fr); }
    .tk-industry-grid { grid-template-columns: repeat(3, 1fr); }
    .tk-books-grid { grid-template-columns: repeat(2, 1fr); }
    .tk-hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .tk-country-layout { grid-template-columns: 1fr; padding: 2rem; }
    .tk-country-graphic { border-right: none; border-bottom: 1px solid var(--tk-border); padding-bottom: 2rem; margin-bottom: 2rem; }
    .tk-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .tk-hero h1 { font-size: 2.5rem; }
    .tk-stats-bar { flex-wrap: wrap; gap: 2rem; }
    .tk-workshop-grid { grid-template-columns: 1fr; }
    .tk-books-grid { grid-template-columns: 1fr; }
    .tk-reg-form { flex-direction: column; }
    .tk-reg-form button { padding: 1.25rem; }
}


/* ─── NEWSLETTER-STYLE REGISTRATION OVERRIDES ─── */
.cfo-newsletter-section#registration {
    background: #0d0d0d;
    border-top: 1px solid var(--tk-border);
    /* padding: 10rem 0; */
}

.cfo-newsletter-section#registration .tk-collection-label {
    letter-spacing: 3px;
    color: var(--tk-gold);
    background: rgba(184, 148, 63, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}
