/* =========================================
   Global Styles & Variables
   ========================================= */
:root {
  --primary-color: #0f172a; /* Dark Navy */
  --secondary-color: #1e293b; /* Slate */
  --accent-color: #10b981; /* Emerald Green */
  --accent-glow: rgba(16, 185, 129, 0.4);
  --text-light: #f8fafc;
  --text-dark: #334155;
  --bg-light: #f1f5f9;
  --font-heading: "Noto Sans JP", sans-serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;
  --transition-speed: 0.6s;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  background-color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* =========================================
   Header & Navigation
   ========================================= */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  /* Removed text properties as we now use an image */
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  max-height: 50px; /* Constrain height */
  width: auto;
  max-width: 250px; /* Constrain width */
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.contact-btn {
  padding: 0.5rem 1.5rem;
  background: var(--accent-color);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
  background: #059669; /* Darker green */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* =========================================
   Utility Classes
   ========================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-color), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent-color);
}

.bg-light {
  background-color: var(--bg-light);
}

.dark-mode {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.bg-accent {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-light);
}

/* =========================================
   Animations
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

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

.delay-2 {
  transition-delay: 0.2s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-6 {
  transition-delay: 0.6s;
}

/* Enhanced Animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.visible.slide-in-left,
.visible.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.visible.zoom-in {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.2s;
}
.stagger-2 {
  transition-delay: 0.4s;
}
.stagger-3 {
  transition-delay: 0.6s;
}
.stagger-4 {
  transition-delay: 0.8s;
}

/* =========================================
   Slide / Section Common
   ========================================= */
.slide {
  padding: 6rem 0;
  min-height: 80vh; /* Make sections substantial */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.section-title {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-jp-title {
  font-size: 2rem;
  font-weight: 700;
}

.center-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-slide {
  height: 100vh;
  background: url("img/hero_luxury_final.png") no-repeat center center/cover;
  color: #fff; /* White text for dark twilight background */
  text-align: left;
  position: relative;
  overflow: hidden;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark gradient to ensure text readability on twilight image */
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.4),
    rgba(15, 23, 42, 0.1)
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  z-index: 2; /* Bring text above overlay */
}

/* =========================================
   Parallax Effects
   ========================================= */
.slide-bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Section Backgrounds with Parallax */
#business-1,
#business-2,
#business-3,
#business-4 {
  /* Keep these simple or add specific textures if needed */
}

#concept {
  background: linear-gradient(
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6)
    ),
    url("img/bg_concept.png") no-repeat center center/cover;
  background-attachment: fixed;
}

#ecosystem {
  background: linear-gradient(
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.6)
    ),
    url("img/bg_ecosystem.png") no-repeat center center/cover;
  background-attachment: fixed;
}

#three-cycles {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)),
    url("img/bg_cycles.png") no-repeat center center/cover;
  background-attachment: fixed;
  color: #fff;
}

#three-cycles .section-jp-title {
  color: #e2e8f0;
}

#results {
  background: linear-gradient(
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.7)
    ),
    url("img/bg_results.png") no-repeat center center/cover;
  background-attachment: fixed;
  color: var(--text-dark); /* Ensure text is dark on this light bg */
}

/* Override dark mode for Results if we want it light-themed with the new image */
#results.dark-mode {
  background-color: transparent; /* Let image show */
  color: var(--text-dark);
}
#results .center-title {
  color: var(--primary-color);
}
#results .result-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
#results .result-card h3 {
  color: var(--primary-color);
}
#results .result-card p {
  color: #64748b;
}

/* ... existing code ... */

.company-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9); /* Light text */
}

.main-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff; /* White */
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #94a3b8;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: #94a3b8;
  animation: scrollDown 2s infinite;
}

/* =========================================
   Concept Section
   ========================================= */
.concept-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.concept-lead {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.concept-description {
  font-size: 1.1rem;
  color: #475569;
}

.highlight-text {
  background: linear-gradient(transparent 60%, rgba(16, 185, 129, 0.2) 60%);
}

/* =========================================
   Ecosystem Section
   ========================================= */
.grid-3, .grid-4, .grid-5 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.glass-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-sub {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
}

.glass-card p {
  font-size: 0.95rem;
  color: #475569;
}

.strengths-grid {
  margin-top: 3rem;
}

.strength-item {
  height: 100%;
}

.strength-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.strength-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.strength-item p {
  text-align: left;
  line-height: 1.8;
}

/* =========================================
   Business Details Sections
   ========================================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout.reverse {
  direction: rtl; /* Simple way to swap columns visually, standard reset inside */
}

