/* ==========================================================================
   MAXIMO INDIA PREMIUM DARK-TECH DESIGN SYSTEM
   Developed for Maximo India Private Limited - Smart Appliances
   ========================================================================== */

/* --- Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Custom Variables (Design Tokens) --- */
:root {
    /* Colors */
    --color-bg: #111111;
    --color-surface: #0D1B2A;
    --color-surface-hover: #14283D;
    --color-accent: #00A8FF;
    --color-accent-hover: #33BAFF;
    --color-accent-alpha: rgba(0, 168, 255, 0.15);
    --color-text: #F8F9FA;
    --color-text-muted: #D9DDE3;
    --color-text-dark: #8C99A6;
    --color-border: rgba(217, 221, 227, 0.1);
    --color-border-accent: rgba(0, 168, 255, 0.25);

    /* Fonts */
    --font-heading: 'Inter Tight', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Grid & Spacing */
    --container-padding: 6%;
    --section-padding-y: 8rem;
    --grid-gap: 2rem;

    /* Transitions */
    --transition-default: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Header Heights */
    --header-height: 80px;
}

/* --- Base Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: auto;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* Selection Highlight */
::selection {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

p {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

p.lead {
    font-size: clamp(1.15rem, 1.4vw, 1.35rem);
    line-height: 1.6;
    color: var(--color-text-muted);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

strong {
    color: var(--color-text);
    font-weight: 600;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

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

.section-surface {
    background-color: var(--color-surface);
}

/* Asymmetric Grid Layouts */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
}

.editorial-header {
    grid-column: span 12;
    margin-bottom: 4rem;
}

.editorial-header .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

/* --- Global Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-default);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(11, 17, 26, 0.85); /* Rich Navy Tint */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.header.scrolled-down {
    transform: translateY(-100%);
}

.header.scrolled-up {
    transform: translateY(0);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo span {
    color: var(--color-accent);
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Burger Button */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 18px;
    position: relative;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    position: absolute;
    transition: var(--transition-fast);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--container-padding);
    transform: translateX(100%);
    transition: var(--transition-default);
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--color-text);
    padding-left: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent-alpha);
    color: var(--color-text);
}

.btn-icon {
    gap: 0.75rem;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn-icon:hover svg {
    transform: translateX(5px);
}

/* --- Hero Layout (Dyson Showroom Style) --- */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #080d14; /* Depth shade */
}

/* Tech Grid Lines */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,168,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,168,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.hero-glow-glow {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,168,255,0.1) 0%, rgba(0,168,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    align-items: center;
    width: 100%;
}

.hero-content {
    grid-column: span 6;
}

.hero-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

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

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    grid-column: span 6;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,168,255,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Card Systems (Interactive Grid) --- */
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.m-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3rem 2.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-default);
    cursor: pointer;
}

.m-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--color-accent);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.m-card:hover {
    background-color: var(--color-surface-hover);
    transform: translateY(-5px);
}

.m-card:hover::before {
    opacity: 1;
}

.m-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.m-card-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 500;
}

.m-card-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.m-card-body h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.m-card-body p {
    font-size: 0.95rem;
}

.m-card-footer {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-default);
}

.m-card:hover .m-card-footer {
    opacity: 1;
    transform: translateX(0);
}

/* Horizontal Cards */
.horizontal-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.h-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-default);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h-card:hover {
    border-color: var(--color-accent);
    background-color: var(--color-surface-hover);
    transform: translateY(-5px);
}

.h-card-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-card-img img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.h-card h4 {
    font-size: 1rem;
    font-weight: 500;
}

/* --- Animated Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 4rem 0;
    margin-top: 4rem;
}

.stat-item {
    text-align: left;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dark);
    font-weight: 500;
}

/* --- Showcase Products Grid (Showroom) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.p-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
}

.p-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-card:hover {
    background-color: var(--color-surface-hover);
    border-color: var(--color-border-accent);
}

.p-card:hover::before {
    transform: scaleX(1);
}

.p-card-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    background-color: rgba(0, 168, 255, 0.1);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-border-accent);
    z-index: 5;
}

.p-card-img-container {
    position: relative;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.p-card-img-container img {
    max-width: 80%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    transition: transform 0.5s ease;
}

.p-card:hover .p-card-img-container img {
    transform: scale(1.08) translateY(-5px);
}

.p-card-details h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.p-card-details p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    height: 48px;
    overflow: hidden;
}

.p-card-footer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: auto;
}

.p-card-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.p-card-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.p-card-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.p-card:hover .p-card-link svg {
    transform: translateX(3px);
}

/* --- Filter & Search Shell --- */
.showroom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-text);
    background-color: var(--color-accent-alpha);
}

.search-box-container {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-input:focus {
    border-color: var(--color-accent);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-dark);
    pointer-events: none;
}

/* No Results State */
.no-results {
    grid-column: span 12;
    text-align: center;
    padding: 6rem 0;
}

.no-results h3 {
    margin-bottom: 1rem;
}

/* --- Timeline Layout --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(-3rem - 4.5px);
    top: 0.5rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 2px solid var(--color-accent);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--color-accent);
    transform: scale(1.3);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* --- Forms & Inputs --- */
.m-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-input, .form-textarea, .form-select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-select {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
}

.form-select option {
    background-color: var(--color-bg);
    color: var(--color-text);
}

.form-textarea {
    resize: none;
    height: 120px;
}

.form-label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--color-text-dark);
    pointer-events: none;
    transition: var(--transition-default);
    font-size: 1rem;
}

