/* ============================================
   YOZAKURA — Japanese Aesthetic Store
   Color Palette:
   - Background: #0D0D0D
   - Sakura Pink: #E8899A
   - Gold Accent: #C9A84C
   - Off-white: #F5F0EB
   - Dark surface: #1A1A1A
   - Border: #2A2A2A
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Serif+JP:wght@300;400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --surface-2: #222222;
  --border: #2A2A2A;
  --sakura: #E8899A;
  --sakura-light: #F2B8C4;
  --sakura-dark: #C4637A;
  --gold: #C9A84C;
  --gold-light: #E2C97A;
  --text: #F5F0EB;
  --text-muted: #888888;
  --text-dim: #555555;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SAKURA PETALS ANIMATION ── */
.petal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 8px;
  background: var(--sakura);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg);
  }
  10% { opacity: 0.4; }
  90% { opacity: 0.2; }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) translateX(80px);
  }
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: 16px 60px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--sakura);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--sakura);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--sakura);
  color: var(--sakura) !important;
  padding: 8px 20px;
  font-size: 11px !important;
  letter-spacing: 2px;
  transition: background 0.3s ease, color 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--sakura) !important;
  color: var(--bg) !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232, 137, 154, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 100px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 8px;
  color: var(--text);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 300;
  letter-spacing: 12px;
  color: var(--sakura);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.btn-primary {
  display: inline-block;
  background: var(--sakura);
  color: var(--bg);
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--sakura-light);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 60px;
  margin: 0 auto;
  max-width: 1200px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-symbol {
  color: var(--sakura);
  font-size: 18px;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ── FEATURED SECTION ── */
.featured {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.product-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: scale(1.01);
  z-index: 2;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card:hover .product-img-placeholder {
  transform: scale(1.05);
}

.product-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.product-img-1 {
  background: linear-gradient(135deg, #1a0d12 0%, #2d1520 50%, #1a0d12 100%);
}
.product-img-2 {
  background: linear-gradient(135deg, #0d0d1a 0%, #15152d 50%, #0d0d1a 100%);
}
.product-img-3 {
  background: linear-gradient(135deg, #0d1a0d 0%, #15281a 50%, #0d1a0d 100%);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-overlay a {
  background: var(--sakura);
  color: var(--bg);
  padding: 12px 28px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.product-overlay a:hover {
  background: var(--sakura-light);
}

.product-info {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.product-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--sakura);
  letter-spacing: 1px;
}

/* ── PHILOSOPHY SECTION ── */
.philosophy {
  padding: 100px 60px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '夜桜';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 200px;
  color: rgba(232, 137, 154, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
}

.philosophy-text h2 em {
  color: var(--sakura);
  font-style: italic;
}

.philosophy-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
}

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--sakura);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}

.pillar-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.pillar-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── COLLECTIONS ── */
.collections {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.collections-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.collection-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.collection-item:first-child {
  grid-row: span 2;
}

.collection-bg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  transition: transform 0.6s ease;
}

.collection-item:hover .collection-bg {
  transform: scale(1.03);
}

.col-bg-1 {
  background: linear-gradient(160deg, #1a0a10 0%, #2d1020 40%, #1a0a10 100%);
  min-height: 540px !important;
}
.col-bg-2 {
  background: linear-gradient(160deg, #0a0a1a 0%, #12122d 100%);
}
.col-bg-3 {
  background: linear-gradient(160deg, #0a1a0a 0%, #12281a 100%);
}
.col-bg-4 {
  background: linear-gradient(160deg, #1a1a0a 0%, #28280a 100%);
}
.col-bg-5 {
  background: linear-gradient(160deg, #1a0a1a 0%, #280a28 100%);
}

.collection-label {
  position: relative;
  z-index: 2;
}

.collection-label span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.collection-label h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 2px;
}

.collection-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 80px 60px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 12px;
}

.newsletter p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  padding: 14px 20px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
  letter-spacing: 1px;
}

.newsletter-form input:focus {
  border-color: var(--sakura);
}

.newsletter-form button {
  background: var(--sakura);
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--sakura-light);
}

/* ── FOOTER ── */
footer {
  padding: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo {
  font-size: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--sakura);
}

.footer-bottom {
  padding: 20px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CUSTOM NAME BANNER ── */
.custom-banner {
  padding: 80px 60px;
  background: linear-gradient(135deg, #1a0d15 0%, #0d0d1a 50%, #0d1a10 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.custom-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.custom-banner-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.custom-banner-text h2 em {
  color: var(--sakura);
  font-style: italic;
}

.custom-banner-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 400px;
}

.custom-banner-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.custom-banner-samples {
  display: flex;
  gap: 12px;
}

.cbs {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.3s ease;
}

.cbs:hover { border-color: var(--sakura); }

.cbs span {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--sakura);
  letter-spacing: 3px;
  line-height: 1.4;
}

.cbs small {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cbs em {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 4px;
}

.cbs i {
  font-size: 10px;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.custom-banner-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.custom-banner-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.custom-banner-price span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .custom-banner { padding: 60px 24px; }
  .custom-banner-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav, .featured, .collections, .footer-bottom {
    padding-left: 32px;
    padding-right: 32px;
  }
  footer {
    padding: 48px 32px;
    grid-template-columns: 1fr 1fr;
  }
  .philosophy {
    padding: 80px 32px;
  }
  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .newsletter {
    padding: 60px 32px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 100px 24px 80px;
  }
  .featured {
    padding: 60px 24px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .collections {
    padding: 60px 24px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .collection-item:first-child {
    grid-row: span 1;
  }
  .col-bg-1 {
    min-height: 300px !important;
  }
  footer {
    padding: 40px 24px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .newsletter {
    padding: 60px 24px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .newsletter-form button {
    padding: 14px;
  }
}