/* Reset direction for content inside reverse layout */
.split-layout.reverse > * {
  direction: ltr;
}

.business-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1rem;
  display: inline-block;
}

.info-block {
  margin-bottom: 1.5rem;
}

.info-block h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.info-block ul {
  list-style: none;
  padding-left: 1rem;
}

.info-block ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

.info-block ul li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: -1rem;
}

/* Real Images Integration */
.placeholder-visual.business-1-visual {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("img/business_real_estate.png") no-repeat center/cover;
}
.placeholder-visual.business-2-visual {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("img/architecture.png") no-repeat center/cover;
}
.placeholder-visual.business-3-visual {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("img/business_construction.png") no-repeat center/cover;
}
.placeholder-visual.business-4-visual {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("img/business_education.png") no-repeat center/cover;
}
.placeholder-visual.business-5-visual {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("img/business_marketing.png") no-repeat center/cover;
}
.placeholder-visual .circle {
  display: none;
}

/* CSS Art placeholders removed in favor of generated images */
.placeholder-visual {
  height: 400px;
  background: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   Cycles Section
   ========================================= */
.cycles-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.cycle-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05); /* very subtle on dark */
  padding: 3rem 2rem;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.cycle-item:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  border-color: var(--accent-color);
}

.cycle-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 20px;
}

.cycle-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.cycle-item p {
  font-size: 0.9rem;
  color: #94a3b8;
  z-index: 1;
}

.cycle-arrows {
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.5;
  animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
  0% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
}

/* =========================================
   Cycle Details
   ========================================= */
.cycle-detail-slide .container {
  text-align: center;
  max-width: 900px;
}

.badge-header {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.lead-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 3rem;
}

.vmv-section {
  max-width: 1000px;
  margin: 0 auto;
}

.vmv-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.vmv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.vmv-card h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color); /* Blue text */
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.vmv-jp {
  font-size: 1rem;
  color: var(--accent-color); /* Green text */
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 5px;
}

.vmv-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
}

/* Cycle Details - keeping existing if needed, but VMV is priority */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.detail-box {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--accent-color);
}

/* =========================================
   Cycle Blocks (for Concept Page)
   ========================================= */
.cycle-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cycle-block.reverse {
  flex-direction: row-reverse;
}

.cycle-text {
  flex: 1;
  text-align: left;
}

.cycle-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cycle-lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.cycle-text p {
  color: #cbd5e1;
  line-height: 1.8;
}

.cycle-visual {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gradient-1 { background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%); }
.gradient-2 { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); }
.gradient-3 { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }

@media (max-width: 768px) {
  .cycle-block, .cycle-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .cycle-text {
    text-align: center;
  }
}

.detail-box h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.detail-box h3 i {
  color: var(--accent-color);
}

/* =========================================
   Results & Value
   ========================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.result-card {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s;
}

.result-card:hover {
  transform: translateY(-5px);
}

.result-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.value-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.value-row {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid var(--accent-color);
}

.value-row h3 {
  margin-bottom: 0.5rem;
  color: #a7f3d0; /* Soft Green */
}

/* =========================================
   Company Profile
   ========================================= */
.company-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.95rem;
}

.company-table th,
.company-table td {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 30%;
  background-color: #f8fafc;
  color: var(--primary-color);
  font-weight: 700;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.company-table td {
  color: #334155;
  line-height: 1.8;
}

/* Remove last border */
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    border-right: none;
    padding: 1rem;
  }
  .company-table th {
    background-color: #f1f5f9;
    border-bottom: none;
    padding-bottom: 0.5rem;
  }
  .company-table td {
    padding-top: 0.5rem;
  }
}

/* =========================================
   Footer
   ========================================= */
/* =========================================
   Footer
   ========================================= */
