/* /var/www/imrentcar/app/static/css/user/background.css */
/* -*- coding: utf-8 -*- */

/* ============================================================
   IM Rent Car User Background CSS
   ------------------------------------------------------------
   역할:
   - 소비자용 메인/랜딩 페이지 배경 스타일
   - 관리자 CSS와 분리
   - common.css의 기본값 위에서 사용자 화면만 확장
============================================================ */

.user-main-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 78%, rgba(72, 184, 137, 0.56), transparent 26%),
    radial-gradient(circle at 38% 66%, rgba(112, 212, 168, 0.36), transparent 34%),
    radial-gradient(circle at 72% 18%, rgba(238, 242, 255, 0.68), transparent 34%),
    linear-gradient(135deg, #f8fbfa 0%, #eef8f3 44%, #f4f7fb 100%);
}

/* 왼쪽 상단의 큰 자연 곡선 */
.user-main-hero::before {
  content: "";
  position: absolute;
  left: -260px;
  top: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 64%, rgba(255, 255, 255, 0.78), transparent 44%),
    linear-gradient(135deg, rgba(72, 184, 137, 0.7), rgba(112, 212, 168, 0.28));
  opacity: 0.9;
  pointer-events: none;
}

/* 상단 오른쪽 고정형 글래스 패널 느낌 */
.user-main-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -160px;
  width: 680px;
  height: 330px;
  border-radius: 0 0 0 96px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(233, 248, 241, 0.48) 52%,
      rgba(244, 247, 251, 0.32) 100%
    );
  box-shadow:
    0 36px 90px rgba(23, 32, 51, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

/* 실제 콘텐츠 영역 */
.user-main-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0 64px;
}

/* 상단 영역 */
.user-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-brand strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #183f36;
}

.user-brand span {
  font-size: 13px;
  font-weight: 600;
  color: #667085;
}

/* 히어로 문구 */
.user-hero-content {
  max-width: 620px;
  padding-top: 150px;
}

.user-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  margin: 0 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #183f36;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(23, 63, 54, 0.08);
}

.user-hero-content h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  color: #172033;
}

.user-hero-desc {
  max-width: 480px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
  color: #667085;
}

/* 버튼 */
.user-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.user-primary-btn,
.user-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.user-primary-btn {
  color: #ffffff;
  background: #183f36;
  box-shadow: 0 16px 34px rgba(24, 63, 54, 0.22);
}

.user-primary-btn:hover {
  transform: translateY(-2px);
  background: #12342d;
  box-shadow: 0 20px 42px rgba(24, 63, 54, 0.28);
}

.user-secondary-btn {
  color: #183f36;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 63, 54, 0.12);
}

.user-secondary-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
}

/* 모바일 */
@media (max-width: 768px) {
  .user-main-hero {
    background:
      radial-gradient(circle at 18% 18%, rgba(72, 184, 137, 0.38), transparent 36%),
      radial-gradient(circle at 82% 8%, rgba(238, 242, 255, 0.62), transparent 34%),
      linear-gradient(180deg, #f8fbfa 0%, #eef8f3 48%, #f4f7fb 100%);
  }

  .user-main-hero::before {
    left: -260px;
    top: -280px;
    width: 560px;
    height: 560px;
  }

  .user-main-hero::after {
    top: -80px;
    right: -260px;
    width: 520px;
    height: 260px;
    border-radius: 0 0 0 72px;
  }

  .user-main-inner {
    width: min(100% - 32px, 1180px);
    padding: 24px 0 56px;
  }

  .user-hero-content {
    padding-top: 110px;
  }

  .user-hero-content h1 {
    font-size: 42px;
  }

  .user-hero-desc {
    font-size: 16px;
  }

  .user-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .user-primary-btn,
  .user-secondary-btn {
    width: 100%;
  }
}