/* ========================================
   SOI SKIN CLINIC - Korean Minimal Design
   Theme: Cream × Minimalism × Luxury
   ======================================== */

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #F5EDE3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.splash-logo {
  width: 95%;
  max-width: 600px;
  height: auto;
  animation: splashFadeIn 1.2s ease-out;
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

.main-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

@keyframes splashFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile Splash Screen */
@media (max-width: 768px) {
  .splash-logo {
    width: 90%;
    max-width: 450px;
  }
}

:root {
  /* Brand Colors - Premium Edition */
  --cream: #F5EDE3;
  --white: #FFFFFF;
  --dark-brown: #3D3028;
  --gold: #C9A961;
  --light-gold: #E8DCC8;
  --light-gray: #FAFAF8;
  --border-color: #E8E0D5;
  --accent-shadow: rgba(201, 169, 97, 0.15);
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Noto Serif JP', serif;
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  --spacing-xxl: 8rem;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base
   ======================================== */

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

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

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, #F5EDE3 0%, #F9F3EB 50%, #F5EDE3 100%);
  color: var(--dark-brown);
  line-height: 1.9;
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--dark-brown);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  letter-spacing: 0.12em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  letter-spacing: 0.1em;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.08em;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(61, 48, 40, 0.08);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(201, 169, 97, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--dark-brown);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(61, 48, 40, 0.12);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, var(--cream) 0%, #F9F5F0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(214, 195, 154, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, 50px) rotate(180deg); }
}

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

.hero-logo {
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-catchphrase {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--dark-brown);
  margin: var(--spacing-md) 0;
  line-height: 2;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  margin: var(--spacing-md) 0 var(--spacing-lg);
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* ========================================
   Buttons
   ======================================== */

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: var(--transition-slow);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #4A3A2A 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(61, 48, 40, 0.25), 0 4px 12px var(--accent-shadow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61, 48, 40, 0.35), 0 6px 16px var(--accent-shadow);
}

.btn-secondary {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDFCFB 100%);
  color: var(--dark-brown);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

.btn-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 8px 24px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(131, 58, 180, 0.4);
  filter: brightness(1.1);
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

/* ========================================
   Cards
   ======================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDFCFB 100%);
  border-radius: 24px;
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(61, 48, 40, 0.08), 0 2px 8px rgba(201, 169, 97, 0.05);
  transition: var(--transition-slow);
  border: 1px solid rgba(232, 224, 213, 0.6);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(61, 48, 40, 0.15), 0 4px 16px rgba(201, 169, 97, 0.1);
  border-color: var(--light-gold);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(201, 169, 97, 0.2);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-feature-settings: 'palt' 1;
}

.card-text {
  font-size: 0.95rem;
  color: rgba(74, 58, 42, 0.8);
  line-height: 1.8;
}

/* ========================================
   Treatment Cards
   ======================================== */

.treatment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.treatment-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDFCFB 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(61, 48, 40, 0.08), 0 2px 8px rgba(201, 169, 97, 0.05);
  transition: var(--transition-slow);
  border: 1px solid rgba(232, 224, 213, 0.6);
}

.treatment-card:hover {
  box-shadow: 0 16px 48px rgba(61, 48, 40, 0.18), 0 4px 16px var(--accent-shadow);
  transform: translateY(-12px);
  border-color: var(--light-gold);
}

.treatment-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #F5EDE3 0%, #E8DCC8 50%, var(--gold) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  font-size: 5rem;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  text-stroke: 2px var(--white);
  text-shadow: 0 4px 16px rgba(61, 48, 40, 0.3);
  position: relative;
  overflow: hidden;
}

.treatment-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.treatment-content {
  padding: var(--spacing-md);
}

.treatment-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.treatment-description {
  font-size: 0.95rem;
  color: rgba(74, 58, 42, 0.8);
  line-height: 1.8;
}

/* ========================================
   Feature List
   ======================================== */

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  line-height: 1.8;
  font-size: 1rem;
}

.feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #4A3A2A 100%);
  color: var(--cream);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
  letter-spacing: 0.15em;
}

.footer-info {
  margin-bottom: var(--spacing-md);
  line-height: 2;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   Mobile Responsive Styles
   ======================================== */

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    min-height: 100vh;
  }
  
  .hero-content {
    padding-top: 2rem;
  }
  
  .hero-logo {
    margin-top: 2rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .feature-list {
    padding-left: 1.5rem;
  }
  
  .feature-list li {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
  }
  
  .treatment-cards {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
}
