:root {
  --navy: #003285;
  --steel: #2a629a;
  --gold: #ffda78;
  --rust: #b25512;
  --flame: #fd4d00;
  --white: #ffffff;
  --dark: #040e1f;
  --nav-height: 70px;
  --section-pad-x: 5%;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* GRID BG */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 50, 133, 0.4) 0%, transparent 70%);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(16px, 5%, 80px);
  background: rgba(4, 14, 31, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 218, 120, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  min-height: var(--nav-height);
}

.logo {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 60%;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--flame), var(--rust));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(253, 77, 0, 0.4)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(253, 77, 0, 0)
  }
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(255, 218, 120, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--flame);
}

.nav-cta {
  background: linear-gradient(90deg, var(--flame), var(--rust)) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(253, 77, 0, 0.4) !important
}

/* DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(4, 14, 31, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 218, 120, 0.1);
  border-radius: 12px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1000;
  list-style: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.8rem !important;
  text-transform: none !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.dropdown-content a::after {
  display: none !important;
}

.dropdown-content a:hover {
  background: rgba(255, 218, 120, 0.1) !important;
  color: var(--gold) !important;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-trigger::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-trigger::after {
  transform: rotate(180deg);
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 20px) clamp(16px, 5%, 80px) 60px;
  text-align: center;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--flame);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--flame);
  opacity: 0.5;
}

.hero-title {
  font-size: clamp(2rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: clamp(-1px, -0.03em, -3px);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
  word-break: break-word;
}

.hero-title .line1 {
  color: var(--white)
}

.hero-title .line2 {
  background: linear-gradient(90deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin: clamp(16px, 4vw, 28px) 0 clamp(24px, 5vw, 40px);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-primary {
  background: linear-gradient(90deg, var(--flame), var(--rust));
  color: var(--white);
  padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 32px);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(253, 77, 0, 0.3);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(253, 77, 0, 0.5);
}

.btn-secondary {
  border: 1px solid rgba(255, 218, 120, 0.4);
  color: var(--gold);
  padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 32px);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 218, 120, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 20px) 0 60px;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  padding-left: clamp(16px, 5%, 80px);
  padding-right: clamp(16px, 5%, 80px);
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: center;
  flex: 0 0 calc(100% - clamp(32px, 10%, 160px));
  min-height: clamp(300px, 55vw, 480px);
  border-radius: clamp(12px, 3vw, 20px);
  padding: clamp(24px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 50, 133, 0.4), rgba(42, 98, 154, 0.1));
  border: 1px solid rgba(42, 98, 154, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media(min-width: 768px) {
  .carousel-slide {
    flex: 0 0 85%;
    padding: 60px 80px;
    min-height: 480px;
  }

  .carousel-container {
    padding: 0 5%;
    gap: 20px;
  }

  .hero-carousel {
    padding: 120px 0 60px;
  }
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 14, 31, 1) 0%, rgba(4, 14, 31, 0.8) 40%, rgba(4, 14, 31, 0.1) 100%);
  z-index: 0;
}

.carousel-content {
  position: relative;
  z-index: 1;
  max-width: min(500px, 90%);
}

.carousel-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--flame);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.carousel-title {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}

.carousel-title span {
  background: linear-gradient(90deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-desc {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.carousel-dot {
  width: 32px;
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--flame);
  border-color: var(--flame);
  width: 48px;
}

/* FLOATING ELEMENTS */
.hero-float {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-float-1 {
  background: rgba(0, 50, 133, 0.5);
  top: -100px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-float-2 {
  background: rgba(253, 77, 0, 0.2);
  bottom: -100px;
  left: -100px;
  animation: float1 10s ease-in-out infinite reverse;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(30px, 30px)
  }
}

/* STATS BAR */
.stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(0, 50, 133, 0.2);
  border-top: 1px solid rgba(42, 98, 154, 0.3);
  border-bottom: 1px solid rgba(42, 98, 154, 0.3);
  padding: clamp(20px, 4vw, 32px) clamp(16px, 5%, 80px);
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center
}

.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold), var(--flame));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* SECTION */
section {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 80px) clamp(16px, 5%, 80px);
}

.section-header {
  margin-bottom: clamp(32px, 6vw, 56px);
}

.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--flame);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--flame);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: clamp(-0.5px, -0.03em, -1px);
  line-height: 1.05;
  word-break: break-word;
}

