/* ============================================
   OASIS BRAND HOMEPAGE — Styles
   Shiseido × Apple minimal aesthetic
   ============================================ */

/* ============================================
   NAVIGATION
   ============================================ */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.home-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-nav__brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  transition: opacity 0.3s ease;
}

.home-nav__brand:hover {
  opacity: 0.7;
}

.home-nav__links {
  display: flex;
  gap: 32px;
}

.home-nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.home-nav__link:hover {
  color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(107, 158, 120, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.home-hero__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--medium-gray);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.home-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.home-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 520px;
  margin: 0 auto 48px;
}

.home-hero__cta {
  margin-bottom: 56px;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: #FFFFFF;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 18px 48px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.home-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  background: #333333;
}

.home-hero__scroll {
  display: flex;
  justify-content: center;
}

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

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

/* ============================================
   HERO — Product Showcase
   ============================================ */
.home-hero__products {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  padding: 0 20px;
  perspective: 800px;
}

.home-hero__product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero__product:hover {
  transform: translateY(-8px) scale(1.03);
}

.home-hero__product-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 70%);
  opacity: 0.20;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.home-hero__product:hover .home-hero__product-glow {
  opacity: 0.35;
}

.home-hero__product img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.10));
  transition: filter 0.4s ease;
  object-fit: contain;
}

.home-hero__product:hover img {
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.15));
}

/* Size tiers: center > mid > side */
.home-hero__product--center {
  z-index: 3;
}

.home-hero__product--center img {
  width: 180px;
  height: auto;
  animation: heroFloat 4s ease-in-out infinite;
}

.home-hero__product--mid {
  z-index: 2;
  margin-bottom: 8px;
}

.home-hero__product--mid img {
  width: 150px;
  height: auto;
  animation: heroFloat 4s ease-in-out infinite;
  animation-delay: -1s;
}

.home-hero__product--side {
  z-index: 1;
  margin-bottom: 16px;
  opacity: 0.88;
}

.home-hero__product--side img {
  width: 120px;
  height: auto;
  animation: heroFloat 4s ease-in-out infinite;
  animation-delay: -2s;
}

/* Product name labels */
.home-hero__product-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-top: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-hero__product:hover .home-hero__product-name {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   BRAND PHILOSOPHY
   ============================================ */
.home-philosophy {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-philosophy__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.home-philosophy__divider {
  width: 48px;
  height: 2px;
  background: var(--text-primary);
  margin: 0 auto 32px;
  border-radius: 1px;
}

.home-philosophy__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2.2;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.home-philosophy__value {
  text-align: center;
  padding: 36px 24px;
  background: var(--section-alt-bg);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-philosophy__value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-philosophy__value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--text-primary);
}

.home-philosophy__value-icon svg {
  width: 100%;
  height: 100%;
}

.home-philosophy__value-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.home-philosophy__value-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FLOW SERIES INTRODUCTION
   ============================================ */
.home-flow-intro {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-flow-intro__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
  background: var(--white);
  transition: background 0.3s var(--ease);
}

.home-flow-intro__item:hover {
  background: var(--off-white);
}

.home-flow-intro__num {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--medium-gray);
  flex-shrink: 0;
  width: 32px;
}

.home-flow-intro__content {
  flex: 1;
}

.home-flow-intro__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.home-flow-intro__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.home-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.home-products > :last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
  justify-self: center;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.home-product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--section-alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.home-product-card__image--dark {
  background: linear-gradient(135deg, #2A3650 0%, #1E2840 100%);
}

.home-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.10));
  transition: transform 0.4s var(--ease);
}

.home-product-card:hover .home-product-card__image img {
  transform: scale(1.04);
}

.home-product-card__content {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-product-card__category {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: 8px;
}

.home-product-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.home-product-card__tagline {
  font-size: 0.8125rem;
  color: var(--medium-gray);
  margin-bottom: 14px;
}

.home-product-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}

.home-product-card__link {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--card-accent);
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

.home-product-card:hover .home-product-card__link {
  opacity: 0.75;
}

/* ============================================
   SCIENCE
   ============================================ */
.home-science {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-science__card {
  text-align: center;
  padding: 44px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-science__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-science__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--text-primary);
}

.home-science__icon svg {
  width: 100%;
  height: 100%;
}

.home-science__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.home-science__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================================
   INGREDIENTS
   ============================================ */
