:root {
    --black: #0b0b0b;
    --dark: #111111;
    --gold: #c6a24a;
    --rich-gold: #e0c36d;
    --teal: #14f1d9;
    --gray: #cccccc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, #141414, #050505);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== GLOBAL CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION SPACING SYSTEM ===== */

section {
  padding: clamp(70px, 8vw, 160px) 0;
}

/* ===== SKIP LINK (ACCESSIBILITY) ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 20px;
}

/* ===== HEADER ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  height: 7rem;
  align-items: center;
  background: rgba(2,2,2,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198,162,74,0.15);
  transition: all .3s ease;
}

.site-header.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,162,74,0.25);
}

/* HEADER LAYOUT */

.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 32px;
}

/* ===== LOGO ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  color: var(--rich-gold);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  transform: translateY(1px);
}

/* Optional subtle hover */

@media (hover:hover) {
  .logo:hover img {
    filter: drop-shadow(0 0 6px rgba(198,162,74,0.45));
  }
}

/* ===== NAVIGATION ===== */

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* nav links */

.nav-list a {
  position: relative;
  color: #d8d8d8;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}

.nav-list a:hover {
  color: var(--rich-gold);
}

/* underline animation */

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* hosting button */

.hosting-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
}

.hosting-btn:hover {
  background: transparent;
  color: var(--gold);
}

/* ===== HAMBURGER ===== */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;

  width: 26px;
  height: 18px;

  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--rich-gold);
  border-radius: 2px;
  transition: all .3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== ACCESSIBILITY FOCUS ===== */

a:focus,
button:focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== MOBILE NAV ===== */

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;

    background: #020202;

    display: none;
    flex-direction: column;
    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid rgba(198,162,74,0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 160px 20px 80px; /* pushes content below header */

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;   /* extends background under header */
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
      linear-gradient(rgba(198,162,74,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(198,162,74,0.05) 1px, transparent 1px);

    background-size: 80px 80px;
    animation: gridMove 25s linear infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(224,195,109,0.15), transparent 60%);
    z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
   margin: 0 auto;
  padding: 0 10px;
}


@keyframes gridMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 400px 400px;
    }
}


.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--rich-gold);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.hero-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--rich-gold));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(224,195,109,0.4);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

/* ===== WHY TRIMID GLOBAL ===== */
.why-trimid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 10rem 0;
}

.why-container {
    display: flex;
   align-items: center;
   gap: 8rem;
}

/* === TEXT SIDE === */
.why-text h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--rich-gold);
    font-size: 2.2rem;
    margin: 16px 0 60px;
}
.why-text p {
  color: #bdbdbd;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}


.why-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}

/* === STACK (same as before) === */
.block-stack {
  position: relative;
  width: 430px;
}

.stack-block {
  position: relative;
  width: 100%;
  height: 90px;
  padding: 0 1rem;
  background: linear-gradient(145deg, #090909, #030303);
  border: 1px solid rgba(198,162,74,0.3);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Offsets */
.b1 { transform: translateX(-14px) rotate(-1deg); z-index: 6; }
.b2 { transform: translateX(10px) rotate(1.2deg); margin-top: -12px; z-index: 5; }
.b3 { transform: translateX(-6px) rotate(-0.8deg); margin-top: -12px; z-index: 4; }
.b4 { transform: translateX(12px) rotate(1deg); margin-top: -12px; z-index: 3; }
.b5 { transform: translateX(-8px) rotate(-0.6deg); margin-top: -12px; z-index: 2; }
.b6 { transform: translateX(6px) rotate(0.4deg); margin-top: -12px; z-index: 1; }

.stack-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.stack-block:hover {
  transform: translateY(-4px) scale(1.02);
  transition: transform 0.25s ease;
  z-index: 10;
}

/* === MOBILE === */
@media (max-width: 900px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    margin: 0 auto !important;
}

  .block-stack {
    margin: 0 auto;
   
  }

  .why-text {
    margin-left: 1rem;
  }

  .why-text p {
    max-width: none;
    }

}




/* ===== SERVICES ===== */
/* ===== CORE SERVICES (NEW DESIGN) ===== */
.core-services {
  background: #050505;
  border-top: 1px solid rgba(198,162,74,0.15);
}

.core-services h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--rich-gold);
  font-size: 2.2rem;
  margin: 16px 0 80px;
}

