
    html {
    scroll-behavior: smooth;
}
:root {
            --bg-color: #0f172a;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --accent: #38bdf8;
            --nav-bg: rgba(15, 23, 42, 0.95);
            --border: rgba(255, 255, 255, 0.1);
            --card-bg: #1e293b;
            --input-bg: #0f172a;
            --login-bg: #1e293b; 
            --login-text: #f8fafc;
            --signup-bg: #f8fafc;
            --signup-text: #020617;
            --modal-overlay: rgba(0, 0, 0, 0.85);
            --success: #10b981;
            --sidebar-width: 280px;
        }

        [data-theme="light"] {
            --bg-color: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --accent: #0ea5e9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --border: rgba(0, 0, 0, 0.08);
            --card-bg: #ffffff;
            --input-bg: #ffffff;
            --login-bg: #e2e8f0; 
            --login-text: #475569;
            --signup-bg: #ffffff;
            --signup-text: #1e293b;
            --modal-overlay: rgba(0, 0, 0, 0.6);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
        body { background: var(--bg-color); color: var(--text-main); transition: 0.3s; min-height: 100vh; overflow-x: hidden; }

        /* Navbar Styles */
        .navbar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0 8%; height: 75px; background: var(--nav-bg);
            border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000;
            backdrop-filter: blur(10px);
        }
        .logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--text-main); }
        .logo span { color: var(--accent); }
        .nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
        .nav-link { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
        
        .dropdown { position: relative; }
        .dropdown-menu {
            position: absolute; top: 100%; left: 0; background: var(--card-bg);
            border: 1px solid var(--border); list-style: none; min-width: 220px;
            display: none; border-radius: 8px; padding: 10px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .dropdown:hover .dropdown-menu { display: block; }
        .dropdown-menu li a { padding: 10px 20px; display: block; text-decoration: none; color: var(--text-muted); font-size: 0.85rem; }

        .nav-right { display: flex; align-items: center; gap: 1rem; }
        .whatsapp-btn { background: #25d366; color: white; padding: 8px 18px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
        .hamburger { display: none; font-size: 1.4rem; cursor: pointer; color: var(--text-main); }


/* Sidebar Container */
.premium-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.premium-sidebar.active {
    left: 0;
}

/* Header & Theme Button */
.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border);
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.sidebar-logo span {
    color: var(--accent);
}

.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-theme-row-btn i { color: #bf953f; }

/* Navigation Links */
.sidebar-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.sidebar-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.sidebar-nav-link i:not(.drop-arrow) {
    font-size: 1.1rem;
    color: #bf953f; /* Premium Gold Icon */
    width: 24px;
    text-align: right;
}

/* Dropdowns */
.icon-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drop-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin: 0 10px 10px 10px;
}

.sidebar-dropdown-menu.show {
    max-height: 500px;
    padding: 8px 0;
}

.sub-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sub-link:hover {
    color: var(--accent);
    padding-left: 25px;
}

/* WhatsApp Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.sidebar-whatsapp-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-whatsapp-action:hover { transform: translateY(-2px); }

/* Overlay Styling */
.sidebar-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active { display: block; }



/* Ensure the theme button is visible and high-end */
.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin-top: 15px; /* Space from logo */
    background: var(--card-bg); /* Uses your card background color */
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important; /* Force display */
    visibility: visible !important;
}

.sidebar-theme-row-btn:hover {
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.1);
}

/* Icon specifically set to your gold accent */
#theme-icon {
    color: #bf953f !important;
    font-size: 1.1rem;
}

/* Fix for potential text-fill issues from logo styles */
#theme-text {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--text-main);
}

/* Slide-out Button Container */
#support-slide-wrapper {
    position: fixed;
    right: 0;
    /* Changed from 50% to 75% to move it lower */
    top: 75%; 
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* The actual sliding button */
.side-pull-btn {
    display: flex;
    align-items: center;
    /* Updated to use your --accent root color */
    background-color: var(--accent); 
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px 0 0 30px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    /* Slightly softened shadow to match your UI */
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Text inside the button */
.support-label {
    margin-left: 15px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Icon styling */
#user-icon-fixed {
    font-size: 24px;
    min-width: 24px;
    text-align: center;
}

/* Hover Effect */
.side-pull-btn:hover {
    width: 220px;
    /* Slight brightness boost on hover instead of a hardcoded color */
    filter: brightness(1.1); 
}

.side-pull-btn:hover .support-label {
    opacity: 1;
}

@media (max-width: 1300px) {
    .hamburger {
        display: block !important; /* Shows the icon on mobile/tablet */
    }
    .nav-links, .nav-right .whatsapp-btn {
        display: none; /* Hides desktop nav so it doesn't overlap */
    }
}

        /* Footer Styles */
        .tf-elite-footer {
    --tf-bg: #030712; /* Premium Deep Black */
    --tf-accent: #38bdf8; /* Your Blue */
    --tf-text: #f8fafc;
    --tf-muted: #94a3b8;
    --tf-border: rgba(56, 189, 248, 0.1);

    background-color: var(--tf-bg);
    color: var(--tf-text);
    position: relative;
    padding: 100px 0 0 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    border-top: 2px solid var(--tf-accent);
}

/* 3D BACKGROUND GRID */
.tf-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--tf-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--tf-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.4;
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.tf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 90px;
    position: relative;
    z-index: 10;
}

/* MAIN LAYOUT */
.tf-main-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 80px;
    padding-bottom: 80px;
}

