html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* ヘッダーの高さ分だけスクロール位置を下げる */
}

:root {
  --bg-dark: #f0f7ff; /* Changed from dark to very light sky blue */
  --bg-card: rgba(255, 255, 255, 0.6); /* Lighter glass */
  --accent-blue: #0ea5e9; /* Sky blue */
  --accent-purple: #10b981; /* Changed from purple to Emerald/Mint for refreshing feel */
  --text-main: #0f172a; /* Dark slate text */
  --text-dim: #475569;
  --glass-border: rgba(14, 165, 233, 0.1);
  --font-primary: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.u-nowrap {
  display: inline-block;
}

.u-pc-only {
  display: inline;
}
@media (max-width: 768px) {
  .u-pc-only { display: none; }
}

.u-sp-only {
  display: none;
}
@media (max-width: 768px) {
  .u-sp-only { display: inline; }
}

.u-container-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Base Aesthetics */
.glass {
  background: rgba(255, 255, 255, 0.85); /* ぼかし処理の代わりに不透明度を上げる */
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.neon-text {
  color: var(--accent-blue);
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* Layout */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98); /* ぼかしの代わりにほぼ不透明に変更 */
  border-bottom: 1px solid var(--glass-border);
}

.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
}

.scrollProgress {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    width: 0%;
    transition: width 0.1s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem; /* サイズ調整 */
  font-weight: 700;
}

.logo img {
  height: 32px; /* 少し小さめに */
}

/* PC Menu Styles */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--accent-blue);
}

/* Hamburger Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease-in-out;
}

/* Mobile responsive menu */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 真ん中ではなく上寄せに変更 */
    padding-top: 100px; /* 上部の余白を適切なサイズにカット */
    transition: all 0.4s ease-in-out;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .nav-menu a {
    font-size: 1.5rem; /* スマホは大きく */
  }

  /* Hamburger active effect */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

.hero {
  height: 60vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('./assets/anime_event_hero.jpg') center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(240, 247, 255, 0.75) 0%, var(--bg-dark) 95%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #0f172a;
  width: 85%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all; 
  overflow-wrap: break-word;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  text-align: center;
}

.cta-button:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  transform: scale(1.05);
}

/* Fusion Partnership Section */
.partnership-section.dark-partnership {
  background: #0f172a;
  color: white;
  padding: 80px 10%;
  border-top: none;
}

.dark-partnership .partnership-fusion-title {
  color: var(--accent-blue);
  opacity: 1;
}

.operator-card-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.operator-card-container:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(14, 165, 233, 0.3);
  transform: scale(1.01);
}

.op-content-wrapper {
    display: grid;
    grid-template-areas: "stack";
    align-items: center;
    padding: 80px 50px;
    min-height: 440px;
}

.op-panel {
    grid-area: stack;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.op-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

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



.op-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.op-hero img { height: 60px; }
.op-hero h3 { font-size: 2rem; font-weight: 800; color: white; margin: 0; }
.op-icon-placeholder { font-size: 3rem; }

.op-p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 25px;
  text-align: center;
}

.op-motto, .op-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 768px) {
  .operator-tabs { flex-direction: column; }
  .op-tab { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .op-content-wrapper { padding: 30px 20px; min-height: auto; }
  .op-hero h3 { font-size: 1.5rem; }
  .op-p { font-size: 0.95rem; }
  .partnership-section.dark-partnership { padding: 50px 20px; }
}

/* Bento Grid */
.section {
  padding: 60px 10%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  margin-top: 50px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  border-color: rgba(16, 185, 129, 0.1);
}

.bento-item:hover {
  transform: scale(1.02);
  border-color: var(--accent-purple);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.bento-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: 0.4s;
  filter: contrast(1.1) brightness(1.2) saturate(1.2);
}

.bento-item:hover .bento-icon {
  opacity: 1;
  transform: scale(1.05);
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px 20px 25px;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 70%, transparent 100%);
  z-index: 2;
}

.bento-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 0 0 10px white;
}

.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 2; grid-row: span 1; }
.bento-3 { grid-column: span 1; grid-row: span 1; }
.bento-4 { grid-column: span 1; grid-row: span 1; }

/* Stats Counter */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 60px 10%;
  background: rgba(255, 255, 255, 0.5);
}

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

/* Global Stats Classes (Default/Small) */
.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: block;
}

