:root {
    --deep-black: #140505;
    --matte-charcoal: #1f0808;
    --border-color: rgba(255, 115, 115, 0.2);
    --text-primary: #FFFFFF;
    --text-muted: #ffb3b3;
    
    --font-serif: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
    
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
}

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

body {
    background: radial-gradient(circle at 50% 0%, #330a0a 0%, #140505 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Smooth scroll for native scrolling */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

.metadata {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.top-bar {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1600px;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    pointer-events: none; /* Allows clicks to pass through empty spaces */
    
    /* Liquid Glass Box Edge Carved */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.1);
}
.top-bar-left, .top-bar-right {
    display: flex;
    gap: 1rem;
}

.social-btn {
    pointer-events: auto; /* Makes the button itself clickable */
    color: var(--text-primary);
    
    /* Liquid Glass Box Edge Carved */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px; /* Carved box edges instead of full circle */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.1);
    
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.3);
}

.top-bar-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, #ffffff, #dddddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(255,255,255,0.3), 0 2px 5px rgba(0,0,0,0.8);
    margin: 0 1rem;
}

/* Base Scroll Sections */
.scroll-section {
    position: relative;
    width: 100%;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* HERO VIDEO SECTION */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.hero-title {
    font-size: 8vw; /* Massive typography */
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0; /* Managed by JS */
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0;
}

.hero-search-container {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 100%;
    min-width: 320px;
    max-width: 450px;
    pointer-events: auto; /* Allow typing in search */
    animation: fadeUpSearch 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.hero-search-container:focus-within {
    border-color: rgba(255, 115, 115, 0.6);
    box-shadow: 0 0 25px rgba(255, 115, 115, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

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

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
    background: linear-gradient(135deg, #ff4d4d, #ff9999);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #ff3333, #ff8080);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.6), 0 0 15px rgba(255, 77, 77, 0.5);
}

.feature-overlay {
    position: absolute;
    z-index: 20;
    max-width: 350px;
    opacity: 0;
    pointer-events: none;
}

#feature-1, #middle-feature-1 {
    top: 20%;
    left: 10%;
}

#feature-2, #middle-feature-2 {
    bottom: 20%;
    right: 10%;
    text-align: right;
}

#feature-3, #middle-feature-3 {
    bottom: 20%;
    left: 10%;
}

.feature-subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* DETAILS SECTION */
.extended-scroll {
    height: 250vh; /* Long scroll area to trigger animations */
    background-color: var(--deep-black);
    border-top: 1px solid var(--border-color);
}

.details-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--matte-charcoal);
}

.details-text-container {
    max-width: 800px;
    padding: var(--spacing-md);
    text-align: center;
}

.details-title {
    font-size: 5rem;
    line-height: 1.1;
    margin: 2rem 0;
    color: var(--text-primary);
}

.details-description {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Initial state for elements animated by JS */
.slide-up-item {
    opacity: 0;
}

.fade-in-section {
    opacity: 0;
}

/* =========================================
   PRODUCT AI CHAT WIDGET STYLES
   ========================================= */

/* Floating Button */
.ai-chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.6);
}

.ai-chat-btn svg {
    color: white;
    width: 30px;
    height: 30px;
}

