
    html {
    scroll-behavior: smooth;
}
:a{
  text-decoration: none;  
}
: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 */

/* --- 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 */
    }
}
.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: 1150px) {
    .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;
    }
}
/* --- GUEST POSTING HERO SECTION (REFINED LAYOUT) --- */
.gp-hero {
    position: relative;
    padding: 100px 5%;
    background: #0f172a; /* Obsidian Dark Stays Fixed */
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.gp-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* --- Left Column: Content --- */
.gp-hero-left {
    text-align: left;
}

.gp-blue-text {
    color: #38bdf8 !important; /* Fixed Blue Accent */
}

.gp-badge {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.gp-hero-left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 800;
}

.gp-hero-left p {
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 580px;
}

.gp-hero-btns {
    display: flex;
    gap: 15px;
}

.gp-btn-main {
    background: #38bdf8;
    color: #0f172a;
    padding: 16px 38px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.gp-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
}

.gp-btn-alt {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 16px 38px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.gp-btn-alt:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- Right Column: Stats Grid --- */
.gp-hero-right {
    position: relative;
}

.gp-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 5;
}

.gp-stat-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
}

.gp-stat-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.gp-stat-card i {
    font-size: 1.5rem;
    color: #38bdf8;
    margin-bottom: 15px;
    display: block;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Decorative Blobs */
.gp-blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.25;
}

