/* =========================================================================
   Base & Resets
   ========================================================================= */

:root {
    /* Colors */
    --color-primary: #1F1F1F;
    /* Dark Contrast */
    --color-secondary: #F3E2C8;
    /* Tan hero bg */
    --color-light: #ffffff;
    --color-dark: #000000;

    --color-text-dark: #1A1A1A;
    --color-text-light: #ffffff;
    --color-text-muted: #56585E;

    --color-border: #D8DAE0;
    --color-gray-border: #D8DAE0;
    --color-gray-light: #f7f9fa;
    --color-gray-dark: #56585E;

    --color-danger: #e53935;
    --color-warning: #f59e0b;
    --color-success: #22c55e;
    --color-success-dark: #16a34a;

    --footer-bg: #1A2B3C;
    --header-bg: #1F1F1F;

    /* Typography */
    --font-family-headings: "Bebas Neue", sans-serif;
    --font-family-body: "Inter", "Outfit", sans-serif;

    /* Sizing */
    --container-width: 1224px;
    --header-height-desktop: 124px;
    --header-height-mobile: 61px;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-body);
    color: var(--color-text-dark);
    line-height: 1.5;
    background-color: var(--color-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-headings);
    font-weight: 400;
    line-height: 1.2;
}

/* =========================================================================
   Containers & Layouts
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    color: var(--color-light);
    height: var(--header-height-mobile);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Glassmorphism Styles */
