:root {
    --bg-primary: #0B1727;
    --bg-secondary: #101D2E;
    --text-primary: #ffffff;
    --text-secondary: #c0c8d4;
    --accent-blue: #00f2fe;
    --accent-gold: #FEE99A;
    --accent-purple: #A1824C;
    --gradient-primary: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-purple) 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-dark {
    background-color: var(--bg-secondary);
}

.grid {
    display: grid;
    gap: 2rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-nav-contact), .dropdown-trigger {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-links a:not(.btn-nav-contact):hover, 
.dropdown-trigger:hover,
.dropdown.active .dropdown-trigger {
    color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
}

.nav-links a:not(.btn-nav-contact)::after, .dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-blue);
}

.nav-links a:not(.btn-nav-contact):hover::after, 
.dropdown-trigger:hover::after,
.dropdown.active .dropdown-trigger::after {
    width: 80%;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-nav-contact {
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 233, 154, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 6rem 2rem 2rem;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    margin-bottom: 3rem;
}

.hero-placeholder {
    width: 100%;
    max-width: 600px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cards / Glassmorphism */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.08), inset 1px 1px 0 rgba(255, 255, 255, 0.1);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* Placeholders */
.placeholder-box {
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--accent-purple);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
    transition: all 0.3s ease;
    width: 100%;
}

.placeholder-box:hover {
    background: rgba(122, 40, 203, 0.1);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Footer */
.footer {
    background-color: #050508;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer p {
    color: var(--text-secondary);
}

.footer-placeholder {
    max-width: 400px;
    margin: 2rem auto;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.mt-2 { margin-top: 2rem; }

/* Animations & Interactivity */
.reveal-text {
    animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in {
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile Responsiveness */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Form Inputs */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Action Buttons for Videos */
.video-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Form Inputs */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Action Buttons for Videos */
.video-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-action.liked {
    color: #ff4757;
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

/* Splash Screen Loader */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b1727;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen img {
    width: 250px;
    max-width: 80%;
    border-radius: 12px;
    animation: splashPulse 2s infinite ease-in-out;
}

@keyframes splashPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(200, 160, 50, 0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(200, 160, 50, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(200, 160, 50, 0.2)); }
}


/* Splash Screen Loader */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b1727;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen img {
    width: 250px;
    max-width: 80%;
    border-radius: 12px;
    animation: splashPulse 2s infinite ease-in-out;
}

@keyframes splashPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(200, 160, 50, 0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(200, 160, 50, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(200, 160, 50, 0.2)); }
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.btn-action.disliked {
    color: #a4b0be;
    border-color: #a4b0be;
    background: rgba(164, 176, 190, 0.1);
}

/* Tech Details & Inquiry Modal */
dialog.tech-dialog {
    border: none;
    border-radius: 20px;
    background: rgba(16, 29, 46, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 1px 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 2.5rem;
    color: var(--text-primary);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0;
    z-index: 10000;
    display: block; /* Custom override since standard dialog can be tricky */
    visibility: hidden;
    pointer-events: none;
}

dialog.tech-dialog.modal-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Custom Scrollbar for Modal dialog */
dialog.tech-dialog::-webkit-scrollbar {
    width: 8px;
}
dialog.tech-dialog::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
dialog.tech-dialog::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 10px;
}
dialog.tech-dialog::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.5);
}

/* Text newline formatting and Grid Rows */
#modal-status-desc {
    white-space: pre-line;
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Custom Backdrop overlay since native dialog backdrop transition support is limited across browsers */
.modal-backdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Badge System */
.badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-done {
    background: rgba(46, 213, 115, 0.12);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.25);
}

.badge-progress {
    background: rgba(0, 242, 254, 0.12);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.badge-upgrade {
    background: rgba(254, 233, 154, 0.12);
    color: #fee99a;
    border: 1px solid rgba(254, 233, 154, 0.25);
}

.badge-franchised {
    background: rgba(161, 130, 76, 0.15);
    color: #e5c07b;
    border: 1px solid rgba(161, 130, 76, 0.3);
}

/* Modal UI Components */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.modal-info-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Modal Form Styles */
.modal-form-group {
    margin-bottom: 1.2rem;
}

.modal-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
}

/* Category Filter System */
.tech-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-filter {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-filter:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-filter.active {
    background: var(--gradient-primary);
    color: #050508;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(254, 233, 154, 0.4);
}

/* Card Category Tag */
.card-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(16, 29, 46, 0.85);
    border: 1px solid var(--glass-border);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    pointer-events: none;
    z-index: 5;
}

/* Smooth filtering transition */
.tech-grid .card.premium {
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    position: relative; /* Essential for absolute tag placement */
}

.tech-grid .card.premium.hidden-card {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    display: none !important;
}

/* =========================================
   Technologies Dropdown Navigation Style
   ========================================= */

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger .arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

/* Dropdown Content Panel (Glassmorphism & Scroll) */
.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(11, 23, 39, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    min-width: 280px;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 1px 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1002;
    padding: 0.5rem 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

/* Custom Scrollbar for Dropdown Content */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}
.dropdown-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 0 12px 12px 0;
}
.dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 3px;
}
.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Hover Reveal triggers */
.dropdown.active .dropdown-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(5px);
}

/* Dropdown items */
.dropdown-content a {
    display: block;
    color: var(--text-primary);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 0; /* reset */
}

.dropdown-content a::after {
    display: none !important; /* Hide slide-under indicator for dropdown links */
}

/* Individual item hover states */
.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-blue) !important;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem;
}

/* Mobile dropdown media rules */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-trigger {
        justify-content: center;
        width: 100%;
        font-size: 1.5rem;
        padding: 0.8rem;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.4s ease, opacity 0.4s ease;
        padding: 0;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 350px;
        opacity: 1;
        pointer-events: auto;
        padding: 0.5rem 0;
        overflow-y: auto;
    }
    
    .dropdown-content a {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
        text-align: center;
        border-left: none;
        color: var(--text-secondary);
    }
    
    .dropdown-content a:hover {
        padding-left: 1rem;
        background: rgba(255, 255, 255, 0.05);
        color: var(--accent-blue) !important;
    }

    .dropdown.active .dropdown-trigger .arrow {
        transform: rotate(180deg);
    }

    dialog.tech-dialog {
        padding: 1.5rem;
        width: 95%;
        max-height: 85vh;
    }

    .modal-form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* PDF Security Scanner Styles */
@keyframes scannerPulse {
    0% { border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 0 5px rgba(0, 242, 254, 0.1); }
    50% { border-color: rgba(0, 242, 254, 0.8); box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
    100% { border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 0 5px rgba(0, 242, 254, 0.1); }
}
.scanner-box.scanning {
    animation: scannerPulse 1.5s infinite ease-in-out;
}
@keyframes spinIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.scanner-icon.spinning {
    display: inline-block;
    animation: spinIcon 1s linear infinite;
}


/* Under Construction Badge */
.construction-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(16, 29, 46, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 242, 254, 0.1);
    z-index: 100000;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.5px;
}

.construction-dot {
    width: 8px;
    height: 8px;
    background: #ff9f43;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff9f43;
    animation: dotPulse 1.5s infinite ease-in-out;
}

@keyframes dotPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #ff9f43; }
    100% { transform: scale(1); opacity: 0.5; }
}
