/* ====================================
   LEOBUNNY Official Site - 3rd Design (Modern & Cool)
   ==================================== */

/* ====================================
   CSS Custom Properties (Variables)
   ==================================== */
:root {
  /* Colors - Plan A: Intellectual Split */
  --color-base-bg: #FFFFFF;
  --color-base-text: #334155;
  /* Slate 700 - Softer than black */

  --color-primary: #1E293B;
  /* Slate 800 - Navy/Black Text */
  --color-accent: #0F172A;
  /* Slate 900 - Strongest Accent */
  --color-subtle: #E2E8F0;
  /* Slate 200 - Borders/Backgrounds */

  --color-highlight: #4C1D95;
  /* Deep Violet - Subtle Brand Essence */
  --color-silver: #94A3B8;
  /* Slate 400 - Silver accent */

  /* Gradients & Shadows */
  --gradient-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-width: 1200px;
  /* Wider for modern feel */
  --container-padding: 2rem;
  --section-spacing: 8rem;

  /* Typography */
  --font-base: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', 'Inter', sans-serif;
  /* Add Google Fonts import in HTML if needed, or rely on system */
}

/* ====================================
   Reset & Base
   ==================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  color: var(--color-base-text);
  background-color: var(--color-base-bg);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

ul {
  list-style: none;
}

/* Utility */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--container-padding);
  }
}

.u-mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .u-mobile-only {
    display: none;
  }
}

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

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

.section-title-modern {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title-modern {
    font-size: 3rem;
  }
}

.section-title-modern::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 60px;
  height: 4px;
  background-color: var(--color-highlight);
}

.section-subtitle-modern {
  font-size: 1rem;
  color: var(--color-silver);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ====================================
   Header
   ==================================== */
.header {
  position: absolute;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
}

.header__container {
  display: flex;
  justify-content: flex-start;
  /* Logo left aligned */
  padding: 0 1.5rem;
  /* Mobile padding */
}

@media (min-width: 1024px) {
  .header__container {
    padding: 0 4rem;
  }
}

.header__logo {
  height: 40px;
  object-fit: contain;
  /* Add filter if logo needs to be monochrome */
  /* filter: grayscale(100%); */
}

/* ====================================
   Hero Section (Overlay/Split Hybrid)
   ==================================== */
.hero-split {
  min-height: 80vh;
  /* Immersive height for mobile */
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  /* Dark bg fallback */
  color: #fff;
  /* Default text white on mobile */
}

.hero-split__container {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-split {
    min-height: 100vh;
    background: var(--color-base-bg);
    color: var(--color-base-text);
  }

  .hero-split__container {
    flex-direction: row-reverse;
    /* Image Left, Text Right */
    height: auto;
  }
}

/* LEFT SIDE: Content */
.hero-split__content {
  flex: 1;
  padding: 8rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* Reset mobile alignment */
  text-align: left;
  /* Reset mobile alignment */
  position: relative;
  z-index: 2;
  /* Ensure text is above image */
}

@media (min-width: 1024px) {
  .hero-split__content {
    align-items: flex-start;
    text-align: left;
    padding: 0 8vw 0 4vw;
    /* Swapped padding: Right(Outer)=8vw, Left(Inner)=4vw */
    max-width: 50%;
  }
}

.hero-split__subtitle {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-silver);
  /* Light silver for dark bg */
  margin-bottom: 1.5rem;
  padding-left: 3px;
}

.hero-split__title {
  font-family: var(--font-en);
  font-size: 2.25rem;
  /* Slightly smaller on mobile to fit */
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  /* White on mobile */
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.hero-split__title-ja {
  display: block;
  font-family: var(--font-base);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #E2E8F0;
  /* Light gray on mobile */
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-highlight);
  /* Reset to default Left */
  padding-left: 1rem;
  border-right: none;
  padding-right: 0;
}

@media (min-width: 1024px) {
  .hero-split__subtitle {
    color: var(--color-highlight);
    /* Violet on white bg */
  }

  .hero-split__title {
    font-size: 5vw;
    color: var(--color-primary);
    /* Dark on white bg */
  }

  .hero-split__title-ja {
    font-size: 1.5rem;
    color: var(--color-base-text);
    border-left: 4px solid var(--color-silver);
  }
}

.hero-split__description {
  font-size: 1rem;
  color: #CBD5E1;
  /* Light text mobile */
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .hero-split__description {
    color: var(--color-base-text);
  }
}

/* RIGHT SIDE: Visual (Background on Mobile) */
.hero-split__visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-split__visual::after {
  /* Dark Overlay for Mobile */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9));
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-split__visual {
    position: relative;
    flex: 1;
    height: auto;
    background-color: var(--color-primary);
  }

  .hero-split__visual::after {
    display: none;
    /* No overlay on desktop split */
  }
}

.hero-split__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cover is best for background */
  object-position: center;
  opacity: 1;
  padding: 0;
}

@media (min-width: 1024px) {
  .hero-split__image {
    object-fit: cover;
    opacity: 0.9;
  }
}

/* CTA Modern Button */
.btn--modern {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 3rem;
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 2px;
  /* Sharp corners */
  position: relative;
  overflow: hidden;
}

.btn--modern:hover {
  background-color: var(--color-accent);
}

.btn--modern:hover .arrow {
  transform: translateX(5px);
}

/* ====================================
   Modern Card Grid (About & Services)
   ==================================== */
