/* ═══════════════════════════════════════════
   N0B1T — Dark Corporate Luxury
   ═══════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette */
  --black:       #0a0a0a;
  --anthracite:  #141414;
  --carbon:      #1a1a1a;
  --graphite:    #222222;
  --steel:       #2a2a2a;
  --ash:         #3a3a3a;
  --silver:      #8a8a8a;
  --light:       #c0c0c0;
  --white:       #e8e8e8;
  --pure-white:  #ffffff;
  --accent:      #b0b0b0;
  --accent-light:#d4d4d4;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container:  1200px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Carbon Fiber / Brushed Steel Textures ── */
.texture-carbon {
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.012) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.012) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.012) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.012) 75%);
  background-size: 4px 4px;
  background-position: 0 0, 0 2px, 2px -2px, -2px 0;
}

.texture-brushed {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.008) 0px,
      transparent 1px,
      transparent 3px,
      rgba(255,255,255,0.005) 4px
    );
}

::selection {
  background: rgba(255,255,255,0.15);
  color: var(--pure-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.text-accent {
  color: var(--pure-white);
}

.hide-mobile {
  display: inline;
}

/* ── Section Tags ────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--silver);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 580px;
  margin-top: 1.5rem;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--pure-white);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--ash);
}

.btn--ghost:hover {
  border-color: var(--silver);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s var(--ease);
}

.nav--scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  opacity: 0.95;
  transition: all 0.4s var(--ease);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.06));
}

.nav__logo:hover .nav__logo-img {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.12));
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pure-white);
  transition: width 0.4s var(--ease);
}

.nav__link:hover {
  color: var(--pure-white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--light);
  transition: all 0.4s var(--ease);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,10,10,0.6) 0%,
      rgba(10,10,10,0.3) 40%,
      rgba(10,10,10,0.5) 70%,
      rgba(10,10,10,1) 100%
    ),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10,10,10,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 60px);
}

.hero__badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 2rem;
  padding: 0.6rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-block;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0px,
      transparent 1px,
      transparent 3px
    ),
    rgba(255,255,255,0.03);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, #ffffff 0%, #888888 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--silver), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ═══════════════ ABOUT ═══════════════ */
.about {
  padding: var(--section-py) 0;
  background: var(--black);
  position: relative;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.008) 0px,
      transparent 1px,
      transparent 3px,
      rgba(255,255,255,0.005) 4px
    );
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text {
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about__text--highlight {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 400;
  line-height: 1.7;
  border-left: 2px solid var(--ash);
  padding-left: 1.5rem;
}

/* ═══════════════ ECOSYSTEM ═══════════════ */
.ecosystem {
  padding: var(--section-py) 0;
  background: var(--anthracite);
  position: relative;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.01) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.01) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.01) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.01) 75%);
  background-size: 4px 4px;
  background-position: 0 0, 0 2px, 2px -2px, -2px 0;
}

.ecosystem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.ecosystem__header {
  text-align: center;
  margin-bottom: 4rem;
}

.ecosystem__header .section-tag {
  padding-left: 0;
}

.ecosystem__header .section-tag::before {
  display: none;
}

.ecosystem__header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.eco-card {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.006) 0px,
      transparent 1px,
      transparent 2px,
      rgba(255,255,255,0.003) 3px
    ),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem;
  position: relative;
  transition: all 0.5s var(--ease);
  overflow: hidden;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.eco-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.eco-card:hover::before {
  opacity: 1;
}

.eco-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--silver);
  transition: color 0.4s;
}

.eco-card:hover .eco-card__icon {
  color: var(--pure-white);
}

.eco-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.eco-card__desc {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}

.eco-card__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--pure-white), transparent);
  transition: width 0.6s var(--ease);
}

.eco-card:hover .eco-card__line {
  width: 100%;
}

/* ═══════════════ STATEMENT ═══════════════ */
.statement {
  padding: var(--section-py) 0;
  background: var(--black);
  position: relative;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.006) 0px,
      transparent 1px,
      transparent 4px,
      rgba(255,255,255,0.004) 5px
    );
}

.statement__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.statement__mark {
  font-size: 4rem;
  line-height: 0;
  color: var(--ash);
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  padding: var(--section-py) 0;
  background: var(--anthracite);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.8;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--silver);
}

.contact__item svg {
  width: 18px;
  height: 18px;
  color: var(--ash);
  flex-shrink: 0;
}

/* ── Form ──────────────────────────────── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 1.2rem 1rem 0.6rem;
  outline: none;
  transition: all 0.4s var(--ease);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--silver);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.form-group textarea ~ label {
  top: 1.2rem;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  transform: none;
  font-size: 0.7rem;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0.3rem;
  font-size: 0.7rem;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact__form .btn--primary {
  margin-top: 0.5rem;
  padding: 1.1rem 2rem;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  padding: 3rem 0 2rem;
  background: var(--black);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.footer__logo {
  height: 36px;
  width: auto;
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--ash);
  letter-spacing: 0.03em;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--ash);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--silver);
}

.footer__line {
  height: 1px;
  background: rgba(255,255,255,0.04);
}

/* ═══════════════ ANIMATIONS ═══════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 968px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ecosystem__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.5s var(--ease);
  }

  .nav__links.is-open {
    right: 0;
  }

  .nav__links .nav__link {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.is-active span:first-child {
    transform: rotate(45deg) translateY(3.5px);
  }

  .nav__toggle.is-active span:last-child {
    transform: rotate(-45deg) translateY(-3.5px);
  }

  .hide-mobile {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero__badge {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }

  .ecosystem__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .statement__quote {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
