/* @import url(../../styles.css); */
@import url(binatural.css);

:root {
  --bg: #050906;
  --bg-2: #07110b;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --blue: #5a6cff;
  --blue2: #2d47ff;
  --text: #f4f7f2;
  --muted: #aeb9ab;
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.logo {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.06em
}

.logo span {
    color: var(--blue)
}


a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container{
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
}

.site-header {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    padding: 0 16px
}

.logo {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.06em
}

.logo span {
    color: var(--blue)
}

.nav {
    display: flex;
    gap: 44px;
    font-size: 14px;
    color: #e8ecf4
}

.nav a {
    opacity: .86
}

.nav a:hover {
    opacity: 1
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    height: 48px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
    white-space: nowrap
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue2), var(--blue));
    color: white;
    box-shadow: 0 18px 45px rgba(45, 71, 255, .28)
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-secondary {
    border: 1px solid var(--line);
    color: white;
    background: rgba(255, 255, 255, .02)
}

.hero {
  min-height: 620px;
  margin-top: -88px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 84px;
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 560px;
  color: #d8dfd2;
  font-size: 18px;
  line-height: 1.7;
}

.tags,
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tags span {
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(155, 220, 58, 0.09);
  border: 1px solid rgba(155, 220, 58, 0.22);
  color: #dff8c4;
  font-size: 12px;
  font-weight: 700;
}

.project-meta {
  margin-top: 58px;
  gap: 56px;
}

.project-meta small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.project-meta strong {
  font-size: 14px;
}

.section {
  width: 100%;
  margin: 0 auto;
  padding: 86px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-title h2,
.split-section h2,
.result-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.section-title p:not(.eyebrow),
.split-section p,
.result-content p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.summary-grid,
.numbers-grid {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.summary-card,
.number-card,
.process-flow article,
.image-card,
.device-card,
.footer-nav {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.summary-card {
  padding: 28px;
  min-height: 230px;
  width: 25%;
}

.icon,
.step-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid rgba(155, 220, 58, 0.25);
  color: var(--color1);
  background: rgba(155, 220, 58, 0.08);
  font-size: 24px;
  margin-bottom: 28px;
}

.summary-card h3,
.steps h3 {
  color: var(--color1);
  margin-bottom: 12px;
}

.summary-card p,
.steps p,
.number-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.split-section,
.result-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.image-card,
.device-card {
  padding: 18px;
  overflow: hidden;
}

.image-card img {
  border-radius: 12px;
}

.methodology {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.steps {
  display: flex;
  gap: 18px;
}

.steps article {
  position: relative;
  padding: 28px 22px;
  text-align: center;
}

.steps article span {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255,255,255,0.24);
  font-weight: 800;
}

.steps .step-icon {
  margin-inline: auto;
}

.number-card {
  min-height: 230px;
  padding: 26px;
}

.number-card small {
  display: block;
  color: var(--color1);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 26px;
}

.number-card strong {
  display: block;
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -0.07em;
  margin-bottom: 18px;
}

.number-card.highlight {
  background: linear-gradient(180deg, rgba(155, 220, 58, 0.08), rgba(255, 255, 255, 0.045));
}

.result-section {
  padding-bottom: 70px;
}

.result-list {
  display: flex;
  gap: 22px 28px;
  margin-top: 42px;
}

.result-list div {
  color: #dfe9dc;
  font-weight: 700;
}

.result-list span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  border: 1px solid var(--color1);
  color: var(--color1);
}

.device-card {
  transform: perspective(1000px) rotateY(-4deg);
  background:
    radial-gradient(circle at 80% 80%, rgba(155, 220, 58, 0.16), transparent 34%),
    rgba(255,255,255,0.04);
}

.device-card img {
  border-radius: 12px;
}

.footer-nav {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 44px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.footer-nav strong {
  color: var(--text);
  font-size: 18px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 560px;
    background-position: center;
  }

  .steps,
  .numbers-grid,
  .summary-grid {
    flex-wrap: wrap;
  }

  .steps-card,
  .summary-card,
  .number-card{
    width: 45%;
  }

  .split-section,
  .result-section {
    grid-template-columns: 1fr;
  }

  .device-card {
    transform: none;
  }
}

@media (max-width: 640px) {
  .header,
  .hero-content,
  .section,
  .footer-nav {
    width: min(100% - 32px, var(--max));
  }

  .header {
    height: 76px;
  }

  .brand small,
  .btn-outline {
    display: none;
  }

  .hero {
    margin-top: -76px;
    min-height: 650px;
    align-items: end;
    padding-bottom: 42px;
    background:
      linear-gradient(180deg, rgba(3, 5, 4, 0.38) 0%, rgba(3, 5, 4, 0.94) 60%, rgba(3, 5, 4, 1) 100%),
      url("assets/binatural-hero.png") center / cover no-repeat;
  }

  .hero-content {
    padding-top: 0;
  }

  .back-link {
    margin-bottom: 32px;
  }

  .hero-text {
    font-size: 16px;
  }

  .project-meta {
    gap: 20px;
    margin-top: 32px;
  }

  .section {
    padding: 64px 0;
  }

  /* .summary-grid,
  .steps,
  .numbers-grid,
  .result-list {
    grid-template-columns: 1fr;
  } */

  .steps,
  .numbers-grid,
  .summary-grid {
    flex-direction: column;
  }

  .steps-card,
  .summary-card,
  .number-card{
    width: 100%;
  }

  .summary-card,
  .number-card {
    min-height: auto;
  }

  .footer-nav {
    flex-direction: column;
    gap: 22px;
  }
}