/* About Section Huge Stats */
#about .stat-number {
  font-size: clamp(2rem, 12vw, 4.2rem);
  font-weight: 700;
  display: block;
  margin-top: 0;
  line-height: 1.1;
  color: var(--accent-blue);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flash-effect {
  animation: num-flash 0.6s ease-in-out forwards;
}

@keyframes num-flash {
  0% { transform: scale(1); text-shadow: none; color: var(--accent-blue); }
  20% { transform: scale(1.15); text-shadow: 0 0 30px var(--accent-blue), 0 0 50px var(--accent-blue); color: #fff; }
  40% { transform: scale(1); text-shadow: none; color: var(--accent-blue); }
  60% { transform: scale(1.1); text-shadow: 0 0 20px var(--accent-blue); color: #fff; }
  80% { transform: scale(1); text-shadow: none; color: var(--accent-blue); }
  100% { transform: scale(1); text-shadow: 0 0 10px rgba(14, 165, 233, 0.3); color: var(--accent-blue); }
}

.stat-number {
  position: relative;
}

.stat-arrow {
  font-size: 0.6em;
  vertical-align: middle;
  margin-left: 5px;
  opacity: 0.8;
}

.arrow-up {
  color: #10b981; /* 緑色で成長を強調 */
  animation: arrow-up-float 1.2s infinite ease-in-out;
}

.arrow-down {
  color: #f43f5e; /* 赤または警告に近い色で値下げのインパクトを強調 */
  animation: arrow-down-float 1.2s infinite ease-in-out;
}

@keyframes arrow-up-float {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-8px); opacity: 1; }
}

@keyframes arrow-down-float {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

#about .stat-label {
  font-size: clamp(1.5rem, 8vw, 2.8rem);
  color: var(--accent-blue);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.property-info {
  padding: 20px;
}

.property-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.property-location,
.property-type {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 5px;
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-purple);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.loading-spinner {
  text-align: center;
  grid-column: 1 / -1;
  padding: 50px;
  font-size: 1.2rem;
  color: var(--text-dim);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.price-card {
  padding: 40px;
  text-align: center;
  transition: 0.4s;
  background: white;
}

.price-card:hover {
  background: #f8fafc;
  border-color: var(--accent-blue);
}

.price-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Flow Section */
.flow-container {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.flow-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-purple);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

/* Form Section */
.apply-form-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input, select, textarea {
  width: 100%;
  padding: 15px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-blue);
  background: white;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.1);
}

/* Modern Problem Grid & Cards */
.problem-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    perspective: 1500px;
}

.problem-card {
    height: 300px;
    background: transparent;
    cursor: pointer;
    border: none;
    box-shadow: none;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.problem-card.active .card-inner,
.problem-card:hover .card-inner {
    transform: rotateY(180deg);
}

.problem-front, .solution-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.problem-front {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.05);
}

.solution-back {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    transform: rotateY(180deg);
}

.p-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.s-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.problem-front h3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    line-height: 1.4;
}

.solution-back h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.solution-back p {
    font-size: 1rem;
    text-align: center;
    opacity: 0.9;
    line-height: 1.6;
}

.card-hint {
    margin-top: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .problem-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .problem-card {
        height: 260px;
    }
}



/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-out;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 10px 10px;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 200px;
  border: 1px solid var(--glass-border);
  border-top: none;
}

.phone-contact-box {
  margin-top: 40px;
  padding: 30px;
  text-align: center;
  border-top: 2px dashed var(--glass-border);
}

.phone-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  display: block;
  margin: 10px 0;
}

/* Footer */
footer {
  padding: 100px 10% 50px;
  background: #f8fafc;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

/* Floating Contact for Mobile */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    z-index: 1001;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out both, pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.7); }
    100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  h1 { 
    font-size: 3rem; 
    width: 90%;
  }
}