/* Chat Window Container */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Chat Header */
.ai-chat-header {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.ai-chat-header-title {
    font-family: var(--font-sans);
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.ai-chat-header-title .online-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
}

.ai-chat-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.ai-chat-close-btn:hover {
    color: white;
}

/* Chat Messages Area */
.ai-chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Chat Bubbles */
.chat-bubble {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.4;
    animation: bubblePop 0.3s ease forwards;
}

@keyframes bubblePop {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Chat Input Area */
.ai-chat-input-area {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.ai-chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.ai-chat-input:focus {
    border-color: rgba(0, 191, 255, 0.5);
}

.ai-chat-send-btn {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ai-chat-send-btn:hover {
    transform: scale(1.1);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
    display: none;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0% { transform: translateY(0); opacity: 0.6; }
    100% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
    .ai-chat-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
    }
}
/* Antigravity Container for Normal Flow Sections */
.antigravity-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
    padding-bottom: var(--spacing-xl);
    background: transparent;
}

/* Section 3: Trust Ecosystem Grid */
.trust-ecosystem {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .trust-ecosystem {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-badge {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Section 4: Narrative Specifications */
.narrative-specs {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.spec-item {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.spec-label {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.spec-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Spare Parts Explanation Note */
.spare-parts-note {
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem; /* Reduced padding to remove blank space inside */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem; /* Removed the huge blank space underneath */
    text-align: center;
}

.note-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.note-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.note-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 800px;
    line-height: 1.5;
}

/* Section 5: Location Section */
.location-section {
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.location-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg); /* Dark mode map trick */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.map-container:hover iframe {
    opacity: 1;
}

.animated-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #ff3366;
    animation: bounce-pin 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
    z-index: 10;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
}

@keyframes bounce-pin {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.location-actions {
    margin-top: 1rem;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--deep-black);
    background-color: var(--text-primary);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Section 4: Component Anatomy (Product Grid) */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 4rem 1.5rem;
    background-color: var(--deep-black);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-grid-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.product-grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 115, 115, 0.2), 0 0 20px rgba(255, 77, 77, 0.1);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 115, 115, 0.4);
}

.product-grid-item img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.product-grid-item:hover img {
    transform: scale(1.03);
}

.product-grid-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.product-grid-text .anatomy-title {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.anatomy-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.anatomy-desc {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
}
/* STATIC SECTION TITLE */
.static-title-container {
    width: 100%;
    background: transparent;
    padding: 6rem 0 2rem 0;
    text-align: center;
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: center;
}

.static-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    display: inline-block;
    
    /* Elegant Metallic Gradient */
    background: linear-gradient(90deg, #dddddd, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* MARQUEE SECTION */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--matte-charcoal);
    padding: 2rem 0;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 50;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content span {
    font-family: 'DotGothic16', monospace;
    font-size: 4rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    padding-right: 2rem;
}

.marquee-bold .marquee-content span {
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
}

.white-point {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-left: 2rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* SLIDING SIDEBAR MENU */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    height: 100vh;
    background: rgba(5, 10, 21, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-muted);
}

.sidebar-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-links li a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.sidebar-links li a:hover {
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 6rem 1rem 2rem 1rem;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.service-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER (Beautiful, Centered text)
   ========================================================================== */
.lux-footer {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--deep-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lux-footer p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    background: linear-gradient(90deg, #bbbbbb, #ffffff, #bbbbbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: gentle-pulse 3s infinite ease-in-out;
}

@keyframes gentle-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 30px rgba(255,255,255,0.4); }
    100% { opacity: 0.7; }
}

/* ==========================================================================
   MOBILE & PERFORMANCE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
    /* Top Bar Scaling */
    .top-bar {
        padding: 0.6rem 0.8rem;
        border-radius: 16px;
    }
    
    .top-bar-left, .top-bar-right {
        gap: 0.4rem;
    }

    .brand {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
        margin: 0 0.4rem;
        white-space: nowrap;
    }
    
    .social-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    
    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Hero Section Sizing */
    .hero-title {
        font-size: 14vw; /* Slightly larger on mobile */
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Change phone seeing time (reduce scroll duration for animation) */
    #hero-sequence-section {
        height: 150vh !important;
    }

    /* Feature Overlays to stack better and be fully visible on mobile */
    .feature-overlay {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    #feature-1 { top: 15%; left: 5%; max-width: 85%; }
    #feature-2 { bottom: 15%; right: 5%; max-width: 85%; }
    #feature-3 { bottom: 18%; left: 5%; max-width: 85%; }

    .feature-title { font-size: 1.6rem; }
    .feature-desc { font-size: 1.05rem; }
    
    /* Search Bar Scaling */
    .hero-search-container {
        min-width: unset;
        width: 95%;
        margin-top: 1.5rem;
        padding: 0.6rem;
    }

    .hero-search-input {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    /* Best Sizes for Typography and Layout */
    .anatomy-title {
        font-size: 2.2rem;
    }
    
    .product-grid-text .anatomy-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .product-grid-item .btn-text {
        font-size: 0.95rem !important;
        padding: 0.8rem 1.5rem !important;
        margin-top: 1rem !important;
    }

    .static-title-container {
        padding: 4rem 1rem 1rem 1rem;
    }

    .static-title {
        font-size: 2rem;
    }
    
    .marquee-content span {
        font-size: 2.2rem;
    }

    .note-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .note-text {
        font-size: 1.05rem;
    }

    .location-title {
        font-size: 1.8rem;
    }
    
    /* Grid and Padding adjustments for 2-column mobile layout */
    .product-grid-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 0.5rem;
        gap: 0.8rem;
    }
    
    .product-grid-item {
        padding: 0.8rem;
        border-radius: 12px;
    }

    .product-grid-item img {
        height: 110px;
        margin-bottom: 0.5rem;
    }
}

