@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-dark: #1a2327;
    --bg-secondary: #f8f9fa;
    --text-main: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #94a3b8;
    --accent-blue: #3b82f6;
    --stc-red: #e11d48;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --input-fill: #f9fafb;
    --border-light: rgba(0, 0, 0, 0.05);
}

/* Base Styles */
html {
    scroll-behavior: auto;
    /* Handled by Lenis */
    cursor: none;
    /* Hide default cursor */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM CURSOR (Color Adapting) --- */
.cursor-dot {
    width: 14px;
    /* Larger filled dot */
    height: 14px;
    background-color: #ffffff;
    /* White by default */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    /* Auto-invert color based on background */
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    /* Auto-invert color */
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s;
}

/* Cursor States */
body.hover-link .cursor-dot {
    width: 8px;
    /* Shrink slightly on hover */
    height: 8px;
}

body.hover-link .cursor-outline {
    width: 50px;
    height: 50px;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
[data-reveal="up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background: black;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Navigation & Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover,
.group:hover .nav-link {
    color: #6b7280;
}

.nav-link:hover::after,
.group:hover .nav-link::after {
    width: 100%;
}

/* Mega Menu & Dropdowns */
.mega-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.group:hover .mega-menu,
.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    color: #6b7280;
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: white;
    z-index: 49;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-bottom: 2rem;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f1f1;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    background: transparent;
    width: 100%;
    text-align: left;
}

.mobile-submenu {
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    /* Smooth transition for open/close */
}

.mobile-submenu.active {
    max-height: 500px;
    /* Arbitrary large height to allow content to expand */
}

.mobile-submenu a {
    display: block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: #64748b;
    border-bottom: 1px solid #f1f1f1;
}

/* Footer */
.footer-link {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
}

/* --- PAGE SPECIFIC STYLES --- */

/* INDEX: Hero & Canvas */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #111a1e;
    overflow: hidden;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(40px);
    opacity: 0.8;
}

/* INDEX: Glass Cards */
.glass-card {
    background-color: var(--glass-bg);
    background-image:
        radial-gradient(circle, var(--accent-blue) 2px, transparent 2.5px),
        radial-gradient(circle, var(--accent-blue) 2px, transparent 2.5px),
        radial-gradient(circle, var(--accent-blue) 2px, transparent 2.5px),
        radial-gradient(circle, var(--accent-blue) 2px, transparent 2.5px);
    background-position:
        10px 10px,
        calc(100% - 10px) 10px,
        10px calc(100% - 10px),
        calc(100% - 10px) calc(100% - 10px);
    background-repeat: no-repeat;
    background-size: 20px 20px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.glass-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* INDEX: Sidebar (Base) */
.social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;

    /* Base styles for smooth transition back from Hero Dock */
    padding: 0;
    background: rgba(255, 255, 255, 0);
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;

    /* The "Cool" Smooth Transition */
    transition:
        gap 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        padding 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        backdrop-filter 0.6s ease,
        -webkit-backdrop-filter 0.6s ease,
        border 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-radius 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-link {
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Sidebar States (Light/Dark Mode) */
.social-sidebar.is-dark .social-link {
    color: #ffffff;
    opacity: 0.9;
}

.social-sidebar.is-dark .social-link:hover {
    opacity: 1;
    transform: scale(1.15);
}

.social-sidebar.is-light .social-link {
    color: #000000;
    opacity: 0.8;
}

.social-sidebar.is-light .social-link:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* --- HERO SPECIFIC DOCK STYLE --- */
.social-sidebar.hero-dock {
    gap: 1rem;
    /* Tighter gap in dock mode */

    /* Frosted Glass Effect Base */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);

    /* Dock Shape */
    padding: 1.25rem 0.5rem;
    border-radius: 9999px;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    /* Inner rim light */

    overflow: hidden;
    /* Contain the grain overlay */
}

/* Grainy Texture Overlay for Dock */
.social-sidebar.hero-dock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    border-radius: 9999px;
    /* Match dock shape */
    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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    z-index: -1;
    transition: opacity 0.6s ease;
}

/* DOCK ICON INTERACTIONS */
.social-sidebar.hero-dock .social-link {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-sidebar.hero-dock .social-link:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.3);
    /* Pop out effect */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* INDEX: Marquees */
.client-marquee {
    display: flex;
    width: calc(320px * 16);
    animation: scroll-client 50s linear infinite;
}

@keyframes scroll-client {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 8));
    }
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-marquee {
    display: flex;
    width: calc(350px * 8);
    animation: scroll-gallery 65s linear infinite;
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 4));
    }
}

.gallery-card {
    width: 320px;
    flex-shrink: 0;
    margin-right: 30px;
}

.fade-left,
.fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* INDEX: Forms */
.form-input {
    width: 100%;
    background: var(--input-fill);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 0.7rem 1.1rem;
    font-size: 0.95rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.form-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 0.1rem;
}

