/* ========================================
   UriNavi - Hero Section Styles (Target Style)
   ======================================== */

.hero {
  position: relative;
  padding: 60px 0 40px;
  background-color: #ffffff;
  overflow: hidden;
}

.hero--home {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: visible;
  background-color: var(--urinavi-bg);
}

.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
}

/* Hero Two Column Layout */
.hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__text {
  text-align: center;
  max-width: 600px;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 8px;
  background-color: #ff4757;
  color: var(--color-white);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-family-jp);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 48px;
  margin-bottom: 20px;
}

.hero__badge--new {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero__title {
  font-size: var(--urinavi-hero-title);
  font-weight: 800;
  font-family: var(--font-family-jp);
  color: var(--urinavi-text);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero--home .hero__title {
  color: #ffffff;
  font-size: clamp(56px, 8vw, 96px);
  /* 黑色描边 */
  -webkit-text-stroke: 2px #111111;
  text-stroke: 2px #111111;
  paint-order: stroke fill;
  /* 更深的橙色阴影 */
  text-shadow:
    0 4px 8px rgba(204, 106, 0, 0.6),
    0 8px 16px rgba(204, 106, 0, 0.4);
}

.hero__title--highlight {
  color: var(--urinavi-green);
}

.hero__subtitle {
  font-size: calc(var(--urinavi-hero-subtitle) * 1.3);
  font-family: var(--font-family-jp);
  color: #000000;
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 700;
  /* 白色阴影效果 */
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 8px rgba(255, 255, 255, 0.5);
  /* 自动换行 */
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 首屏橙色区域描述文字 - 白色文字 + 黑色描边 */
.hero-description-text {
  font-size: calc(var(--urinavi-hero-subtitle) * 1.3);
  font-family: var(--font-family-jp);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 16px;

  /* 干净的黑色描边 - 使用 text-shadow 方式确保跨浏览器兼容 */
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow:
    1px 0 0 #111111,
    -1px 0 0 #111111,
    0 1px 0 #111111,
    0 -1px 0 #111111,
    1px 1px 0 #111111,
    -1px 1px 0 #111111,
    1px -1px 0 #111111,
    -1px -1px 0 #111111;
  filter: none;

  /* 自动换行 */
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .hero-description-text {
    font-size: clamp(18px, 5vw, 28px);
    line-height: 1.55;
    text-align: center;
  }
}

.hero__description {
  font-size: var(--urinavi-hero-description);
  font-family: var(--font-family-jp);
  color: #000000;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.hero__cta-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
}

.hero__image {
  position: relative;
  max-width: 100%;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__image-img--large {
  width: 150%;
  max-width: none;
}

/* Hero Decorations - Star Elements */
.hero__decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero__decoration--star {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.hero__decoration--star svg {
  width: 100%;
  height: 100%;
  fill: var(--urinavi-green);
}

.hero__decoration--circle {
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15) 0%, rgba(0, 200, 83, 0.05) 100%);
}

/* IT Subsidy Badge */
.hero__subsidy-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 10px 20px;
  background-color: var(--urinavi-light-green);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-family-jp);
  color: #0a8f73;
  font-weight: 600;
  margin-top: 24px;
}

.hero__subsidy-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--urinavi-green);
}

/* Hero Free Trial Button */
.hero__free-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background-color: var(--urinavi-green);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 18px;
  font-family: var(--font-family-jp);
  font-weight: 700;
  transition: all var(--transition-base);
  text-decoration: none;
}

.hero__free-btn:hover {
  background-color: var(--urinavi-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
}

/* Hero Stats Row */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(0, 200, 83, 0.1);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--urinavi-green);
}

.hero__stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
}

/* Hero with Side Image */
.hero--split {
  padding: var(--spacing-3xl) 0;
}

.hero--split .hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.hero--split .hero__content {
  text-align: left;
  align-items: flex-start;
}

