/* 
   Ileria Training Platform v24.5 - 2026-04-15
   FIX: overflow:clip on hub-sec + timeline-matched laser beams
*/

#tp-v3 {
    --p-navy: #001a3d;
    --p-blue: #004094;
    --p-accent: #00d2ff;
    --p-gold: #c9a96e;
    --p-bg: #eef2f8;
    font-family: 'Poppins', 'Inter', sans-serif;
    background: var(--p-bg);
    overflow-x: hidden;
    margin-top: -32px;
    width: 100%;
}

#tp-v3 .tp-hero, #tp-v3 .hub-sec-wrap, #tp-v3 .hub-sec {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#tp-v3 h1, #tp-v3 h2, #tp-v3 h3, #tp-v3 p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#tp-v3 .tp-hero {
    background: linear-gradient(145deg, #001a3d 0%, #004094 50%, #0059cc 100%);
    padding: 160px 20px 80px;
    text-align: center;
    color: #fff;
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#tp-v3 .tp-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0,210,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

#tp-v3 .tp-h1-dark {
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -2px;
    width: 100%;
    position: relative;
    z-index: 2;
}

#tp-v3 .tp-lead-dark {
    font-size: clamp(14px, 1.8vw, 18px);
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

#tp-v3 .hub-sec-wrap {
    height: 1000vh;
    position: relative;
}

#tp-v3 .hub-sec {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    background: var(--p-bg);
    overflow: clip;
    transition: background 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#tp-v3 .hub-sec.scene-dark {
    background: radial-gradient(circle at 50% 50%, #031c3a 0%, #010814 80%);
}

#tp-v3 .hub-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(0,64,148,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 30%, rgba(0,210,255,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 1.5s;
}

#tp-v3 .hub-sec.scene-dark::before {
    opacity: 0;
}

#tp-v3 .hub-camera {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 50% !important;
    will-change: transform;
    transition: transform 0.1s linear;
}

#tp-v3 .tp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

#tp-v3 .hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-rows: 1fr auto 1fr;
    gap: 2vh 50px;
    position: relative;
    width: 100%;
    height: 75vh;
    grid-template-areas: "lt center rt" "lt center rt" "lb center rb";
    align-content: stretch;
}

#tp-v3 .hub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    transition: opacity 0.6s ease, filter 0.6s ease;
}

#tp-v3 .item-1 { grid-area: lt; align-self: start; padding-top: 4vh; }
#tp-v3 .item-2 { grid-area: lb; align-self: end; padding-bottom: 4vh; }
#tp-v3 .item-3 { grid-area: center; justify-content: center; align-self: center; }
#tp-v3 .item-4 { grid-area: rb; align-self: end; padding-bottom: 4vh; }
#tp-v3 .item-5 { grid-area: rt; align-self: start; padding-top: 4vh; }

#tp-v3 .hub-item.faded { opacity: 0.06; filter: blur(5px); }
#tp-v3 .hub-sec.scene-dark .hub-item.faded { opacity: 0.12; }

#tp-v3 .hub-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.98) 0%, rgba(245,249,255,0.95) 100%);
    border-radius: 26px;
    padding: 26px 22px;
    box-shadow:
        0 1px 0 0 rgba(255,255,255,0.15) inset,
        0 20px 50px rgba(0, 26, 61, 0.15),
        0 4px 12px rgba(0, 26, 61, 0.08),
        0 0 0 1px rgba(0, 64, 148, 0.1);
    border: none;
    width: 100%;
    max-width: 225px;
    position: relative;
    overflow: hidden;
    transition: background 1.2s ease, box-shadow 1.2s ease, transform 0.4s ease, border 0.6s ease;
}

#tp-v3 .hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,64,148,0.2), rgba(0,210,255,0.3), rgba(0,64,148,0.2), transparent);
    pointer-events: none;
}

#tp-v3 .hub-card::after {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 140px; height: 100px;
    background: radial-gradient(ellipse, rgba(0, 100, 200, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

#tp-v3 .card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(0,64,148,0.12) 0%, rgba(0,210,255,0.08) 100%);
    border: 1px solid rgba(0, 64, 148, 0.12);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    color: #004094;
    margin-bottom: 12px;
    letter-spacing: 0;
}

#tp-v3 .card-img {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 10px rgba(0,26,61,0.12));
}

#tp-v3 .card-txt h3 {
    font-size: 14px;
    font-weight: 800;
    color: #001428;
    margin-bottom: 5px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