/* Matrix container */
.service-matrix {
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual service rows */
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(198,162,74,0.15);
  align-items: start;
}

/* Service title */
.service-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

/* Description */
.service-desc {
  color: #bdbdbd;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 620px;
}

/* Remove border on last item */
.service-row:last-child {
  border-bottom: none;
}

/* MOBILE */
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-title {
    margin-bottom: 6px;
  }
}

/* ===== HOW WE WORK ===== */
/* ===== HOW WE BUILD SYSTEMS ===== */
.build-systems {
  background: linear-gradient(180deg, #060606, #020202);
  border-top: 1px solid rgba(198,162,74,0.15);
}

.build-systems h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--rich-gold);
  font-size: 2.2rem;
  margin: 16px 0 80px;
}

/* Pipeline container */
.pipeline {
  max-width: 1100px;          /* 👈 prevents edge drift */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* Individual steps */
.pipeline-step {
  background: linear-gradient(145deg, #090909, #030303);
  border: 1px solid rgba(198,162,74,0.25);
  padding: 32px;
  position: relative;
}

/* Step number */
.step-index {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

/* Headings */
.pipeline-step h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* Copy */
.pipeline-step p {
  color: #bdbdbd;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Subtle directional cue */
.pipeline-step::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: rgba(198,162,74,0.3);
}

/* Remove connector on last */
.pipeline-step:last-child::after {
  display: none;
}


/* ===== SYSTEM SNAPSHOT ===== */
.snapshot-metric {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--rich-gold);
}

.system-snapshot {
    background: rgba(28, 28, 27, 0.05);
    border-top: 1px solid rgba(198,162,74,0.15);
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.system-snapshot h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--rich-gold);
    font-size: 2.2rem;
    margin: 16px 0 60px;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.snapshot-item {
    border-left: 2px solid rgba(198,162,74,0.35);
    padding-left: 24px;
}

.snapshot-metric {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.snapshot-item p {
    color: #bdbdbd;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 20px;
    text-align: center;
    background: #050505;
    border-top: 1px solid rgba(198,162,74,0.15);
    font-size: 0.85rem;
    color: #999;
}

/* ===== RESPONSIVE ===== */


/* ===== MOBILE ===== */
@media (max-width: 768px) {
   .header-inner {
    height: 70px;
  }

  .logo {
    font-size: 0.95rem;
    gap: 8px;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }
   
  .menu-toggle {
    display: flex;
  }

    .hero {
    padding: 110px 20px 60px;
  }

  .why-trimid {
    margin: 80px 0;
    padding: 0 20px;
  }

  .core-services {
    padding: 80px 20px;
  }

  .build-systems {
    padding: 80px 20px;
  }

  .system-snapshot {
    padding: 80px 20px;
  }

  .core-services h2,
  .build-systems h2,
  .system-snapshot h2 {
    margin-bottom: 40px;
  }

    .why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .block-stack {
    width: 100%;
  }

    h2 {
    font-size: 1.7rem;
  }

  .hero::before {
    top: -100px;
    background-size: 60px 60px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #020202;
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
    display: none;
  }

     nav {
        display: none;
    }

  .nav-links.active {
    display: flex;
  }

    .nav-list {
    flex-direction: column;
    gap: 20px;
  }

    .block-stack {
    width: 100%;
  }

  .stack-block {
    transform: none !important;
    margin-top: 12px;
    padding: 0 auto;
  }

    .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline-step::after {
    display: none;
  }
}