.hero--split .hero__image {
  margin-top: 0;
  flex: 1;
  max-width: 500px;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .hero__cta {
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
    justify-content: flex-start;
  }

  /* PC端：按钮和标签高度一致、垂直居中对齐 */
  .hero__free-btn,
  .hero__subsidy-badge {
    height: 64px;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .hero__free-btn {
    min-width: 180px;
    padding: 0 36px;
  }

  .hero__subsidy-badge {
    min-width: 260px;
    padding: 0 28px;
    margin-top: 0;
    border-radius: 10px;
  }

  .hero--split .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero--split .hero__content {
    flex: 1;
  }

  /* PC端：橙色背景高度与右侧图片高度一致 */
  .hero--home {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero__layout {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
  }

  .hero__text {
    text-align: left;
    flex: 1;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__visual {
    flex: 1;
    max-width: 1350px;
    display: flex;
    align-items: stretch;
  }

  .hero__image {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .hero__image-img {
    display: block;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 0;
    padding-top: 24px;
  }

  .hero--home {
    min-height: auto;
    padding: 40px 0 60px;
    padding-top: 64px;
  }

  .hero__title {
    font-size: clamp(38px, 8vw, 48px);
  }

  .hero__subtitle {
    font-size: clamp(16px, 4vw, 18px);
  }

  .hero__description {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .hero__visual {
    width: 100%;
    max-width: 100%;
  }

  /* 首页首屏图片在移动端单独隐藏 */
  .hero--home .hero__image {
    display: none;
  }

  /* 其他页面的 Hero 图片在移动端正常显示 */
  .hero__image {
    display: flex;
    max-width: 100%;
    justify-content: center;
    align-items: center;
  }

  .hero__image-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  /* 手机端：保持垂直布局 */
  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero__subsidy-badge {
    margin-top: 24px;
    height: auto;
    min-height: auto;
  }
}

/* ========================================
   UriNavi - Stats Section
   ======================================== */

.stats {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0;
}

.stats__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.stats__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-xl);
}

.stats__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.stats__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xl);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.stats__number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

.stats__number span {
  font-size: var(--font-size-lg);
}

.stats__label {
  font-size: var(--font-size-base);
  opacity: 0.9;
}

.stats__cta {
  margin-top: var(--spacing-md);
}

.stats__cta-label {
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}

@media (max-width: 767px) {
  .stats__list {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .stats__item {
    min-width: auto;
  }

  .stats__number {
    font-size: var(--font-size-xl);
  }
}

/* ========================================
   UriNavi - Features Section
   ======================================== */

.features {
  padding: var(--spacing-4xl) 0;
}

.features__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.features__header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.features__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.features__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-gray-400);
}

.features__grid {
  display: grid;
  gap: var(--spacing-xl);
}

.features__item {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.features__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.features__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(60, 83, 244, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.features__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.features__item-title {
  font-size: var(--font-size-md);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.features__item-text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: 1.7;
}

/* Grid Layouts */
@media (min-width: 768px) {
  .features__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 767px) {
  .features {
    padding: var(--spacing-2xl) 0;
  }

  .features__header {
    margin-bottom: var(--spacing-xl);
  }

  .features__item {
    padding: var(--spacing-lg);
  }
}

/* ========================================
   UriNavi - CTA Section
   ======================================== */

.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #5a6ff7 100%);
  color: var(--color-white);
  padding: var(--spacing-4xl) 0;
  text-align: center;
}

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.cta__text {
  font-size: var(--font-size-base);
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.cta__trial {
  margin-top: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.cta__trial-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-success);
}

.cta__trial-label {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-sm);
}

.cta__trial-text {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cta__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .cta {
    padding: var(--spacing-2xl) 0;
  }

  .cta__trial {
    padding: var(--spacing-lg);
  }
}

/* ========================================
   UriNavi - Problems Section
   ======================================== */

.problems {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-gray-100);
}

.problems__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.problems__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.problems__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.problems__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.problems__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.problems__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.problems__text {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
}

@media (max-width: 767px) {
  .problems {
    padding: var(--spacing-2xl) 0;
  }

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

/* ========================================
   UriNavi - Page Title Section
   ======================================== */

.page-title {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
  text-align: center;
}

.page-title__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.page-title__breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}

.page-title__breadcrumb a {
  color: var(--color-primary);
}

.page-title__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.page-title__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page-title {
    padding: var(--spacing-xl) 0;
    padding-top: calc(var(--spacing-xl) + 24px);
  }

  .page-title__title {
    font-size: var(--font-size-lg);
  }
}

/* ========================================
   UriNavi - Content Section
   ======================================== */

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

.content-section__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.content-section__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--color-primary);
}

.content-section__text {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-gray-500);
}

.content-section__text p {
  margin-bottom: var(--spacing-md);
}

.content-section__list {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.content-section__list li {
  list-style: disc;
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray-500);
}

@media (max-width: 767px) {
  .content-section {
    padding: var(--spacing-xl) 0;
  }
}

/* ========================================
   UriNavi - Steps Section
   ======================================== */

.steps {
  padding: var(--spacing-3xl) 0;
}

.steps__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.steps__header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.steps__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.steps__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--font-size-md);
  font-weight: 700;
}

.steps__content {
  flex: 1;
}

.steps__item-title {
  font-size: var(--font-size-md);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.steps__item-text {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
}

.steps__image {
  flex: 1;
  max-width: 300px;
}

.steps__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

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

  .steps__item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .steps__item:nth-child(even) .steps__content {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .steps {
    padding: var(--spacing-2xl) 0;
  }

  .steps__number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-base);
  }

  .steps__image {
    max-width: 100%;
  }
}

/* ========================================
   UriNavi - Company Section
   ======================================== */

.company {
  padding: var(--spacing-3xl) 0;
}

.company__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.company__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.company__info {
  flex: 1;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table tr {
  border-bottom: 1px solid var(--color-gray-200);
}

.company__table th {
  width: 150px;
  padding: var(--spacing-md) 0;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.company__table td {
  padding: var(--spacing-md) 0;
  color: var(--color-gray-500);
}

.company__map {
  flex: 1;
  max-width: 400px;
}

.company__map img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

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

@media (max-width: 767px) {
  .company {
    padding: var(--spacing-xl) 0;
  }

  .company__table th {
    width: 100px;
  }
}

/* ========================================
   UriNavi - Review Section
   ======================================== */

.reviews {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-gray-100);
}

.reviews__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.reviews__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.reviews__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.reviews__list {
  display: grid;
  gap: var(--spacing-xl);
}

.reviews__item {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.reviews__text {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-md);
  font-style: italic;
  line-height: 1.8;
}

.reviews__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.reviews__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

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

.reviews__name {
  font-weight: 600;
}

.reviews__platform {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
}

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

@media (max-width: 767px) {
  .reviews {
    padding: var(--spacing-2xl) 0;
  }

  .reviews__item {
    padding: var(--spacing-lg);
  }
}