@media (max-width: 768px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 15px;
  }
  .bento-item { 
    grid-column: span 1 !important; 
    grid-row: span 1 !important;
    height: 100%;
  }
  .flow-container { flex-direction: column; gap: 40px; }
  .flow-container::before { display: none; }
  .u-pc-only { display: none; }
  header { padding: 15px 5%; }
  nav { display: none; }
  
  .hero {
    height: 45vh;
    min-height: 350px;
    padding-top: 60px;
  }

  h1 { 
    font-size: 1.8rem; 
    width: 100%;
    word-break: normal;
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: center;
  }
  .hero p {
    font-size: 0.95rem;
    width: 90%;
    margin: 0 auto 20px;
    line-height: 1.6;
  }
  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .stats {
    flex-direction: column;
    gap: 10px;
    padding: 20px 5%;
  }

  .section {
    padding: 40px 10px;
  }
  
  h2 {
    font-size: 1.8rem !important;
    text-align: center;
    word-break: break-all;
  }
  
  p {
    text-align: justify;
    line-height: 1.5;
  }

  .apply-form-container {
    padding: 30px 20px;
  }

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

  #owners, #service-overview {
    margin: 0 5% 40px !important;
  }

  .service-inner {
    padding: 25px 15px;
  }
  
  #owners .cta-button {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .use-case-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 1.8rem;
    width: 100%;
    padding: 0 5px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 30px 15px;
  }
}

.search-filter-container {
  max-width: 1000px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.filter-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: unset;
  flex: 0 1 auto;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.filter-group select,
.search-box input {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 0.9rem;
  color: var(--text-main);
  min-width: 160px;
}

.advanced-toggle {
  background: none;
  border: none;
  color: var(--accent-blue);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.advanced-search-area {
  display: none;
  width: 100%;
  padding: 15px 0;
  gap: 15px;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.advanced-search-area.active {
  display: flex;
}

@media (max-width: 768px) {
  .main-filters, .advanced-search-area {
    justify-content: flex-start !important;
    gap: 8px;
  }
}

.problem-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto;
}
.problem-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    height: 70px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}
.problem-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}
.problem-item.active {
    height: auto;
    border-color: var(--accent-blue);
    background: #fff;
}
.problem-q {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    gap: 15px;
}
.problem-q i:first-child { color: var(--accent-blue); font-size: 1.2rem; }
.problem-q p { font-weight: 600; flex: 1; margin: 0; }
.toggle-icon { transition: transform 0.3s ease; font-size: 0.9rem; color: #94a3b8; }
.problem-item.active .toggle-icon { transform: rotate(180deg); color: var(--accent-blue); }
.problem-answer {
    padding: 0 25px 25px 60px;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
}
.problem-item.active .problem-answer {
    opacity: 1;
    animation: fadeIn 0.4s forwards;
}

@media (max-width: 768px) {
    .problem-simple-grid { grid-template-columns: 1fr; }
    .problem-item { height: auto; padding: 0; min-height: 60px; }
    .problem-q { padding: 15px; }
    .problem-answer { padding: 0 15px 15px 45px; }
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 5%;
}

.property-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: 0.3s;
}

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

.property-img-container {
  position: relative;
  height: 200px;
}

.property-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-blue);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.property-info {
  padding: 15px;
  text-align: center;
}



.property-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 10px 0 15px;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.property-stats .stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.property-stats .stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.property-stats .stat-value {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 700;
}

/* Featured Card Styles */
.property-card.featured-card {
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  position: relative;
}

.featured-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Property Card Inquire Button */
.inquire-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 15px;
  text-align: center;
  font-size: 0.9rem;
}
#service-overview {
  margin: 0 10% 50px;
}

.service-inner {
  padding: 40px;
}

.inquire-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.use-case-mini-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.use-case-tag {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.use-case-tag:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  cursor: pointer;
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(0,0,0,0.92);
  animation: fadeIn 0.3s ease;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.modal-content-wrapper {
  position: relative;
  margin: 40px auto; 
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.modal-content {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  display: block;
  margin: 0 auto;
}

.modal-caption {
  margin-top: 15px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.modal-close {
  position: fixed;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: 0.3s;
}

.modal-close:hover {
  color: var(--accent-blue);
}

@media (max-width: 768px) {
  .modal-close {
    top: 20px;
    right: 25px;
  }
}

/* Skeleton Loading */
.skeleton-card {
    height: 480px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(14, 165, 233, 0.05);
}
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 1040px; 
    display: inline-block;
    position: relative; 
    animation-duration: 1s;
    animation-fill-mode: forwards; 
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
}
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}
.skeleton-img { height: 200px; width: 100%; }
.skeleton-text { height: 20px; margin: 15px; width: 70%; border-radius: 4px; }
.skeleton-text.short { width: 40%; }
.skeleton-text.long { width: 90%; }
