/* ========================================
   Variables
   ======================================== */
:root {
  --color-black: #000;
  --color-white: #fff;
  --color-gray-bg: #eee;
  --color-gray-text: #666;
  --color-gray-muted: #888;
  --color-accent: #f9423a;

  --font-heading: "General Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, sans-serif;

  --page-width: 1600px;
  --page-padding: clamp(20px, 4.25vw, 68px);
  --section-gap: clamp(48px, 5.625vw, 90px);
  --section-padding-y: clamp(64px, 7.5vw, 120px);

  --title-size: clamp(36px, 4.5vw, 72px);
  --title-leading: clamp(40px, 4.5vw, 72px);
  --desc-size: clamp(18px, 1.5vw, 24px);
  --desc-leading: clamp(26px, 2vw, 32px);
  --body-size: clamp(15px, 1vw, 18px);
  --body-leading: clamp(24px, 1.75vw, 28px);

  --radius-card: clamp(16px, 1.5vw, 24px);
  --radius-btn: 100px;
  --radius-btn-sm: 22px;
  --radius-tag: 6px;
  --radius-preview: 12px;
  --radius-contact: clamp(24px, 4vw, 64px);

  --header-height: 140px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ========================================
   Page
   ======================================== */
.page {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn--sm {
  padding: 12px 16px;
  border-radius: var(--radius-btn-sm);
  font-size: 16px;
  line-height: 20px;
}

.btn--lg {
  padding: 20px 48px;
  border-radius: var(--radius-btn);
  font-size: 18px;
  line-height: 24px;
  width: fit-content;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0, 0, 0.2, 1);
  will-change: transform;
}

.header--hidden {
  transform: translateY(-100%);
  transition-duration: 0.35s;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 48px var(--page-padding);
}

.header__logo {
  display: block;
  width: 173px;
  height: 32px;
  flex-shrink: 0;
}

.header__logo img {
  width: 100%;
  height: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-btn-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  border: 1px solid var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.header[data-zone="started"] .header__nav-link[data-nav="started"],
.header[data-zone="company"] .header__nav-link[data-nav="company"],
.header[data-zone="contact"] .header__nav-link[data-nav="contact"] {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: clamp(480px, 55vw, 882px);
  padding: 0 var(--page-padding) clamp(80px, 12vw, 198px);
}

.hero__chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__bar {
  flex: 1;
  background: linear-gradient(
    to top,
    var(--color-accent) 0%,
    rgba(249, 66, 58, 0) 100%
  );
}

.hero__bar--1 { height: 6.8%; }
.hero__bar--2 { height: 15%; }
.hero__bar--3 { height: 22.6%; }
.hero__bar--4 { height: 37.4%; }
.hero__bar--5 { height: 54.8%; }
.hero__bar--6 { height: 79.8%; }
.hero__bar--7 { height: 100%; }

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 13.7vw, 219px);
  max-width: 1001px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--title-size);
  line-height: var(--title-leading);
  color: var(--color-black);
}

.hero__bottom {
  margin-top: clamp(32px, 3.75vw, 60px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 32px);
  align-items: flex-start;
}

.hero__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--body-size);
  line-height: var(--body-leading);
  color: var(--color-black);
}

/* ========================================
   Section
   ======================================== */
.section {
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

.section--reasons {
  padding-top: clamp(80px, 15vw, 240px);
  padding-bottom: var(--section-padding-y);
}

.section--audience,
.section--products {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section--about {
  padding-top: var(--section-padding-y);
  padding-bottom: clamp(120px, 15vw, 240px);
}

.contact-section {
  width: 100%;
  background: var(--color-accent);
  border-radius: 64px 64px 0 0;
}

.contact-section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 72px 68px;
}

.contact-section__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.contact-section__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 72px;
  line-height: 72px;
  color: var(--color-white);
}

.contact-section__desc {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
}

.section__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: var(--section-gap);
}

.section__header--wide .section__desc {
  flex: 1;
  width: auto;
}

.section__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--title-size);
  line-height: var(--title-leading);
  color: var(--color-black);
}

.section__desc {
  flex-shrink: 0;
  width: clamp(280px, 29.5vw, 472px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--desc-size);
  line-height: var(--desc-leading);
  color: var(--color-black);
}

.section__desc--wide {
  width: auto;
}

/* ========================================
   Card Grid
   ======================================== */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ========================================
   Card
   ======================================== */