.gp-blob-1 { width: 400px; height: 400px; background: #38bdf8; top: -10%; right: -10%; }
.gp-blob-2 { width: 300px; height: 300px; background: #0ea5e9; bottom: -10%; left: -10%; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gp-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gp-hero-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }
    .gp-hero-btns {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gp-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* --- RANKING ROADMAP --- */
.gp-roadmap {
    padding: 100px 0;
    background: var(--bg-color);
    transition: 0.3s;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.roadmap-item {
    text-align: center;
    padding: 30px;
    position: relative;
}

.roadmap-icon {
    width: 70px;
    height: 70px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.roadmap-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* --- TRUST SECTION --- */
.gp-trust {
    padding: 80px 0;
    margin: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.trust-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.trust-list i {
    color: #38bdf8;
}

.trust-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.authority-badge {
    width: 200px;
    height: 200px;
    border: 5px solid #38bdf8;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
    animation: pulse-blue 2s infinite;
}

.authority-badge span {
    font-size: 2.5rem;
    font-weight: 900;
}

.authority-badge small {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-muted);
}

@keyframes pulse-blue {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(56, 189, 248, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .trust-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .trust-list li {
        justify-content: center;
    }
}
/* --- HIGH-END PREMIUM METRICS CSS --- */
.premium-metrics {
    position: relative;
    padding: 120px 0%; /* Side gaps controlled here */
    background-color: var(--bg-color);
    overflow: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle background accent glow */
.premium-metrics::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.metrics-container {
    max-width: 1300px;
    margin: 0 auto;
}

.metrics-header {
    text-align: center;
    margin-bottom: 80px;
}

.eyebrow-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.premium-title {
    color: var(--text-main);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.premium-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.blue-glow {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* THE GRID SYSTEM */
.metrics-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* THE HIGH-END CARD */
.premium-card {
    position: relative;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

.card-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.premium-card:hover .icon-wrapper {
    background: var(--accent);
    color: #fff;
    transform: rotate(-5deg);
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.metric-number {
    display: block;
    color: var(--text-main);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.metric-number small {
    font-size: 1.5rem;
}

.metric-name {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.metric-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* LIGHT THEME ADJUSTMENTS */
[data-theme="light"] .premium-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

[data-theme="light"] .icon-wrapper {
    background: rgba(14, 165, 233, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .premium-metrics {
        padding: 80px 5%;
    }
    .metric-number {
        font-size: 2.2rem;
    }
}
"""

with open("section1_html.html", "w") as f:
    f.write(html_content)

with open("section1_css.css", "w") as f:
    f.write(css_content)
    /* --- HIGH-END PREMIUM NICHES CSS --- */
.premium-niches {
    position: relative;
    padding: 120px 5%; /* Side gaps controlled identically to previous section */
    background-color: var(--bg-color);
    overflow: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alternate light glow location for depth */
.premium-niches::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.niches-container {
    max-width: 1300px;
    margin: 0 auto;
}

.niches-header {
    text-align: center;
    margin-bottom: 80px;
}

.niches-header .eyebrow-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.niches-header .premium-title {
    color: var(--text-main);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.niches-header .title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.niches-header .premium-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.niches-header .blue-glow {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* THE HIGH-END NICHES GRID */
.niches-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* THE PREMIUM HORIZONTAL DESIGN CARD */
.niche-premium-card {
    position: relative;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.niche-premium-card:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.25);
}

/* Glass icon style with glow scaling */
.niche-icon-glow {
    width: 54px;
    height: 54px;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.niche-premium-card:hover .niche-icon-glow {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.niche-icon-glow svg {
    width: 24px;
    height: 24px;
}

.niche-text-block {
    display: flex;
    flex-direction: column;
}

.niche-title {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.niche-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.niche-text-block .blue-glow {
    color: var(--accent);
    font-weight: 500;
}

/* LIGHT THEME OPTIMIZATIONS */
[data-theme="light"] .niche-premium-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
}

[data-theme="light"] .niche-icon-glow {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.15);
}

/* MOBILE SYSTEM RESPONSIVENESS */
@media (max-width: 768px) {
    .premium-niches {
        padding: 80px 5%;
    }
    .niche-premium-card {
        padding: 24px;
        flex-direction: column;
        gap: 16px;
    }
    .niches-visual-grid {
        grid-template-columns: 1fr;
    }
}
/* --- HIGH-END PREMIUM RULES & GUIDELINES CSS --- */
.premium-rules {
    position: relative;
    padding: 120px 0%; /* Side gaps controlled identically across all elements */
    background-color: var(--bg-color);
    overflow: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rules-container {
    max-width: 1300px;
    margin: 0 auto;
}

.rules-header {
    text-align: center;
    margin-bottom: 80px;
}

.rules-header .eyebrow-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.rules-header .premium-title {
    color: var(--text-main);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.rules-header .title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.rules-header .premium-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.rules-header .blue-glow {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* ASYMMETRICAL SPLIT LAYOUT */
.rules-split-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: start;
}

/* LEFT COLUMN - ACCORDION STYLE STATEMENTS */
.rules-main-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guideline-premium-panel {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.guideline-premium-panel:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.15);
}

.panel-numeric {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panel-body {
    display: flex;
    flex-direction: column;
}

.panel-heading {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.panel-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.panel-text .blue-glow {
    color: var(--accent);
    font-weight: 600;
}

/* RIGHT COLUMN - PREMIUM WARNING COMPLIANCE CARD */
.prohibited-premium-card {
    position: relative;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
}

/* Premium micro red sidebar strip */
.prohibited-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ef4444, #b91c1c);
}

.prohibited-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.warning-icon-circle {
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    margin-bottom: 24px;
}

.prohibited-card-title {
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.prohibited-card-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.red-highlight {
    color: #f87171;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* BOTTOM TICKER MODULE */
.queue-status-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--success);
    border-radius: 50%;
    animation: luxuriousPulse 2s infinite ease-in-out;
}

.ticker-message {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.ticker-message .blue-glow {
    color: var(--accent);
}

@keyframes luxuriousPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* LIGHT THEME OPTIMIZATION */
[data-theme="light"] .guideline-premium-panel {
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
[data-theme="light"] .panel-numeric {
    background: rgba(14, 165, 233, 0.1);
}
[data-theme="light"] .red-highlight {
    color: #dc2626;
    text-shadow: none;
}

/* ADAPTIVE MOBILE BREAKPOINTS */
@media (max-width: 991px) {
    .rules-split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .premium-rules {
        padding: 80px 5%;
    }
    .guideline-premium-panel {
        padding: 24px;
        flex-direction: column;
        gap: 16px;
    }
}
/* --- HIGH-END PREMIUM SHOWCASE CSS --- */
.premium-showcase {
    position: relative;
    padding: 120px 0%; /* Aligned edge margins */
    background-color: var(--bg-color);
    overflow: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-container {
    max-width: 1300px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-header .eyebrow-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.showcase-header .premium-title {
    color: var(--text-main);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.showcase-header .title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.showcase-header .premium-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.showcase-header .blue-glow {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* PREMIUM FILTER BUTTONS */
.showcase-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent);
    color: var(--text-main);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

/* SHOWCASE PORTFOLIO GRID */
.showcase-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

/* HIGH-END SHOWCASE CARD */
.showcase-premium-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-premium-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.card-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.niche-badge-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Real live active breathing marker */
.live-index-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.08);
    padding: 6px 12px;
    border-radius: 30px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4ade80;
}

.showcase-article-title {
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Target Anchor Highlighting Box */
.anchor-text-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.anchor-label {
    color: var(--text-muted);
}

.anchor-value {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

/* Metrics and links layout */
.card-bottom-metrics {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    gap: 20px;
}

.mini-metric {
    font-size: 0.9rem;
    color: var(--text-main);
}

.mini-metric .label {
    color: var(--text-muted);
    margin-right: 4px;
}

.live-preview-link {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.live-preview-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.live-preview-link:hover svg {
    transform: translate(3px, -3px);
}

/* LIGHT THEME OPTIMIZATIONS */
[data-theme="light"] .showcase-premium-card {
    box-shadow: 0 8px 20px rgba(0,0,0,0.01);
}
[data-theme="light"] .status-text {
    color: #16a34a;
}
[data-theme="light"] .anchor-text-box {
    background: rgba(0, 0, 0, 0.01);
}

/* RESPONSIVE DESIGN ADJUSTMENT */
@media (max-width: 768px) {
    .premium-showcase {
        padding: 80px 5%;
    }
    .showcase-filters {
        gap: 10px;
        margin-bottom: 40px;
    }
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }
}
/* --- HIGH-END PREMIUM CONTACT / SUBMISSION FORM CSS --- */

/* ==========================================================================
   SECTION 5 COMPLETE STYLING ARCHITECTURE
   ========================================================================== */

/* Fallback Theme Variables (Active if missing from your global stylesheet) */
:root {
    --fallback-bg: #0f172a;
    --fallback-card: rgba(30, 41, 59, 0.7);
    --fallback-border: rgba(255, 255, 255, 0.08);
    --fallback-text: #f8fafc;
    --fallback-muted: #94a3b8;
    --fallback-accent: #38bdf8;
}

.premium-contact {
    position: relative;
    padding: 120px 0%;
    background-color: var(--bg-color, var(--fallback-bg));
    overflow: hidden;
    box-sizing: border-box;
}

.premium-contact * {
    box-sizing: border-box;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

/* --- HEADER MODULE --- */
.contact-header {
    text-align: center;
    margin-bottom: 70px;
}

.contact-header .eyebrow-tag {
    display: inline-block;
    color: var(--accent, var(--fallback-accent));
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.contact-header .premium-title {
    color: var(--text-main, var(--fallback-text));
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.contact-header .title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent, var(--fallback-accent));
    margin: 0 auto 25px;
    border-radius: 2px;
}

.contact-header .premium-desc {
    color: var(--text-muted, var(--fallback-muted));
    font-size: 1.12rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-header .blue-glow {
    color: var(--accent, var(--fallback-accent));
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* --- SPLIT GRID SYSTEM --- */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 45px;
    align-items: stretch;
}

.contact-form-wrapper {
    width: 100%;
}

.premium-interactive-form {
    background: var(--card-bg, var(--fallback-card));
    border: 1px solid var(--border, var(--fallback-border));
    border-radius: 24px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premium-label {
    color: var(--text-main, var(--fallback-text));
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- INPUTS & TEXTAREAS --- */
.premium-input, 
.premium-textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border, var(--fallback-border));
    border-radius: 14px;
    padding: 15px 20px;
    color: var(--text-main, var(--fallback-text));
    font-size: 0.98rem;
    outline: none;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.premium-input::placeholder,
.premium-textarea::placeholder {
    color: var(--text-muted, var(--fallback-muted));
    opacity: 0.6;
}

.premium-input:focus, 
.premium-textarea:focus {
    border-color: var(--accent, var(--fallback-accent));
    background: rgba(56, 189, 248, 0.02);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

/* Dropdown Premium Customization */
.premium-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 50px;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.premium-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.premium-select option {
    background-color: #1e293b; /* Locked dark value for readability contrast inside popup engines */
    color: #f8fafc;
    padding: 15px;
}

/* Light theme native option dropdown optimization mapping rules */
[data-theme="light"] .premium-select option {
    background-color: #ffffff;
    color: #0f172a;
}

.premium-textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.5;
}

/* --- INTERACTIVE ACTION SUBMIT BUTTON --- */
.premium-submit-btn {
    background: var(--accent, var(--fallback-accent));
    color: #0f172a;
    border: none;
    border-radius: 14px;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.premium-submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.premium-submit-btn:hover svg {
    transform: translate(3px, -3px);
}

/* --- TRUST PROCESS SIDEBAR --- */
.contact-trust-sidebar {
    display: flex;
    height: 670px;
    flex-direction: column;
}

.trust-premium-card {
    background: var(--card-bg, var(--fallback-card));
    border: 1px solid var(--border, var(--fallback-border));
    border-radius: 24px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sidebar-title {
    color: var(--text-main, var(--fallback-text));
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 40px 0;
    letter-spacing: -0.3px;
}

.step-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
}

/* Timeline Vertical Line */
.step-progress-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 22px;
    width: 1px;
    height: calc(100% - 45px);
    background: var(--border, var(--fallback-border));
    z-index: 0;
}

.progress-step-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-color, var(--fallback-bg));
    border: 1px solid var(--border, var(--fallback-border));
    border-radius: 50%;
    color: var(--accent, var(--fallback-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.progress-step-item:hover .step-icon {
    border-color: var(--accent, var(--fallback-accent));
    background: rgba(56, 189, 248, 0.06);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.step-icon svg {
    width: 20px;
    height: 20px;
}

.step-text h4 {
    color: var(--text-main, var(--fallback-text));
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.step-text p {
    color: var(--text-muted, var(--fallback-muted));
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

.direct-support-pill {
    margin-top: 40px;
    border-top: 1px solid var(--border, var(--fallback-border));
    padding-top: 30px;
    font-size: 0.95rem;
    color: var(--text-muted, var(--fallback-muted));
}

.direct-support-pill p {
    margin: 0;
    line-height: 1.5;
}

.direct-support-pill a {
    text-decoration: none;
    color: var(--accent, var(--fallback-accent));
    font-weight: 600;
    transition: color 0.2s ease;
}

.direct-support-pill a:hover {
    color: var(--text-main, var(--fallback-text));
}

/* --- LIGHT THEME STYLING ADAPTIONS --- */
[data-theme="light"] .premium-input, 
[data-theme="light"] .premium-textarea {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .premium-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

[data-theme="light"] .premium-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

[data-theme="light"] .premium-submit-btn:hover {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.2);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .premium-contact {
        padding: 80px 4%;
    }
    
    .premium-interactive-form, 
    .trust-premium-card {
        padding: 35px 25px;
    }
    
    .form-row-dual {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-header {
        margin-bottom: 50px;
    }
}


/* ==========================================================================
   PREMIUM RESPONSIVE ARCHITECTURE
   ========================================================================== */

/* --- Tablet / Smaller Desktops (Under 1024px) --- */
@media screen and (max-width: 1024px) {
    main {
        padding: 60px 5% !important; /* Scale down outer spacing */
    }

    /* Grids step down from 4 or 3 columns to dual-columns */
    .metrics-visual-grid,
    .showcase-visual-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .niches-visual-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Split layouts scale into clean stacks */
    .rules-split-layout,
    .contact-split-layout {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .rules-main-column,
    .rules-sidebar-column,
    .contact-form-wrapper,
    .contact-trust-sidebar {
        width: 100% !important;
    }
}

/* --- Mobile Landscapes / Large Phones (Under 768px) --- */
@media screen and (max-width: 768px) {
    /* Fluid typography reductions for headers */
    .premium-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .premium-desc {
        font-size: 1rem !important;
    }

    /* Dual row form fields collapse to individual lines */
    .form-row-dual {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .form-group-premium {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Showcase horizontal filters allow touch swipe if overflowing */
    .showcase-filters {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        gap: 10px !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* --- Small Mobile Devices (Under 480px) --- */
@media screen and (max-width: 480px) {
    main {
        padding: 40px 4% !important;
    }

    /* Complete collapse to single column vertical stacks */
    .metrics-visual-grid,
    .niches-visual-grid,
    .showcase-visual-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Structural padding adjustments for internal text alignment */
    .premium-card, 
    .niche-premium-card, 
    .guideline-premium-panel, 
    .prohibited-premium-card, 
    .showcase-premium-card, 
    .contact-form-wrapper, 
    .trust-premium-card {
        padding: 20px !important;
    }

    /* Scaling big data display points down */
    .metric-number {
        font-size: 2.5rem !important;
    }

    .panel-numeric {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    /* Guideline blocks stack panel numbers over body content */
    .guideline-premium-panel {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Reposition persistent side button so it doesn't cover critical form elements */
    #support-slide-wrapper {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .side-pull-btn {
        padding: 10px !important;
    }
    
    .support-label {
        display: none !important; /* Keep it clean with just the icon on small viewports */
    }
}
/* ==========================================================================
   INTERACTIVE FORM RESPONSIVE CORRECTION
   ========================================================================== */

/* Target tablet and mobile viewports */
@media screen and (max-width: 1024px) {
    
    /* 1. Prevent the wrapper from stretching past natural bounds */
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 680px !important; /* Forces an elegant, readable form layout */
        margin: 0 auto !important;     /* Centers it perfectly if the container expands */
        box-sizing: border-box !important;
    }

    .premium-interactive-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important; /* Consistent vertical spacing */
        width: 100% !important;
    }

    /* 2. Collapse horizontal rows into vertical stacks */
    .form-row-dual {
        flex-direction: column !important;
        gap: 20px !important; /* Matches uniform spacing instead of horizontal gaps */
        width: 100% !important;
    }

    /* 3. Force fields out of stretched horizontal flex layouts */
    .form-group-premium {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Keeps labels aligned left instead of stretching */
    }

    /* 4. Sanitize element sizing to prevent clipping or spilling */
    .premium-input,
    .premium-select,
    .premium-textarea,
    .premium-submit-btn {
        width: 100% !important;
        box-sizing: border-box !important; /* Includes padding inside width calculations */
    }

    /* 5. Keep the button proportionate and naturally sized */
    .premium-submit-btn {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        align-self: center !important; /* Keeps it sharp and centered instead of block-stretched */
        width: auto !important;
        min-width: 260px !important;  /* Generous touch target size */
        padding: 14px 28px !important;
    }
}

/* Micro-adjustments for compact screens */
@media screen and (max-width: 480px) {
    .contact-form-wrapper {
        padding: 20px !important; /* Saves inner screen real estate */
    }
    
    .premium-submit-btn {
        width: 100% !important; /* Lets it fall back to full width only on tiny viewports */
    }
}
/* ==========================================================================
   SHOWCASE GRID MOBILE STACKING LAYER (700px & BELOW)
   ========================================================================== */

@media screen and (max-width: 700px) {
    /* 1. Reset grid from multi-column layouts to a strict single-column stack */
    .showcase-visual-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Force cards to sit one after another */
        gap: 24px !important;                 /* Clean vertical spacing between cards */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Prevent structural distortion or horizontal layout bleeding */
    .showcase-premium-card {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;    /* Stack internal elements vertically */
        gap: 16px !important;                 /* Inner element separation */
        padding: 20px !important;             /* Cozy, responsive padding for small viewports */
        box-sizing: border-box !important;
    }

    /* 3. Handle card metadata line conversion if elements overlap */
    .card-top-meta {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* 4. Adjust the bottom data strip to map cleanly on narrow devices */
    .card-bottom-metrics {
        display: flex !important;
        flex-wrap: wrap !important;           /* Wrap cleanly if the screen gets exceptionally tight */
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: auto !important;          /* Keeps metrics aligned nicely at the base */
    }

    /* 5. Clean text wrapping rules for small screens */
    .showcase-article-title {
        font-size: 1.25rem !important;        /* Downscale font slightly so long words don't overflow */
        line-height: 1.4 !important;
    }
}
    