/* ═══════════════════════════════════════════════════
   ITERATORI — Global Design System
   ═══════════════════════════════════════════════════ */

:root {
  --gold:        #c8961e;
  --gold-light:  #e8b44e;
  --gold-bright: #f0c060;
  --gold-dim:    #7a5a10;
  --black:       #050505;
  --dark:        #0c0c0c;
  --dark-2:      #111111;
  --dark-3:      #161616;
  --border:      rgba(200, 150, 30, 0.15);
  --text:        #e8e4dc;
  --text-muted:  #888880;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', 'Inter', sans-serif;
  --nav-h:       70px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Utilities ─── */
.gold  { color: var(--gold-light); }
.italic { font-style: italic; }


/* ═══════════════════════════════════════════════════
   STAGING BANNER — DELETE THIS ENTIRE BLOCK TO REMOVE
   ═══════════════════════════════════════════════════ */
.staging-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 38px;
  background: linear-gradient(90deg, #5c0f0f 0%, #7a1a1a 40%, #6b1212 100%);
  border-bottom: 1px solid rgba(255, 80, 80, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(120, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.staging-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.staging-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.staging-icon {
  font-size: 14px;
  color: rgba(255, 140, 140, 0.9);
  flex-shrink: 0;
  animation: stagingPulse 2.4s ease-in-out infinite;
}

@keyframes stagingPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

.staging-text {
  font-family: 'Inter', monospace, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: rgba(255, 200, 200, 0.85);
}

.staging-text strong {
  color: #ff9f9f;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 10.5px;
}

.staging-dismiss {
  background: none;
  border: 1px solid rgba(255, 100, 100, 0.3);
  color: rgba(255, 160, 160, 0.7);
  font-size: 12px;
  line-height: 1;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.staging-dismiss:hover {
  background: rgba(255, 80, 80, 0.15);
  border-color: rgba(255, 100, 100, 0.6);
  color: #ffaaaa;
}
/* END STAGING BANNER STYLES */


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: var(--banner-h, 38px);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), top var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.97);
  border-bottom-color: rgba(200, 150, 30, 0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.nav-link.active::after { opacity: 1; }

/* CTA Button */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: rgba(200, 150, 30, 0.12);
  box-shadow: 0 0 20px rgba(200, 150, 30, 0.2);
}
.nav-cta-arrow {
  font-size: 14px;
  transition: transform var(--transition);
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--banner-h, 38px) + var(--nav-h));
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle noise/grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 65% 50%, rgba(200, 150, 30, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 10% 80%, rgba(200, 150, 30, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
}

/* Content side */
.hero-content {
  z-index: 2;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-subtext {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subtext .gold {
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(200, 150, 30, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 3px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn-primary:hover {
  background: rgba(200, 150, 30, 0.2);
  box-shadow: 0 0 30px rgba(200, 150, 30, 0.25);
  color: var(--gold-bright);
}
.btn-primary span {
  font-size: 15px;
  transition: transform var(--transition);
}
.btn-primary:hover span { transform: translateX(4px); }

/* Ghost Button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  border-radius: 3px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Visual side */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.2s 0.3s forwards;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 60px rgba(200, 150, 30, 0.35)) drop-shadow(0 0 120px rgba(200, 150, 30, 0.15));
  animation: floatImage 6s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center, rgba(200, 150, 30, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(30px);
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}


/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.services {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* Intro column */
.services-intro {
  padding-right: 24px;
}

.services-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 18px;
}

.services-description {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.services-description .gold {
  font-weight: 400;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gold);
  transition: gap var(--transition), opacity var(--transition);
}
.explore-link:hover { gap: 16px; opacity: 0.85; }

/* Cards row */
.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.service-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
  cursor: default;
}
.service-card:last-child { border-right: none; }

.service-card:hover {
  background: rgba(200, 150, 30, 0.04);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }

.service-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.5;
}

.service-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════ */
.trust-bar {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.trust-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-logo {
  opacity: 0.55;
  transition: opacity var(--transition), filter var(--transition);
  cursor: default;
}
.trust-logo:hover {
  opacity: 0.85;
  filter: brightness(1.3);
}

.trust-logo svg {
  height: 28px;
  width: auto;
}



/* ═══════════════════════════════════════════════════
   DROPDOWN MENU
   ═══════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  min-width: 200px;
  border-radius: 4px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.dropdown-item:hover {
  color: var(--gold-light);
  background: rgba(200, 150, 30, 0.08);
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE (Updated with Mobile Menu)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:nth-child(2) { border-right: none; }
  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px 32px;
  }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-divider { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile open state */
  .nav-links.nav-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-h) + var(--banner-h, 0px));
    left: 0; right: 0;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 32px;
    border-bottom: 1px solid var(--border);
    gap: 28px;
    z-index: 999;
    max-height: calc(100vh - var(--nav-h) - var(--banner-h, 0px));
    overflow-y: auto;
  }

  .nav-links.nav-open .nav-link {
    font-size: 13px;
    letter-spacing: 3px;
    padding-bottom: 0;
  }

  .nav-links.nav-open .nav-link::after {
    display: none;
  }

  /* Mobile dropdown handling */
  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: 12px 0 0 16px;
    width: 100%;
    display: none; /* Toggle via JS */
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 10px 0;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .services-cards {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .service-card:last-child { border-bottom: none; }

  .trust-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .trust-logos { justify-content: center; gap: 24px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 20px; }
  .hero-container { padding: 40px 20px 28px; }
  .services-container { padding: 0 20px; }
  .trust-container { padding: 0 20px; }
  .hero-actions { gap: 12px; }
  .btn-primary, .btn-ghost { font-size: 11px; padding: 12px 20px; }
}
