
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);
}

/* 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;
        }



/* 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: 1000px) {
    .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 */
    }
}





/* FORCED DARK THEME HERO SECTION */
    .tf-hero-section {
        background-color: #0f172a !important; 
        min-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4rem 6rem;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Premium dynamic radial glow background effect */
    .tf-hero-section::before {
        content: '';
        position: absolute;
        top: -20%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .tf-hero-container {
        max-width: 1200px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        z-index: 2;
    }

    /* Left Column Content Layout */
    .tf-hero-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .tf-hero-tagline {
        color: #38bdf8 !important;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 700;
    }

    .tf-hero-title {
        color: #f1f5f9 !important;
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1.15;
    }

    .tf-hero-title span {
        color: #38bdf8 !important;
    }

    .tf-hero-description {
        color: #94a3b8 !important;
        font-size: 1.15rem;
        line-height: 1.6;
        max-width: 520px;
    }

    .tf-hero-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Premium Call To Action Buttons */
    .tf-btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    .tf-btn-primary {
        background-color: #38bdf8 !important;
        color: #020617 !important;
        border: 1px solid #38bdf8 !important;
    }

    .tf-btn-primary:hover {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
        transform: translateY(-2px);
    }

    .tf-btn-secondary {
        background-color: transparent !important;
        color: #f1f5f9 !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .tf-btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border-color: #f1f5f9 !important;
        transform: translateY(-2px);
    }

    /* Right Column Glassmorphism/Premium Card Layout */
    .tf-hero-right {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .tf-premium-card {
        background-color: #1e293b !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px;
        padding: 2.5rem;
        width: 100%;
        max-width: 480px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        position: relative;
    }

    .tf-metric-badge {
        position: absolute;
        top: -20px;
        right: -20px;
        background: #10b981 !important;
        color: white !important;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
        z-index: 5;
    }

    .tf-card-title {
        color: #f1f5f9 !important;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .tf-card-text {
        color: #94a3b8 !important;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Interactive Data Metric Charts */
    .tf-chart-mockup {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .tf-chart-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: #94a3b8 !important;
    }

    .tf-chart-bar-bg {
        background-color: #0f172a !important;
        height: 8px;
        width: 100%;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 0.25rem;
    }

    .tf-chart-bar-fill {
        height: 100%;
        background-color: #38bdf8;
        border-radius: 4px;
    }

    /* ADJUSTABLE GAP SYSTEM */
    .spacer {
        width: 100%;
        display: block;
    }
    .sp-xs { height: 0.5rem; }
    .sp-sm { height: 1rem; }
    .sp-md { height: 1.5rem; }
    .sp-lg { height: 2rem; }
    .sp-xl { height: 3rem; }

    /* 
       =========================================
       STABLE RENDERING HIGH-END ANIMATIONS 
       =========================================
    */

    /* Staggered Content Loading Sequence (Fallback to safe defaults) */
    .tf-animate-fade-up {
        opacity: 0;
        transform: translateY(20px);
        animation: tfFadeUp ease-out 0.6s forwards;
    }

    @keyframes tfFadeUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* FIXED VISIBILITY: Entrance configurations safely guarantee baseline visibility */
    .tf-animate-card-entrance {
        opacity: 1; /* Guaranteed visibility immediately fallback */
        animation: tfCardEntrance ease-out 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes tfCardEntrance {
        from {
            opacity: 0;
            transform: scale(0.98) translateX(15px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateX(0);
        }
    }

    /* Continuous Floating Motion */
    .tf-float-animation {
        animation: tfFloat 5s ease-in-out infinite alternate;
    }

    @keyframes tfFloat {
        0% { transform: translateY(0px); }
        100% { transform: translateY(-10px); }
    }

    /* Dynamic Chart Bar Fills */
    .tf-animate-bar-87 { animation: fillBar87 1s ease-out forwards; }
    .tf-animate-bar-64 { animation: fillBar64 1s ease-out forwards; }
    .tf-animate-bar-93 { animation: fillBar93 1s ease-out forwards; }

    @keyframes fillBar87 { from { width: 0%; } to { width: 87%; } }
    @keyframes fillBar64 { from { width: 0%; } to { width: 64%; } }
    @keyframes fillBar93 { from { width: 0%; } to { width: 93%; } }

    /* Responsive Mobile Media Queries */
    @media (max-width: 968px) {
        .tf-hero-container {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 2rem;
        }
        .tf-hero-left {
            align-items: center;
        }
        .tf-hero-description {
            margin: 0 auto;
        }
        .tf-hero-actions {
            justify-content: center;
        }
        .tf-hero-title {
            font-size: 2.8rem;
        }
        .tf-metric-badge {
            right: 10px;
        }
    }

/* 
   HIGH-END CLIENT PROOF & PERFORMANCE HUB
   Engineered with smooth loops, floating elements, and modular theme adaptations.
*/
.tf-proof-section {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 6rem 0rem 8rem 0rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

/* INFINITE LOOP TICKER MARQUEE SYSTEM */
.tf-ticker-wrapper {
    width: 100%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.tf-ticker-track {
    display: flex;
    gap: 4rem;
    animation: tfTickerLoop 25s linear infinite;
}

.tf-ticker-track span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes tfTickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CONTAINER ARCHITECTURE */
.tf-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.tf-proof-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* LEFT COLUMN DESIGN - BRAND SPOTLIGHT */
.tf-case-spotlight {
    display: flex;
    flex-direction: column;
}

.tf-proof-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tf-spotlight-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.tf-spotlight-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Premium Star Rating Indicators */
.tf-stars-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tf-star-icon {
    color: #f59e0b !important; /* Premium gold star tint */
    font-size: 1.2rem;
}

.tf-rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-left: 0.5rem;
}

/* RIGHT COLUMN DESIGN - CARD TILES */
.tf-stats-display {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Interactive Glass/Neon Bento Cards */
.tf-stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tf-stat-card:hover {
    transform: translateX(-8px) scale(1.02);
    border-color: var(--accent);
}

/* Highlight accent glow variant for maximum conversion focus */
.tf-stat-card.intense-glow {
    border-left: 4px solid var(--accent) !important;
}

.tf-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.tf-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.tf-stat-growth {
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}

.tf-stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.tf-stat-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ADJUSTABLE GAP SYSTEM UTILITIES */
.spacer {
    width: 100%;
    display: block;
}
.sp-xs { height: 0.5rem; }
.sp-sm { height: 1rem; }
.sp-md { height: 1.5rem; }
.sp-xl { height: 3rem; }

/* HIGHLY RESPONSIVE BREAKDOWN STRATEGIES */
@media (max-width: 968px) {
    .tf-proof-section {
        padding: 4rem 0rem;
    }
    .tf-proof-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .tf-proof-container {
        padding: 0 1.5rem;
    }
    .tf-spotlight-title {
        font-size: 2.2rem;
    }
    .tf-stat-card:hover {
        transform: translateY(-5px); /* Switch to vertical leap on small screens */
    }
}


/* 
   THEME HYBRID SPLIT ARCHITECTURE 
   Left adapts to system theme settings, Right locks strictly into deep tech darkness.
*/
.tf-why-section {
    background-color: var(--bg-color);
    padding: 7rem 2rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.tf-why-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

/* 
   LEFT COLUMN: LIGHT/DARK ADAPTIVE State
   Flips typography metrics and balances contrast ratios seamlessly.
*/
.tf-why-left {
    display: flex;
    flex-direction: column;
}

.tf-why-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tf-why-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main); /* Changes automatically when theme toggles */
    transition: color 0.3s ease;
}

.tf-why-title span {
    color: var(--accent);
}

.tf-why-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted); /* Changes automatically when theme toggles */
    transition: color 0.3s ease;
}

.tf-why-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: var(--accent);
    color: #0f172a !important; /* Keep background contrasting */
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tf-why-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

/* 
   RIGHT COLUMN: IMMUTABLE DEEP DARK State
   Locks into dark mode values permanently (#0f172a / #1e293b) to project premium authority.
*/
.tf-why-right {
    width: 100%;
}

.tf-dark-showcase {
    background-color: #0f172a !important; /* FORCED DARK ENGINE */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tf-pillar-card {
    background-color: #1e293b !important; /* FORCED DARK CARD */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.tf-pillar-card:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    transform: scale(1.02);
}

.tf-pillar-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #38bdf8 !important; /* Fixed Neon Turquoise Accent */
    background: rgba(56, 189, 248, 0.1) !important;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    line-height: 1;
}

.tf-pillar-content {
    display: flex;
    flex-direction: column;
}

.tf-pillar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9 !important; /* FIXED LIGHT WRITING FORCED ON DARK BACKGROUND */
    margin: 0 0 0.35rem 0;
}

.tf-pillar-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8 !important; /* FIXED MUTED TEXT FORCED ON DARK BACKGROUND */
    margin: 0;
}

/* 
   HIGH-END NEON PULSE ANIMATIONS
*/
.tf-animate-pulse {
    animation: tfNeonPulse 4s infinite alternate ease-in-out;
}

@keyframes tfNeonPulse {
    0% {
        box-shadow: 0 0 0 rgba(56, 189, 248, 0);
    }
    50% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
        border-color: rgba(56, 189, 248, 0.2) !important;
    }
    100% {
        box-shadow: 0 0 0 rgba(56, 189, 248, 0);
    }
}

/* ADJUSTABLE SYSTEM UTILITIES */
.spacer {
    width: 100%;
    display: block;
}
.sp-xs { height: 0.5rem; }
.sp-md { height: 1.5rem; }
.sp-lg { height: 2rem; }

/* DYNAMIC RESPONSIVE BREAKDOWN SYSTEM */
@media (max-width: 968px) {
    .tf-why-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .tf-why-section {
        padding: 4rem 1.5rem;
    }
    .tf-why-title {
        font-size: 2.3rem;
    }
    .tf-dark-showcase {
        padding: 2rem 1.25rem;
    }
}


/* 
   EQUAL-HEIGHT HYBRID GRID ENGINE
   Forces left side and right side wrappers to calculate identical structural height boundaries.
*/
.tf-mix-section {
    background-color: var(--bg-color);
    padding: 7rem 2rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.tf-mix-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: stretch; /* CRITICAL: Forces both columns to retain equal height */
}

/* LEFT COLUMN DESIGN - CLIPS CONTENT FLUIDLY WITH THEME TOGGLES */
.tf-mix-left {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text perfectly within the matched height space */
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 3.5rem;
    border-radius: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tf-mix-left-content {
    width: 100%;
}

.tf-mix-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tf-mix-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.tf-mix-title span {
    color: var(--accent);
}

.tf-mix-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tf-mix-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.tf-pulse-ring {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    animation: tfPulseRingWave 2s infinite;
}

@keyframes tfPulseRingWave {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* RIGHT COLUMN DESIGN - FORCED PERMANENT DARK MATRIX CANVAS */
.tf-mix-right {
    display: flex;
}

.tf-dark-bento-grid {
    background-color: #0f172a !important; /* FIXED ULTRA-DARK CANVAS */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: 1fr 1fr; /* Double matrix layout formatting */
    gap: 1.5rem;
    width: 100%;
}

.tf-bento-item {
    background-color: #1e293b !important; /* IMMUTABLE CARD BACKGROUNDS */
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.tf-bento-item:hover {
    transform: scale(1.03) translateY(-2px);
    border-color: rgba(56, 189, 248, 0.35) !important;
}

.tf-bento-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.tf-bento-icon {
    font-size: 1.1rem;
}

.tf-bento-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9 !important; /* FIXED LIGHT WRITING */
    margin: 0;
}

.tf-bento-item p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #94a3b8 !important; /* FIXED MUTED BLUE LABELS */
    margin: 0;
}

/* UNIVERSAL SPACER */
.spacer {
    width: 100%;
    display: block;
}
.sp-xs { height: 0.5rem; }
.sp-sm { height: 1rem; }
.sp-md { height: 1.5rem; }
.sp-lg { height: 2rem; }

/* SYSTEM RESPONSIVE BREAKER MODES */
@media (max-width: 968px) {
    .tf-mix-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: initial;
    }
    .tf-mix-section {
        padding: 4rem 1.5rem;
    }
    .tf-mix-left {
        padding: 2rem 1.5rem;
    }
    .tf-mix-title {
        font-size: 2.3rem;
    }
    .tf-dark-bento-grid {
        grid-template-columns: 1fr; /* Switch matrix layout to single stream on tablets */
        padding: 1.5rem;
    }
}

/* 
   EQUAL-HEIGHT VELOCITY PIPELINE GRID
   Balances the responsive intro block on the left with the strict dark timeline container on the right.
*/
.tf-pipeline-section {
    background-color: var(--bg-color);
    padding: 7rem 2rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.tf-pipeline-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: stretch; /* Forces both boxes to hold matching vertical space */
}

/* LEFT COLUMN DESIGN - CONTRAST ADAPTIVE WRAPPER */
.tf-pipeline-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 3.5rem;
    border-radius: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tf-pipeline-left-content {
    width: 100%;
}

.tf-pipeline-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tf-pipeline-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.tf-pipeline-title span {
    color: var(--accent);
}

.tf-pipeline-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tf-pipeline-status-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.tf-status-indicator-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* High-intensity process ready green node */
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: tfLiveNodeBlink 1.8s infinite;
}

