/* ------------------------------------------------------------------
   Fonts
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Manrope';
  src: url('../../fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../../fonts/Manrope-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Elms Sans';
  src: url('../../fonts/ElmsSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Elms Sans';
  src: url('../../fonts/ElmsSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------------ */

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

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

body {
  font-family: 'Manrope', sans-serif;
  background-color: #000000;
  color: #FFFFFF;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Minimal custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
}

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

/* ------------------------------------------------------------------
   Page
   ------------------------------------------------------------------ */

.page-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000000;
}

/* ------------------------------------------------------------------
   Navbar
   ------------------------------------------------------------------ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 28px;
  height: 28px;
  display: block;
}

.navbar-star {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.navbar-star svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #FFFFFF;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.navbar-star:hover svg {
  transform: rotate(45deg);
  fill: #ff0000;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 80vh;
  padding: 140px 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1000px;
  background: radial-gradient(ellipse at center bottom, rgba(120, 100, 255, 0.45) 0%, rgba(120, 100, 255, 0.18) 30%, rgba(120, 100, 255, 0.06) 55%, transparent 75%);
  filter: blur(150px);
  animation: fadeIn 2s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  width: min(1111px, 100%);
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
  margin-top: clamp(16px, 2vw, 22px);
}

/* ------------------------------------------------------------------
   Product Principles
   ------------------------------------------------------------------ */

.principles {
  position: relative;
  padding: 70px clamp(20px, 8vw, 258px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.principles-inner {
  max-width: 1404px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: clamp(32px, 4vw, 44px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.principle-card {
  position: relative;
  min-height: 150px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.principle-card:nth-child(n+2) {
  margin-left: -1px;
}

.principle-card:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
}

.principle-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  text-align: left;
  color: #9F9F9F;
}

.principle-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
}

.principle-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #9F9F9F;
  margin-top: auto;
}

/* ------------------------------------------------------------------
   Heron Product
   ------------------------------------------------------------------ */

.heron-product {
  position: relative;
  padding: 110px clamp(20px, 8vw, 258px) 90px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.heron-product-inner {
  max-width: 1404px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: clamp(32px, 5vw, 56px);
  transition: border-color 0.3s ease;
}

.heron-product-inner:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.heron-product-image {
  width: 100%;
  aspect-ratio: 540 / 405;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.heron-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heron-product-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.heron-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.heron-product-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

.heron-product-shipping {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

.heron-product-desc {
  width: min(451px, 100%);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.heron-product-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.heron-product-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 46px;
  border: #ffffff 1px solid;
  background: #ffffff;
  color: #0A0A0A;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  padding: 12px 22px;
  border-radius: 0px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #0a0a0a;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.15s ease;

}

.btn-secondary {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0px;
  color: #FFFFFF;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.cart-icon {
  width: 22px;
  height: 22px;
}

.heron-product-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  color: #FFFFFF;
}

/* ------------------------------------------------------------------
   Checkout Explainer
   ------------------------------------------------------------------ */

.checkout-explainer {
  position: relative;
  padding: 90px clamp(20px, 10vw, 380px) 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-explainer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 3vw, 32px);
  transition: border-color 0.3s ease;
}

.checkout-explainer-inner:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.checkout-explainer-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.checkout-explainer-desc {
  width: min(820px, 100%);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.checkout-divider {
  width: 100%;
  max-width: 1000px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.footer {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 25px;
}

.footer-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 150%;
  color: #707070;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1200px) {
  .principles {
    padding: 60px clamp(20px, 5vw, 80px);
  }

  .heron-product,
  .checkout-explainer {
    padding: 120px clamp(20px, 5vw, 80px) 60px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

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

  .principle-card:nth-child(n+2) {
    margin-left: 0;
  }

  .principle-card:nth-child(2n) {
    margin-left: -1px;
  }

  .principle-card:nth-child(n+3) {
    margin-top: -1px;
  }

  .heron-product-inner {
    grid-template-columns: 1fr;
  }

  .heron-product-desc,
  .checkout-explainer-desc {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 72px;
    padding: 0 20px;
  }

  .logo {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 100dvh;
    padding: 100px 20px 60px;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
  }

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

  .principle-card:nth-child(n) {
    margin-left: 0;
    margin-top: -1px;
  }

  .principle-card:first-child {
    margin-top: 0;
  }

  .heron-product-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 64px;
    padding: 0 16px;
  }

  .logo {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 100px 16px 48px;
  }

  .principles,
  .heron-product,
  .checkout-explainer {
    padding: 48px 16px;
  }

  .heron-product-inner,
  .checkout-explainer-inner {
    padding: 20px;
    border-radius: 20px;
  }

  .heron-product-header {
    flex-direction: column;
  }

  .heron-product-buttons {
    width: 100%;
  }

  .btn-primary {
    flex: 1;
  }

  .footer {
    gap: 16px;
    padding: 30px 16px;
  }
}