/* HEADINGS & LABELS */
.tf-label {
    color: var(--tf-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px; /* High-end spacing */
    position: relative;
    display: inline-block;
}

.tf-label::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--tf-accent);
}

/* LOGO & BRAND */
.tf-logo { font-size: 1.8rem; font-weight: 900; margin-bottom: 30px; }
.tf-logo span { color: var(--tf-accent); }
.tf-summary { color: var(--tf-muted); line-height: 1.8; margin-bottom: 35px; font-size: 0.95rem; }

/* SOCIAL CIRCLES */
.tf-social-row { display: flex; gap: 15px; }
.tf-social-circle {
    width: 38px; height: 38px;
    border: 1px solid var(--tf-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tf-text);
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.02);
}
.tf-social-circle:hover { background: var(--tf-accent); color: var(--tf-bg); transform: translateY(-5px); border-color: var(--tf-accent); }

/* NAVIGATION ITEMS */
.tf-nav { display: flex; flex-direction: column; gap: 18px; }
.tf-nav-item {
    color: var(--tf-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}
.tf-nav-item:hover { color: var(--tf-accent); transform: translateX(8px); }

/* SUBSCRIPTION BOX */
.tf-update-text { color: var(--tf-muted); margin-bottom: 25px; font-size: 0.9rem; line-height: 1.6; }
.tf-subscribe-box {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 35px;
}
.tf-input {
    border: none; padding: 15px 20px; flex: 1; outline: none; font-size: 0.9rem;
}
.tf-join-btn {
    background: #ffcc00; /* Match TenzSoft Gold */
    color: #000; border: none; padding: 0 25px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
}
.tf-join-btn:hover { background: #e6b800; }

/* CONTACT DETAILS */
.tf-contact-details { display: flex; flex-direction: column; gap: 20px; }
.tf-contact-item { display: flex; align-items: center; gap: 15px; color: var(--tf-muted); font-size: 0.9rem; }
.tf-icon-box { color: var(--tf-accent); font-size: 1.1rem; }

/* TERMINAL BAR */
.tf-terminal-footer {
    border-top: 1px solid var(--tf-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: #475569;
}
.tf-pulse {
    height: 8px; width: 8px; background: #10b981; border-radius: 50%;
    display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #10b981;
}

/* RESPONSIVE */
@media (max-width: 1024px) { .tf-main-layout { grid-template-columns: 1fr 1fr; gap: 50px; } }
@media (max-width: 600px) { .tf-main-layout { grid-template-columns: 1fr; } }

/* Remove default underlines and style footer links */
.tf-elite-footer a {
    text-decoration: none !important; /* Removes the underline */
    color: inherit;                  /* Keeps the text color consistent with your design */
    display: flex;                   /* Ensures the icon and text stay aligned */
    transition: all 0.3s ease;       /* Smooth transition for hover effects */
}

/* Ensure clicked links don't turn purple */
.tf-elite-footer a:visited {
    color: inherit;
}

/* Optional: Add a subtle hover effect since the underline is gone */
.tf-elite-footer a:hover {
    color: var(--tf-accent);         /* Changes color to your sky blue on hover */
    text-decoration: none;           /* Ensures underline stays off during hover */
}

/* Specific fix for the contact items to keep icon and text on one line */
.tf-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}


/* Base navigation item style */
.tf-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none !important; /* No underline */
    color: var(--tf-muted); /* Your muted gray color */
    transition: all 0.3s ease;
    position: relative;
}

/* The Arrow Styling */
.tf-hover-arrow {
    color: #38bdf8; /* Your specific blue color */
    font-size: 0.7rem;
    margin-right: 0; /* Hidden by default */
    opacity: 0;      /* Invisible by default */
    width: 0;        /* Takes no space until hover */
    transition: all 0.3s ease;
}

/* Hover Effect: Show arrow and push text forward */
.tf-nav-item:hover {
    color: #f8fafc; /* White text on hover */
    padding-left: 5px;
}

.tf-nav-item:hover .tf-hover-arrow {
    opacity: 1;
    margin-right: 10px;
    width: 12px; /* Smoothly grows and appears */
}



.tf-social-circle:hover i {
    color: #000000;
}
/* Footer Background Styling */
.tf-footer {
    background-color: #000000;
    padding: 40px 20px;
    text-align: center;
}

.tf-logo-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

/* Image Dimensions and Fixes */
.tf-footer-logo-img {
    /* Increased size */
    height: 180px; 
    width: auto; /* Maintains natural aspect ratio */
    
    /* Rounded corners */
    border-radius: 15px; 
    
    /* Ensures the image stays clean within its box */
    object-fit: cover; 
    
    /* Centering logic */
    display: block;
    margin: 0 auto;
    
    /* Optional: subtle border to define the shape on dark backgrounds */
    border: 1px solid #333; 
}

/* Hover effect for the link */
.tf-logo-wrapper a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tf-logo-wrapper a:hover {
    opacity: 0.9;
    transform: scale(1.02); /* Slight zoom effect on hover */
}
/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet View: 2 Sections per row */
@media (max-width: 950px) {
    .tf-main-layout {
        /* Switch to a 2x2 grid */
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding-bottom: 50px;
    }

    /* Keep the Logo and Brand column centered at the top */
    .brand-info {
        grid-column: span 2; /* Spans across both columns */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Aligning the logo image and social icons to center */
    .tf-logo-wrapper, 
    .tf-social-row {
        justify-content: center;
        display: flex;
    }

    .tf-footer-logo-img {
        margin: 0 auto;
    }

    /* Ensuring the summary text stays centered */
    .tf-summary {
        max-width: 600px;
        margin: 0 auto 35px;
    }
}

/* Mobile View: 1 Section per row */
@media (max-width: 600px) {
    .tf-container {
        padding: 0 25px; /* Tighter side padding for small screens */
    }

    .tf-main-layout {
        /* Everything stacks in 1 column */
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Centers all headings and text */
    }

    .brand-info {
        grid-column: span 1;
    }

    /* Aligning Navigation items and arrows to center */
    .tf-nav-item {
        justify-content: center;
    }

    .tf-nav-item:hover {
        transform: none; /* Disables horizontal shift on mobile for better UX */
    }

    /* Centering the Subscribe Box and Buttons */
    .tf-subscribe-box {
        max-width: 100%;
    }

    .tf-contact-item {
        justify-content: center;
    }

    /* Terminal Bar Stacking */
    .tf-terminal-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* --- EXTRA SMALL SCREENS (Below 420px) --- */
@media (max-width: 420px) {
    .tf-container {
        padding: 0 15px;
    }

    .tf-main-layout {
        gap: 35px; /* Tighter spacing for smaller height */
    }

    .tf-footer-logo-img {
        max-width: 220px; /* Smaller logo */
    }

    .tf-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .tf-nav-item {
        font-size: 0.85rem;
    }

    .tf-contact-item span {
        font-size: 0.8rem; /* Prevents long emails from breaking the layout */
    }

    .tf-terminal-footer {
        font-size: 0.65rem; /* Very small terminal text */
        letter-spacing: 0.5px;
    }
}

/* --- ULTRA NARROW SCREENS (Below 250px) --- */
@media (max-width: 250px) {
    .tf-container {
        padding: 0 10px;
    }

    /* Stack the subscribe button on top of the input */
    .tf-subscribe-box {
        flex-direction: column;
        border: none;
        background: transparent;
    }

    .tf-input {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 10px;
    }

    .tf-join-btn {
        width: 100%;
        border-radius: 8px;
        padding: 10px;
    }

    /* Hide non-essential decorative elements to save space */
    .tf-grid-overlay, 
    .tf-ambient-glow {
        display: none;
    }

    .tf-summary {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Make icons smaller to fit the row */
    .tf-social-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .tf-copyright {
        font-size: 0.6rem;
    }
}

/* --- NAVBAR BUTTONS LOGIC --- */
/* At 690px and below, hide the anchor buttons in the navbar */
@media screen and (max-width: 690px) {
    .nav-right a {
        display: none !important;
    }
    
    /* Ensure the theme toggle button stays visible */
    .nav-right #theme-toggle {
        display: block !important;
    }
}

/* --- SIDEBAR BUTTONS LOGIC --- */
/* 1. Hide sidebar buttons on large screens (above 1001px) */
@media screen and (min-width: 1002px) {
    .sidebar-footer {
        display: none !important;
    }
}

/* 2. Show sidebar buttons on screens 1001px and below */
@media screen and (max-width: 1001px) {
    .sidebar-footer {
        display: block !important; /* Shows the footer container */
    }
    
    .sidebar-footer > div {
        display: flex !important; /* Ensures the buttons inside stay inline */
    }
}





/* Unique solid styling specifically for the Courses button */
        .sidebar-nav-link.courses-special-btn {
            background-color: #1e293b !important; /* Rich, dark solid color to stand out */
            color: #38bdf8 !important;            /* Vibrant blue text color to pop */
            border-left: 4px solid #38bdf8 !important; /* Sleek accent strip on the left side */
            border-radius: 4px !important;
            margin: 6px 10px !important;          /* Clean spacing gap above and below */
            padding: 10px 12px !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; /* Lifts it off the background */
            transition: all 0.25s ease-in-out !important;
        }

        /* Changes the icon colors within the courses button */
        .sidebar-nav-link.courses-special-btn .link-label,
        .sidebar-nav-link.courses-special-btn i {
            color: #38bdf8 !important; 
        }

        /* Hover interaction for the courses action button */
        .sidebar-nav-link.courses-special-btn:hover {
            background-color: #0f172a !important; /* Deepens background on hover */
            color: #ffffff !important;            /* Changes text to clean white */
        }
        
        /* Ensures icons also change color on hover */
        .sidebar-nav-link.courses-special-btn:hover .link-label,
        .sidebar-nav-link.courses-special-btn:hover i {
            color: #ffffff !important;
        }
      /* Distinct solid styling for the header navbar Courses button */
        .nav-link.navbar-courses-btn {
            background-color: #1e293b !important;    /* Rich, dark solid color background */
            color: #38bdf8 !important;               /* Vibrant blue text color to pop */
            border-bottom: 3px solid #38bdf8 !important; /* Sleek accent underline indicator */
            border-radius: 4px !important;
            padding: 8px 16px !important;            /* Balanced horizontal spacing */
            margin: 0 4px !important;
            font-weight: 6px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            transition: all 0.25s ease-in-out !important;
        }

        /* Hover interaction for the navbar courses button */
        .nav-link.navbar-courses-btn:hover {
            background-color: #0f172a !important;    /* Deepens background context on hover */
            color: #ffffff !important;               /* Switches text color to solid white */
            border-bottom-color: #ffffff !important; /* Changes accent underline line to white */
        }

        /* Standard hidden drop menu states */
        .navbar-courses-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #1e293b;
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
            border-radius: 4px;
            padding: 6px 0;
            display: none;                          /* Hidden by default */
            z-index: 1000;
        }

        /* Links inside the dropdown box */
        .navbar-courses-dropdown a {
            color: #ffffff;
            padding: 10px 16px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        /* Hover action on item selection */
        .navbar-courses-dropdown a:hover {
            background-color: #0f172a;
            color: #38bdf8;
        }

        /* Hover behavior to reveal panel directly via CSS layout */
        .navbar-courses-container:hover .navbar-courses-dropdown {
            display: block;
        }


/* ==========================================================================
   Tenxsoft x ThoughtFlare Premium Split-Screen Hero Array
   ========================================================================== */
#tf-split-hero-universe {
    --tf-split-side-gap: 94px;
    
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px var(--tf-split-side-gap) 100px var(--tf-split-side-gap);
    background-color: #05070c; /* Deep core dark ecosystem */
    overflow: hidden;
}

.tf-split-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Bi-Axial Grid System Configuration */
.tf-split-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* 60% left copy field, 40% right visual space */
    gap: 60px;
    align-items: center;
}

/* --- LEFT SIDE SYLLABUS COPY WRAPPER --- */
.tf-split-hero-left {
    display: flex;
    flex-direction: column;
}

.tf-hero-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    width: max-content;
    margin-bottom: 24px;
}