@keyframes tfLiveNodeBlink {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 14px #10b981; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* RIGHT COLUMN DESIGN - LOCKED PITCH-BLACK TECH SHOWCASE */
.tf-pipeline-right {
    display: flex;
}

.tf-dark-timeline-wrapper {
    background-color: #0f172a !important; /* IMMUTABLE VELVET DARK PROFILE */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 3.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spreads out steps evenly across the block height */
    position: relative;
}

/* The vertical linking timeline wire */
.tf-timeline-spine {
    position: absolute;
    left: 4.1rem;
    top: 5rem;
    bottom: 5rem;
    width: 2px;
    background: linear-gradient(to bottom, #38bdf8 0%, rgba(56, 189, 248, 0.1) 100%);
    z-index: 1;
}

.tf-timeline-node-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.tf-node-marker {
    background-color: #1e293b !important;
    border: 2px solid #38bdf8 !important; /* Neon outline */
    color: #38bdf8 !important;
    font-size: 0.95rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tf-timeline-node-item:hover .tf-node-marker {
    transform: scale(1.15);
    background-color: #38bdf8 !important;
    color: #0f172a !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.tf-node-body {
    display: flex;
    flex-direction: column;
}

.tf-node-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9 !important; /* STAYS CRISP WHITE ALWAYS */
    margin: 0 0 0.4rem 0;
    transition: color 0.3s ease;
}

.tf-timeline-node-item:hover .tf-node-title {
    color: #38bdf8 !important;
}

.tf-node-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #94a3b8 !important; /* STAYS GRAPHITE BLUE SLATE SUBTEXT */
    margin: 0;
}

/* UTILITY SPACING VARIABLES */
.spacer {
    width: 100%;
    display: block;
}
.sp-xs { height: 0.5rem; }
.sp-md { height: 1.5rem; }
.sp-lg { height: 2rem; }

/* SYSTEM RESPONSIVE BREAKER ADAPTATIONS */
@media (max-width: 968px) {
    .tf-pipeline-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: initial;
    }
    .tf-pipeline-section {
        padding: 4rem 1.5rem;
    }
    .tf-pipeline-left {
        padding: 2rem 1.5rem;
    }
    .tf-dark-timeline-wrapper {
        padding: 2.5rem 1.5rem;
    }
    .tf-timeline-spine {
        left: 2.6rem;
    }
    .tf-timeline-node-item {
        gap: 1.25rem;
    }
    .tf-pipeline-title {
        font-size: 2.3rem;
    }
}