/* INDEX: FAQ */
.faq-item {
    border-top: 1px solid #f1f1f1;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}

.faq-item:last-child {
    border-bottom: 1px solid #f1f1f1;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 1.15rem;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question i {
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: #64748b;
    font-weight: 300;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* INDEX: Products Grid */
.product-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.product-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* SERVICES (Consultancy, GCMS, LCMS) */
.service-card {
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

.hero-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 5rem 4rem;
    margin-bottom: 4rem;
}

.training-module {
    border-left: 4px solid #f1f5f9;
    padding-left: 2rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.training-module:hover {
    border-left-color: #3b82f6;
}

/* 404 PAGE */
.error-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
}

.error-code {
    font-size: clamp(8rem, 20vw, 12rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: #f1f5f9;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    user-select: none;
}

.btn-black {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-black:hover {
    transform: translateY(-2px);
    background: #262626;
}

/* PRODUCTS PAGE (Details) */
.breadcrumb-item {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: #000;
}

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.spec-table th {
    text-align: left;
    padding: 1.25rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #94a3b8;
    border-bottom: 1px solid var(--border-light);
}

.spec-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: #1a1a1a;
}

.spec-row {
    transition: background-color 0.2s;
}

.spec-row:hover td {
    background-color: #fafafa;
}

.spec-row.selected td {
    background-color: #f8fafc;
    border-bottom-color: #000;
    font-weight: 600;
}

.action-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.btn-quote {
    background: var(--stc-red);
    color: white;
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.2);
}

/* Product Description Truncation */
.desc-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.desc-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desc-truncated.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    color: #1d4ed8;
}

.see-more-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.see-more-btn.expanded i {
    transform: rotate(180deg);
}

/* RESOURCES PAGE */
.resource-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.resource-table th {
    text-align: left;
    padding: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #94a3b8;
    border-bottom: 1px solid var(--border-light);
}

.resource-table td {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    transition: background-color 0.2s ease;
}

.resource-row:hover td {
    background-color: #fafafa;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #1a1a1a;
    background: white;
    white-space: nowrap;
}

.action-btn:hover {
    border-color: #000;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
    margin-top: 4rem;
    letter-spacing: -0.02em;
}

.custom-dropdown-container {
    position: relative;
    user-select: none;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--input-fill);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.dropdown-trigger:hover {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.dropdown-trigger.active {
    background: #fff;
    border-color: #000;
}

.dropdown-trigger i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active i {
    transform: rotate(180deg);
}

.dropdown-content-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-content-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.dropdown-option:hover {
    background: #f8fafc;
    color: #000;
}

.dropdown-option.selected {
    color: #000;
    font-weight: 700;
    background: #f1f5f9;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 0;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.modal-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f8fafc;
}

.btn-submit {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #333;
    transform: translateY(-1px);
}

.otp-input {
    letter-spacing: 0.5em;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

/* LOADING SHIMMER EFFECT */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f6f7f8 4%, #edeef1 25%, #f6f7f8 36%);
    background-size: 1000px 100%;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.skeleton-title {
    height: 1.5rem;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-row {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .spec-table th,
    .spec-table td {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 768px) {

    /* Hide custom cursor on touch devices */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .social-sidebar,
    .desktop-nav {
        display: none;
    }

    .client-marquee {
        width: calc(200px * 16);
    }

    @keyframes scroll-client {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-200px * 8));
        }
    }

    .gallery-marquee {
        width: calc(350px * 8);
    }

    @keyframes scroll-gallery {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-350px * 4));
        }
    }

    .category-title {
        font-size: 1.75rem;
    }

    /* Tables responsiveness */
    .resource-table,
    .resource-table thead,
    .resource-table tbody,
    .resource-table th,
    .resource-table td,
    .resource-table tr {
        display: block;
    }

    .resource-table thead {
        display: none;
    }

    .resource-table td {
        padding: 1.5rem;
        border-bottom: 1px solid #f1f1f1;
        text-align: left !important;
    }

    .spec-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Layout Adjustments */
    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 85vh;
        overflow-y: auto;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .controls-wrapper {
        flex-direction: column;
        width: 100%;
    }

    /* Hero adjustments */
    section.pt-48 {
        padding-top: 8rem;
    }

    /* Banner text sizes */
    .hero-banner {
        padding: 3rem 2rem;
    }
}

/* ... existing code ... */

/* --- Product Detail View (Quantum Styles) --- */
.tab-btn {
    position: relative;
    padding: 1rem 1.5rem;
    color: #9ca3af;
    /* gray-400 */
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    color: #000;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #2563eb;
    /* blue-600 */
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

/* Minimalist Table Styles */
.quantum-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.quantum-table td {
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #1f2937;
}

.quantum-table td:first-child {
    font-weight: 600;
    color: #6b7280;
    width: 30%;
}

.status-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* --- Blog Article Typography --- */
.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #374151;
    /* gray-700 */
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    /* gray-800 */
}

.article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #374151;
}

.article-content li {
    margin-bottom: 0.5rem;
}