#tp-v3 .card-txt p {
    font-size: 11px;
    color: #7489a0;
    line-height: 1.5;
    font-weight: 500;
}

#tp-v3 .ai-hub-mega {
    background: linear-gradient(150deg, #001228 0%, #002a6e 45%, #003d9e 100%);
    border: 1.5px solid rgba(0, 210, 255, 0.4);
    max-width: 280px;
    aspect-ratio: 1;
    display: grid;
    place-items: center; /* Perfect geometric center */
    padding: 30px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 40px 100px rgba(0, 26, 61, 0.6);
    border-radius: 48px;
    position: relative;
    overflow: visible;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

#tp-v3 .ai-hub-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
    transform: translateY(-2px); /* Optically center compensate */
}

/* Base typography lockup */
#tp-v3 .ai-hub-mega .ai-txt {
    font-size: 76px;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -3px;
    margin: 0 0 4px 0;
    display: block;
    width: max-content;
    color: #ffffff;
    transition: all 0.5s ease;
}

#tp-v3 .ai-hub-mega p {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
    display: block;
    width: max-content;
    color: rgba(160, 220, 255, 0.6);
    transition: all 0.5s ease;
}

#tp-v3 .ai-hub-mega::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,210,255,0.5), transparent);
    pointer-events: none;
}

#tp-v3 .ai-hub-mega::after {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 250px;
    background: radial-gradient(ellipse, rgba(0, 160, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: ai-glow-pulse 4s ease-in-out infinite;
}

@keyframes ai-glow-pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* =====================================================
   AI HUB PREMIUM ZEN — Minimalist ambient lighting
   ===================================================== */

/* 1.5 Dispersion Flare — The 'spread' effect when beam hits */
@keyframes ai-disperse {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.6); filter: blur(10px); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); filter: blur(30px); }
}

/* 2. Pulsing corona ring */
/* Card corona — very soft cyan breathe */
@keyframes ai-corona {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(0, 200, 255, 0.2) inset,
            0 0 35px rgba(0, 180, 255, 0.3),
            0 40px 100px rgba(0, 26, 61, 0.4);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(0, 210, 255, 0.4) inset,
            0 0 55px rgba(0, 200, 255, 0.5),
            0 40px 100px rgba(0, 26, 61, 0.4);
    }
}

/* Card corona — clean cyan pulse */
#tp-v3 .hub-sec.ai-mode .ai-hub-mega {
    animation: ai-corona 4s ease-in-out infinite;
    border-color: rgba(0, 220, 255, 0.85); /* Brighter when active */
    box-shadow: 
        0 0 0 1.5px rgba(255,255,255,0.1) inset,
        0 40px 100px rgba(0, 26, 61, 0.6),
        0 0 60px rgba(0, 200, 255, 0.25);
}

/* Light Dispersion Flash (One-time spread) */
#tp-v3 .hub-sec.ai-mode .item-3::before {
    content: '';
    display: block !important;
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.5) 0%, rgba(0, 150, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ai-disperse 2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

/* Subtle background lighting shift - Same base as scene-dark to prevent flashes */
#tp-v3 .hub-sec.ai-mode {
    background: radial-gradient(circle at 50% 50%, #04244a 0%, #010814 85%);
    transition: background 1.5s ease;
}

/* No flash, no burst. Removed ::after and ::before effects */
#tp-v3 .hub-sec.ai-mode::after { display: none; }

/* AI text: Tight typography lockup - Active Mode (Light Only) */
#tp-v3 .hub-sec.ai-mode .ai-hub-mega .ai-txt {
    background: linear-gradient(135deg, #ffffff 10%, #80cfff 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.6));
    transform: scale(1.02);
}

#tp-v3 .hub-sec.ai-mode .ai-hub-mega p {
    color: #ffffff;
    letter-spacing: 6px;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

/* Clear only the after pseudo (Legacy ring) */
#tp-v3 .hub-sec.ai-mode .item-3::after {
    display: none !important;
}

#tp-v3 .hub-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#tp-v3 .line-p {
    stroke: rgba(0, 64, 148, 0.07);
    stroke-width: 1;
    stroke-dasharray: 3, 9;
    fill: none;
    transition: stroke 1.5s, opacity 0.7s;
}
#tp-v3 .hub-sec.scene-dark .line-p { stroke: rgba(255, 255, 255, 0.06); }