.tf-pulse-node {
    width: 7px;
    height: 7px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.tf-badge-txt {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tf-hero-main-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #f8fafc;
    letter-spacing: -1.5px;
    margin: 0 0 24px 0;
}

.tf-hero-blue-highlight {
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tf-hero-desc {
    font-size: 15.5px;
    color: #94a3b8;
    line-height: 1.75;
    margin: 0 0 40px 0;
}

.tf-hero-desc strong {
    color: #f8fafc;
}

/* Premium Buttons Cluster Configuration */
.tf-hero-action-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.tf-hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #38bdf8;
    border: 1px solid #38bdf8;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-hero-primary-btn span {
    font-size: 14px;
    font-weight: 700;
    color: #05070c;
}

.tf-hero-primary-btn i {
    font-size: 12px;
    color: #05070c;
    transition: transform 0.3s ease;
}

.tf-hero-primary-btn:hover {
    background: #0ea5e9;
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.2);
}

.tf-hero-primary-btn:hover i { transform: rotate(90deg); }

.tf-hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.tf-hero-secondary-btn span {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.tf-hero-secondary-btn:hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.02);
}

.tf-hero-metrics-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 32px;
}

.tf-metric-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tf-metric-val {
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    color: #38bdf8;
}

.tf-metric-lbl {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}


