/* ===== LYVRA PREMIUM DESIGN SYSTEM ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #0d0d1a;
  --primary-light: #1a1a2e;
  --gold: #b8963e;
  --gold-light: #d4b062;
  --gold-pale: #f0e6cc;
  --text: #1a1a2e;
  --text-light: #6b6b7b;
  --text-muted: #9a9aaa;
  --bg: #faf8f5;
  --bg-white: #ffffff;
  --bg-cream: #f5f0e8;
  --bg-dark: #0d0d1a;
  --border: #e8e2d8;
  --border-light: #f0ebe3;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.9;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.03);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 36px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hero-bg.jpg') center 30% / 120% auto no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13,13,26,0.6) 0%, rgba(13,13,26,0.85) 100%);
  z-index: 0;
}

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

.hero-logo {
  width: 300px;
  max-width: 55vw;
  height: auto;
  margin-bottom: 3rem;
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.2));
  animation: fadeIn 1.2s ease-out;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.tagline-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.tagline-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.tagline-text {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.25em;
}

.hero-catch {
  margin-bottom: 1.8rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-catch .line1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.7rem;
}

.hero-catch .line2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
  display: block;
}

.hero-catch .price-num {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 1.5em;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-light), #e8d5a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-catch .price-tax {
  font-size: 0.4em;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  -webkit-text-fill-color: rgba(255,255,255,0.3);
}

.hero-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.7s both;
  letter-spacing: 0.08em;
  line-height: 2.2;
  font-weight: 300;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(184,150,62,0.2);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: var(--transition);
}

.feature-tag:hover {
  background: rgba(184,150,62,0.1);
  border-color: rgba(184,150,62,0.4);
  color: var(--gold-light);
}

.feature-tag .check {
  color: var(--gold);
  font-size: 0.75em;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 1.5s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184,150,62,0.25);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184,150,62,0.35);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

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

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

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: 0.06em;
}

.section-header p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

.section-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto 0;
}

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  padding: 10rem 2rem 4rem;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
}

.page-hero .section-label {
  color: var(--gold);
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.page-hero .hero-line {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* ===== PRICE CARD ===== */
.price-card {
  background: var(--primary);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.price-card h3 {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
}

.price-card .big-price {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.price-card .big-price span {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.price-card .note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ===== INCLUDED ITEMS ===== */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.included-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.8rem;
  background: var(--bg-white);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
}

.included-item:hover {
  background: var(--bg);
}

.included-item .check-icon {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===== STRENGTH CARDS ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.strength-card {
  padding: 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.strength-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.strength-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.strength-card:hover::after {
  width: 100%;
}

.strength-card .num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

.strength-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.strength-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== FLOW ===== */
.flow-list {
  max-width: 700px;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 3rem;
  position: relative;
}

.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  width: 1px;
  height: calc(100% - 48px);
  background: var(--border);
}

.flow-number {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.flow-content h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  margin-top: 0.3rem;
  font-weight: 500;
}

.flow-content p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== OPTIONS ===== */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 2rem;
  background: var(--bg-white);
  transition: var(--transition);
}

.option-item:hover {
  background: var(--bg);
}

.option-item .name {
  font-size: 0.9rem;
  color: var(--text);
}

.option-item .price {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  padding: 1.5rem 0;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  user-select: none;
  letter-spacing: 0.03em;
}

.faq-q::before {
  content: 'Q';
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
}

.faq-q::after {
  content: '+';
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  transition: var(--transition);
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a-inner {
  padding: 0 0 1.5rem 3rem;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ===== NOTES ===== */
.notes-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.notes-list {
  max-width: 700px;
  margin: 0 auto;
}

.notes-list li {
  list-style: none;
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  font-size: 0.83rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.notes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--gold);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 2rem;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-section h2 {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.cta-section p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  padding: 4rem 2rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 3rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  nav.open {
    display: flex;
  }

  .header-inner {
    padding: 0 2rem;
  }

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: center;
  }

  .price-card {
    padding: 3rem 2rem;
  }

  .price-card .big-price {
    font-size: 3rem;
  }
}