/* Dark Scene - Brand Navy Gradients for unity with Header */
#tp-v3 .hub-sec.scene-dark .hub-card:not(.ai-hub-mega) {
    background: radial-gradient(circle at top right, #004094, #001a3d 90%);
    border: 1px solid rgba(0, 210, 255, 0.15);
    box-shadow: 
        0 1px 0 0 rgba(255,255,255,0.08) inset,
        0 20px 50px rgba(0, 0, 0, 0.3);
}

#tp-v3 .hub-sec.scene-dark .hub-card h3 { color: #ffffff; }
#tp-v3 .hub-sec.scene-dark .hub-card p { color: rgba(160, 220, 255, 0.7); }

/* Dashboard specifically remains glassy but with brand gradient */
#tp-v3 .hub-sec.scene-dark .item-4 .hub-card {
    background: radial-gradient(circle at top right, rgba(0, 64, 148, 0.85), rgba(0, 26, 61, 0.85) 90%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Light beam adjustments for dark mode */
#tp-v3 .hub-sec.scene-dark .laser-beam.navy-beam {
    background: linear-gradient(to right, transparent, #00d2ff, #ffffff);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.6), 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Certificate (item-5) - Always keep as 'Day Mode' exit */
#tp-v3 .item-5 .hub-card {
    background: linear-gradient(160deg, rgba(255,255,255,1) 0%, rgba(245,249,255,0.98) 100%) !important;
    border: none !important;
}

/* === BASE LASER BEAM RULE === */
/* Without this, the beam has height:0px and is invisible in non-dark scenes */
#tp-v3 .laser-beam {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100px; /* width is overwritten by JS via gLen */
    transform-origin: 0 50%; /* Rotate from LEFT-CENTER = start from card center */
    background: linear-gradient(to right, rgba(0, 64, 148, 0.5), rgba(0, 120, 220, 0.8), #ffffff);
    border-radius: 4px;
    opacity: 1;
    pointer-events: none;
}

#tp-v3 .laser-beam::before { display: none; }

#tp-v3 .laser-beam::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #60a5fa, 0 0 30px rgba(96, 165, 250, 0.4);
}

#tp-v3 .laser-beam.navy-beam {
    background: linear-gradient(to right, transparent, #001a3d, #004094, #60a5fa);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.6), 0 0 5px rgba(255, 255, 255, 0.8);
}

#tp-v3 .laser-beam.navy-beam::before { display: none; }

#tp-v3 .laser-beam.navy-beam::after {
    background: #ffffff;
    box-shadow: 0 0 15px #60a5fa, 0 0 30px rgba(96, 165, 250, 0.4);
}

/* Dark mode: luxury cyan beams — fiber optic style */
@keyframes beam-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,1), 0 0 22px #00d2ff, 0 0 45px rgba(0, 210, 255, 0.7), 0 0 80px rgba(0, 180, 255, 0.35); }
    50%       { box-shadow: 0 0 14px rgba(255,255,255,1), 0 0 32px #00d2ff, 0 0 65px rgba(0, 210, 255, 0.9), 0 0 110px rgba(0, 180, 255, 0.5); }
}

#tp-v3 .hub-sec.scene-dark .laser-beam {
    height: 2px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(0, 180, 255, 0.35) 20%,
        #00c8ff 60%,
        #ffffff 100%
    );
    box-shadow:
        0 0 8px  rgba(0, 210, 255, 1),
        0 0 22px rgba(0, 190, 255, 0.75),
        0 0 50px rgba(0, 160, 255, 0.35);
    border-radius: 4px;
}

/* Atmospheric soft haze around the beam */
#tp-v3 .hub-sec.scene-dark .laser-beam::before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: -8px;
    height: 28px;
    transform: translateY(-50%);
    background: linear-gradient(to right,
        transparent,
        rgba(0, 180, 255, 0.06) 30%,
        rgba(0, 210, 255, 0.16) 70%,
        rgba(0, 230, 255, 0.22) 100%
    );
    filter: blur(8px);
    border-radius: 50%;
    pointer-events: none;
}

/* Glowing tip dot — pulsing */
#tp-v3 .hub-sec.scene-dark .laser-beam::after {
    width: 13px;
    height: 13px;
    background: #ffffff;
    box-shadow:
        0 0 0  3px rgba(0, 210, 255, 0.35),
        0 0 10px rgba(255, 255, 255, 1),
        0 0 22px #00d2ff,
        0 0 45px rgba(0, 210, 255, 0.7),
        0 0 80px rgba(0, 180, 255, 0.35);
    animation: beam-pulse 2s ease-in-out infinite;
}

