:root {
    /* Premium Colors */
    --bg-dark: #09090b;
    --bg-surface: #121217;

    /* Brand Colors */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --accent: #f43f5e;

    /* Text */
    --text-bright: #ffffff;
    --text-main: #94a3b8;
    --text-muted: #64748b;

    /* Glass System */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;

    /* Spacing */
    --header-height: 80px;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --------------------------------------------------
   Background Effects (Noise & Glows)
   -------------------------------------------------- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08), transparent 25%);
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------
   Typography & Utilities
   -------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 100px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul {
    list-style: none;
}

/* --------------------------------------------------
   Premium Glass Components
   -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-bright);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-bright);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--glass-highlight);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------
   Header
   -------------------------------------------------- */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1280px;
    z-index: 1000;
    /* Floating Glass Polish */
    background: linear-gradient(to right, rgba(18, 18, 23, 0.8), rgba(9, 9, 11, 0.8));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Ensure spacing */
    flex-wrap: nowrap;
    /* Prevent vertical stacking */
    transition: all 0.3s ease;
}

/* Subtle inner glow for header */
.main-header::after {
    display: none;
    /* Remove bottom line, using border/shadow instead */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Container is now relative to the floating header width */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 60px;
    /* Increase space between logo and nav */
}

.logo img {
    height: 32px;
    display: block;
    /* Remove inline-block spacing issues */
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    /* Allow nav to take available space */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--text-main);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

/* Restoring missing header-actions flex container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 40px;
    /* Push to right */
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.action-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-bright);
}

.action-btn-support {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-bright);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn-support:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.hamburger-btn {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 1.4rem;
    padding: 5px;
}

/* Hide action text on tablets and mobile to prevent crowding */
@media (max-width: 992px) {

    .action-text,
    .support-text {
        display: none;
    }

    .action-btn-support {
        padding: 8px;
        width: 36px;
        height: 36px;
        justify-content: center;
        border-radius: 50%;
    }

    .action-link {
        padding: 8px;
    }

    .header-actions {
        gap: 5px;
        margin-right: 0;
    }
}

/* Specific fix for small screens (iPhone SE, 7, etc.) */
@media (max-width: 576px) {
    .main-header {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 10px;
        /* Internal padding of the flex container logic if needed, but nav-container handles it */
    }

    .nav-container {
        padding: 0 12px;
    }

    .logo {
        margin-right: 15px;
    }

    .logo img {
        height: 24px;
        /* Smaller logo */
    }

    .header-actions {
        gap: 2px;
        margin-right: 12px;
        /* Pull icons away from the right edge */
    }

    .action-link,
    .action-btn-support {
        padding: 6px;
        width: 32px;
        height: 32px;
    }
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 320px;
    background: rgba(18, 18, 23, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.has-mega-menu:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    color: var(--text-main);
}

.mega-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-bright);
}

.mega-list i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* --------------------------------------------------
   Sections
   -------------------------------------------------- */
/* Hero */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    /* Big Typography */
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    border-radius: 20px;
    /* Optional: if user uploads something plain, remove this, 
       but for visual consistency let's float it */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Stats Strip */
.stats-strip {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-bright);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    counter-reset: step;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
}