/* ====================================================================
   THOUGHTFLARE HIGH-END FLUID CONTACT PRESETS
   ==================================================================== */

.tf-fluid-contact-section {
    background-color: var(--bg-color);
    padding: 7rem 2rem;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Container Constraint Box */
.tf-fluid-frame-wrapper {
    width: 100%;
    max-width: 1240px; /* Expands to a wider, elegant canvas layout */
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    padding: 0.35rem; /* Acts as a colorful high-tech premium rim border */
    border-radius: 40px;
    box-shadow: 0 40px 90px rgba(99, 102, 241, 0.2);
    position: relative;
    box-sizing: border-box;
}

/* Master Grid Card Layout */
.tf-fluid-card-canvas {
    background-color: var(--card-bg);
    border-radius: 38px;
    padding: 5rem 4.5rem;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr; /* Gives the wide form breathing space */
    gap: 5.5rem;
    align-items: stretch;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* LEFT COLUMN: THE WIDE INTEGRATED FORM ENGINE */
.tf-fluid-column-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tf-form-header {
    margin-bottom: 2.5rem;
}

.tf-fluid-heading {
    font-size: 3.5rem;
    font-weight: 850;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin: 0 0 1rem 0;
}

.tf-fluid-subtext {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    max-width: 580px;
}

.tf-fluid-form-core {
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* Equal spacing layout */
    width: 100%;
}

/* Side-by-side inputs grid row layout */
.tf-form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.tf-fluid-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.tf-fluid-field-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding-left: 0.75rem;
}

/* Premium Glassmorphism Floating Input Skins */
.tf-fluid-field-group input,
.tf-fluid-field-group textarea {
    background-color: var(--bg-color);
    border: 1.5px solid var(--border);
    color: var(--text-main);
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    border-radius: 16px; /* Smooth rounded industrial look */
    outline: none;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tf-fluid-field-group textarea {
    resize: none;
}

/* Interactive Input States */
.tf-fluid-field-group input:focus,
.tf-fluid-field-group textarea:focus {
    border-color: #6366f1;
    background-color: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* Modern Action Callout Button with Icon Alignment */
.tf-fluid-submit-btn {
    align-self: flex-start;
    background: linear-gradient(90deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    padding: 1.1rem 3.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-fluid-submit-btn svg {
    transition: transform 0.3s ease;
}

.tf-fluid-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.45);
}

.tf-fluid-submit-btn:hover svg {
    transform: translate(3px, -3px);
}

/* RIGHT COLUMN: MODERN COORDINATES BRICKS */
.tf-fluid-column-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.tf-graphic-display-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 24px;
    border: 1px dashed var(--border);
}

.tf-illustration-canvas {
    position: relative;
    width: 200px;
    height: 140px;
}

.tf-mock-envelope {
    width: 120px;
    height: 85px;
    background-color: rgba(99, 102, 241, 0.15);
    border: 2px dashed #6366f1;
    border-radius: 14px;
    position: absolute;
    bottom: 5px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-mock-paper {
    width: 85px;
    height: 70px;
    background-color: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transform: translateY(-15px);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.tf-mock-paper span {
    display: block;
    height: 3px;
    background-color: var(--border);
    border-radius: 2px;
    width: 100%;
}
.tf-mock-paper span:last-child { width: 55%; }

.tf-mock-plane {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: #7c3aed;
    clip-path: polygon(0 70%, 100% 0, 70% 100%, 45% 55%);
}

/* Custom Coordinate List Item Rows */
.tf-meta-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.tf-meta-info-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tf-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: var(--bg-color);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
}

.tf-meta-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tf-meta-text label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.tf-meta-text span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
}

/* Round Pill Matrix Setup */
.tf-fluid-socials {
    display: flex;
    gap: 1rem;
}

.tf-social-pill {
    width: 46px;
    height: 46px;
    background-color: var(--bg-color);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tf-social-pill:hover {
    background-color: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: translateY(-2px);
}


/* ====================================================================
   HIGH-END RESPONSIVE SYSTEM MEDIA BREAKPOINTS
   ==================================================================== */

/* --- LAPTOP / DESKTOP OPTIMIZATIONS (Under 1200px) --- */
@media screen and (max-width: 1200px) {
    .tf-fluid-card-canvas {
        gap: 3.5rem;
        padding: 4rem 3.5rem;
    }
    .tf-fluid-heading {
        font-size: 3rem;
    }
}

/* --- TABLET ENGINE (Under 992px - Switches Columns Stack) --- */
@media screen and (max-width: 992px) {
    .tf-fluid-contact-section {
        padding: 4rem 1.5rem;
    }

    .tf-fluid-frame-wrapper {
        border-radius: 32px;
    }

    .tf-fluid-card-canvas {
        grid-template-columns: 1fr; /* Drops side elements down vertically */
        gap: 4rem;
        padding: 4rem 2.5rem;
        border-radius: 30px;
    }

    .tf-fluid-column-left,
    .tf-fluid-column-right {
        max-width: 100%;
    }

    .tf-fluid-heading,
    .tf-fluid-subtext {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .tf-fluid-submit-btn {
        align-self: center;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .tf-graphic-display-box {
        display: none; /* Safely clears unneeded components from tablet screens */
    }

    .tf-meta-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        display: grid;
        gap: 2rem;
        margin: 1rem 0;
    }

    .tf-fluid-socials {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* --- MICRO MOBILE PANELS (Under 576px) --- */
@media screen and (max-width: 576px) {
    .tf-fluid-contact-section {
        padding: 3rem 1rem;
        width: auto;
    }

    .tf-fluid-card-canvas {
        padding: 3rem 1.5rem;
    }

    .tf-fluid-heading {
        font-size: 2.4rem;
    }

    .tf-form-row-grid {
        grid-template-columns: 1fr; /* Stack Name and Phone inputs on top of each other */
        gap: 1.75rem;
    }

    .tf-meta-info-grid {
        grid-template-columns: 1fr;
    }

    .tf-fluid-submit-btn {
        max-width: 100%;
    }
}

/* FLUID ORGANIC STRUCTURE ENGINE
   Uses clean CSS border-radii adjustments to safely handle color flipping on light/dark modes.
*/


/* ====================================================================
   THOUGHTFLARE HERO SECTION RESPONSIVE SYSTEM
   ==================================================================== */

/* Tablet Viewport Optimization */
@media screen and (max-width: 1024px) {
    .tf-hero-container {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 2rem;
        max-width: 100%;
    }

    .tf-hero-left, 
    .tf-hero-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
    }

    .tf-hero-left {
        text-align: center;
    }

    .tf-hero-actions {
        justify-content: center;
    }
}

/* Mobile Viewport Optimization (Prevents Narrowing / Squeezing) */
@media screen and (max-width: 768px) {
    .tf-hero-section {
        padding: 2rem 0;
        overflow-x: hidden;
    }

    .tf-hero-container {
        padding: 2rem 1.25rem;
        gap: 2.5rem;
    }

    /* Core Typographic Rescaling */
    .tf-hero-title {
        font-size: 2.5rem !important; /* Scale down heading cleanly */
        line-height: 1.2;
    }

    .tf-hero-description {
        font-size: 1rem !important;
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Actions Layout Restructuring */
    .tf-hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .tf-hero-actions .tf-btn {
        width: 100% !important; /* Make buttons stack full-width for easy tapping */
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Right Column Premium Card Sizing (Fixes narrow rendering) */
    .tf-premium-card {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box;
        padding: 1.5rem !important;
    }
    
    .tf-chart-mockup {
        width: 100% !important;
    }
}

/* Micro-Screen Adjustments (Small Mobile Phones) */
@media screen and (max-width: 480px) {
    .tf-hero-title {
        font-size: 2rem !important;
    }

    .tf-hero-tagline {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem;
    }

    .tf-metric-badge {
        position: relative !important; /* Bring badge inline if text spaces squeeze too tightly */
        top: 0 !important;
        right: 0 !important;
        margin-bottom: 1rem;
        display: inline-block;
    }
}



    