#tp-v3 .hub-sec.scene-dark .laser-beam.navy-beam {
    background: linear-gradient(to right,
        transparent 0%,
        rgba(0, 120, 220, 0.3) 20%,
        #0099ff 60%,
        #ffffff 100%
    );
    box-shadow:
        0 0 8px  rgba(0, 180, 255, 1),
        0 0 22px rgba(0, 160, 255, 0.75),
        0 0 50px rgba(0, 130, 255, 0.35);
}

#tp-v3 .hub-sec.scene-dark .laser-beam.navy-beam::after {
    box-shadow:
        0 0 0  3px rgba(0, 180, 255, 0.35),
        0 0 10px rgba(255, 255, 255, 1),
        0 0 22px #00aaff,
        0 0 45px rgba(0, 180, 255, 0.7),
        0 0 80px rgba(0, 140, 255, 0.35);
    animation: beam-pulse 2s ease-in-out infinite 0.5s;
}

#tp-v3 .mid-bt {
    position: absolute; top: 0; left: 0; width: 34px; height: 34px;
    background: rgba(255,255,255, 0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255, 0.2);
    margin-top: -17px; margin-left: -17px; z-index: 4;
    transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

#tp-v3 .mid-bt.lit {
    background: #00d2ff; color: #fff; border-color: #00d2ff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.8), 0 0 40px rgba(0, 210, 255, 0.4);
}

#tp-v3 .story-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }
#tp-v3 .story-panel {
    position: absolute; top: 50%; width: 350px; max-width: 85vw;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 64, 148, 0.10);
    padding: 34px 32px;
    border-radius: 24px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 30px 70px rgba(0, 26, 61, 0.14),
        0 0 0 1px rgba(0,64,148,0.06);
    opacity: 0;
    transform: translateY(calc(-50% + 20px));
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; text-align: left;
    position: absolute;
}

#tp-v3 .story-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,100,200,0.25), rgba(0,210,255,0.2), rgba(0,100,200,0.25), transparent);
}

#tp-v3 .story-panel.pos-right { right: 6%; }
#tp-v3 .story-panel.pos-left { left: 6%; }
#tp-v3 .story-panel.active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }

#tp-v3 .story-panel .s-num {
    font-size: 9px;
    font-weight: 800;
    color: #0066cc;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    background: linear-gradient(90deg, #004094, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark Mode - Story Panels (Description Boxes) */
#tp-v3 .hub-sec.scene-dark .story-panel {
    background: radial-gradient(circle at top right, rgba(0, 64, 148, 0.88), rgba(0, 26, 61, 0.9) 90%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 210, 255, 0.15);
    box-shadow: 
        0 1px 0 0 rgba(255,255,255,0.08) inset,
        0 20px 50px rgba(0, 0, 0, 0.4);
}

#tp-v3 .hub-sec.scene-dark .story-panel .s-num { color: #00d2ff; }
#tp-v3 .hub-sec.scene-dark .story-panel h4 { color: #ffffff; }
#tp-v3 .hub-sec.scene-dark .story-panel p { color: rgba(200, 230, 255, 0.8); }

#tp-v3 .story-panel .s-num {
    font-size: 9px;
    font-weight: 800;
    color: #0066cc;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

#tp-v3 .story-panel h4 {
    font-size: 20px;
    font-weight: 800;
    color: #001228;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

#tp-v3 .story-panel p {
    font-size: 13px;
    color: #4a5a6a;
    line-height: 1.6;
    font-weight: 500;
}

.scroll-hint {
    position: fixed; bottom: 36px; left: 50%; transform: translateX(-50%);
    color: rgba(0, 26, 61, 0.4); font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint.visible { opacity: 1; }
.s-arrow {
    width: 12px; height: 12px; border-right: 2px solid rgba(0, 64, 148, 0.35); border-bottom: 2px solid rgba(0, 64, 148, 0.35);
    transform: rotate(45deg); animation: sa 1.2s ease-in-out infinite;
}
@keyframes sa { 0%, 100% { transform: rotate(45deg) translateY(-3px); opacity: 0.3; } 50% { transform: rotate(45deg) translateY(3px); opacity: 1; } }

.hub-sec.scene-dark .scroll-hint { color: rgba(255, 255, 255, 0.4); }
.hub-sec.scene-dark .s-arrow { border-color: rgba(255, 255, 255, 0.35); }

.tour-dots {
    position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px; z-index: 9998; opacity: 0; transition: opacity 0.4s;
}
.tour-dots.visible { opacity: 1; }
.tour-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 64, 148, 0.2); transition: background 0.3s, transform 0.3s; }
.tour-dot.active { background: #004094; transform: scale(1.4); }

#tp-v3 .hub-sec.scene-dark ~ .tour-dots .tour-dot { background: rgba(255,255,255,0.2); }
#tp-v3 .hub-sec.scene-dark ~ .tour-dots .tour-dot.active { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.5); }


/* =============================================
   DARK SCENE: Card & Panel Dark Mode Transitions
   ============================================= */

#tp-v3 .hub-sec.scene-dark .hub-card {
    background: linear-gradient(160deg, rgba(0, 30, 70, 0.92) 0%, rgba(0, 20, 50, 0.96) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.07);
    transition: background 1.2s ease, box-shadow 1.2s ease;
}