/* Floating label effect */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label {
    top: -1.25rem;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-bottom-color: var(--color-accent);
}

.form-submit {
    align-self: flex-start;
}

/* Form Message Feedback */
.form-message {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    display: none;
    border: 1px solid transparent;
}

.form-message.success {
    background-color: rgba(0, 168, 255, 0.1);
    border-color: var(--color-accent);
    color: var(--color-text);
    display: block;
}

.form-message.error {
    background-color: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
    color: #fca5a5;
    display: block;
}

/* --- Footer Section --- */
.footer {
    background-color: #080d14; /* Match bottom depth colors */
    border-top: 1px solid var(--color-border);
    padding-top: 6rem;
    padding-bottom: 3rem;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    margin-bottom: 5rem;
}

.footer-brand {
    grid-column: span 4;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 320px;
}

.footer-links-col {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-links-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.footer-link {
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-address-col {
    grid-column: span 4;
}

.footer-address-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer-address-col p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy, .footer-legal a {
    font-size: 0.85rem;
    color: var(--color-text-dark);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--color-text);
}

/* --- Interactive Hover Shimmer & Reveals (animations.js targets) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Custom mouse hover glow/shimmer background tracking */
.mouse-track {
    position: relative;
    overflow: hidden;
}

.mouse-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.08) 0%, rgba(0, 168, 255, 0) 70%);
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mouse-track:hover .mouse-glow {
    opacity: 1;
}

.mouse-track > * {
    position: relative;
    z-index: 1;
}

/* Page Transition Overlay */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-bar {
    width: 200px;
    height: 1px;
    background-color: var(--color-border);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    animation: loader-anim 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loader-anim {
    0% { width: 0; }
    100% { width: 100%; }
}

/* --- Specific Section Overrides --- */

/* Map Placeholder Styling */
.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 168, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.map-marker-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
    position: relative;
}

.map-marker-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-accent);
    animation: marker-pulse 2s infinite ease-out;
}

@keyframes marker-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.map-marker-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text);
    background-color: rgba(13, 27, 42, 0.85);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--color-border);
    white-space: nowrap;
}

/* Careers Apply Section Form Box */
.apply-box {
    grid-column: span 8;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 4rem;
}

/* Leadership Grid */
.leadership-grid {
    display: flex !important;
    flex-direction: column !important; /* Enforces a true vertical stack layout */
    align-items: center !important;
    max-width: 650px !important; /* Constrains card widths so they look clean and readable */
    margin: 4rem auto 0;
    gap: 3rem !important; /* Balanced vertical breathing room between rows */
}

.leader-card {
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    padding: 2.5rem;
    text-align: left;
    transition: var(--transition-default);
}

.leader-card:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-5px);
}

.leader-portrait {
    width: 100px;
    height: 100px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-accent);
}

.leader-info h4 {
    margin-bottom: 0.25rem;
}

.leader-info .title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: block;
    font-weight: 600;
}

/* --- Product Details Page Structures --- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
}

.details-gallery {
    grid-column: span 6;
}

.details-gallery-main {
    width: 100%;
    height: auto;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.details-gallery-main img {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.details-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.details-thumb {
    height: 80px;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.details-thumb:hover, .details-thumb.active {
    border-color: var(--color-accent);
}

.details-thumb img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.details-info {
    grid-column: span 6;
}

.details-rating-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.details-stars {
    color: #FFD700; /* Gold */
    font-size: 1.2rem;
}

.details-energy-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FFD700;
}

.details-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1.5rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--color-border);
}

.specs-table td {
    padding: 1rem 0;
    font-size: 0.95rem;
}

.specs-table td.label {
    color: var(--color-text-dark);
    font-weight: 500;
    width: 40%;
}

.specs-table td.value {
    color: var(--color-text);
}

/* FAQ Collapsible Accordions (service-support.html) */
.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-border-accent);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    outline: none;
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-panel {
    padding-bottom: 1.5rem;
}

.faq-panel p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.7;
}

/* Warranty Check Box */
.warranty-check-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.warranty-check-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.warranty-check-form input {
    flex-grow: 1;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.warranty-check-form input:focus {
    border-color: var(--color-accent);
}

.warranty-result {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
}

.warranty-result.valid {
    color: var(--color-accent);
}

.warranty-result.invalid {
    color: #dc2626;
}

/* --- Visual Asset System (Image Effects) --- */
.m-img-container, 
.m-img-container-portrait, 
.m-img-container-square,
.p-card-img-container {
    position: relative;
    background: transparent !important; /* Removes any background color block completely */
    background-color: transparent !important;
    padding: 0 !important; /* Eliminates ghost padding zones */
    margin: 0;
    width: 100%;
    height: auto;
    aspect-ratio: auto !important;
    overflow: visible; /* Prevents container from acting as an independent shape mask */
    display: block;
}

.m-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-img-container:hover .m-img {
    transform: scale(1.05); /* Zoom-on-hover */
}

/* Gradient overlay */
.m-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0) 40%, rgba(13, 27, 42, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Glassmorphism Captions */
.m-img-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(13, 27, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    z-index: 2;
}

.p-card-img-container, .m-img-container {
    position: relative !important;
    display: block;
}
.product-logo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 30px;
    width: auto;
    object-fit: contain;
    z-index: 10;
    pointer-events: none; /* Ensures clicks pass through to the image links */
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5)); /* Ensures visibility on any background */
}

.interactive-grid, 
.catalog-grid, 
.editorial-grid, 
.leadership-grid {
    align-items: start !important; /* Force items to snap to their content height instead of stretching */
}
