/* MeongSilJang Process Section */
.meongsiljang-process-bg {
  background: #ffffff;
}

.meongsiljang-process {
  padding: 4rem 1.5rem;
}

.msj-process-grid {
  display: grid;
  grid-template-columns: 2fr 4fr 2fr; /* 2:4:2 */
  gap: 1.5rem;
  align-items: center;
}

/* LEFT */
.sources-card {
  background: #0f5a73;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.source-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.source-icons img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* CENTER */
.msj-process-center {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.msj-brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.msj-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.msj-logo {
  width: 180px;
  height: auto;
  margin-bottom: 0.25rem;
}

.msj-url {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
}

.arrow {
  display: inline-block;
  width: 100%;
  height: 56px;
  background: linear-gradient(90deg, #e6e9ec 0%, #f0f2f4 100%);
  /* 머리 길이는 고정(px)로, 막대만 길어지도록 */
  --head: 72px;         /* 화살표 머리 길이 */
  --waistTop: 31%;      /* 허리 비율 상단 */
  --waistBottom: 69%;   /* 허리 비율 하단 */
  clip-path: polygon(
    0 var(--waistTop),
    calc(100% - var(--head)) var(--waistTop),
    calc(100% - var(--head)) 0,
    100% 50%,
    calc(100% - var(--head)) 100%,
    calc(100% - var(--head)) var(--waistBottom),
    0 var(--waistBottom)
  );
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) inset, 0 2px 6px rgba(0,0,0,0.06);
}
.arrow-big { height: 72px; --head: 90px; }
.arrow-thin { height: 28px; --head: 42px; }
.arrow-left { transform: scaleX(-1); }
.msj-connector { margin-top: 0.25rem; }

/* RIGHT */
.msj-process-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.conv-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.conv-metrics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.conv-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 48px;
  border-radius: 8px;
  background: #0f5a73;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.conv-item.strong {
  background: linear-gradient(180deg, #1e6b85, #2f8aa3);
}

.conv-item.weak {
  background: linear-gradient(180deg, #c2c7cb, #a6adb3);
  color: #1b1f23;
}

/* Responsive */
@media (max-width: 968px) {
  .msj-process-grid {
    grid-template-columns: 1fr; /* 스택 */
  }
  .sources-card { min-height: 180px; }
  .msj-logo { width: 140px; }
  .msj-url { font-size: 1.5rem; }
}
.ad-hospital-card {
  background: #ffffff !important;
  border-radius: 10px;
  /* padding removed so .ad-chat-adbox controls padding */
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.ad-result-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 2rem;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-result-metrics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1rem;
}

.ad-metric .metric-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f04e23;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-metric .metric-label {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.ad-chatbox {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-header {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-label {
  font-size: 0.7rem;
  color: #fff;
  background: #ff9800;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-adbox {
  background: #fff7f0;
  border: 1px solid #ffe1cf;
  border-radius: 12px;
  padding: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  align-items: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-thumbnail {
  font-size: 1.75rem;
}

.ad-chat-info {
  flex: 1;
  background-color: white;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-title {
  font-weight: bold;
  margin: 0;
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-sub {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-meta {
  font-size: 0.75rem;
  color: #999;
  margin: 0.2rem 0 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-badge {
  font-size: 0.7rem;
  background: #ff5722;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.ad-chat-note {
  font-size: 0.75rem;
  color: #999;
  margin: 0.5rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-bubble {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-bubble.ai {
  background: #ff5722;
  color: #fff;
}

.ad-chat-bubble.user {
  background: #f5f5f5;
  color: #222;
}
/* Card icon and title-row layout for features section */
.card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.card .title-row h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.card .badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.card p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure media scale within viewport */
img, video, iframe {
  max-width: 100%;
  height: auto;
}
/* --- HEADER --- */
.main-header {
  background: white;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 90px;
  height: 30px;
}

.logo span {
  font-size: 1.1rem;
  font-weight: bold;
  color: #d5381d;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

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

nav a {
  text-decoration: none;
  color: #444;
  font-size: 0.9rem;
  cursor: pointer;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

nav .btn-orange {
  background-color: #ff5722;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
section {
  padding: 4rem 1.5rem;
  max-width: 960px;
  margin: auto;
}
.hero {
  background: #fffaf6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Hero animated background */
.hero-anim {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw; /* 뷰포트 너비로 확장하여 잘림 방지 */
  height: 100%;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.hero-anim .blob {
  position: absolute;
  width: 680px;
  height: 680px;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.24), rgba(255,107,53,0) 62%);
  filter: blur(18px);
  border-radius: 50%;
  animation: floatSlow 14s ease-in-out infinite;
}
.hero-anim .blob.b1 { top: -160px; left: -20vw; }
.hero-anim .blob.b2 { bottom: -180px; right: -10vw; animation-delay: -4s; }
.hero-anim .blob.b3 { top: 10%; right: 20vw; animation-delay: -8s; }

.hero-anim .float {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(255,87,34,0.08);
  animation: drift 10s ease-in-out infinite;
}
.hero-anim .float.f1 { top: 12%; left: 55%; width: 160px; height: 120px; animation-delay: -2s; transform: rotate(-6deg); }
.hero-anim .float.f2 { top: 60%; left: 20%; width: 110px; height: 110px; animation-delay: -5s; transform: rotate(8deg); }
.hero-anim .float.f3 { top: 35%; left: 75%; width: 120px; height: 90px; animation-delay: -7s; transform: rotate(-12deg); }

@keyframes floatSlow {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.75; }
  25%  { transform: translate3d(12px,-18px,0) scale(1.04); opacity: 0.95; }
  50%  { transform: translate3d(0,-32px,0) scale(1.08); opacity: 0.85; }
  75%  { transform: translate3d(-12px,-18px,0) scale(1.04); opacity: 0.95; }
  100% { transform: translate3d(0,0,0) scale(1); opacity: 0.75; }
}

@keyframes drift {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-18px) rotate(2deg); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-anim .blob,
  .hero-anim .float {
    animation: none !important;
  }
}

/* Mobile fixes: prevent left blank space caused by overflow */
@media (max-width: 768px) {
  .hero { overflow: hidden; }
  .hero-anim {
    left: 0;
    width: 100%;
    transform: none;
    overflow: hidden; /* 블롭으로 인한 가로 스크롤 방지 */
  }
}
.hero h1 {
  font-size: 3rem;
  color: #ff5722;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
/* Features Section Refined */
.features {
  background: #fff;
  margin-top: 2rem;
  padding: 4rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.features h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.features .label {
  background-color: #ffe7d6;
  color: #ff5722;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-right: 0.5rem;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.features-subtext {
  color: #555;
  font-size: 0.95rem;
  margin-top: 0.2rem;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.features .card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #ddd;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.features .card:hover {
  transform: translateY(-5px);
  border: 1px solid #333;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.icon-title span {
  font-size: 1.5rem;
}

.icon-title h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.card p {
  font-size: 0.9rem;
  color: #444;
  margin: 0.5rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.badge {
  display: inline-block;
  background: #f5f5f5;
  font-size: 0.75rem;
  color: #666;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.badge.orange {
  background: #fff2e6;
  color: #ff6600;
}

.badge.red {
  background: #ffe5e5;
  color: #e00;
}

/* --- PRICING SECTION --- */
.pricing h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-grid .card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.25rem;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card.popular {
  border: 2px solid #ff5722;
}

.pricing-grid .card .tag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5722;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card .subtitle {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff5722;
  margin: 0.5rem 0 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card .price.red {
  color: #e60000;
}

.pricing-grid .card .unit {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #444;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card ul li {
  margin-bottom: 0.4rem;
  color: #222;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-grid .card ul li::before {
  content: '✓';
  color: #28a745; /* green check */
  margin-right: 0.5rem;
}

.pricing-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-grid .card button {
  width: 100%;
  margin-top: auto;
}

.btn-orange {
  background-color: #ff5722;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.btn-outline {
  background: white;
  border: 1px solid #ccc;
  color: #222;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.pricing, .howto {
  background: #f9f9f9;
  margin-top: 2rem;
  border-radius: 12px;
}
.footer-language-selector button {
  background-color: white;
  border: none;
  border-radius: 50%;       /* ← 원형 */
  width: 36px;              /* 크기 조정 */
  height: 36px;
  margin: 0 4px;            /* 버튼 사이 간격 */
  font-size: 18px;          /* 이모지 크기 */
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0,0,0,0.1); /* 살짝 음영 */
  transition: transform 0.2s;
}

.footer-language-selector button:hover {
  transform: scale(1.1);   /* 호버 시 약간 확대 */
}
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: stretch;
  }
  .hero .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
  }
}


.features-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-heading .label {
  background-color: #ffe7d6;
  color: #ff5722;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.features-heading h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.pricing-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: #444;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-note p {
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.pricing-note .btn-outline.small {
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border-color: #ff5722;
  color: #ff5722;
}

.howto {
  background: #ef3f1f;
  padding: 4rem 1.5rem;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.howto-inner {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 1.5rem;
  color: #111;
  max-width: 860px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.howto h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.howto .highlight {
  color: #ff5722;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.howto .subtext {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.steps > div {
  flex: 1;
  min-width: 200px;
}

@media (min-width: 768px) {
  .steps > div {
    position: relative;
  }

  .steps > div:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 25%;
    right: -1.5rem;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #ff5722;
  }
}

.circle {
  background: #ffeae3;
  color: #ff5722;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 48px;
  margin: 0 auto 0.5rem;
  font-size: 1.2rem;
}

/* Pulse animation for .steps .circle */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.steps .circle {
  animation: pulse 1.5s ease-in-out infinite;
}
.steps div:nth-child(1) .circle {
  animation-delay: 0s;
}
.steps div:nth-child(2) .circle {
  animation-delay: 0.5s;
}
.steps div:nth-child(3) .circle {
  animation-delay: 1s;
}

.step-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.step-desc {
  font-size: 0.85rem;
  color: #555;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

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

.terms {
  font-size: 0.75rem;
  color: #666;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
/* Remove duplicate/conflicting .hero rule that sets flex-wrap/row here, handled in media query */

.hero-left {
  flex: 6; /* 6:4 레이아웃 비율 */
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 자식이 내용 너비만큼만 차지 */
}

.hero-label {
  display: inline-block;
  font-size: 0.9rem;
  color: #ff5722;
  background: #ffeee6;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  align-self: flex-start; /* 왼쪽 정렬 유지 */
}

/* hero-label과 동일한 디자인이지만 가운데 정렬 */
.section-label {
  display: inline-block;
  font-size: 0.9rem;
  color: #ff5722;
  background: #ffeee6;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: center;
}

/* hero h1과 동일한 폰트 크기이지만 검정색, 가운데 정렬 */
.section-heading {
  font-size: 2.5rem !important;
  line-height: 1.4 !important;
  margin: 0.5rem 0 !important;
  color: #222 !important;
  text-align: center !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  font-weight: bold !important;
}

.section-heading .highlight {
  color: #ff5722;
}

/* 기존 스타일 오버라이드 */
.features-heading .section-heading,
.pricing .section-heading,
.howto .section-heading {
  font-size: 2.5rem;
  line-height: 1.4;
  margin: 0.5rem 0;
  color: #222;
  text-align: center;
}

/* hero-subtext와 동일한 디자인이지만 가운데 정렬 */
.section-subtext {
  margin: 1.5rem 0;
  color: #444;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.4;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero h1 .highlight {
  color: #ff5722;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  font-size: 2.5rem;

}

.hero-subtext {
  margin: 1.5rem 0;
  color: #444;
  font-size: 1.2rem;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

@media (min-width: 768px) {
  .hero-subtext {
    margin-top: auto; /* 위 요소들과 아래 요소들 사이 여백을 크게 */
  }
  .hero-buttons {
    margin-top: 0.75rem; /* subtext 바로 아래 붙이기 */
    margin-bottom: 0;    /* 아래쪽 여백 축소 */
  }
  .hero-left {
    padding-top: 2.5rem;   /* 위 여백 */
    padding-bottom: 2.5rem;/* 아래 여백 */
  }
}

.hero-buttons {
  margin: 1.5rem 0;
}

.hero-buttons .btn-orange {
  background-color: #ff5722;
  color: #fff;
  border: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.hero-buttons .btn-outline {
  background: white;
  color: #ff5722;
  border: 1px solid #ff5722;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;

  margin-left: 1rem;
  cursor: pointer;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #444;
}

.hero-stats div {
  text-align: center;
}

.hero-stats strong {
  color: #ff5722;
  font-size: 1.2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero-right {
  flex: 4; /* 6:4 레이아웃 비율 */
  min-width: 300px;
}

.hero-image-wrap {
  width: 100%;
  max-width: 800px; /* 더 크게 */
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  position: relative;
  z-index: 1; /* 이미지 레이어를 블롭 위로 */
}

.hero-image {
  width: 100%;
  height: auto; /* 기본은 비율 유지 */
  display: block;
  object-fit: contain; /* 원본 비율 유지 */
  background: transparent; /* 투명 배경 유지 */
}

@media (min-width: 768px) {
  .hero-image-wrap {
    max-height: none; /* PC에서는 높이를 더 허용 */
  }
  .hero-image {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .hero-image-wrap {
    max-width: none; /* 모바일은 가로 꽉 차게 */
    max-height: 600px; /* 모바일도 더 크게 */
  }
}

.chatbox {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.chat-header {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.chat-header .status {
  font-size: 0.8rem;
  color: green;
}

.chat-header .chat-label {
  margin-left: auto;
  font-size: 0.7rem;
  color: #fff;
  background: #ffcc00;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.chat-bubble.visible {
  animation: fadeSlideIn 0.6s ease forwards;
}

.chat-bubble.user {
  background: #f5f5f5;
  align-self: flex-start;
}

.chat-bubble.ai {
  background: #ff5722;
  color: white;
  align-self: flex-end;
}

/* Footer styles */
.site-footer {
  background: #0d1117;
  color: #ccc;
  padding: 3rem 1.5rem 2rem;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #333;
  padding-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand img {
  width: 90px;
  vertical-align: middle;
  filter: brightness(0) invert(1);

}

.footer-brand h3 {
  color: white;
  margin: 0.5rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-brand p {
  color: #888;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-columns {
  display: flex;
  flex: 2 1 500px;
  gap: 3rem;
}

.footer-columns h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns ul li {
  margin-bottom: 0.4rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-columns ul li a {
  color: #888;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-columns ul li a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #888;
  font-size: 0.8rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-company-info {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-company-info h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  font-weight: bold;
}

.footer-company-info p {
  margin: 0.25rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-company-info strong {
  color: #ccc;
}

.footer-links a {
  margin-left: 1.5rem;
  color: #888;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-links a:hover {
  color: #fff;
}
/* Section wrappers for full-width background color and centered content */
.section-wrapper {
  width: 100%;
}

.hero-bg {
  background-color: #fffaf6;
}
.pricing-bg {
  background-color: #f9f9f9;
}
.howto-bg {
  background-color: #ef3f1f;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Mobile: prevent right clipping and enforce full-width */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  .hero,
  .section-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .hero-image-wrap {
    max-width: 100% !important;
  }
}

/* Scoped hero .container flex for desktop, handled in media query above */
/* 맞춤형 AI 광고 섹션 스타일 */
.ad-ai-bg {
  background: #fff5f0;
}

.ad-ai-section {
  padding: 4rem 1.5rem;
}

.ad-ai-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.ad-ai-left {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  height: 100%;
}

.ad-ai-section {
  display: flex;
  align-items: stretch;
  min-height: 600px; /* or another appropriate value */
}

.ad-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.ad-step-number {
  background: #ff6d3a;
  color: white;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
}

.ad-step-text strong {
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-step-text p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #444;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-result-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-ai-right {
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-ai-right img {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ad-market-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.ad-market-icon {
  font-size: 1.5rem;
  background: #ff5722;
  color: white;
  padding: 0.4rem;
  border-radius: 50%;
}

.ad-market-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-click-label {
  font-size: 0.75rem;
  color: #ff5722;
  text-align: center;
  font-weight: bold;
  margin: 0.75rem 0 0 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-hospital-icon {
  background: fff8f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.ad-hospital-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.ad-bot-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.ad-bot-avatar {
  background: #ff5722;
  color: #fff;
  width: 36px;
  height: 36px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.status-green {
  color: #28a745;
  font-size: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.ad-market-card {
  background: #fff8f2;
  border: 1px solid #ffe1cf;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-market-card .ad-chat-adbox {
  border: none;
  background: none;
  /* Remove padding override so .ad-chat-adbox padding is respected */
  margin-top: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.ad-chat-wrap {
  border: 1px solid #ffd2b3;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  background: #fffdfb;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}



.analysis-section-placement {
  background: #fffaf6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.analysis-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.analysis-graph-box {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  flex: 1 1 320px;
  max-width: 400px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-chart-with-axis {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  min-height: 200px;
  height: 200px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.analysis-y-axis {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  padding: 0 0.5rem 0 0;
  border-right: 1px solid #ccc;
  height: 90%;
  margin: 0;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  flex: 1;
  padding: 0;
  gap: 1rem;
  height: 100%;
}
.bar {
  background: #151c2c;
  width: 40px;
  border-radius: 4px 4px 0 0;
  min-height: 100px;
  position: relative;
}
.bar.green {
  background: #2e993f;
  min-height: 15px;
}
.bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  height: 80%;
  text-align: center;
}
.bar-container.black-bar {
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}
.bar-container.green-bar {
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}
/* 툴팁 박스 */
.bar::after {
  content: attr(data-value); /* data-value 속성에서 수치를 가져옴 */
  position: absolute;
  bottom:110%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.5rem;
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
/* hover 시 표시 */
.bar:hover::after {
  opacity: 1;
}
.analysis-title {
  background: #e05124;
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.bar-label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-comment {
  background: #fff7e6;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-subtext {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-heading {
  text-align: center;
  padding: 2rem 1rem 1.5rem 1rem;
  max-width: 960px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-heading .label {
  background-color: #ffe7d6;
  color: #ff5722;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-heading h2 {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.4;
  color: #222;
  margin: 0;
  padding: 0 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.analysis-heading .highlight {
  color: #ff5722;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Analysis Section Placement Flex Layout */
/* Analysis Section Placement Flex Layout */
.analysis-section-placement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* 큰 화면에서만 960px 제한 */
.analysis-section-placement > .evidence-header,
.analysis-section-placement > section.analysis-section-placement {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* 작은 화면에서 max-width 해제 */
@media (max-width: 768px) {
  .analysis-section-placement > .evidence-header,
  .analysis-section-placement > section.analysis-section-placement {
    max-width: none;       /* <- 고정 폭 제거 */
    width: 100%;           /* <- 화면을 꽉 채우도록 */
    padding: 0 1rem;       /* <- 안쪽 여백만 남김 */
    box-sizing: border-box; /* <- padding 포함 계산 */
  }
}

/* Shark Tank Section */
.shark-tank-section {
  background: linear-gradient(180deg, #001a33 0%, #003d66 50%, #001a33 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

/* Deep ocean background with shark illustrations */
.shark-tank-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cpath d='M100 400 Q120 390 140 395 L145 400 L140 405 Q120 410 100 400 Z' fill='%23004d7a' opacity='0.3'/%3E%3Cpath d='M1000 200 Q1020 190 1040 195 L1045 200 L1040 205 Q1020 210 1000 200 Z' fill='%23004d7a' opacity='0.3'/%3E%3Cpath d='M300 600 Q320 590 340 595 L345 600 L340 605 Q320 610 300 600 Z' fill='%23004d7a' opacity='0.2'/%3E%3Cpath d='M800 550 Q820 540 840 545 L845 550 L840 555 Q820 560 800 550 Z' fill='%23004d7a' opacity='0.2'/%3E%3Ccircle cx='200' cy='150' r='2' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='500' cy='100' r='1.5' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='900' cy='120' r='2' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='350' cy='700' r='1' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='700' cy='650' r='1.5' fill='%23ffffff' opacity='0.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
}

.shark-tank {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.shark-tank-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.shark-tank-header .section-label {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.shark-tank-header .section-heading {
  color: white !important;
  font-size: 2.5rem;
  margin: 1rem 0;
}

.shark-tank-header .section-heading .highlight {
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.shark-tank-logo {
  margin: 1.5rem 0;
}

.shark-tank-logo img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
}

.shark-tank-header .section-subtext {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Content Grid: Video + Screenshots */
.shark-tank-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

/* Left: YouTube Video - 50% width */
.shark-tank-video {
  width: 100%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Right: Screenshots 2x2 Grid - 50% width */
.shark-tank-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 100%;
}

.screenshot-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9;
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
  .shark-tank-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .shark-tank-video,
  .shark-tank-screenshots {
    width: 100%;
  }

  .shark-tank-screenshots {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Hide 3rd and 4th screenshots on mobile */
  .screenshot-item:nth-child(3),
  .screenshot-item:nth-child(4) {
    display: none;
  }

  /* Mobile: container padding 0 */
  .shark-tank .container,
  .hero .container {
    padding: 0;
  }

  .shark-tank {
    padding: 2rem 0;
  }

  .hero {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .shark-tank-header .section-heading {
    font-size: 1.8rem !important;
  }

  .shark-tank-logo img {
    max-width: 200px;
  }

  .shark-tank-screenshots {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .screenshot-item {
    aspect-ratio: 16 / 9;
  }

  /* Ensure container padding 0 on small mobile */
  .shark-tank .container,
  .hero .container {
    padding: 0;
  }

  .shark-tank-header {
    padding: 0 1rem;
  }

  .shark-tank-content {
    padding: 0 1rem;
  }

  .tqm-partnership {
    margin: 0 1rem;
  }

  .hero-left,
  .hero-right {
    padding: 0 1rem;
  }
}

/* TQM Partnership Section */
.tqm-partnership {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.tqm-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tqm-logo img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

.tqm-content {
  color: white;
}

.tqm-content h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tqm-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 2rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.tqm-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  min-width: 150px;
  flex: 1;
  box-sizing: border-box;
  max-width: 100%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00d4ff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Responsive Design for TQM Section */
@media (max-width: 968px) {
  .tqm-partnership {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .tqm-logo {
    padding: 1.5rem;
  }

  .tqm-logo img {
    max-width: 200px;
  }

  .tqm-content h3 {
    font-size: 1.5rem;
  }

  .tqm-stats {
    gap: 1.5rem;
    width: 100%;
    overflow: hidden;
  }

  .stat-item {
    min-width: 120px;
    flex: 1 1 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .tqm-partnership {
    padding: 1.5rem;
  }

  .tqm-content h3 {
    font-size: 1.3rem;
  }

  .tqm-content p {
    font-size: 1rem;
  }

  .tqm-stats {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
  }

  .stat-item {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .stat-number {
    font-size: 2rem;
  }
}