.card {
  background: var(--color-gray-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.card--reason {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 10vw, 160px);
  padding: clamp(24px, 3vw, 48px);
}

.card--feature,
.card--product,
.card--about {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(24px, 3vw, 48px);
}

.card--reason .card__icon {
  flex-shrink: 0;
}

.card--reason .card__icon img {
  display: block;
  width: auto;
  height: auto;
  max-height: 144px;
}

.card__icon-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-black);
}

.card__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--color-black);
}

.card__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-gray-text);
}

.card__text-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-gray-muted);
}

.card__product-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
  color: var(--color-black);
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__preview {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-preview);
}

/* ========================================
   Tags
   ======================================== */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--color-white);
  border-radius: var(--radius-tag);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-gray-text);
}

/* ========================================
   Audience
   ======================================== */
.audience {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.audience__hero {
  position: relative;
  height: clamp(360px, 45.75vw, 732px);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.audience__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 4.6vw, 74px);
  width: 100%;
  color: var(--color-white);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat--last {
  border-right: none;
  padding-right: 0;
}

.stat__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.stat__value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1;
}

/* ========================================
   Contact
   ======================================== */
.contact {
  display: flex;
  gap: 24px;
  width: 100%;
}

.contact__spacer {
  flex: 1;
  min-width: 0;
  height: 120px;
}

.contact__form {
  flex: 1;
  min-width: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}

.form-field {
  width: 100%;
  border-bottom: 1px solid var(--color-white);
  padding: 10px 0;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-white);
  background: transparent;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-white);
  opacity: 1;
}

.form-field--textarea textarea {
  resize: vertical;
  min-height: 78px;
  color: var(--color-white);
  -webkit-text-fill-color: var(--color-white);
  caret-color: var(--color-white);
}

.contact__form .btn--submit {
  width: fit-content;
  flex-shrink: 0;
}

.contact__footer {
  display: flex;
  gap: 48px;
  margin-top: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
}

.contact__footer a:hover {
  opacity: 0.8;
}

/* ========================================
   Responsive — Tablet (≤1199px)
   ======================================== */
@media (max-width: 1199px) {
  :root {
    --header-height: 108px;
  }

  .header__inner {
    padding: 32px var(--page-padding);
  }

  .card__product-title {
    font-size: clamp(22px, 2.5vw, 28px);
  }
}

/* ========================================
   Responsive — Small Tablet (≤1023px)
   ======================================== */
@media (max-width: 1023px) {
  .section__header {
    flex-direction: column;
    gap: 20px;
  }

  .section__desc {
    width: 100%;
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--3 .card:last-child {
    grid-column: 1 / -1;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .contact-section__header {
    flex-direction: column;
    gap: 20px;
  }

  .contact__spacer {
    display: none;
  }
}

/* ========================================
   Responsive — Mobile (≤767px)
   ======================================== */
@media (max-width: 767px) {
  :root {
    --header-height: 134px;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px var(--page-padding);
  }

  .header__logo {
    width: 140px;
    height: 26px;
  }

  .header__nav {
    width: 100%;
  }

  .header__nav-link {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
  }

  .hero__content {
    max-width: none;
  }

  .btn--lg {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;

  }

  .contact__form .btn--submit {
    width: fit-content;
  }

  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .card-grid--3 .card:last-child {
    grid-column: auto;
  }

  .card__preview {
    height: clamp(180px, 50vw, 280px);
  }

  .audience__stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat {
    padding-right: 0;
    border-right: none;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
  }

  .stat--last {
    padding-bottom: 0;
    border-bottom: none;
  }

  .contact-section__inner {
    padding: 48px var(--page-padding);
  }

  .contact-section__title {
    font-size: var(--title-size);
    line-height: var(--title-leading);
  }

  .contact-section__desc {
    font-size: var(--desc-size);
    line-height: var(--desc-leading);
  }

  .contact__form,
  .contact__fields {
    max-width: none;
  }

  .contact__footer {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================================
   Responsive — Small Mobile (≤479px)
   ======================================== */
@media (max-width: 479px) {
  :root {
    --header-height: 238px;
  }

  .header__nav {
    flex-direction: column;
    align-items: stretch;
  }

  .header__nav-link {
    width: 100%;
    justify-content: center;
  }

  .tag-group {
    gap: 4px;
  }

  .tag {
    font-size: 12px;
    padding: 5px 10px;
  }
}
