:root {
  --primary-navy: #111111;
  --brand-blue: #cc0000;
  --action-orange: #e60000;
  --bg-slate: #F8FAFC;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --font-main: 'Inter', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-slate);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility Topbar */
.utility-topbar {
  background-color: var(--brand-blue);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  font-weight: 500;
}
.utility-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-meta {
  font-size: 12.5px;
  opacity: 0.95;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-contact-group {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.topbar-link:hover {
  opacity: 0.85;
}
.topbar-phone {
  white-space: nowrap !important;
  font-weight: 600;
}
.topbar-sep {
  opacity: 0.5;
}
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.3);
}
.topbar-social-icon {
  display: flex;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.topbar-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Header */
.mirai-header {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.mirai-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mirai-logo img {
  height: 45px;
}
.mirai-nav {
  display: flex;
  gap: 24px;
}
.mirai-nav a {
  text-decoration: none;
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
}
.mirai-nav a:hover {
  color: var(--brand-blue);
}
.btn-rfq {
  background-color: var(--action-orange);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-navy);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-navy);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero-rotating-wrap {
    display: inline-block;
    position: relative;
    color: #ff3333;
    background: linear-gradient(135deg, #ff3333 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 51, 51, 0.4);
    padding-bottom: 2px;
    min-height: 1.2em;
    vertical-align: bottom;
}
.hero-rotating-text {
    display: inline;
    font-weight: 800;
}
.hero-type-cursor {
    display: inline-block;
    color: #ff3333;
    -webkit-text-fill-color: #ff3333;
    font-weight: 300;
    margin-left: 2px;
    animation: blinkTypeCursor 0.75s step-end infinite;
    user-select: none;
}
@keyframes blinkTypeCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-subtitle {
  font-size: 20px;
  color: #cbd5e1;
  margin-bottom: 30px;
}
.hero-trust-pills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.trust-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.btn-primary {
  background-color: var(--action-orange);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
.btn-secondary {
  background-color: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--brand-blue);
}
.hero-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #11141d;
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 8px 30px rgba(204, 0, 0, 0.15);
    height: 440px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.hero-showcase:hover {
    box-shadow: 
        0 30px 70px -12px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 12px 40px rgba(204, 0, 0, 0.22);
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    background: #11141d;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.slide-media {
    position: relative;
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #090b10;
}
.slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.02);
}
.hero-slide.active .slide-media img {
    transform: scale(1.06);
}
.slide-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 20, 29, 0.35) 0%, rgba(17, 20, 29, 0) 35%, rgba(17, 20, 29, 0.75) 85%, #11141d 100%);
    pointer-events: none;
    z-index: 2;
}
.slide-top-bar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 4;
}
.slide-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}
.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #cc0000 0%, #e60000 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px #ffffff;
}
.slide-spec-tag {
    background: rgba(17, 20, 29, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.slider-counter {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    background: rgba(17, 20, 29, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}
.slide-footer {
    height: 130px;
    padding: 12px 24px 26px;
    background: #11141d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}
.slide-footer-text {
    flex: 1;
    min-width: 0;
}
.slide-kicker {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}
.slide-title {
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.slide-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.slide-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #cc0000 0%, #e60000 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35);
    flex-shrink: 0;
}
.slide-action-btn:hover {
    background: linear-gradient(135deg, #b30000 0%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
    color: #ffffff;
}
.slide-action-btn svg {
    transition: transform 0.2s ease;
}
.slide-action-btn:hover svg {
    transform: translateX(3px);
}
.slider-arrow {
    position: absolute;
    top: 155px;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(17, 20, 29, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.slider-arrow:hover {
    background: #cc0000;
    border-color: #cc0000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.5);
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 7px;
    align-items: center;
}
.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
.slider-dot.active {
    width: 24px;
    height: 7px;
    border-radius: 10px;
    background: linear-gradient(90deg, #cc0000, #ff4d4d);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

/* Stats Counter */
.stats-section {
  background-color: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
    padding: 20px;
    background: var(--bg-slate);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.stat-item h3 {
  color: var(--brand-blue);
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 5px 0;
}
.stat-item p {
  color: var(--primary-navy);
  font-weight: 700;
  margin: 0;
}

/* Product Range */
.products-section {
  padding: 80px 0;
  background-color: var(--bg-slate);
}
.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-weight: 800;
}
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.cat-tab {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    text-decoration: none;
}
.cat-tab.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}
html {
    scroll-behavior: smooth;
}
.category-quick-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}
.cat-quick-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.cat-quick-chip:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.22);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e2e8f0;
  scroll-margin-top: 140px;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.product-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}
.product-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.spec-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--action-orange);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.product-info {
  padding: 24px;
}
.product-title {
  font-size: 18px;
  color: var(--primary-navy);
  font-weight: 700;
  margin: 0 0 10px 0;
}
.product-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer */
.mirai-footer {
  background-color: var(--primary-navy);
  color: #fff;
  padding: 60px 0 20px 0;
}

/* Mobile Responsiveness → handled in assets/css/responsive.css */

/* ========================================================
   OUR CLIENTS AUTO-SCROLL MARQUEE SECTION
   ======================================================== */
.clients-section {
    padding: 60px 0 70px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.clients-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
    padding: 0 16px;
}

.clients-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.1);
    color: var(--brand-blue, #0284c7);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.clients-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.clients-sub {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.clients-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.clients-marquee-container::before,
.clients-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 25%, rgba(248, 250, 252, 0));
}

.clients-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 25%, rgba(248, 250, 252, 0));
}

.clients-marquee-track {
    display: flex;
    width: max-content;
    gap: 28px;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
}

.clients-marquee-container:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 28px;
    min-width: 175px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    flex-shrink: 0;
}

.client-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.client-logo-card img {
    max-height: 40px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.72);
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
}

.client-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* Clients mobile → handled in assets/css/responsive.css */