.glassmorphism {
    background: rgba(31, 31, 31, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.glassmorphism-dropdown {
    background: rgba(31, 31, 31, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.glassmorphism-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.glassmorphism-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    /* Ensure children can position absolutely relative to header */
}

.site-header__logo {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1002;
}

.site-header__logo img {
    height: 42px;
}

.site-nav {
    display: none;
}

.site-nav.nav-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: calc(100vh - var(--header-height-mobile));
    overflow-y: auto;
}

.site-nav ul {
    display: flex;
    gap: 32px;
}

@media (max-width: 991px) {
    .site-nav.nav-open ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.site-nav a {
    font-family: var(--font-family-headings);
    font-size: 18px;
    letter-spacing: 1px;
    transition: opacity 0.2s;
}

.site-nav a:hover {
    opacity: 0.7;
}

/* DROPDOWN MENU PARA HEADER */
.site-nav li.has-dropdown {
    position: relative;
    padding-right: 15px;
}

.site-nav li.has-dropdown>a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.site-nav li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block !important;
    margin: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: var(--color-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        display: none;
        /* Hidden by default on mobile */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        border-radius: 8px;
        padding: 5px 0;
    }

    /* Show when parent has .open class */
    .has-dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .has-dropdown.open>a::after {
        transform: rotate(180deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Lang Switcher */
.lang-switcher {
    position: relative;
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--header-bg);
    list-style: none;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 1000;
    min-width: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-dropdown li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.lang-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-switcher span {
    text-transform: uppercase;
}

/* Mobile Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburguer Animation to X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
.nav-open-body {
    overflow: hidden;
}

/* Desktop Header Adjustments */
@media (min-width: 992px) {
    .site-header {
        height: var(--header-height-desktop);
    }

    .site-header__logo img {
        height: 62px;
    }

    .site-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-headings);
    font-size: 26px;
    padding: 12px 32px;
    border-radius: 86px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border: 4px solid transparent;
}

.btn--primary {
    background-color: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-dark);
    border-width: 9px;
}

.btn--primary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn--secondary {
    background-color: #2D7FB5;
    color: var(--color-light);
    border-radius: 59px;
    border: none;
    font-family: "Oswald", sans-serif;
}

.btn--secondary:hover {
    background-color: #1D1E20;
}

.btn--dark {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
    border-width: 1px;
}

.btn--dark:hover {
    background-color: #2E2F31;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--color-light);
    padding: 60px 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h2,
.footer-col h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 18px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    font-family: var(--font-family-body);
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.2s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Simple Contact Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form input {
    padding: 14px 20px;
    border-radius: 22px;
    border: 2px solid #ffffff;
    background: transparent;
    color: var(--color-light);
    font-family: var(--font-family-body);
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form button {
    background-color: #345B7E;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-family: var(--font-family-body);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.footer-form button:hover {
    background-color: #1F3C55;
}

/* =========================================================================
   Utility Classes
   ========================================================================= */
.text-center {
    text-align: center;
}

.bg-tan {
    background-color: var(--color-secondary);
}

.bg-dark {
    background-color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-gray-light);
}

.text-light {
    color: var(--color-light);
}

.text-gray {
    color: var(--color-gray-dark);
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Row flex layout */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Hero utilities */
.hero-section {
    position: relative;
    color: #fff;
}

.hero-cover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Regional Navigation Section */
.regional-nav {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(22, 107, 224, 0.29), rgba(0, 197, 204, 0.33));
    border-top: 1px solid var(--color-gray-border);
}

.regional-nav h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.regional-nav p {
    font-size: 18px;
    margin-bottom: 40px;
}

.regional-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Accent button (green-yellow, used in regional nav) */
.btn--accent {
    background: rgb(195, 245, 58);
    color: #000;
    font-weight: bold;
    border-radius: 59px;
    padding: 16px 36px;
    border: none;
}

.btn--accent:hover {
    background: rgb(170, 218, 30);
    color: #000;
}

/* =========================================================================
   Global Content Blocks (Refactored from inline Zyro styles)
   ========================================================================= */

/* Hero Sections */
.hero-dacia {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.hero-dacia h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-dacia p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

/* Content Layouts */
.content-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.content-section.bg-light {
    background-color: #f7f9fa;
}

.content-section.bg-highlight {
    background-color: #fce4ec;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 800px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-grid.reverse {
        grid-template-columns: 1fr 1fr;
        direction: rtl;
    }

    .content-grid.reverse>* {
        direction: ltr;
        /* Reset direction for content */
    }
}

/* Typography inside content */
.content-text h2 {
    font-size: 2.2rem;
    color: #2f1c6a;
    /* var(--color-meteorite-dark) */
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.content-section.bg-highlight h2 {
    color: #d32f2f;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #673de6;
    /* var(--color-primary) */
    margin-bottom: 16px;
}

.content-text p,
.content-section.bg-highlight p,
.cta-section p {
    font-size: 1.125rem;
    color: #36344d;
    /* var(--color-gray-dark) */
    line-height: 1.7;
    margin-bottom: 24px;
}

.content-text ul {
    font-size: 1.125rem;
    color: #36344d;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 24px;
}

/* Images */
.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: #ebe4ff;
    /* var(--color-primary-light) */
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #2f1c6a;
    margin-bottom: 24px;
}

.cta-section p {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Custom Buttons */
.btn-main {
    display: inline-block;
    background-color: #673de6;
    color: #fff;
    padding: 16px 36px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-main:hover {
    background-color: #5025d1;
    transform: translateY(-2px);
    color: #fff;
}

/* =========================================================================
   Map Container (shared across cyl-lidar, geoquickview, etc.)
   ========================================================================= */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border: 2px solid var(--color-gray-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-frame {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fullscreen-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-success);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.fullscreen-button:hover {
    background-color: var(--color-success-dark);
}

@media screen and (max-width: 768px) {
    .map-container {
        padding-bottom: 100%;
    }
}

/* =========================================================================
   Radar Widget (vizor-lidar page)
   ========================================================================= */
.radar-widget {
    width: 100%;
    min-height: 650px;
    background: #050805;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Consolas', monospace;
    position: relative;
    border-radius: 12px;
    margin-bottom: 60px;
}

.radar-widget .outer-frame {
    position: relative;
    width: 90%;
    max-width: 550px;
    border: 2px solid #00ff41;
    background: rgba(0, 20, 0, 0.9);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.2), inset 0 0 15px rgba(0, 255, 65, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.radar-widget .corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 4px solid #00ff41;
    pointer-events: none;
}

.radar-widget .tl {
    top: -5px;
    left: -5px;
    border-right: 0;
    border-bottom: 0;
}

.radar-widget .tr {
    top: -5px;
    right: -5px;
    border-left: 0;
    border-bottom: 0;
}

.radar-widget .bl {
    bottom: -5px;
    left: -5px;
    border-right: 0;
    border-top: 0;
}

.radar-widget .br {
    bottom: -5px;
    right: -5px;
    border-left: 0;
    border-top: 0;
}

.radar-widget .inner-sheet {
    border: 1px solid rgba(0, 255, 65, 0.3);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.radar-widget .radar-visual {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 20px 0;
}

.radar-widget .radar-ring {
    position: absolute;
    border: 1px solid #00ff41;
    border-radius: 50%;
    opacity: 0.2;
}

.radar-widget .ring-1 {
    width: 140px;
    height: 140px;
    border-style: dashed;
    animation: lidar-spin 12s linear infinite;
}

.radar-widget .ring-2 {
    width: 80px;
    height: 80px;
}

@keyframes lidar-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.radar-widget .text-box {
    text-align: center;
    z-index: 2;
    margin-bottom: 20px;
}

.radar-widget .text-box h2 {
    color: #00ff41;
    font-size: 28px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.radar-widget .text-box p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 25px;
}

.radar-widget .btr-main {
    display: inline-block;
    background: #00ff41;
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
}

.radar-widget .btr-main:hover {
    background: #000;
    color: #00ff41;
    box-shadow: 0 0 20px #00ff41;
}

.radar-widget .scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 10px #00ff41;
    left: 0;
    animation: scan-move 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes scan-move {
    0% {
        top: 0%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.radar-widget .meta-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(0, 255, 65, 0.5);
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    padding-top: 15px;
    margin-top: auto;
}

/* Info box (shared card style) */
.info-box {
    background: var(--color-gray-light);
    padding: 40px;
    border-radius: 12px;
    height: fit-content;
}

.info-box h3 {
    margin-bottom: 20px;
    font-size: 28px;
}

.info-box p {
    font-size: 18px;
    line-height: 1.6;
}

/* Article-style content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.article-content h2,
.article-content h3 {
    color: var(--color-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

/* =========================================================================
   Premium Header & Navigation (Glassmorphism) OVERRIDE
   ========================================================================= */
.site-header {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glassmorphism {
    background: rgba(31, 31, 31, 0.6) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.container--header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height-mobile);
    transition: height 0.4s ease;
}

.site-header__logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.site-header__logo:hover img {
    transform: scale(1.05);
}

/* Desktop Nav */
.site-nav {
    display: none;
}

.site-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.site-nav a {
    font-family: var(--font-family-headings);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--color-light);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--color-success) !important;
}

/* Dropdowns */
.site-nav li.has-dropdown {
    position: relative;
    padding-right: 15px;
}

.site-nav li.has-dropdown>a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 6px;
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    height: auto;
    width: auto;
}

/* Restructured Dropdown Layout */
html .dropdown-menu.glassmorphism-dropdown {
    position: absolute !important;
    top: 120% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: rgba(15, 15, 15, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

html .site-nav li.has-dropdown:hover .glassmorphism-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    top: 100% !important;
}

html .glassmorphism-dropdown li a {
    display: block !important;
    padding: 10px 24px !important;
    font-size: 15px !important;
    font-family: var(--font-family-body) !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

html .glassmorphism-dropdown li:last-child a {
    border-bottom: none !important;
}

html .glassmorphism-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--color-success) !important;
    padding-left: 30px !important;
}

/* Header Actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Premium Lang Switcher */
html .glassmorphism-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

html .glassmorphism-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glassmorphism-btn img {
    border-radius: 50%;
}

html .lang-dropdown {
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 100px !important;
}

html .lang-switcher.open .lang-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

html .lang-dropdown li a {
    padding: 10px 20px !important;
    text-align: center !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-light);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Menu Active State */
body.nav-open-body {
    overflow: hidden;
}

html .site-nav.nav-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 15, 15, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    z-index: 999 !important;
    padding: 100px 24px 40px !important;
    overflow-y: auto !important;
}

html .site-nav.nav-open ul {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
}

html .site-nav.nav-open .glassmorphism-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 10px 0 10px 15px !important;
}

html .site-nav.nav-open .glassmorphism-dropdown li a {
    font-size: 16px !important;
    padding: 8px 0 !important;
    border-bottom: none !important;
}

/* Adjust Desktop View */
@media (min-width: 992px) {
    .container--header {
        height: var(--header-height-desktop);
    }

    .site-header__logo img {
        height: 62px;
    }

    html .site-nav {
        display: block !important;
    }

    html .menu-toggle {
        display: none !important;
    }
}

/* =========================================================================
   Premium Footer OVERRIDE
   ========================================================================= */
html .site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--color-light) !important;
    padding: 80px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

html .footer-heading {
    font-size: 24px !important;
    margin-bottom: 24px !important;
    color: #fff !important;
    font-family: var(--font-family-headings) !important;
}

html .footer-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 20px !important;
}

html .footer-email {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--color-success) !important;
}

html .footer-social {
    display: flex !important;
    gap: 16px !important;
    margin-top: 30px !important;
}

html .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-light);
    transition: all 0.3s ease;
}