.process-step h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Tech Stack Marquee */
.tech-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.tech-logo {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.tech-logo:hover {
    color: var(--text-bright);
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Footer */
.main-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Optional glow for footer */
.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-bright);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    /* Invert logo brightness if needed, or rely on dark logo being visible */
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact li {
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact i {
    color: var(--primary);
    width: 24px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.footer-btk-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.btk-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    /* Ensure white logo on dark bg */
}

.btk-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    max-width: 500px;
    text-align: left;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.payment-methods {
    height: 25px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: all 0.3s;
}

.payment-methods:hover {
    filter: none;
    opacity: 1;
}

/* Tablet & Small Laptop (768px - 992px) */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-btn {
        display: block;
        color: #fff;
        font-size: 1.5rem;
        background: none;
        border: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Show Visual on Tablet but centered/stacked */
    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-visual img {
        max-width: 80%;
        /* Don't be too huge on tablet */
    }

    /* Ensure grids allow 2 columns on tablet */
    .featured-products,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile Only (< 768px) */
@media (max-width: 767px) {
    .main-header {
        top: 16px;
        width: calc(100% - 32px);
        border-radius: 20px;
    }

    .hero-visual {
        display: none;
        /* Hide specifically on mobile */
    }


}

/* --------------------------------------------------
   Contact Page Specific Styles
   -------------------------------------------------- */
.page-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(66, 133, 244, 0.15) 0%, transparent 70%);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.contact-info-section {
    padding: 40px 0;
}

.contact-card {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.contact-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #fff;
}

.contact-form-section {
    padding: 60px 0 100px;
}

.content-grid.start-align {
    align-items: flex-start;
}

.p-40 {
    padding: 40px;
}

.mb-30 {
    margin-bottom: 30px;
}

.glass-form .form-group {
    margin-bottom: 20px;
}

.glass-form label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.glass-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Fix for Select Option visibility in Glass Theme */
select.glass-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select.glass-input option {
    background-color: #1a1a2e;
    /* Dark background for dropdown options */
    color: #fff;
    padding: 10px;
}

/* Fix for Send Button */
form button.cta-btn {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 24px;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form button.cta-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

form button.cta-btn:hover:not(:disabled) {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.4);
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.map-wrapper {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.map-wrapper iframe {
    filter: invert(90%) hue-rotate(180deg);
    /* Dark mode map hack */
    width: 100%;
    height: 100%;
    border: 0;
}

/* Grid Override */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-grid {
    display: flex;
    gap: 40px;
}

.two-col>div {
    flex: 1;
}

@media (max-width: 992px) {
    .content-grid {
        flex-direction: column;
    }

    .map-wrapper {
        min-height: 400px;
    }
}


@media (max-width: 767px) {
    .hero-grid {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Mobile Footer Hider */
    .mobile-hidden-footer {
        display: none !important;
    }
}

/* Mobile Menu Overlay - Reverted to Dropdown Style */
.mobile-menu-overlay {
    position: fixed;
    top: calc(var(--header-height) + 24px);
    /* Position below the floating header */
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 32px);
    /* Match mobile header width */
    height: auto;
    max-height: calc(100vh - 120px);
    padding: 20px;
    border-radius: 20px;
    overflow-y: auto;
    /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */

    /* Glass Effect */
    background: rgba(18, 18, 23, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

    z-index: 998;
    /* Behind header but above content */

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure mobile menu is HIDDEN on Desktop */
@media (min-width: 993px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

.mobile-menu-overlay.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list li a {
    color: #fff;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.mobile-sub-menu {
    display: none;
    padding-left: 20px;
}

.mobile-sub-menu.open {
    display: block;
}

/* Featured Products */
.featured-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--glass-highlight);
}

.product-info {
    position: relative;
    z-index: 2;
}

.product-badge {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-title i {
    font-size: 1.2rem;
}

.product-desc {
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-card>div:last-child {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 1;
    transform: rotate(-15deg);
    transition: all 0.4s ease;
}

.product-card:hover>div:last-child {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.2 !important;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

#backToTop:hover {
    background: var(--primary, #6366f1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow, rgba(99, 102, 241, 0.4));
}

/* --------------------------------------------------
   Cookie Consent System
   -------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 48px);
    max-width: 1200px;
    background: rgba(18, 18, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-bright);
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 800px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-cookie-accept:hover {
    background: #4f46e5;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-cookie-settings {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-bright);
    border: 1px solid var(--glass-border);
}

.btn-cookie-settings:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: #121217;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cookie-modal-overlay.active .cookie-modal {
    transform: scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--text-bright);
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: var(--text-bright);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.category-header {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-icon {
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.category-header.open .toggle-icon {
    transform: rotate(180deg);
}

.category-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-required {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.category-details {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.category-header.open+.category-details {
    padding: 16px;
    max-height: 1000px;
    border-top-color: var(--glass-border);
}

.cookie-table-container {
    margin-top: 15px;
    overflow-x: auto;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-table th {
    text-align: left;
    color: var(--text-bright);
    padding: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.cookie-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

input:disabled+.slider {
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}


/* --------------------------------------------------
   Cookie Consent Bar
   -------------------------------------------------- */
.cookie-consent-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 90%;
    max-width: 900px;
    background: rgba(15, 15, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 15px 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    gap: 20px;
}

.cookie-consent-bar.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    font-size: 1.8rem;
    color: #d97706;
}

.cookie-text {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.4;
    max-width: 350px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-link {
    color: #94a3b8;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.cookie-link:hover {
    color: #fff;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

@media (max-width: 768px) {
    .cookie-consent-bar {
        flex-direction: column;
        border-radius: 20px;
        bottom: 20px;
        padding: 20px;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .cookie-btn-accept {
        width: 100%;
    }
}

/* --------------------------------------------------
   Cookie Preferences Modal
   -------------------------------------------------- */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal {
    width: 90%;
    max-width: 500px;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.active .cookie-modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.modal-header h3 {
    color: #fff;
    font-size: 1.3rem;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: #fff;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.option-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.option-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-switch.disabled {
    opacity: 0.7;
    pointer-events: none;
}

/* --------------------------------------------------
   About Page Specific Styles
   -------------------------------------------------- */
/* Note: .page-hero is shared with Contact page */

/* Enhanced Visual Columns for About Page */
.visual-col {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.visual-col.no-padding {
    padding: 0;
    align-items: stretch;
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.visual-col:hover .tech-image {
    transform: scale(1.05);
}

/* Background Decoration for About Content */
.about-content {
    position: relative;
    z-index: 1;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: floatGlow 10s infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: translate(50px, 50px);
        opacity: 0.8;
    }
}

.values-section {
    padding: 80px 0 100px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 1.1rem;
}

.content-grid.reverse {
    flex-direction: row-reverse;
}

/* Feature Boxes for Values */
.feature-box {
    text-align: center;
    padding: 40px 20px;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-box h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* --------------------------------------------------
   Text Layout Styles (Privacy, Terms, etc.)
   -------------------------------------------------- */
.privacy-content,
.agreement-content {
    padding: 40px 0 100px;
}

.p-40 {
    padding: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.section-heading {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading i {
    color: var(--primary);
}

.policy-block {
    margin-bottom: 30px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h4 {
    color: #e2e8f0;
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

.policy-block p,
.agreement-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* Agreement Specifics */
.warning-heading,
.warning-heading i {
    color: #ef4444;
    /* Red color for Critical section */
}

.sub-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.sub-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.sub-list li::before {
    content: '-';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .p-40 {
        padding: 20px;
    }

    .container {
        padding: 0 16px;
    }

    .policy-block p,
    .agreement-item p {
        text-align: left;
    }

    /* Force Stack on Mobile */
    .content-grid,
    .content-grid.reverse,
    .content-grid.two-col {
        flex-direction: column !important;
        gap: 40px;
        align-items: stretch !important;
        /* Force stretch to fill width */
    }

    .content-grid>div {
        width: 100% !important;
        /* Explicitly force full width */
    }

    .visual-col {
        min-height: 250px;
        order: -1;
        /* Image first on mobile usually looks better, or remove this if content first is preferred */
    }

    /* Contact Map on Mobile */
    .map-wrapper {
        min-height: 350px;
        height: 350px;
    }

    /* Adjust page hero padding */
    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    /* Tighter spacing for policy boxes on mobile */
    .privacy-content .glass-card,
    .agreement-content .glass-card {
        margin-bottom: 20px !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section-heading {
        display: flex !important;
        visibility: visible !important;
    }

    .privacy-content,
    .agreement-content {
        padding-bottom: 60px;
        /* Reducing bottom padding too */
    }
}