.section-title span {
  background: linear-gradient(90deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CATEGORY CARDS */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.cat-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 50, 133, 0.25), rgba(42, 98, 154, 0.1));
  border: 1px solid rgba(42, 98, 154, 0.25);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 77, 0, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.cat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(253, 77, 0, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(253, 77, 0, 0.1);
}

.cat-card:hover::before {
  opacity: 1
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cat-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cat-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cat-count {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  background: rgba(253, 77, 0, 0.15);
  color: var(--flame);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(253, 77, 0, 0.2);
}

.cat-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.cat-card:hover .cat-arrow {
  background: var(--flame);
  border-color: var(--flame);
  transform: translate(2px, -2px);
}

/* FEATURED PRODUCTS */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.prod-card {
  background: rgba(4, 14, 31, 0.8);
  border: 1px solid rgba(42, 98, 154, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.prod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 218, 120, 0.3);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 218, 120, 0.08);
}

.prod-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.prod-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(4, 14, 31, 0.9));
}

.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.badge-new {
  background: var(--flame);
  color: var(--white)
}

.badge-hot {
  background: var(--gold);
  color: var(--dark)
}

.badge-sale {
  background: rgba(178, 85, 18, 0.9);
  color: var(--white)
}

.prod-info {
  padding: 20px
}

.prod-cat {
  font-size: 0.75rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}

.prod-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.prod-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 16px;
}

.prod-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-tag {
  font-size: 0.72rem;
  background: rgba(0, 50, 133, 0.3);
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(42, 98, 154, 0.2);
  font-family: 'Space Mono', monospace;
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 98, 154, 0.15);
}

.prod-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.prod-price .currency {
  font-size: 0.8rem;
  opacity: 0.7
}

.view-btn {
  background: rgba(253, 77, 0, 0.1);
  border: 1px solid rgba(253, 77, 0, 0.3);
  color: var(--flame);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.view-btn:hover {
  background: var(--flame);
  color: var(--white);
}

/* MARQUEE */
.marquee-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(42, 98, 154, 0.15);
  border-bottom: 1px solid rgba(42, 98, 154, 0.15);
}