.home-ingredients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.home-ingredients__item {
  text-align: center;
  padding: 36px 20px;
  background: var(--section-alt-bg);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-ingredients__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-ingredients__visual {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.home-ingredients__visual svg {
  width: 100%;
  height: 100%;
}

.home-ingredients__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.home-ingredients__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.home-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.home-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.home-table thead {
  background: var(--text-primary);
}

.home-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 18px 24px;
  text-align: left;
  white-space: nowrap;
}

.home-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: middle;
}

.home-table tbody tr:last-child td {
  border-bottom: none;
}

.home-table tbody tr {
  transition: background 0.2s ease;
}

.home-table tbody tr:hover {
  background: var(--section-alt-bg);
}

.home-table td:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--text-primary);
}

.home-table__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   BRAND STORY
   ============================================ */
.home-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-story__content {
  max-width: 480px;
}

.home-story__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.home-story__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 2.1;
  margin-bottom: 20px;
}

.home-story__text:last-child {
  margin-bottom: 0;
}

.home-story__visual {
  display: flex;
  justify-content: center;
}

.home-story__image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.home-story__image-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}

.home-story__image-item:hover {
  transform: scale(1.06);
}

.home-story__image-item span {
  font-family: 'Inter', sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px;
}

.home-story__image-grid > :nth-child(4) {
  grid-column: 1 / 3;
  aspect-ratio: 2 / 1;
}

.home-story__image-grid > :nth-child(5) {
  aspect-ratio: 1;
}

/* ============================================
   QUALITY
   ============================================ */
.home-quality {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.home-quality__card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-quality__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-quality__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.home-quality__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.home-quality__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.home-quality__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.home-quality__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================
   FINAL CTA
   ============================================ */
.home-final-cta {
  background: linear-gradient(180deg, var(--section-alt-bg) 0%, #FFFFFF 40%, var(--section-alt-bg) 100%);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-final-cta::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 158, 120, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.home-final-cta__brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--medium-gray);
  margin-bottom: 20px;
}

.home-final-cta__title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
}

.home-final-cta__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 48px;
  position: relative;
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .home-nav__links {
    display: none;
  }

  .home-hero {
    min-height: 90vh;
    padding: 100px 0 60px;
  }

  .home-hero__title {
    font-size: 2.25rem;
  }

  .home-hero__subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .home-hero__cta {
    margin-bottom: 36px;
  }

  .home-hero__products {
    gap: 4px;
    margin-bottom: 32px;
  }

  .home-hero__product--center img {
    width: 130px;
  }

  .home-hero__product--mid img {
    width: 105px;
  }

  .home-hero__product--side img {
    width: 85px;
  }

  .home-hero__product-name {
    font-size: 0.5rem;
  }

  .home-philosophy__title {
    font-size: 1.875rem;
  }

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

  .home-philosophy__value {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 24px;
  }

  .home-philosophy__value-icon {
    margin: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .home-products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-products > :last-child {
    grid-column: auto;
    max-width: 100%;
  }

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

  .home-science__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 28px;
  }

  .home-science__icon {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }

  .home-ingredients {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .home-ingredients__item {
    padding: 28px 16px;
  }

  .home-table-wrap {
    margin: 0 -20px;
    border-radius: 0;
  }

  .home-table th,
  .home-table td {
    padding: 14px 16px;
    font-size: 0.8125rem;
  }

  .home-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-story__title {
    font-size: 1.75rem;
  }

  .home-story__image-grid {
    max-width: 280px;
    margin: 0 auto;
  }

  .home-quality {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .home-final-cta {
    padding: 100px 0;
  }

  .home-final-cta__title {
    font-size: 1.875rem;
  }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .home-hero__title {
    font-size: 2rem;
  }

  .home-hero__btn {
    padding: 16px 36px;
    font-size: 0.875rem;
  }

  .home-hero__products {
    gap: 2px;
    padding: 0 8px;
    margin-bottom: 24px;
  }

  .home-hero__product--center img {
    width: 100px;
  }

  .home-hero__product--mid img {
    width: 80px;
  }

  .home-hero__product--side img {
    width: 64px;
  }

  .home-hero__product--mid {
    margin-bottom: 4px;
  }

  .home-hero__product--side {
    margin-bottom: 8px;
  }

  .home-philosophy__title {
    font-size: 1.5rem;
  }

  .home-flow-intro__item {
    padding: 20px 24px;
    gap: 20px;
  }

  .home-ingredients {
    grid-template-columns: 1fr;
  }

  .home-quality {
    grid-template-columns: 1fr;
  }

  .home-final-cta__title {
    font-size: 1.5rem;
  }

  .home-story__image-grid {
    max-width: 240px;
  }
}