#tp-v3 .hub-sec.scene-dark .hub-card::before {
    background: linear-gradient(90deg, transparent, rgba(0,180,255,0.15), rgba(0,210,255,0.2), rgba(0,180,255,0.15), transparent);
}

#tp-v3 .hub-sec.scene-dark .card-num {
    background: linear-gradient(135deg, rgba(0,150,255,0.2) 0%, rgba(0,210,255,0.12) 100%);
    border-color: rgba(0, 180, 255, 0.25);
    color: #60c8ff;
}

#tp-v3 .hub-sec.scene-dark .card-txt h3 {
    color: #e8f4ff;
}

#tp-v3 .hub-sec.scene-dark .card-txt p {
    color: rgba(160, 200, 240, 0.7);
}

#tp-v3 .hub-sec.scene-dark .card-img {
    filter: drop-shadow(0 4px 12px rgba(0, 150, 255, 0.2)) brightness(1.05);
}

/* Dark mode story panels - descendant selector (story-layer is INSIDE hub-sec) */
#tp-v3 .hub-sec.scene-dark .story-panel {
    background: rgba(0, 20, 50, 0.92);
    border-color: rgba(0, 150, 255, 0.15);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0,100,200,0.12);
}

#tp-v3 .hub-sec.scene-dark .story-panel::before {
    background: linear-gradient(90deg, transparent, rgba(0,180,255,0.2), rgba(0,210,255,0.15), rgba(0,180,255,0.2), transparent);
}

#tp-v3 .hub-sec.scene-dark .story-panel h4 {
    color: #e8f4ff;
}

#tp-v3 .hub-sec.scene-dark .story-panel p {
    color: rgba(160, 200, 240, 0.75);
}

#tp-v3 .hub-sec.scene-dark .story-panel .s-num {
    background: linear-gradient(90deg, #60c8ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   MOBILE / TABLET LAYOUT (<=1024px)
   Desktop sticky experience is HIDDEN.
   Mobile vertical card stack is SHOWN.
   ============================================= */
@media (max-width: 1024px) {
    #tp-v3 .hub-sec-wrap { display: none !important; }
    #tp-v3 .tour-dots, #tp-v3 .scroll-hint { display: none !important; }
    #tp-v3 .tp-mobile-stack { display: block !important; }
}
@media (min-width: 1025px) {
    #tp-v3 .tp-mobile-stack { display: none !important; }
}

/* === MOBILE STACK WRAPPER === */
#tp-v3 .tp-mobile-stack {
    display: none;
    position: relative;
    padding: 20px 0 60px;
    background: #ffffff;
    transition: background 1.2s ease;
}
#tp-v3 .tp-mobile-stack.scene-dark {
    background: linear-gradient(180deg, #001228 0%, #002060 60%, #001228 100%);
}

/* Vertical connector track */
#tp-v3 .tp-mob-connector {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(0, 64, 148, 0.08);
    z-index: 1;
}
/* Glowing beam fill */
#tp-v3 .tp-mob-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, rgba(0,64,148,0.0) 0%, #00aaff 40%, #00d2ff 70%, #ffffff 100%);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0,210,255,0.8), 0 0 30px rgba(0,180,255,0.3);
    transition: height 0.4s ease;
}
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-beam {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,150,255,0.4) 30%, #00d2ff 70%, #ffffff 100%);
    box-shadow: 0 0 18px rgba(0,210,255,1), 0 0 45px rgba(0,180,255,0.5);
}

