/* ═══════════════════════════════════════════════════════════
   DEEP-5 — Corporate Website Stylesheet
   Aesthetic: Premium dark, European tech studio
   Inspired by Dusk Lab template direction
   ═══════════════════════════════════════════════════════════ */

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

:root {
  /* Palette */
  --bg-deep:       #08080a;
  --bg-primary:    #0e0e12;
  --bg-elevated:   #16161c;
  --bg-card:       #131318;
  --bg-hover:      #1e1e26;
  --border-subtle: #25252f;
  --border-accent: #35354a;

  --text-hero:     #f0f0f5;
  --text-primary:  #c8c8d0;
  --text-secondary:#8888a0;
  --text-muted:    #555568;
  --text-dim:      #35354a;

  --accent:        #6e6eff;
  --accent-soft:   #5a5ae0;
  --accent-glow:   rgba(110, 110, 255, 0.15);
  --accent-warm:   #c8a050;
  --accent-teal:   #4ac0c8;

  /* Typography */
  --font-display:  'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad:   clamp(80px, 10vw, 140px);
  --content-max:   1100px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav--scrolled {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(110, 110, 255, 0.2));
  transition: filter 0.3s;
}

.nav__brand:hover .nav__logo {
  filter: drop-shadow(0 0 14px rgba(110, 110, 255, 0.4));
}

.nav__logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-hero);
}

.nav__logo-accent {
  color: var(--accent);
  font-weight: 300;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav__links a:hover {
  color: var(--text-hero);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(110, 110, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(74, 192, 200, 0.04) 0%, transparent 60%),
    var(--bg-deep);
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 0 clamp(20px, 4vw, 60px);
}

.hero__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 30px rgba(74, 192, 200, 0.3));
  animation: floatIcon 5s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 30px rgba(74, 192, 200, 0.3)); }
  50% { transform: translateY(-12px); filter: drop-shadow(0 0 40px rgba(110, 110, 255, 0.4)); }
}

.hero__overline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 200;
  line-height: 1.15;
  color: var(--text-hero);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  font-weight: 500;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-accent);
}

.btn--ghost:hover {
  color: var(--text-hero);
  border-color: var(--text-muted);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Sections ── */
.section {
  padding: var(--section-pad) 0;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section__overline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  color: var(--text-hero);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.stat__number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-hero);
  min-width: 80px;
}

.stat__label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Products ── */
.products {
  background: var(--bg-primary);
}

.product-card {
  position: relative;
  padding: clamp(40px, 5vw, 60px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.product-card:hover {
  border-color: var(--border-accent);
}

.product-card--nuukin:hover {
  box-shadow: 0 20px 60px rgba(74, 192, 200, 0.06);
}

.product-card--dusk:hover {
  box-shadow: 0 20px 60px rgba(200, 160, 80, 0.06);
}

.product-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

.product-card__header {
  margin-bottom: 1.5rem;
}

.product-card__name {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-hero);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card__icon {
  font-size: 1.2rem;
}

.product-card--nuukin .product-card__icon { color: var(--accent-teal); }
.product-card--dusk .product-card__icon { color: var(--accent-warm); }

.product-card__tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.product-card--nuukin .product-card__tagline { color: var(--accent-teal); }
.product-card--dusk .product-card__tagline { color: var(--accent-warm); }

.product-card__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.product-card__features li {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 6px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

/* ── Philosophy / Principles ── */
.philosophy {
  background: var(--bg-deep);
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.principle {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.principle:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.principle__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.principle__title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-hero);
  margin-bottom: 0.8rem;
}

.principle__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Quote ── */
.quote-section {
  background: var(--bg-primary);
  padding: var(--section-pad) 0;
}

.quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.quote__text {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 200;
  font-style: italic;
  color: var(--text-hero);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote__author {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Contact ── */
.contact {
  background: var(--bg-deep);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact__card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.contact__card h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact__card a {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s;
}

.contact__card a:hover {
  color: var(--text-hero);
}

.contact__card address {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(74, 192, 200, 0.2));
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__col li {
  margin-bottom: 0.6rem;
}

.footer__col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--text-hero);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal-id {
  margin-top: 0.3rem;
  font-size: 0.75rem !important;
  color: var(--text-dim) !important;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 100px 40px 40px;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
  }

  .stat__number { min-width: auto; }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    padding: 30px;
  }

  .product-card__badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }

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