.marquee-track {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  background: rgba(0, 10, 30, 0.9);
  border-top: 1px solid rgba(42, 98, 154, 0.2);
  padding: clamp(40px, 6vw, 60px) clamp(16px, 5%, 80px) clamp(20px, 4vw, 30px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none
}

.footer-col ul li {
  margin-bottom: 10px
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white)
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(42, 98, 154, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tech {
  display: flex;
  gap: 16px;
}

.tech-badge {
  background: rgba(0, 50, 133, 0.2);
  border: 1px solid rgba(0, 50, 133, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* TABLET (769px–1024px) */
@media(max-width:1024px) and (min-width:769px) {
  .nav-links a {
    font-size: 0.75rem;
    padding: 8px 8px;
  }

  .nav-cta {
    padding: 8px 12px !important;
  }
}

/* MOBILE */
@media(max-width:768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(4, 14, 31, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stats-bar {
    gap: 20px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* EXTRA SMALL MOBILE (< 480px) */
@media(max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  .logo {
    font-size: 0.85rem;
  }

  .logo img {
    height: 32px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    padding: 20px 16px;
    min-height: 260px;
  }

  .stats-bar {
    gap: 16px;
    padding: 16px;
  }

  .stat-item {
    min-width: 80px;
  }

  section {
    padding: 36px 16px;
  }
}

/* SCROLL INDICATOR */
.scroll-ind {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.scroll-ind span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--flame), transparent);
  animation: scroll-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

/* LIGHT MODE STYLES */
:root[data-theme="light"] {
  --dark: #f4f7f6;
  --white: #040e1f;
}

html[data-theme="light"] body {
  background: var(--dark);
  color: var(--white);
}

html[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 50, 133, 0.15);
  box-shadow: 0 4px 20px rgba(0, 50, 133, 0.05);
}

html[data-theme="light"] .nav-links a {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active {
  color: var(--navy);
  background: rgba(0, 50, 133, 0.08);
}

html[data-theme="light"] .nav-links a.active::after {
  background: var(--navy);
}

html[data-theme="light"] .logo {
  color: var(--white);
}

html[data-theme="light"] .hero-title .line1 {
  color: var(--white);
}

html[data-theme="light"] .hero-sub {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .btn-secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

html[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 50, 133, 0.05);
}

html[data-theme="light"] .stats-bar {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(0, 50, 133, 0.1);
  border-bottom: 1px solid rgba(0, 50, 133, 0.1);
}

html[data-theme="light"] .stat-label {
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] .stat-num {
  background: linear-gradient(90deg, var(--navy), var(--flame));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .cat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .cat-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(253, 77, 0, 0.05);
  border-color: rgba(253, 77, 0, 0.3);
}

html[data-theme="light"] .cat-card p {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .cat-arrow {
  background: rgba(4, 14, 31, 0.05);
  border: 1px solid rgba(4, 14, 31, 0.1);
  color: var(--navy);
}

html[data-theme="light"] .cat-card:hover .cat-arrow {
  background: var(--flame);
  color: white;
}

html[data-theme="light"] .prod-card {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 133, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .prod-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(253, 77, 0, 0.2);
}

html[data-theme="light"] .prod-desc {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .spec-tag {
  background: rgba(0, 50, 133, 0.08);
  color: var(--navy);
  border: 1px solid rgba(0, 50, 133, 0.15);
}

html[data-theme="light"] .marquee-item {
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 50, 133, 0.1);
}

html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-col ul li a,
html[data-theme="light"] .footer-bottom {
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] .footer-col h4 {
  color: var(--navy);
}

html[data-theme="light"] .tech-badge {
  background: rgba(0, 50, 133, 0.08);
  color: var(--navy);
  border: 1px solid rgba(0, 50, 133, 0.15);
}

html[data-theme="light"] .grid-bg::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

/* SPECIFIC PAGES OVERRIDES */
html[data-theme="light"] .page-header {
  background: linear-gradient(135deg, rgba(0, 50, 133, 0.05), rgba(253, 77, 0, 0.05));
  border-bottom: 1px solid rgba(0, 50, 133, 0.1);
}

html[data-theme="light"] .contact-card,
html[data-theme="light"] .vision-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .form-control {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: var(--white);
}

html[data-theme="light"] .form-control {
  color: #040e1f;
}

html[data-theme="light"] .form-control::placeholder {
  color: rgba(4, 14, 31, 0.5);
}

html[data-theme="light"] .contact-info p,
html[data-theme="light"] .vision-card p,
html[data-theme="light"] .value-card p {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .history-card {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: var(--white);
}

html[data-theme="light"] .history-card p {
  color: rgba(4, 14, 31, 0.7);
}

/* MISSING FIXES ADDED */
html[data-theme="light"] .page-hero-right p {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .page-title span {
  background: linear-gradient(90deg, var(--flame), var(--rust));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .breadcrumb a {
  color: var(--navy);
}

html[data-theme="light"] .breadcrumb span {
  color: rgba(4, 14, 31, 0.4);
}

html[data-theme="light"] .filter-bar {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 50, 133, 0.1);
  box-shadow: 0 8px 32px rgba(0, 50, 133, 0.08);
}

html[data-theme="light"] .filter-bar-wrapper {
  background: transparent;
  backdrop-filter: none;
}

html[data-theme="light"] .results-count {
  color: rgba(4, 14, 31, 0.5);
}

html[data-theme="light"] .filter-label {
  color: rgba(4, 14, 31, 0.5);
}

html[data-theme="light"] .filter-btn {
  background: rgba(0, 50, 133, 0.05);
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: var(--navy);
}

html[data-theme="light"] .filter-btn:hover,
html[data-theme="light"] .filter-btn.active {
  background: rgba(253, 77, 0, 0.1);
  border-color: rgba(253, 77, 0, 0.3);
  color: var(--flame);
}

html[data-theme="light"] .results-count {
  color: rgba(4, 14, 31, 0.5);
}

html[data-theme="light"] .modal-overlay {
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .modal {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 133, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .modal-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 50, 133, 0.1);
}

html[data-theme="light"] .modal-desc {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .spec-row {
  background: rgba(0, 50, 133, 0.05);
  border: 1px solid rgba(0, 50, 133, 0.1);
}

html[data-theme="light"] .spec-key {
  color: rgba(4, 14, 31, 0.5);
}

html[data-theme="light"] .spec-val {
  color: var(--navy);
}

html[data-theme="light"] .modal-note {
  background: rgba(0, 50, 133, 0.05);
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] footer p {
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] .footer-links a {
  color: rgba(4, 14, 31, 0.6);
}

html[data-theme="light"] .carousel-slide {
  background: linear-gradient(135deg, rgba(0, 50, 133, 0.1), rgba(42, 98, 154, 0.05));
  border: 1px solid rgba(0, 50, 133, 0.15);
  box-shadow: 0 20px 40px rgba(0, 50, 133, 0.05);
}

html[data-theme="light"] .carousel-slide::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.2) 100%);
}

html[data-theme="light"] .carousel-title {
  color: var(--navy);
}

html[data-theme="light"] .carousel-desc {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .carousel-dot {
  background: rgba(0, 50, 133, 0.1);
  border-color: rgba(0, 50, 133, 0.3);
}

/* THEME TOGGLE BUTTON */
.theme-toggle-container {
  margin-left: 16px;
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--gold);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(0, 50, 133, 0.05);
  border: 1px solid rgba(0, 50, 133, 0.1);
  color: var(--navy);
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 50, 133, 0.1);
  box-shadow: 0 4px 12px rgba(0, 50, 133, 0.1);
}

@media(max-width:768px) {
  .theme-toggle-container {
    margin-left: auto;
    margin-right: 16px;
  }
}


/* --- SUBPAGE BASE LAYOUT STYLES --- */

.page-hero {
  position: relative;
  padding: clamp(100px, 15vw, 140px) clamp(16px, 5%, 80px) clamp(40px, 6vw, 60px);
  background: linear-gradient(135deg, rgba(0, 50, 133, 0.4), rgba(4, 14, 31, 0.8));
  overflow: hidden;
  min-height: clamp(280px, 40vh, 50vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-deco {
  position: absolute;
  top: 20px;
  right: -20px;
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  overflow: hidden;
  max-width: 60%;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--flame);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
}

.page-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--flame);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: clamp(-1px, -0.03em, -2px);
  word-break: break-word;
}

.page-hero-right {
  max-width: 450px;
  padding-bottom: 10px;
}

.page-hero-right p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 98, 154, 0.3), transparent);
  margin: 0 5%;
}

/* FILTER BAR */
/* FILTER BAR WRAPPER — sticky + fade gradient hint */
.filter-bar-wrapper {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* FILTER BAR */
.filter-bar {
  background: rgba(4, 14, 31, 0.85);
  backdrop-filter: blur(20px);
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid rgba(42, 98, 154, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  /* NO flex-wrap: wrap — kita pakai scroll horizontal */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Smooth scroll momentum di iOS */
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

/* Pastikan semua child tidak shrink agar bisa di-scroll */
.filter-bar>* {
  flex-shrink: 0;
}

.filter-bar .results-count {
  margin-left: auto;
  flex-shrink: 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
}

.filter-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

@media (max-width: 768px) {
  .filter-label {
    display: none;
    /* Hide on mobile to save space */
  }
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--flame);
  border-color: var(--flame);
  color: white;
  box-shadow: 0 4px 15px rgba(253, 77, 0, 0.3);
}

.results-count {
  margin-left: auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Space Mono', monospace;
}

.products-section {
  margin-top: 50px !important;
  padding: 40px 0;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--dark);
  border: 1px solid rgba(255, 218, 120, 0.1);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-header {
  position: sticky;
  top: 0;
  background: rgba(4, 14, 31, 0.9);
  backdrop-filter: blur(10px);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--flame);
  border-color: var(--flame);
}

.modal-body {
  padding: 32px;
}

.modal-img {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 24px;
  position: relative;
}

.modal-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Space Mono', monospace;
}

.modal-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--flame);
  margin-bottom: 12px;
}

