/* ============================================
   OG Customs — Landing Page Styles
   Clean / Minimal / Techy
   ============================================ */

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-muted: #666666;
  --color-border: #e0e0e0;
  --color-accent: #111111;
  --color-accent-hover: #333333;
  --color-accent-subtle: #f5f5f5;
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
  --nav-height: 64px;
  --radius: 8px;
  --transition: 0.2s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.nav__social {
  display: flex;
  align-items: center;
}

.nav__cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

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

.btn--secondary:hover {
  border-color: var(--color-text);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
  flex-direction: column;
  gap: 4px;
}

.btn__price {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
}

/* ---- SECTIONS (shared) ---- */

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px;
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  max-width: 520px;
}

.section__subtitle a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- HERO ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 48px;
}

.hero__content {
  flex: 1;
  max-width: 520px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  border-radius: var(--radius);
}

/* ---- MODELS ---- */

.models {
  background: var(--color-surface);
}

.models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.model-card--featured {
  border-color: var(--color-text);
}

.model-card__image {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.model-card__image img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
}

.model-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.model-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.model-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- FEATURES ---- */

.features {
  background: var(--color-bg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  padding: 24px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- GALLERY ---- */

.gallery {
  background: var(--color-surface);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.lightbox--active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ---- SIZING ---- */

.sizing {
  background: var(--color-bg);
}

.sizing__table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.sizing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.sizing__table th,
.sizing__table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.sizing__table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: var(--color-accent-subtle);
}

.sizing__table td:first-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sizing__note {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---- BUY ---- */

.buy {
  background: var(--color-text);
  color: var(--color-bg);
}

.buy .section__inner {
  padding: 80px 24px;
}

.buy__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-align: center;
}

.buy__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.buy__option {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.buy__store-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 4px;
}

.buy__option h3 {
  font-size: 18px;
  font-weight: 600;
}

.buy__option p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 8px;
}

.buy .btn--primary {
  background: #fff;
  color: var(--color-text);
  margin-top: auto;
}

.buy .btn--primary:hover {
  background: #e0e0e0;
}

/* ---- FOOTER ---- */

.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 40px;
  width: auto;
}

.footer__brand p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* ---- ABOUT ---- */

.about {
  background: var(--color-surface);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about__text {
  flex: 1;
}

.about__text p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about__text p strong {
  color: var(--color-text);
}

.about__text p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about__image {
  flex: 0 0 408px;
  max-width: 408px;
}

.about__image img {
  width: 100%;
  border-radius: var(--radius);
}

/* ---- FEATURES VIDEO ---- */

.features__video {
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 40%;
  margin-left: auto;
  margin-right: auto;
}

.features__video video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ---- FEATURES DRAWINGS ---- */

.features__drawings {
  margin-top: 48px;
}

/* ---- BUTTON LOGO ---- */

.btn__logo {
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ---- ABOUT HERO ---- */

.about-hero {
  padding-top: var(--nav-height);
  background: var(--color-bg);
}

.about-hero .section__inner {
  padding-bottom: 0;
}

.about__inner--reverse {
  flex-direction: row-reverse;
}

.nav__links--active {
  color: var(--color-text) !important;
}

/* ---- ACTION SHOTS ---- */

.action {
  background: var(--color-bg);
}

/* ---- CRAFTSMANSHIP ---- */

.craftsmanship {
  background: var(--color-surface);
}

/* ---- SPONSORS ---- */

.about__sponsors {
  margin-top: 32px;
}

.about__sponsors-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.about__sponsor-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sponsor-logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.sponsor-logo:hover {
  opacity: 1;
}

/* ---- INSTAGRAM EMBED ---- */

.instagram-embed {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---- MIXED GALLERY ---- */

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

/* ---- ANIMATIONS ---- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
    gap: 32px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__desc {
    max-width: 100%;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__image {
    max-width: 280px;
  }

  .models__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .section__inner {
    padding: 64px 20px;
  }

  .section__title {
    font-size: 26px;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav__cta {
    margin: 8px 24px;
    text-align: center;
    display: block;
  }

  .about__inner {
    flex-direction: column;
    gap: 32px;
  }

  .about__image {
    flex: none;
    max-width: 100%;
    order: -1;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
  }

  .buy__title {
    font-size: 28px;
  }

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

  .about__inner--reverse {
    flex-direction: column;
    gap: 32px;
  }

  .gallery__grid--mixed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

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