.footer-slide {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.footer-logo img {
  height: 60px; /* Unified footer logo size */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Make it white */
  margin-bottom: 1rem;
}

.footer-info {
  margin: 3rem 0;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-contact p {
  margin: 0.5rem 0;
  color: #94a3b8;
}

.copyright {
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

/* =========================================
   Responsiveness
   ========================================= */
@media (max-width: 968px) {
  .grid-4,
  .results-grid,
  .detail-grid,
  .cycles-container {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 2rem;
  }

  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout.reverse {
    direction: ltr; /* Reset visual swap for mobile to keep logical order */
  }

  .cycle-arrows {
    transform: rotate(90deg);
    margin: 1rem 0;
    animation: pulseArrowVertical 2s infinite;
  }

  @keyframes pulseArrowVertical {
    0% {
      transform: translateY(0) rotate(90deg);
    }
    50% {
      transform: translateY(10px) rotate(90deg);
    }
    100% {
      transform: translateY(0) rotate(90deg);
    }
  }

  .main-title {
    font-size: 3rem;
  }

  .hero-bg-accent {
    width: 100%;
    height: 30vh;
    clip-path: none;
    top: auto;
    bottom: 0;
    opacity: 0.3;
  }

  .header-container {
    padding: 0 1rem;
  }

  nav ul {
    display: none; /* Mobile menu needed eventually, hiding for now for simplicity as per requirements */
  }
}

/* =========================================
   Business Link Section (V2 - High Impact)
   ========================================= */
.business-nav-section {
    background: #000; /* Deepest black for contrast */
    padding: 10rem 0; /* More breathing room */
    position: relative;
    overflow: hidden;
}

/* Dynamic Background Image */
.business-nav-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.8) 50%, #000 100%), url('img/luxury_bg_watermark.png') no-repeat center center/cover;
    opacity: 0.4; /* Subtle watermark */
    pointer-events: none;
    z-index: 1;
}

/* Optional: Keep a subtle grid overlay on top if desired, distinct from the image */
.business-nav-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0; /* Behind image? No, image is background. Let's put image at z-index 0 and grid at 1 but verify opacity */
}

/* Actually, simplified approach: Main background is the image, grid is overlay.
   Let's just use ::before for the image and keep it simple first as requested "image watermark".
/* Background watermark image */
.business-nav-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/luxury_bg_watermark.png') no-repeat center center;
    background-size: cover;
    opacity: 0.08; /* Very subtle watermark */
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.nav-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff; /* White card */
    padding: 4rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    border: 1px solid #e2e8f0; /* Light border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
}

/* Removed: Glowing Border Effect - too flashy */
.nav-card::before {
    display: none; /* Disable rainbow gradient */
}

/* Inner Mask - not needed for light version, simplify */
.nav-card::after {
    content: '';
    position: absolute;
    inset: 0px;
    background: transparent;
    border-radius: 20px;
    z-index: -1;
}

@keyframes glowingBorder {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

/* Removed: Rainbow border on hover */

.nav-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-card:hover .nav-icon {
    transform: scale(1.1);
    color: #1e3a8a; /* Darker blue on hover */
}

.nav-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b; /* Darker text for light theme */
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-shadow: none; /* Remove text shadow for light theme */
}

.nav-sub {
    font-size: 0.9rem;
    color: #64748b; /* Muted grey */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
}

.nav-arrow {
    margin-top: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9; /* Light background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color); /* Blue arrow */
    font-size: 1rem;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
}

.nav-card:hover .nav-arrow {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(-45deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

@media (max-width: 968px) {
    .nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Service Page Redesign (V2)
   ========================================= */

/* Feature Grid (for ecosystem/strengths) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: #f0f9ff;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Split Layout System */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse .business-text {
    order: 2;
}

.split-layout.reverse .business-visual-container {
    order: 1;
}

/* Business Section Styles */
.business-nav-section {
    position: relative;
    padding: 8rem 0;
    background: #f8fafc; /* Light grey background */
    overflow: hidden;
}

/* Business Detail Block Styles */
.business-detail-block {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.business-detail-block:nth-child(even) {
    background-color: #f8fafc;
}

.business-detail-block:nth-child(odd) {
    background-color: #fff;
}

.business-header {
    margin-bottom: 3rem;
}

.business-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.business-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.business-lead-text {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feature Points Grid (Mini-grid within business section) */
.point-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    font-size: 1.2rem;
    color: #10b981; /* Success green */
    background: #ecfdf5;
    padding: 0.5rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #334155;
}

.point-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Visual Side */
.business-visual-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.business-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-detail-block:hover .business-img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    /* Reset order on mobile so Text is always first or visual first? 
       Usually visual then text or text then visual. 
       Let's keep text first for readability as per previous design */
    .split-layout.reverse .business-text {
        order: unset;
    }
    .split-layout.reverse .business-visual-container {
        order: unset;
    }
    
    .business-title {
        font-size: 2rem;
    }
    .point-grid, .grid-3, .grid-4, .grid-5 {
        grid-template-columns: 1fr;
    }
    .business-detail-block {
        padding: 4rem 0;
    }
}

/* Animation Classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