.modern-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modern-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service Card Design */
.modern-card {
  background: var(--color-base-bg);
  border: 1px solid var(--color-subtle);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  position: relative;
}

@media (min-width: 768px) {
  .modern-card {
    padding: 2.5rem;
    min-height: 320px;
  }
}

.modern-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.modern-card--concierge {
  border-color: var(--color-highlight);
  /* Highlight AI card */
  background-color: #F8F7FF;
  /* Very subtle violet tint */
}

.modern-card__cat {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-silver);
  margin-bottom: 1rem;
  display: block;
}

.modern-card--concierge .modern-card__cat {
  color: var(--color-highlight);
}

.modern-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.modern-card__desc {
  font-size: 0.95rem;
  color: var(--color-base-text);
  line-height: 1.6;
}

.modern-card__arrow {
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: var(--color-silver);
  align-self: flex-end;
  margin-top: auto;
  transition: color 0.3s;
}

.modern-card:hover .modern-card__arrow {
  color: var(--color-primary);
}

/* About Features Grid (Flexbox for centering) */
.about__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-card-modern {
  text-align: left;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-subtle);
  /* Full border */
  border-top: 4px solid var(--color-primary);
  /* Top accent */
  transition: all 0.3s;
  flex: 0 0 100%;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .feature-card-modern {
    padding: 2.5rem;
    flex: 0 0 calc(33.333% - 1.4rem);
    /* 3 cards per row */
    max-width: 350px;
  }
}

.feature-card-modern:hover {
  border-color: var(--color-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card-modern__icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card-modern__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.feature-card-modern__text {
  font-size: 0.9rem;
  color: var(--color-base-text);
  line-height: 1.7;
}

/* ====================================
   Services Details Section
   ==================================== */
.services {
  padding: var(--section-spacing) 0;
  background-color: #F8FAFC;
  /* Light gray background to separate from Nav */
}

.service-item {
  background: var(--color-base-bg);
  border: 1px solid var(--color-subtle);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: all 0.3s;
}

.service-item:hover {
  border-color: var(--color-silver);
  box-shadow: var(--shadow-card);
}

.service-item__content {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-item__header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.service-item__icon {
  width: 80px;
  /* Fixed width to prevent giant images */
  height: 80px;
  object-fit: contain;
  margin-right: 1.5rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--color-subtle);
}

.service-item__emoji {
  font-size: 3.5rem;
  margin-right: 1.5rem;
  line-height: 1;
}

.service-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-item__subtitle {
  font-size: 0.9rem;
  color: var(--color-silver);
  font-weight: 600;
  display: block;
}

.service-item__text {
  font-size: 1rem;
  color: var(--color-base-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons for Services */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-silver);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  background: #fff;
}

.btn--sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

/* Simple Service Item (Open School) */
.service-item--simple {
  background: #fff;
  border: 1px dashed var(--color-silver);
}

.service-item--simple .service-item__content {
  padding: 3rem 2rem;
}

.text-link {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--color-subtle);
  transition: border-color 0.3s;
}

.text-link:hover {
  border-bottom-color: var(--color-primary);
}

.separator {
  color: var(--color-silver);
  margin: 0 1rem;
}

/* ====================================
   AI Concierge Section
   ==================================== */
.concierge {
  background-color: var(--color-primary);
  color: #fff;
}

.concierge__card {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .concierge__card {
    flex-direction: row;
    gap: 4rem;
  }
}

.concierge__content {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .concierge__content {
    text-align: left;
  }
}

.concierge__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.concierge__title-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-silver);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.concierge__text {
  font-size: 1rem;
  color: #E2E8F0;
  /* Lighter text on dark bg */
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.concierge__visual {
  flex-shrink: 0;
}

.concierge__image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
  .concierge__image {
    width: 250px;
    height: 250px;
  }
}

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

.concierge__cta:hover {
  background-color: var(--color-subtle);
}


/* ====================================
   Profile Section
   ==================================== */
.profile__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-subtle);
  border-radius: 8px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .profile__card {
    flex-direction: row;
    align-items: center;
  }
}

.profile__visual {
  width: 100%;
  height: 300px;
  /* Fixed height for mobile */
  background: var(--color-subtle);
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  /* Ensure no spill */
}

@media (min-width: 768px) {
  .profile__visual {
    width: auto;
    height: auto;
    flex: 0 0 300px;
    /* Fixed width for desktop */
    min-height: 300px;
  }
}

.profile__image {
  width: 100%;
  height: 100%;
  /* Fill the container */
  object-fit: contain;
  /* Ensure full visibility */
  object-position: bottom center;
  /* Anchor to bottom */
  mix-blend-mode: multiply;
}

.profile__content {
  flex: 1;
  padding: 3rem;
}

.profile__title {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.profile__role {
  display: block;
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--color-highlight);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile__text {
  font-size: 1rem;
  color: var(--color-base-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ====================================
   Footer (Modern)
   ==================================== */
.footer {
  background-color: var(--color-base-bg);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-subtle);
}

.sns-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  /* Added gap to fix crowding */
  margin-top: 2rem;
}

.sns-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.sns-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  transition: opacity 0.3s;
}

.sns-icon:hover {
  opacity: 0.7;
}
/* ====================================
   Podcast OFUSE Banner
   ==================================== */
.podcast-ofuse-link {
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
}

.podcast-ofuse-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--color-subtle);
}