.modal-desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.spec-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-key {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.spec-val {
  font-weight: 600;
  font-family: 'Space Mono', monospace;
}

.modal-note {
  background: rgba(253, 77, 0, 0.05);
  border: 1px solid rgba(253, 77, 0, 0.2);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- TENTANG KAMI PAGE STYLES --- */

.page-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 16px;
}

.about-section {
  padding: clamp(60px, 10vw, 100px) clamp(16px, 5%, 80px);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
  height: clamp(250px, 40vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ring {
  position: absolute;
  border: 1px solid rgba(253, 77, 0, 0.1);
  border-radius: 50%;
  animation: rotateAbout 20s linear infinite;
}

.ring-1 {
  width: min(350px, 90%);
  height: min(350px, 90vw);
  border-style: dashed;
}

.ring-2 {
  width: min(280px, 72%);
  height: min(280px, 72vw);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ring-3 {
  width: min(210px, 54%);
  height: min(210px, 54vw);
  border-color: rgba(253, 77, 0, 0.3);
}

.about-center {
  width: 100px;
  height: 100px;
  background: var(--flame);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 50px rgba(253, 77, 0, 0.4);
  z-index: 2;
}

@keyframes rotateAbout {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.about-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: clamp(16px, 3vw, 24px);
  font-weight: 800;
}

.about-content p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  font-size: 2rem;
}

.feature-text h4 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.values-section {
  padding: clamp(48px, 8vw, 80px) clamp(16px, 5%, 80px);
  background: rgba(0, 0, 0, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: 'Space Mono', monospace;
  color: var(--flame);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(16px, 3vw, 30px);
}

.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  transition: all 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--flame);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.contact-section {
  padding: clamp(60px, 10vw, 100px) clamp(16px, 5%, 80px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 80px);
}

.contact-info h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: clamp(16px, 3vw, 24px);
  font-weight: 800;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(16px, 3vw, 30px);
  margin-top: clamp(24px, 4vw, 40px);
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--flame);
  margin-top: 4px;
}

.contact-text label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-text span {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-display {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 24px;
  position: relative;
}

.contact-display h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-display .sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-family: inherit;
}

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

.form-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  margin: 20px 0;
}