html .footer-social a:hover {
    background: var(--color-success);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

html .footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html .footer-nav-list a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: var(--font-family-body) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

html .footer-nav-list a:hover {
    color: var(--color-success) !important;
    padding-left: 8px !important;
}

html .footer-lang-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

html .lang-tag {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

html .lang-tag:hover,
html .lang-tag.active {
    background: var(--color-success) !important;
    color: #000 !important;
    border-color: var(--color-success) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3) !important;
}

html .glassmorphism-form {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

html .footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

html .footer-form input,
html .footer-form textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-family: var(--font-family-body) !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

/* =========================================================================
   Home Page Premium Components
   ========================================================================= */

/* Hero Enhancements */
.hero-home {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-top: 100px;
}

.hero-home__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(31, 31, 31, 0.4) 100%);
    z-index: 1;
}

.hero-home__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-success);
    color: #000;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.hero-home h1 {
    font-size: clamp(48px, 8vw, 96px);
    line-height: .95;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-home p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* Glass Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--color-success);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--color-gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
    transition: all 0.3s;
}

.service-card:hover .service-card__icon {
    background: var(--color-success);
    color: #fff;
}

.service-card h3 {
    font-size: 32px;
    margin: 0;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Process Section */
.process-step {
    padding: 30px;
    border-left: 3px solid var(--color-success);
    position: relative;
    margin-bottom: 30px;
}

.process-step__number {
    position: absolute;
    left: -15px;
    top: 25px;
    width: 30px;
    height: 30px;
    background: var(--color-success);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 50%;
}

html .footer-form input:focus,
html .footer-form textarea:focus {
    outline: none !important;
    border-color: var(--color-success) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1) !important;
}