/* === BLUETOOTH MID NODE (Mobile) === */
#tp-v3 .tp-mob-midbt {
    position: relative;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: -8px auto 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(0,64,148,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,64,148,0.3);
    transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
#tp-v3 .tp-mob-midbt.lit {
    background: #00d2ff;
    color: #fff;
    border-color: #00d2ff;
    box-shadow: 0 0 18px rgba(0,210,255,0.9), 0 0 40px rgba(0,210,255,0.4);
}
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-midbt {
    background: rgba(255,255,255,0.04);
    border-color: rgba(0,210,255,0.15);
    color: rgba(0,210,255,0.3);
}

/* === MOBILE CARDS === */
#tp-v3 .tp-mob-card {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 360px;
    margin: 0 auto 40px;
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(255,255,255,0.98) 0%, rgba(240,248,255,0.95) 100%);
    border: 1px solid rgba(0,64,148,0.10);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 20px 50px rgba(0,26,61,0.12), 0 0 0 1px rgba(0,64,148,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.35;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1), background 0.8s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
#tp-v3 .tp-mob-card.mob-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card {
    background: radial-gradient(circle at top right, #004094, #001a3d 90%);
    border: 1px solid rgba(0,210,255,0.18);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 50px rgba(0,0,0,0.4);
}
/* Card 5 (certificate) always stays light even in dark mode */
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card[data-index="4"] {
    background: linear-gradient(155deg, rgba(255,255,255,0.98) 0%, rgba(240,248,255,0.95) 100%) !important;
    border: 1px solid rgba(0,64,148,0.10) !important;
}
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card[data-index="4"] h3,
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card[data-index="4"] p { color: #001228 !important; }

/* Card number badge */
#tp-v3 .tp-mob-card .mob-num {
    font-size: 10px; font-weight: 800; letter-spacing: 3px; color: #0066cc;
    text-transform: uppercase; margin-bottom: 14px;
    background: rgba(0,100,200,0.08); padding: 5px 14px; border-radius: 20px;
}
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card .mob-num { color: #00d2ff; background: rgba(0,210,255,0.1); }

#tp-v3 .tp-mob-card img { max-height: 90px; width: auto; margin: 6px 0 14px; object-fit: contain; }
#tp-v3 .tp-mob-card h3 { font-size: 20px; font-weight: 800; color: #001228; margin: 0 0 8px; letter-spacing: -0.4px; line-height: 1.2; }
#tp-v3 .tp-mob-card p  { font-size: 13px; color: #4a6680; margin: 0; line-height: 1.5; font-weight: 500; }
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card h3 { color: #ffffff; }
#tp-v3 .tp-mobile-stack.scene-dark .tp-mob-card p  { color: rgba(160,220,255,0.75); }

/* === AI HUB CARD (card 3) === */
#tp-v3 .tp-mob-card.tp-mob-ai {
    background: linear-gradient(150deg, #001228 0%, #002a6e 45%, #003d9e 100%) !important;
    border: 1.5px solid rgba(0,210,255,0.4) !important;
    color: #fff;
    min-height: 180px;
    justify-content: center;
}
#tp-v3 .tp-mob-card.tp-mob-ai .mob-ai-txt {
    font-size: 64px; font-weight: 900; letter-spacing: -2px; line-height: 1;
    background: linear-gradient(135deg, #60c8ff 0%, #ffffff 50%, #00d2ff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 6px;
}
#tp-v3 .tp-mob-card.tp-mob-ai p {
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(160,220,255,0.7) !important; -webkit-text-fill-color: rgba(160,220,255,0.7) !important;
}
#tp-v3 .tp-mob-card.tp-mob-ai.mob-active {
    transform: translateY(0) scale(1.04);
    box-shadow: 0 0 0 1px rgba(0,210,255,0.5), 0 0 35px rgba(0,210,255,0.45), 0 0 90px rgba(0,180,255,0.28), 0 20px 60px rgba(0,0,0,0.5);
    animation: mob-ai-pulse 2.5s ease-in-out infinite;
}
@keyframes mob-ai-pulse {
    0%,100% { box-shadow: 0 0 0 1px rgba(0,210,255,0.5), 0 0 35px rgba(0,210,255,0.45), 0 0 90px rgba(0,180,255,0.28), 0 20px 60px rgba(0,0,0,0.5); }
    50%      { box-shadow: 0 0 0 2px rgba(0,210,255,0.7), 0 0 55px rgba(0,210,255,0.65), 0 0 130px rgba(0,180,255,0.42), 0 20px 60px rgba(0,0,0,0.5); }
}