.submit-btn {
  width: 100%;
  background: var(--flame);
  border: none;
  color: white;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #ff6a2b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(253, 77, 0, 0.3);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.success-msg.show {
  display: block;
  animation: fadeUp 0.5s forwards;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

@media(max-width:992px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 50px);
  }

  .about-visual {
    height: clamp(220px, 35vw, 300px);
  }

  .page-hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-right {
    max-width: 100%;
  }
}

@media(max-width: 600px) {
  .about-grid {
    display: block;
  }

  .about-visual {
    height: 200px;
    margin-bottom: 32px;
  }

  .contact-grid {
    display: block;
  }

  .contact-info {
    margin-bottom: 32px;
  }

  .contact-display {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-header {
    padding: 16px 20px;
  }
}


/* --- GLOBAL LIGHT MODE SYSTEM --- */
:root[data-theme="light"] {
  --navy: #003285;
  --steel: #2a629a;
  --gold: #ffda78;
  --rust: #b25512;
  --flame: #fd4d00;
  --white: #040e1f;
  --dark: #f1f5f9;
}

html[data-theme="light"] body {
  background: var(--dark);
  color: var(--white);
}

html[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 50, 133, 0.1);
  box-shadow: 0 4px 20px rgba(0, 50, 133, 0.05);
}

html[data-theme="light"] .logo {
  color: var(--white);
}

html[data-theme="light"] .nav-links a {
  color: rgba(4, 14, 31, 0.7);
}

html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active {
  color: var(--navy);
  background: rgba(0, 50, 133, 0.05);
}

html[data-theme="light"] .nav-links a.active::after {
  background: var(--navy);
}

html[data-theme="light"] footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 50, 133, 0.1);
  color: #1e293b;
}


/* --- CENTERED FOOTER (VANILLA CSS) --- */
.footer-centered {
  background-color: #111827;
  /* bg-gray-900 */
  border-top: 1px solid #1f2937;
  /* border-gray-800 */
  padding: 3rem 0;
  /* py-12 */
  color: #9ca3af;
  /* text-gray-400 */
}

.footer-centered .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-centered .text-center {
  text-align: center;
}

.footer-copyright {
  font-size: 1.125rem;
  /* text-lg */
  margin-bottom: 1.5rem;
  /* mb-6 */
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  /* space-x-8 */
}

.social-link {
  color: #9ca3af;
  /* text-gray-400 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  color: #ffffff;
  /* hover:text-white */
  transform: scale(1.25) rotate(12deg);
}

.social-link svg {
  width: 2rem;
  /* w-8 */
  height: 2rem;
  /* h-8 */
}

/* Mobile Menu Light Theme Fixes */
@media(max-width:768px) {
  html[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }

  html[data-theme="light"] .dropdown-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 50, 133, 0.1);
  }

  html[data-theme="light"] .dropdown-content a {
    color: rgba(4, 14, 31, 0.8) !important;
  }

  html[data-theme="light"] .dropdown-content a:hover {
    background: rgba(0, 50, 133, 0.05) !important;
    color: var(--navy) !important;
  }
}

html[data-theme="light"] .mobile-menu-toggle .bar {
  background-color: var(--navy);
}

/* Mobile Dropdown Accordion */
@media(max-width:768px) {
  .dropdown-content {
    position: static !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.3s ease !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-left: 1rem;
  }

  .dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 10px;
  }

  .dropdown-content a {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 8px 16px !important;
    font-size: 0.9rem;
  }

  html[data-theme="light"] .dropdown-content a {
    color: rgba(4, 14, 31, 0.7) !important;
  }
}