html .btn--glow {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 10px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    background-color: var(--color-success) !important;
    color: #000 !important;
}

html .btn--glow:hover {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5) !important;
    transform: translateY(-2px) !important;
}

html .footer-copyright {
    text-align: center !important;
    margin-top: 60px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 14px !important;
}

/* =========================================================================
   Professional Blog Components
   ========================================================================= */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--color-success);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Social Share Buttons */
.share-buttons {
    display: flex;
    gap: 15px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s, filter 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-btn--fb {
    background: #1877f2;
}

.share-btn--tw {
    background: #1da1f2;
}

.share-btn--wa {
    background: #25d366;
}

.share-btn--copy {
    background: #6c757d;
}

/* Author Bio Section */
.author-bio {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 60px 0;
}

.author-bio__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-primary);
}

.author-bio__content h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.author-bio__content p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Category Filter Chips */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Typography Enhancements */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 32px;
    margin: 60px 0 25px;
    color: var(--color-text-dark);
}

.article-content h3 {
    font-size: 26px;
    margin: 40px 0 20px;
    color: var(--color-text-dark);
}

.article-content p {
    margin-bottom: 25px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 12px;
}

/* =========================================================================
   Related Posts & Interlinking Section
   ========================================================================= */
.related-posts {
    padding: 60px 0;
    background: #fdfdfd;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.related-posts__title {
    font-size: 32px;
    margin-bottom: 40px;
    font-family: var(--font-family-headings);
    color: var(--color-text-dark);
}

.interlinking-section {
    padding: 100px 0;
    background: #0a0a0a;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.interlinking-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--color-light);
}

.interlinking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.interlinking-card {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
}

.interlinking-card h5 {
    font-size: 22px;
    color: var(--color-success);
    margin: 0;
}

.interlinking-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.interlinking-link {
    font-weight: bold;
    color: var(--color-light);
    font-size: 14px;
    margin-top: 5px;
}

.interlinking-mission {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
}

.interlinking-mission h4 {
    color: var(--color-success);
    font-size: 24px;
    margin-bottom: 15px;
}

.interlinking-mission p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Related Posts Section */
.related-posts {
    padding: 80px 0;
    background: var(--color-gray-light);
    border-top: 1px solid var(--color-border);
}

.related-posts__title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .interlinking-grid {
        grid-template-columns: 1fr 1fr;
    }

    .interlinking-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .interlinking-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Premium Article Page
   ========================================================================= */
.article-hero {
    position: relative;
    padding: 180px 20px 100px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.article-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.article-hero__tag {
    display: inline-block;
    background: var(--color-success);
    color: #000;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-hero__title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-family-headings);
}

.article-hero__meta {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.breadcrumbs {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--color-success);
}

.breadcrumbs span {
    margin: 0 8px;
}

/* =========================================================================
   Premium Blog Silo
   ========================================================================= */
.blog-header {
    background: linear-gradient(135deg, rgba(31, 31, 31, 1) 0%, rgba(10, 10, 10, 1) 100%);
    color: #fff;
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--color-gray-light);
    transform: skewY(-3deg);
}

.blog-header h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-family: var(--font-family-headings);
    letter-spacing: 2px;
}

.blog-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.blog-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #ececec;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}

.blog-card__tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-success);
    color: #000;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card__content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    font-weight: 500;
}

.blog-card__title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    font-family: var(--font-family-headings);
}

.blog-card__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    color: var(--color-success-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.blog-card__link:hover {
    color: var(--color-success);
}