/* --- RIGHT SIDE: KINETIC IMAGE SLIDER SYSTEM --- */
.tf-split-hero-right {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tf-placeholder-window-frame {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Modern Mock Browser Shell */
.tf-window-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tf-window-dots {
    display: flex;
    gap: 6px;
}

.tf-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.tf-dot-red { background-color: #ef4444; }
.tf-dot-amber { background-color: #f59e0b; }
.tf-dot-green { background-color: #10b981; }

.tf-window-address-bar {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    font-family: monospace;
    color: #475569;
    flex-grow: 1;
    text-align: left;
}

/* Main Image Viewport Area */
.tf-image-placeholder-slider {
    position: relative;
    width: 100%;
    flex-grow: 1;
    background: #07090e;
}

/* Hardware Accelerated Animation States */
.tf-image-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.04) translateY(5px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Trigger state via Javascript Engine */
.tf-image-node.tf-node-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 5;
}

/* Clean, crisp imagery scaling limits */
.tf-image-node img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --- RESPONSIVE STRUCTURAL OVERRIDES --- */
@media (max-width: 991px) {
    .tf-split-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .tf-hero-main-title { font-size: 42px; }
    .tf-split-hero-right { order: -1; }
    .tf-placeholder-window-frame { max-width: 100%; aspect-ratio: 4 / 3; }
}

@media (max-width: 768px) {
    #tf-split-hero-universe {
        --tf-split-side-gap: 20px;
        padding-top: 120px;
    }
    .tf-hero-main-title { font-size: 34px; }
    .tf-hero-action-cluster { flex-direction: column; align-items: stretch; }
    .tf-hero-primary-btn, .tf-hero-secondary-btn { justify-content: center; }
    .tf-hero-metrics-grid { flex-direction: column; align-items: start; gap: 20px; }
}


@media (max-width: 1042px) {
    /* Forces the image layout box to render AFTER the copy block on mobile/tablets */
    .tf-split-hero-right { 
        order: 1 !important; 
    }
}



/* ==========================================================================
   Horizontal Terminal Deck Curriculum System (Stabilized Edition)
   ========================================================================== */
#tf-horizontal-deck-universe {
    background-color: var(--bg-color, #05070c);
    color: var(--text-main, #f8fafc);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-deck-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Master Layout Grid splitting Left and Right panels cleanly */
.tf-deck-split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr; /* Rebalanced to allow more breathing room for extended text */
    gap: 60px;
    align-items: start;
}

/* --- LEFT PANEL: ABSOLUTE ANCHOR (FIXED MECHANISM) --- */
.tf-deck-left-anchor {
    position: -webkit-sticky;
    position: sticky;
    top: 140px; /* Locked down relative to your standard global navigation height */
    transform: none !important; /* Forces layout stability; blocks accidental inheritance of right side motion */
    transition: none !important;  /* Ensures no animated translation happens on this anchor container */
    will-change: position;
}

.tf-deck-mini-badge {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
}

.tf-deck-main-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 20px 0;
}

.tf-deck-blue-highlight {
    color: var(--accent, #38bdf8) !important;
}

.tf-deck-sub-title {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.65;
    margin: 0 0 16px 0;
}

.tf-deck-sub-title-secondary {
    font-size: 14.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.tf-deck-sub-title strong,
.tf-deck-sub-title-secondary strong {
    color: var(--text-main, #f8fafc);
}

.tf-deck-nav-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted, #475569);
}

.tf-deck-nav-hint i {
    font-size: 14px;
    color: var(--accent, #38bdf8);
}

.tf-deck-nav-hint span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* --- RIGHT PANEL: HORIZONTAL DECK FLOW INTERACTION --- */
.tf-deck-right-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual Widescreen Card Layer */
.tf-deck-row-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    cursor: pointer;
    /* Explicitly scoped transition targets to ensure only this container transforms */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.tf-deck-card-num {
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted, #475569);
    transition: color 0.3s ease;
    padding-top: 2px;
}

.tf-deck-card-core {
    flex-grow: 1;
}

.tf-deck-card-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tf-deck-card-summary i {
    font-size: 18px;
    color: var(--text-muted, #64748b);
    transition: color 0.3s ease;
}

.tf-deck-card-summary h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-main, #f8fafc);
}

/* Smooth expansion container layout values */
.tf-deck-card-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tf-deck-card-expanded p {
    font-size: 14px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.6;
    margin: 16px 0 20px 0;
}

.tf-deck-tech-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tf-deck-pill {
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted, #cbd5e1);
    padding: 6px 14px;
    border-radius: 8px;
}

/* --- DYNAMIC ACTION MECHANICS --- */
/* Isolated cleanly to only translate the targeted cards along the X-axis */
.tf-deck-row-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(6px);
}

.tf-deck-row-card:hover .tf-deck-card-num {
    color: var(--accent, #38bdf8);
}

.tf-deck-row-card:hover .tf-deck-card-summary i {
    color: var(--accent, #38bdf8);
}

.tf-deck-row-card:hover .tf-deck-card-expanded {
    max-height: 160px;
    opacity: 1;
}

/* --- FEATURED HIGHLIGHT MIDDLE ELEMENT ACCENT PROTOCOLS --- */
.tf-deck-row-featured {
    border-color: rgba(56, 189, 248, 0.1);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.01) 0%, rgba(255, 255, 255, 0.005) 100%);
}
.tf-deck-row-featured .tf-glow-pill {
    border-color: rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.02);
    color: var(--accent, #38bdf8);
}


/* --- RESPONSIVE STRUCTURAL OVERRIDES --- */
@media (max-width: 991px) {
    .tf-deck-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tf-deck-left-anchor {
        position: static; /* Clear sticky positioning values gracefully on mobile devices */
        top: auto;
    }
    .tf-deck-main-title { font-size: 32px; }
}

@media (max-width: 640px) {
    .tf-deck-row-card {
        padding: 24px;
        gap: 16px;
    }
    .tf-deck-card-summary h3 { font-size: 17px; }
    .tf-deck-card-expanded {
        max-height: max-content;
        opacity: 1;
    }
}



/* ==========================================================================
   ThoughtFlare Premium Section Architecture (Left/Right Swapped with Dashboard Visual)
   ========================================================================== */
#tf-conversion-proof-universe {
    background-color: var(--bg-color, #05070c);
    color: var(--text-main, #f8fafc);
    padding: 120px 24px;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- CENTERED TOP HEADING LAYOUT --- */
.tf-proof-center-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.tf-proof-section-mini {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent, #38bdf8);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.tf-proof-section-main {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 16px 0;
    color: var(--text-main, #f8fafc);
}

.tf-proof-header-line {
    width: 60px;
    height: 3px;
    background: var(--accent, #38bdf8);
    margin: 0 auto;
    border-radius: 2px;
}

/* Master Grid Layout ensuring perfect alignment */
.tf-proof-split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr; 
    gap: 80px;
    align-items: stretch; 
}

/* --- BRAND ROOT HIGHLIGHT OVERRIDES --- */
.tf-root-blue-highlight {
    color: var(--accent, #38bdf8) !important;
    font-weight: 600;
}

/* --- LEFT PANEL: VALUE TEXT ENGINE --- */
.tf-proof-text-panel {
    display: flex;
    width: 100%;
}

.tf-text-panel-inner {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.tf-proof-badge {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent, #38bdf8);
    margin-bottom: 16px;
    display: block;
}

.tf-proof-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
}

.tf-proof-desc {
    font-size: 15.5px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.65;
    margin: 0 0 36px 0;
}

.tf-proof-value-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 44px;
}

.tf-value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tf-value-icon {
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tf-value-icon i {
    font-size: 16px;
    color: var(--accent, #38bdf8);
}

.tf-value-texts h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--text-main, #f8fafc);
}

.tf-value-texts p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
}

/* --- RIGHT PANEL: CYBER SECURITY DASHBOARD LAYOUT --- */
.tf-visual-dashboard-panel {
    display: flex;
    width: 100%;
}

.tf-visual-card-wrapper {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.tf-visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tf-visual-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main, #f8fafc);
    letter-spacing: 0.5px;
}

.tf-pulse-dot-live {
    width: 6px;
    height: 6px;
    background-color: var(--accent, #38bdf8);
    border-radius: 50%;
    animation: tf-pulse-blue 1.5s infinite ease-in-out;
}

.tf-visual-device-tag {
    font-family: monospace;
    font-size: 11px;
    color: #475569;
}

.tf-dashboard-image-box {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #020408;
    aspect-ratio: 16 / 10;
    display: flex;
}

.tf-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.tf-visual-card-wrapper:hover .tf-dashboard-img {
    opacity: 1;
}

.tf-visual-caption-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.tf-visual-caption-bar i {
    font-size: 14px;
    color: #f59e0b;
    margin-top: 2px;
}

.tf-caption-text {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
    margin: 0;
}

/* --- THE CONVERSION CTA TRIGGER ASSEMBLY --- */
.tf-proof-action-hub {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tf-primary-cta-btn {
    background: var(--accent, #38bdf8);
    color: #05070c !important;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    align-self: flex-start;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.2s ease;
}

.tf-primary-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.35);
    background: #56c8ff;
}

.tf-action-subtext {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #f43f5e;
    font-weight: 600;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes tf-pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* --- RESPONSIVE STRUCTURAL OVERRIDES --- */
@media (max-width: 991px) {
    .tf-proof-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tf-proof-section-main { font-size: 30px; }
    .tf-text-panel-inner, .tf-visual-card-wrapper {
        padding: 30px 24px;
    }
    .tf-proof-title { font-size: 30px; }
    .tf-primary-cta-btn { align-self: stretch; text-align: center; }
}



/* ==========================================================================
   ThoughtFlare Support Ecosystem Architecture Blueprint
   ========================================================================== */
#tf-ecosystem-universe {
    background-color: var(--bg-color, #05070c);
    color: var(--text-main, #f8fafc);
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-eco-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- CENTERED TOP HEADING LAYOUT --- */
.tf-eco-center-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 72px auto;
}

.tf-eco-section-mini {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent, #38bdf8);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.tf-eco-section-main {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin: 0 0 18px 0;
    color: var(--text-main, #f8fafc);
}

.tf-eco-header-line {
    width: 60px;
    height: 3px;
    background: var(--accent, #38bdf8);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- ECOSYSTEM TRIPLE MATRIX GRID --- */
.tf-eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 56px;
}

.tf-eco-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tf-eco-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Header Elements Inside Cards */
.tf-eco-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tf-eco-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tf-eco-icon-wrapper i {
    font-size: 20px;
    color: var(--text-muted, #64748b);
    transition: color 0.3s ease;
}

.tf-eco-card:hover .tf-eco-icon-wrapper {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.25);
}

.tf-eco-card:hover .tf-eco-icon-wrapper i {
    color: var(--accent, #38bdf8);
}

.tf-eco-step {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 1px;
}

/* Body Elements Inside Cards */
.tf-eco-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tf-eco-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px 0;
    color: var(--text-main, #f8fafc);
}

.tf-eco-desc {
    font-size: 14.5px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.65;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

/* Inline Bullet Point Sets */
.tf-eco-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
}

.tf-eco-features li {
    font-size: 13.5px;
    color: var(--text-main, #cbd5e1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tf-eco-features li i {
    font-size: 11px;
    color: var(--accent, #38bdf8);
}

/* --- TRUST BANNER FOOTER --- */
.tf-eco-footer-trust-banner {
    text-align: center;
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tf-eco-footer-trust-banner p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.tf-eco-footer-trust-banner strong {
    color: var(--accent, #38bdf8);
    font-weight: 600;
}

/* --- RESPONSIVE STRUCTURAL OVERRIDES --- */
@media (max-width: 1024px) {
    .tf-eco-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .tf-eco-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tf-eco-section-main { font-size: 30px; }
    .tf-eco-card { padding: 32px; }
}



/* ==========================================================================
   ThoughtFlare Dual-Perspective Section Stylesheet
   ========================================================================== */
#tf-dual-perspective-universe {
    background-color: var(--bg-color, #05070c);
    color: var(--text-main, #f8fafc);
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-dual-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Master Grid Structure splitting evenly */
.tf-dual-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

/* --- INNER CARD BASES --- */
.tf-brand-panel-inner,
.tf-macro-panel-inner {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tf-brand-panel-inner {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.01) 0%, rgba(0,0,0,0) 100%);
    border-color: rgba(56, 189, 248, 0.04);
}

.tf-macro-panel-inner {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.01) 0%, rgba(0,0,0,0) 100%);
    border-color: rgba(245, 158, 11, 0.04);
}

/* --- COMMON CARD TYPOGRAPHY ELEMENTS --- */
.tf-dual-mini-tag {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent, #38bdf8);
    margin-bottom: 16px;
    display: block;
}

.tf-dual-mini-tag.text-amber {
    color: #f59e0b;
}

.tf-dual-panel-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    color: var(--text-main, #f8fafc);
}

.tf-dual-panel-desc {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.65;
    margin: 0 0 32px 0;
}

.tf-dual-panel-desc.margin-top-12 {
    margin-top: 16px;
    margin-bottom: 0;
}

/* --- LEFT SIDE SPECIFIC: SUPPORT VALUE ECOSYSTEM ROW DESKS --- */
.tf-promise-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: auto; /* Pushes list downward elements evenly */
}

.tf-promise-row-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tf-promise-icon {
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tf-promise-icon i {
    font-size: 16px;
    color: var(--accent, #38bdf8);
}

.tf-promise-text-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--text-main, #f8fafc);
}

.tf-promise-text-box p {
    font-size: 13.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
}

/* --- RIGHT SIDE SPECIFIC: HONEYBEE ANALOGY BLOCKQUOTE BLOCK --- */
.tf-analogy-blockquote-box {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #f59e0b;
    border-radius: 4px 16px 16px 4px;
    padding: 24px 28px;
    position: relative;
    margin-top: auto; /* Aligns visually with the bottom elements layout across columns */
}

.tf-quote-decor {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 24px;
    color: rgba(245, 158, 11, 0.04);
    pointer-events: none;
}

.tf-analogy-quote-text {
    font-size: 14px;
    font-style: italic;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* --- RESPONSIVE STRUCTURAL OVERRIDES --- */
@media (max-width: 991px) {
    .tf-dual-split-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tf-brand-panel-inner,
    .tf-macro-panel-inner {
        padding: 32px 24px;
    }
    .tf-dual-panel-title {
        font-size: 26px;
    }
}


[data-theme="light"] .tf-analogy-quote-text {
    color: #000000;
}


.tf-flare-highlight {
    color: var(--accent);
}




/* ==========================================================================
   ThoughtFlare Three-Tier Progressive Cohort Pricing Matrix
   ========================================================================== */
#tf-cohort-pricing-universe {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid var(--border);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-cohort-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- CENTERED BLOCK HEADER STYLES --- */
.tf-cohort-center-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.tf-cohort-section-mini {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.tf-cohort-section-main {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 0 0 20px 0;
}

.tf-cohort-header-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 24px auto;
    border-radius: 2px;
}

.tf-cohort-master-notice {
    font-size: 14.5px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.tf-live-signal {
    color: #ef4444;
    animation: tf-signal-blink 1s infinite alternate;
}

/* --- TRIPLE GRID MATRIX DISPLAY --- */
.tf-cohort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.tf-cohort-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tf-cohort-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Featured Visual Callout State */
.tf-cohort-card.tf-featured-card {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(14, 165, 233, 0.01) 100%);
    position: relative;
}

/* Card Header Infrastructure */
.tf-gateway-tag {
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.tf-gateway-tag.accent-bg {
    color: var(--accent);
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--accent);
}

.tf-card-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.tf-card-purpose {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 28px 0;
    min-height: 60px;
}

/* Internal Dynamic Pricing Element */
.tf-card-price-block {
    display: flex;
    align-items: baseline;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.tf-card-currency {
    font-size: 24px;
    font-weight: 700;
    transform: translateY(-10px);
}

.tf-card-amount {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
}

.tf-card-term {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 6px;
}

/* Tech Directory Pills Cloud */
.tf-tech-directory h5 {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.tf-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

.tf-tech-pills span {
    font-family: monospace;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-main);
}

/* Card Deliverables Sets */
.tf-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.tf-perks-list li {
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.5;
}

.tf-perks-list i {
    font-size: 14px;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.tf-perks-list strong {
    color: var(--text-main);
}

/* Button Trigger Elements */
.tf-card-action-box {
    margin-top: auto;
}

.tf-cohort-btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main) !important;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tf-cohort-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-main);
}

.tf-cohort-btn.accent-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #020617 !important;
}

.tf-cohort-btn.accent-btn:hover {
    filter: brightness(1.08);
}

/* --- LIGHT THEME READABILITY PATCH RULES --- */
[data-theme="light"] .tf-card-currency,
[data-theme="light"] .tf-card-amount,
[data-theme="light"] .tf-perks-list strong {
    color: #000000;
}

[data-theme="light"] .tf-tech-pills span {
    background: #f1f5f9;
}

[data-theme="light"] .tf-cohort-btn:not(.accent-btn):hover {
    background: #f8fafc;
    border-color: #000000;
    color: #000000 !important;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes tf-signal-blink {
    0% { opacity: 0.3; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE INJECTS --- */
@media (max-width: 1024px) {
    .tf-cohort-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 550px;
        margin: 0 auto;
    }
    .tf-cohort-section-main { font-size: 30px; }
    .tf-cohort-master-notice { flex-direction: column; text-align: center; }
}




/* ==========================================================================
   ThoughtFlare High-Trust FAQ Accordion Engine Stylesheet
   ========================================================================== */
#tf-trust-faq-universe {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid var(--border);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-faq-container {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

/* --- CENTERED BLOCK HEADING LAYOUT --- */
.tf-faq-center-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.tf-faq-section-mini {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.tf-faq-section-main {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 16px 0;
}

.tf-faq-header-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- ACCORDION CORE INFRASTRUCTURE --- */
.tf-faq-accordion-desk {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tf-faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.4s ease;
}

.tf-faq-item:hover {
    border-color: rgba(56, 189, 248, 0.25);
}

/* Accordion Click Trigger */
.tf-faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    gap: 20px;
}

.tf-faq-question-text {
    line-height: 1.4;
    transition: color 0.2s ease;
}

.tf-faq-trigger:hover .tf-faq-question-text {
    color: var(--accent);
}

/* Dynamic Rotating Icon Shell */
.tf-faq-icon-shell {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tf-faq-icon-shell i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

/* --- EXPANDED PANELS (Using pure max-height animations) --- */
.tf-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-faq-panel-inner {
    padding: 0 32px 28px 32px;
}

.tf-faq-panel-inner p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.tf-faq-panel-inner strong {
    color: var(--text-main);
    font-weight: 600;
}

.tf-flare-highlight {
    color: var(--accent);
    font-weight: 700;
}

/* --- ACTIVE EXPANDED TRIGGER STATES --- */
.tf-faq-item.active {
    border-color: var(--accent);
}

.tf-faq-item.active .tf-faq-icon-shell {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(45deg);
}

.tf-faq-item.active .tf-faq-icon-shell i {
    color: #020617;
}

/* --- LIGHT THEME READABILITY OVERRIDES --- */
[data-theme="light"] .tf-faq-panel-inner strong,
[data-theme="light"] .tf-faq-trigger.active .tf-faq-question-text {
    color: #000000;
}

/* --- MOBILE SPECIFIC SCALING INJECTS --- */
@media (max-width: 768px) {
    .tf-faq-section-main { font-size: 30px; }
    .tf-faq-trigger { padding: 20px; font-size: 15px; }
    .tf-faq-panel-inner { padding: 0 20px 20px 20px; }
}


/* ==========================================================================
   ThoughtFlare Secure Onboarding Terminal Console Stylesheet
   ========================================================================== */
#tf-onboarding-control-panel {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid var(--border);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.tf-onboarding-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Header Text Mechanics */
.tf-onboarding-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.tf-onboarding-mini {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.tf-onboarding-main {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0 0 16px 0;
}

.tf-onboarding-lead {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- GRID INFRASTRUCTURE & MATCHED HEIGHT OVERVIEW --- */
.tf-onboarding-split-layout.tf-stretch-cards {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 48px;
    align-items: stretch; /* Forces clean matching height alignments across grid tracks */
}

/* Left Card Form Architecture */
.tf-onboarding-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.tf-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.tf-input-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.tf-field-wrapper {
    position: relative;
    width: 100%;
}

.tf-field-wrapper .field-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.tf-field-wrapper input,
.tf-field-wrapper select {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px 16px 52px;
    font-size: 14.5px;
    color: var(--text-main);
    outline: none;
    appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
}

.tf-field-wrapper select {
    appearance: auto;
    cursor: pointer;
}

/* Textarea Field Styling Mechanics */
.tf-field-wrapper textarea {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px 16px 52px;
    font-size: 14.5px;
    color: var(--text-main);
    outline: none;
    resize: none;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
}

.tf-field-wrapper input:focus,
.tf-field-wrapper select:focus,
.tf-field-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.tf-field-wrapper input:focus + .field-icon,
.tf-field-wrapper select:focus + .field-icon,
.tf-field-wrapper textarea:focus + .field-icon {
    color: var(--accent);
}

.tf-field-wrapper .textarea-icon {
    top: 24px;
    transform: none;
}

/* Live Status Console Message Window */
.tf-form-terminal-status {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--text-muted);
    padding: 14px 20px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.tf-form-terminal-status.active-selected {
    border-left-color: var(--accent);
    color: var(--text-main);
    background: rgba(14, 165, 233, 0.02);
}

/* Submit Execution Action Key */
.tf-onboarding-submit-btn {
    width: 100%;
    background: var(--accent);
    color: #020617;
    border: none;
    outline: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.tf-onboarding-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
}

/* Right Side Content Summary Component */
.tf-onboarding-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.tf-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.tf-summary-header h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.tf-live-counter {
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid var(--accent);
    padding: 3px 8px;
    border-radius: 4px;
}

.tf-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.tf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.tf-row-label {
    color: var(--text-muted);
}

.tf-row-val {
    font-weight: 600;
    color: var(--text-main);
}

.tf-row-val.val-success {
    color: var(--success);
}

.tf-summary-row.border-top-line {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: 4px;
}

.tf-row-label.highlight-text {
    color: var(--text-main);
    font-weight: 700;
}

.tf-row-val.highlight-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
}

/* --- THE FILLER COMPONENT: ROSTER LOG CHASSIS --- */
.tf-roster-matrix-box {
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    flex-grow: 1; /* Instructs the block to organically scale out and consume the left-side structural height gap */
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tf-roster-title {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.tf-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.tf-roster-title h5 {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.tf-roster-logs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tf-log-entry {
    display: flex;
    font-family: monospace;
    font-size: 11.5px;
    gap: 14px;
    line-height: 1.4;
}

.tf-log-time {
    color: var(--text-muted);
    min-width: 75px;
    flex-shrink: 0;
}

.tf-log-msg {
    color: var(--text-muted);
}

.val-white { color: var(--text-main); font-weight: 600; }
.text-accent { color: var(--accent); }

/* Protection Covenant Box Shield */
.tf-covenant-shield-box {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tf-shield-icon i {
    font-size: 20px;
    color: var(--accent);
}

.tf-shield-text h5 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.tf-shield-text p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- LIGHT THEME READABILITY MATRIX ADJUSTMENTS --- */
[data-theme="light"] .tf-row-val:not(.val-success),
[data-theme="light"] .tf-row-label.highlight-text,
[data-theme="light"] .tf-summary-header h4,
[data-theme="light"] .tf-input-group label,
[data-theme="light"] .val-white {
    color: #000000;
}

[data-theme="light"] .tf-form-terminal-status,
[data-theme="light"] .tf-roster-matrix-box {
    background: #f8fafc;
}

[data-theme="light"] .tf-covenant-shield-box {
    background: #f1f5f9;
}

/* --- RESPONSIVE CONTROLS --- */
@media (max-width: 991px) {
    .tf-onboarding-split-layout.tf-stretch-cards {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 32px;
    }
    .tf-onboarding-form-card { padding: 32px 24px; }
    .tf-onboarding-main { font-size: 30px; }
}

    