/* =============================================
   CINEMATIC VIDEO SECTION
   ============================================= */
#tp-v3 .tp-video-sec {
    position: relative;
    padding: 140px 0;
    text-align: center;
    background: #ffffff;
    color: #001228;
    z-index: 10;
    overflow: hidden;
}
#tp-v3 .tp-video-sec .video-header {
    margin-bottom: 60px;
}
#tp-v3 .tp-video-sec .video-header h2 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    color: #001228;
    margin-bottom: 20px;
    letter-spacing: -2px;
}
#tp-v3 .tp-video-sec .video-header p {
    font-size: 20px;
    color: #4a6680;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}
#tp-v3 .tp-cinema-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    aspect-ratio: 16/9;
    max-width: 900px;
    margin: 0 auto;
    transition: all .7s cubic-bezier(.165,.84,.44,1);
    box-shadow: 0 40px 80px rgba(0,26,61,0.06), 0 0 0 1px rgba(0,26,61,0.02);
}
#tp-v3 .tp-cinema-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 60px 100px rgba(0,26,61,0.1), 0 0 0 1px rgba(0,64,148,0.1);
}
#tp-v3 .tp-cinema-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
    opacity: 0.85;
}
#tp-v3 .tp-cinema-box:hover .tp-cinema-thumb {
    transform: scale(1.1);
    opacity: 0.4;
}
#tp-v3 .tp-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.3);
    overflow: hidden;
    pointer-events: none;
}
#tp-v3 .tp-cinema-box:hover .tp-play-btn {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
    background: rgba(255,255,255,0.95);
}
#tp-v3 .tp-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #001a3d;
    margin-left: 5px;
    flex-shrink: 0;
    display: block;
}
#tp-v3 .tp-cinema-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #ffffff;
    text-align: left;
}
#tp-v3 .tp-cinema-label h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Modal styling */
#tp-v3 .tp-cinema-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,12,26,0.98);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#tp-v3 .tp-cinema-modal.active {
    opacity: 1;
    visibility: visible;
}
#tp-v3 .tp-cinema-modal .modal-content {
    width: 90%;
    max-width: 1150px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: 0.4s;
}
#tp-v3 .tp-cinema-modal.active .modal-content {
    transform: scale(1);
}
#tp-v3 .tp-cinema-modal .modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: 0.3s ease;
    z-index: 10;
}
#tp-v3 .tp-cinema-modal .modal-close:hover {
    background: #ffffff;
    color: #000;
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    #tp-v3 .tp-video-sec { padding: 100px 0; }
    #tp-v3 .tp-cinema-box { border-radius: 20px; width: calc(100% - 48px); }
    #tp-v3 .tp-cinema-label { padding: 40px 20px 20px; }
    #tp-v3 .tp-cinema-label h3 { font-size: 18px; }
    #tp-v3 .tp-cinema-modal .modal-close { top: 20px; right: 20px; width: 50px; height: 50px; font-size: 36px; }
}

/* =============================================
   PREMIUM LIGHT LUXURY: CLINICAL GUIDELINES
   ============================================= */
#tp-v3 .tp-guidelines-sec {
    position: relative;
    padding: 140px 0 100px;
    background: #ffffff;
    z-index: 10;
}
#tp-v3 .tp-guidelines-sec .gl-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}
#tp-v3 .tp-guidelines-sec .gl-text h2 {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    color: #001228;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
#tp-v3 .tp-guidelines-sec .gl-text p {
    font-size: 18px;
    color: #4a6680;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}
#tp-v3 .tp-guidelines-sec .gl-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}
#tp-v3 .tp-guidelines-sec .gl-badge {
    flex: 1;
    min-width: 250px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,26,61,0.05);
    box-shadow: 0 20px 40px rgba(0,18,40,0.03), 0 1px 3px rgba(0,18,40,0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#tp-v3 .tp-guidelines-sec .gl-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,18,40,0.08), 0 2px 10px rgba(0,18,40,0.05);
    border-color: rgba(0,64,148,0.15);
}
#tp-v3 .tp-guidelines-sec .gl-logo-img {
    height: 70px;
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,26,61,0.05));
}
#tp-v3 .tp-guidelines-sec .badge-sub {
    display: block;
    font-size: 12px;
    color: #5b738b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* =============================================
   PREMIUM LIGHT LUXURY: TARGET AUDIENCE
   ============================================= */
#tp-v3 .tp-audience-sec {
    position: relative;
    padding: 100px 0 120px;
    background: #f8fafc;
    z-index: 10;
}
#tp-v3 .tp-audience-sec .sec-heading {
    text-align: center;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: #001228;
    margin-bottom: 70px;
    letter-spacing: -1.5px;
}
#tp-v3 .tp-audience-sec .audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
#tp-v3 .tp-audience-sec .aud-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,18,40,0.04);
    transition: all 0.5s ease;
    border: 1px solid transparent;
}
#tp-v3 .tp-audience-sec .aud-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,18,40,0.08);
    border-color: rgba(0,64,148,0.1);
}
#tp-v3 .tp-audience-sec .aud-icon {
    font-size: 42px;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0,64,148,0.05) 0%, rgba(0,210,255,0.05) 100%);
    border-radius: 50%;
}
#tp-v3 .tp-audience-sec h3 {
    font-size: 20px;
    font-weight: 700;
    color: #001228;
    margin-bottom: 15px;
}
#tp-v3 .tp-audience-sec p {
    font-size: 15px;
    color: #4a6680;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   PREMIUM LIGHT LUXURY: DATA & SECURITY
   ============================================= */
#tp-v3 .tp-security-sec {
    position: relative;
    padding: 120px 0;
    background: #ffffff;
    z-index: 10;
}
#tp-v3 .tp-security-sec .sec-heading {
    text-align: center;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: #001228;
    margin-bottom: 70px;
    letter-spacing: -1.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}
#tp-v3 .tp-security-sec .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 50px;
}
#tp-v3 .tp-security-sec .sec-item {
    text-align: center;
    padding: 20px;
}
#tp-v3 .tp-security-sec .sec-icon {
    color: #004094;
    margin-bottom: 25px;
    display: inline-block;
}
#tp-v3 .tp-security-sec h4 {
    font-size: 20px;
    font-weight: 700;
    color: #001228;
    margin-bottom: 12px;
}
#tp-v3 .tp-security-sec p {
    font-size: 16px;
    color: #4a6680;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   PREMIUM LIGHT LUXURY: HARDWARE AGNOSTIC
   ============================================= */
#tp-v3 .tp-agnostic-sec {
    position: relative;
    padding: 140px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    z-index: 10;
    overflow: hidden;
}
#tp-v3 .tp-agnostic-sec .agn-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
#tp-v3 .tp-agnostic-sec .agn-text {
    flex: 1;
}
#tp-v3 .tp-agnostic-sec .agn-text h2 {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    color: #001228;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
#tp-v3 .tp-agnostic-sec .agn-text p {
    font-size: 18px;
    color: #4a6680;
    line-height: 1.6;
    margin: 0;
}
#tp-v3 .tp-agnostic-sec .agn-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
#tp-v3 .tp-agnostic-sec .agn-box {
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0,26,61,0.06), 0 0 0 1px rgba(0,26,61,0.02);
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 400px;
}
#tp-v3 .tp-agnostic-sec .agn-box span {
    font-size: 26px;
    font-weight: 900;
    color: #004094;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =============================================
   PREMIUM LIGHT LUXURY: FINAL CTA (DARK ACCENT)
   ============================================= */
#tp-v3 .tp-cta-sec {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(135deg, #000c1a 0%, #001a3d 50%, #004094 100%);
    text-align: center;
    z-index: 10;
}
#tp-v3 .tp-cta-sec .cta-content {
    max-width: 800px;
    margin: 0 auto;
}
#tp-v3 .tp-cta-sec h2 {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}
#tp-v3 .tp-cta-sec p {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    line-height: 1.5;
}
#tp-v3 .tp-cta-sec .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}
#tp-v3 .tp-cta-sec .cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}
#tp-v3 .tp-cta-sec .btn-primary {
    background: #ffffff;
    color: #001a3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#tp-v3 .tp-cta-sec .btn-primary:hover {
    background: #f4f7f9;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
#tp-v3 .tp-cta-sec .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}
#tp-v3 .tp-cta-sec .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    #tp-v3 .tp-guidelines-sec .gl-logos,
    #tp-v3 .tp-audience-sec .audience-grid,
    #tp-v3 .tp-security-sec .security-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    #tp-v3 .tp-agnostic-sec .agn-flex {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 600px) {
    #tp-v3 .tp-cta-sec .cta-actions { flex-direction: column; }
    #tp-v3 .tp-cta-sec .cta-actions a { width: 100%; box-sizing: border-box; }
}

