/* ===== main.css - 메인 페이지 스타일 ===== */

/* CSS 변수들 추가 */
:root { 
  /* 누락된 CSS 변수들 추가 */
  --bg-light: #f8f9fa;
  --border-color: #e9ecef;
  --border-light: #dee2e6;
  --brand-primary: #1e3a8a;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --info-color: #17a2b8;
  --bg-white: #ffffff;
  --brand-secondary: #1e40af;
}

/* 스크롤 동작 개선 */
html {
    scroll-behavior: auto; /* 부드러운 스크롤 비활성화 */
    height: auto; /* body를 scroll container로 만들지 않도록 (Edge 호환) */
}

body {
    scroll-behavior: auto; /* 부드러운 스크롤 비활성화 */
    height: auto; /* overflow-x: hidden이 overflow-y: auto를 유발하지 않도록 */
    overflow-y: visible; /* window가 scroll container가 되도록 */
}

/* 페이지 로드 시 스크롤 위치 강제 리셋 */
body.page-loading {
    scroll-behavior: auto;
}

/* 로딩 화면 */
.hero-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff; /* 깔끔한 흰색 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

/* 로딩 스피너 */
.hero-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb; /* 연한 회색 */
  border-top: 3px solid #1e3a8a; /* 브랜드 블루 */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 이미지 로딩 완료 후 로딩 화면 숨김 */
.hero-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ---------- Hero ---------- */
.full-page-hero {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 1;
  visibility: visible;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.full-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 20, 0.94) 0%,
      rgba(2, 8, 20, 0.68) 42%,
      rgba(2, 8, 20, 0.42) 100%
    );
  z-index: 1;
}

/* 이미지 로딩 완료 후 히어로 섹션 표시 */
.full-page-hero.image-loaded {
  display: flex;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out;
}

.hero-text {
  text-align:center;  z-index:2;
  position:absolute; top:28%; left:52%; transform:translate(-50%,-50%);
  width:100%; max-width:800px;
}

/* 모바일에서 히어로 텍스트 위치 조정 */
@media (max-width: 768px) {
  .hero-text {
    top: 28%;
    left: 50%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    margin: 20px 20px 2rem;
  }
  
  .hero-text .content-group p {
    font-size: 1.2rem; /* 모바일에서 설명 글씨 크기 조정 */
    margin: 0 20px 1.5rem; /* 모바일에서 마진 조정 */
  }
}

/* 터치 디바이스 전용 스타일 (F12 모바일 모드에서도 적용) */
@media (hover: none) and (pointer: coarse) {
  .hero-text {
    top: 28%; /* 터치 디바이스에서도 동일한 위치 */
    padding: 0 20px; /* 터치 디바이스에 맞는 패딩 */
  }
  
  .hero-text h1 {
    font-size: 2.5rem; /* 터치 디바이스에 맞는 글씨 크기 */
    margin: 20px 20px 2rem;
  }
  
  .hero-text .content-group p {
    font-size: 1.2rem; /* 터치 디바이스에 맞는 글씨 크기 */
    margin: 0 20px 1.5rem;
  }
  
  /* 터치 디바이스에서 스크롤 인디케이터 조정 */
  .scroll-indicator {
    bottom: 100px; /* 터치 디바이스에서 더 위로 */
  }
}

/* F12 모바일 모드 및 기기 모드 전용 스타일 */
@media (max-width: 768px) and (orientation: portrait),
       (max-width: 768px) and (max-height: 1024px) {
  .hero-text {
    top: 28%; /* 기기 모드에서도 동일한 위치 */
    padding: 0 15px; /* 기기 모드에서 패딩 줄임 */
  }
  
  .hero-text h1 {
    font-size: 2.2rem; /* 기기 모드에서 글씨 크기 조정 */
    margin: 15px 15px 1.5rem;
  }
  
  .hero-text .content-group p {
    font-size: 1.1rem; /* 기기 모드에서 글씨 크기 조정 */
    margin: 0 15px 1rem;
  }
  
  /* 기기 모드에서 스크롤 인디케이터 조정 */
  .scroll-indicator {
    bottom: 90px; /* 기기 모드에서 더 위로 */
  }
  
  /* 기기 모드에서 fixed-logo-background 조정 */
  .fixed-logo-background {
    top: 35%; /* 기기 모드에서 위치 조정 */
    left: 8%; /* 기기 모드에서 왼쪽으로 이동 */
  }
}

/* 매우 작은 기기 모드 화면 */
@media (max-width: 480px) and (orientation: portrait),
       (max-width: 480px) and (max-height: 800px) {
  .hero-text {
    top: 28%; /* 매우 작은 화면에서도 동일한 위치 */
    padding: 0 10px; /* 매우 작은 화면에서 패딩 더 줄임 */
  }
  
  .hero-text h1 {
    font-size: 1.8rem; /* 매우 작은 화면에서 글씨 크기 더 줄임 */
    margin: 10px 10px 1rem;
  }
  
  .hero-text .content-group p {
    font-size: 1rem; /* 매우 작은 화면에서 글씨 크기 더 줄임 */
    margin: 0 10px 0.8rem;
  }
  
  /* 매우 작은 화면에서 스크롤 인디케이터 조정 */
  .scroll-indicator {
    bottom: 80px; /* 매우 작은 화면에서 더 위로 */
  }
  
  /* 매우 작은 화면에서 fixed-logo-background 조정 */
  .fixed-logo-background {
    top: 30%; /* 매우 작은 화면에서 위치 조정 */
    left: 5%; /* 매우 작은 화면에서 왼쪽으로 이동 */
  }
}

/* 세로 모드 기기 모드 전용 */
@media (orientation: portrait) and (max-width: 768px) {
  .hero-text {
    top: 28%;
    padding: 0 12px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin: 12px 12px 1.2rem;
  }
  
  .hero-text .content-group p {
    font-size: 1.05rem;
    margin: 0 12px 0.9rem;
  }
  
  .scroll-indicator {
    bottom: 85px;
  }
  
  .fixed-logo-background {
    top: 32%;
    left: 6%;
  }
}

/* 디바이스 클래스 기반 스타일 (JavaScript로 추가되는 클래스) */
body.touch-device .hero-text {
  top: 28%; /* 터치 디바이스에서 히어로 텍스트 위치 고정 */
}

body.touch-device .scroll-indicator {
  bottom: 100px; /* 터치 디바이스에서 스크롤 인디케이터 위치 조정 */
}

body.device-mobile .hero-text h1 {
  font-size: 2.5rem; /* 모바일 디바이스에서 글씨 크기 */
}

body.device-tablet .hero-text h1 {
  font-size: 2.8rem; /* 태블릿 디바이스에서 글씨 크기 */
}

/* 작은 모바일 화면에서 히어로 텍스트 추가 조정 */
@media (max-width: 480px) {
  .hero-text {
    top: 28%; /* 전체화면과 동일한 위치 유지 */
    padding: 0 15px; /* 좌우 패딩 추가 */
  }
  
  .hero-text h1 {
    font-size: 2rem; /* 더 작은 화면에서 글씨 크기 조정 */
    margin: 15px 15px 1.5rem; /* 더 작은 화면에서 마진 조정 */
  }
  
  .hero-text .content-group p {
    font-size: 1rem; /* 더 작은 화면에서 설명 글씨 크기 조정 */
    margin: 0 15px 1rem; /* 더 작은 화면에서 마진 조정 */
  }
}
.hero-text h1{
  font-size:3.2rem; font-weight:700; margin:30px 30px 2.5rem; line-height:1.2;
  
}
.hero-text h1 .highlight-text{ font-weight:500; font-size:2.8rem; }
.hero-text h1 .hero-line-break-mobile{ display:inline; }
.hero-text p{ font-size:1.4rem; margin:0 30px 2rem; line-height:1.4; text-shadow:0 1px 3px rgba(0,0,0,.3); }
.hero-buttons{ 
  display:flex; 
  gap:1rem; 
  justify-content:center; 
  flex-wrap:wrap; 
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
}
.hero-text .content-group{ }

.hero-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.2rem;
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    letter-spacing: 0.02em;
}

.hero-contact i {
    font-size: 1.1rem;
    opacity: 0.85;
}

.btn{ padding:14px 28px 10px; border-radius:8px; text-decoration:none; font-weight:500; font-size:.9rem; transition:.3s; display:inline-block; }
.btn-primary{ background:var(--brand-primary); color:var(--bg-white); box-shadow:0 4px 15px rgba(30,58,138,.4); }
.btn-primary:hover{ background:var(--brand-secondary); transform:translateY(-2px); box-shadow:0 6px 20px rgba(30,58,138,.6); }
.btn-secondary{ 
    background:rgba(0,0,0,.6); 
    color:var(--bg-white); 
  border:2px solid rgba(255,255,255,.3); 
}
.btn-secondary:hover{ 
  background:rgba(255,255,255,.3); 
  border-color:rgba(255,255,255,.5); 
  transform:translateY(-2px); 
}

/* 스크롤 인디케이터 */
.scroll-indicator{ position:absolute; bottom:80px; left:50%; transform:translateX(-50%); z-index:2; text-align:center; color:#fff; }
.scroll-indicator .mouse-icon{ width:24px; height:40px; border:2px solid rgba(255,255,255,.9); border-radius:16px; margin:0 auto 12px; position:relative; }
.scroll-indicator .mouse-icon::before{ content:''; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:6px; background:#fff; border-radius:1.5px; animation:scrollWheel 2s infinite; }
.scroll-indicator .scroll-text{ font-size:.8rem; letter-spacing:.5px; opacity:.8; }
@keyframes scrollWheel{ 0%,100%{transform:translateX(-50%) translateY(0);opacity:.8;} 50%{transform:translateX(-50%) translateY(15px);opacity:.3;} }

/* ---------- 좌 고정 + 우 카드 스택 ---------- */
.product-scroll{
  position: relative;
  background: transparent;
  padding: 0;
  margin: 0;
  height: auto;
  overflow: visible;
  width: 100%;
}

/* 고정된 로고 배경 */
.fixed-logo-background {
  position: fixed;
  top: 25%;
  left: 10%;
  transform: translate(-50%, -50%);
  z-index: -10;
  pointer-events: none;
}

.fixed-logo-background .background-logo {
  width: 800px;
  height: 600px;
  object-fit: contain;
  opacity: 0.25;
  filter: grayscale(20%) brightness(0.9);
  transition: opacity 0.3s ease;
}

/* 중간크기 화면 (태블릿) - 1200px 이하 */
@media (max-width: 1200px) {
  .fixed-logo-background {
    display: none;
  }
  
  .product-scroll .product-left .trial-info {
    padding-left: 50px;
    text-align: center;
  }
}

/* 모바일 화면 - 768px 이하 */
@media (max-width: 768px) {
  .fixed-logo-background {
    display: none;
  }
  
  .product-scroll .product-left .trial-info {
    padding-left: 20px;
    text-align: center;
  }
  
  /* 모바일에서 핸드폰 배경 이미지 조정 */
  .product-scroll .new-content-section .phone-container::before {
    left: -20px; /* right에서 left로 변경 */
    width: 200px; /* 크기 줄임 */
    height: 234px;
    opacity: 1; /* 뿌얗게 하지 않음 */
  }
}

.product-scroll .pin-inner{
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  height: auto;
  padding-bottom: 60px;
  position: relative;
  background: transparent;
}

/* 새로운 콘텐츠 영역 */
.product-scroll .new-content-section {
  width: 100%;
  min-height: auto;
  background: #f8f9fa;
  padding: 80px 40px;
  margin: 0;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

/* 새로운 콘텐츠 영역 내부 컨테이너 */
.product-scroll .new-content-section .content-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* 새로운 콘텐츠 제목 */
.product-scroll .new-content-section h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 30px;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.3;
}

/* 새로운 콘텐츠 설명 */
.product-scroll .new-content-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  font-family: 'Pretendard', sans-serif;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Google Play 버튼 스타일 */
.product-scroll .new-content-section .google-play-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  display: inline-block;
}

/* 모바일 전용 버튼: 데스크탑에서는 숨김 */
.product-scroll .new-content-section .google-play-btn--mobile {
  display: none;
}

.product-scroll .new-content-section .google-play-btn:hover {
  transform: translateY(-2px);
}

/* Google Play 완전한 버튼 스타일 */
.product-scroll .new-content-section .google-play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #000;
  border: 1px solid #000;
  padding: 12px 24px;
  border-radius: 8px;
}

/* Google Play 로고 이미지 */
.product-scroll .new-content-section .google-play-icon {
  height: 24px;
  width: 24px;
  transition: .3s;
  object-fit: contain;
}

/* Google Play 텍스트 */
.product-scroll .new-content-section .google-play-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #000;
}

/* 핸드폰 컨테이너 */
.product-scroll .new-content-section .phone-container {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 이미지 영역과 텍스트 영역을 1:1 비율로 분할 */
  gap: 40px; /* 이미지와 텍스트 사이 간격 */
  align-items: center;
  padding-left: 150px; /* 이미지가 화면 밖으로 나가지 않도록 늘림 */
  position: relative; /* 배경 이미지 위치 기준점 */
  transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

/* phone-image-area가 숨겨졌을 때 phone-container 레이아웃 조정 */
.product-scroll .new-content-section .phone-container.phone-image-hidden {
  grid-template-columns: 1fr; /* 텍스트 영역만 표시 */
  gap: 0; /* 간격 제거 */
  padding-left: 0; /* 왼쪽 패딩 제거 */
  justify-items: center; /* 중앙 정렬 */
}

/* 핸드폰 이미지 영역 */
.product-scroll .new-content-section .phone-container .phone-image-area {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

/* 핸드폰 이미지 그룹 */
.product-scroll .new-content-section .phone-container .phone-image-group {
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(18px);
}


/* 스크롤 애니메이션 활성화 클래스 */
.product-scroll .new-content-section .phone-container .phone-image-group.animate {
  transform: translateY(0);
}

/* 모든 이미지가 동시에 애니메이션되도록 그룹화 */
.product-scroll .new-content-section .phone-container .phone-image-area.animate .phone-left-image,
.product-scroll .new-content-section .phone-container .phone-image-area.animate .phone-frame {
  transform: translateY(0);
}

/* 개별 이미지들도 스크롤 애니메이션 - 동시에 떠오르도록 */
.product-scroll .new-content-section .phone-container .phone-left-image {
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(12px) scale(0.994);
}

.product-scroll .new-content-section .phone-container .phone-left-image.animate {
  transform: translateY(0) scale(1);
}

.product-scroll .new-content-section .phone-container .phone-frame {
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(12px) scale(0.994);
}

.product-scroll .new-content-section .phone-container .phone-frame.animate {
  transform: translateY(0) scale(1);
}

/* 핸드폰 왼쪽에 추가된 alrimi_app 이미지 */
.product-scroll .new-content-section .phone-container .phone-left-image {
  width: auto;
  height: 382px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: -140px; /* 핸드폰 뒤쪽으로 이동 (크기 증가에 맞춰 조정) */
  z-index: -1; /* 핸드폰 뒤에 배치 */
  bottom: 34px;
}

/* picture 태그 내부 이미지 스타일링 */
.product-scroll .new-content-section .phone-container .phone-left-image img,
.product-scroll .new-content-section .phone-container .phone-app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* 핸드폰 텍스트 영역 */
.product-scroll .new-content-section .phone-container .phone-left-image {
  left: -136px;
}

.product-scroll .new-content-section .phone-container .phone-text-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  padding-bottom: 80px;
  gap: 30px;
  text-align: left;
  transition: all 0.3s ease;
}

/* 아이콘 + 카테고리 라벨 */
.product-scroll .new-content-section .phone-container .phone-text-area .phone-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}

.product-scroll .new-content-section .phone-container .phone-text-area .phone-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.product-scroll .new-content-section .phone-container .phone-text-area .phone-category-label {
  font-size: 1.15rem;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 0.3px;
  font-family: 'Pretendard', sans-serif;
}

/* h2 타이틀 스타일 재정의 */
.product-scroll .new-content-section .phone-container .phone-text-area h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.5px;
  font-family: 'Pretendard', sans-serif;
}

/* 설명 텍스트 */
.product-scroll .new-content-section .phone-container .phone-text-area p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.75;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}


/* phone-image-area가 숨겨졌을 때 phone-text-area 중앙 정렬 */
.product-scroll .new-content-section .phone-container.phone-image-hidden .phone-text-area {
  text-align: center; /* 텍스트를 중앙 정렬 */
  padding-right: 0; /* 오른쪽 패딩 제거 */
  max-width: 600px; /* 최대 너비 제한 */
  margin: 0 auto; /* 중앙 정렬 */
}

/* 핸드폰 텍스트 영역 내 텍스트 요소들 */
.product-scroll .new-content-section .phone-container .phone-text-area h2,
.product-scroll .new-content-section .phone-container .phone-text-area p {
  margin-left: 0; /* 왼쪽 마진 제거 */
  margin-right: 0; /* 오른쪽 마진도 0으로 통일 */
  text-align: left; /* 텍스트를 왼쪽 정렬 */
}

/* 핸드폰 텍스트 영역 내 구글 플레이 버튼 */
.product-scroll .new-content-section .phone-container .phone-text-area .google-play-btn {
  align-self: flex-start; /* 버튼을 왼쪽 정렬 */
  margin-top: 10px; /* 상단 여백 추가 */
  margin-left: 0; /* 왼쪽 마진 제거 */
  text-align: left; /* 버튼 내부 텍스트를 왼쪽 정렬 */
  transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

/* phone-image-area가 숨겨졌을 때 구글 플레이 버튼 왼쪽 정렬 */
.product-scroll .new-content-section .phone-container.phone-image-hidden .phone-text-area .google-play-btn {
  align-self: flex-start; /* 버튼을 왼쪽 정렬 */
  margin-left: 0; /* 왼쪽 마진 0 */
  margin-right: auto; /* 오른쪽 마진 자동 */
}



/* 핸드폰 프레임 */
.product-scroll .new-content-section .phone-frame {
    width: 304px;
    height: 552px;
    background: #2d2d2d;
    border-radius: 40px;
    padding: 7px;
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.4),
        0 0 0 1px #555,
        inset 0 0 0 1px #111;
    position: relative;
}

/* 핸드폰 화면 */
.product-scroll .new-content-section .phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 상태바 */
.product-scroll .new-content-section .phone-status-bar {
  height: 28px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
}

.product-scroll .new-content-section .phone-time {
  font-size: 11px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.3px;
}

.product-scroll .new-content-section .phone-punch-hole {
  width: 9px;
  height: 9px;
  background: #1a1a1a;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.product-scroll .new-content-section .phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #111;
  font-size: 9px;
}

/* 핸드폰 앱 이미지 */
.product-scroll .new-content-section .phone-app-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  aspect-ratio: 292/540;
  flex: 1;
}

/* CSS로 만든 Google Play 4색 로고 - 실제 로고와 동일 */
.product-scroll .new-content-section .google-play-css {
  width: 60px;
  height: 60px;
  position: relative;
  background: 
    linear-gradient(45deg, #4285f4 0%, #4285f4 25%, transparent 25%),
    linear-gradient(45deg, transparent 25%, #34a853 25%, #34a853 50%, transparent 50%),
    linear-gradient(45deg, transparent 50%, #fbbc04 50%, #fbbc04 75%, transparent 75%),
    linear-gradient(45deg, transparent 75%, #ea4335 75%, #ea4335 100%);
  background-size: 100% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  border-radius: 4px;
  transition: .3s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.product-scroll .new-content-section .google-play-btn:hover .google-play-css {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) brightness(1.05);
}

@media (max-width: 1440px) {
  .product-scroll .new-content-section .phone-container {
    gap: 24px;
    padding-left: 108px;
  }

  .product-scroll .new-content-section .phone-container .phone-left-image {
    height: 342px;
    left: -122px;
    bottom: 28px;
  }

  .product-scroll .new-content-section .phone-frame {
    width: 282px;
    height: 512px;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area h2 {
    font-size: 2.15rem;
  }
}

@media (max-width: 1280px) {
  .product-scroll .new-content-section .phone-container {
    gap: 18px;
    padding-left: 92px;
  }

  .product-scroll .new-content-section .phone-container .phone-left-image {
    display: none;
  }

  .product-scroll .new-content-section .phone-frame {
    width: 258px;
    height: 468px;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area h2 {
    font-size: 1.95rem;
  }
}

.product-scroll .product-left{
  position: sticky;
  top: 80px;
  height: fit-content;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
  z-index: 10;
}

/* 왼쪽 패널 내부 텍스트 스타일 */
.product-scroll .product-left h1,
.product-scroll .product-left h2,
.product-scroll .product-left h3,
.product-scroll .product-left h4,
.product-scroll .product-left h5,
.product-scroll .product-left h6 {
  font-family: 'Gmarket SansBold', sans-serif;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.product-scroll .product-left p {
  font-family: 'Gmarket SansBold', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 15px 0;
}

/* 무료 체험 섹션 스타일 */
.product-scroll .product-left .trial-info {
  margin-top: 100px; /* 상단 여백을 줄임 */
  padding-top: 0;
  border-top: none;
  padding-left: 0; /* 기본값 제거 */
}

/* 전체화면에서만 padding-left 적용 */
@media (min-width: 1201px) {
  .product-scroll .product-left .trial-info {
    padding-left: 100px;
  }
}

.product-scroll .product-left .trial-title {
  font-size: 2rem; /* 글씨 크기를 줄임 */
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 15px 0; /* 여백을 줄임 */
  line-height: 1.3;
  font-family: 'Gmarket SansBold', sans-serif;
}

.product-scroll .product-left .trial-description {
  font-size: 1rem; /* 글씨 크기를 줄임 */
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 20px 0 20px 0; /* 여백을 줄임 */
  font-family: 'Gmarket SansBold', sans-serif;
}

.product-scroll .product-left .trial-btn {
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 12px 24px; /* 버튼 패딩을 줄임 */
  font-size: 1rem; /* 글씨 크기를 줄임 */
  font-weight: 600;
  border-radius: 6px; /* 모서리를 조금 줄임 */
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  display: inline-block;
  font-family: 'Gmarket SansBold', sans-serif;
  box-shadow: 0 3px 15px rgba(30,58,138,.4); /* 그림자도 줄임 */
  align-self: flex-start;
  margin-bottom: 120px; /* 버튼 아래 여백을 줄임 */
}

.product-scroll .product-left .trial-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30,58,138,.6);
}

.product-scroll .product-right{
  padding: 0px 80px 20px 30px;
  padding-right: 50px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  min-height: 100vh;
  background: transparent;
  margin-top: 40px; /* 이미지 부분 상단 여백을 더 늘림 */
  margin-left: 30px; /* 오른쪽으로 이동 */
  max-width: calc(100% - 80px); /* fixed-menu 너비만큼 줄여서 겹치지 않도록 */
  overflow: visible; /* 넘치는 내용 표시 (Edge 호환성) */
}

/* 좌우 이미지 섹션 공통 스타일 */
.product-scroll .image-section-left {
  flex: 1; /* 동일한 너비로 분할 */
  display: flex;
  flex-direction: column;
  min-width: 0; /* flex 아이템 최소 너비 제한 */
  max-width: 45%; /* 최대 너비를 45%로 줄여서 fixed-menu와 겹치지 않도록 */
}

/* 우측 이미지 섹션 */
.product-scroll .image-section-right {
  flex: 1; /* 동일한 너비로 분할 */
  display: flex;
  flex-direction: column;
  min-width: 0; /* flex 아이템 최소 너비 제한 */
  max-width: 45%; /* 최대 너비를 45%로 줄여서 fixed-menu와 겹치지 않도록 */
  /*margin-top: 120px;  우측 섹션 상단 마진을 더 늘림 */
}

/* 섹션 제목 스타일 */
.product-scroll .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 30px 0;
  text-align: center;
  font-family: 'Gmarket SansBold', sans-serif;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--brand-primary);
}

/* 좌측 카드 스택 */
.product-scroll .cards-left {
  display: flex;
  flex-direction: column;
  gap: 60px; /* 25px에서 40px로 늘려서 카드 간격 증가 */
  margin-top: 20px; /* 좌측 카드 스택 상단 마진 추가 */
  width: 100%; /* Edge 호환성: flex stretch 명시 */
  list-style: none; /* ul 기본 스타일 제거 */
}

/* 우측 카드 스택 */
.product-scroll .cards-right {
  display: flex;
  flex-direction: column;
  gap: 60px; /* 25px에서 40px로 늘려서 카드 간격 증가 */
  margin-top: 120px; /* 우측 카드 스택 상단 마진 추가 */
  width: 100%; /* Edge 호환성: flex stretch 명시 */
  list-style: none; /* ul 기본 스타일 제거 */
}

/* 카드 내부 직접 자식 div 너비 보장 (Edge 호환성) */
.product-scroll .product-right .product-card > div {
  width: 100%;
  display: block;
}

/* 카드 1장 = 핀 영역 1화면 */
.product-scroll .product-right .product-card{
  height: auto;
  margin: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: none;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.product-scroll .product-card a{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* imgwrap: 사진 카드 기준 16/9 비율 */
.product-scroll .product-right .product-card .imgwrap{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #f8f9fa;
  flex-shrink: 0;
}

/* picture 태그 스타일링 */
.product-scroll .product-right .product-card .imgwrap picture {
  width: 100%;
  height: 100%;
  display: block;
}

.product-scroll .product-right .product-card img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* 카드 크기에 맞게 균일하게 채움 */
  display: block;
  transition: none;
  image-rendering: auto;
}

/* 카드 하단 정보 */
.product-scroll .product-card .info{ 
  padding: 15px; 
  background: #fff;
  text-align: center;
}

.product-scroll .product-card .info h3{ 
  margin: 0 0 10px 0; 
  font-size: 1.4rem; 
  font-weight: 600; 
  color: #333;
  font-family: 'Gmarket SansBold', sans-serif;
}

.product-scroll .product-card .info p{ 
  margin: 0; 
  color: #666; 
  font-size: 1rem; 
  line-height: 1.5;
  font-family: 'Gmarket SansBold', sans-serif;
}

/* 진행 바 */
.product-scroll .progress{ 
  display: none; /* 진행 바 숨김 */
}

/* 진행 바 라벨 */
.product-scroll .progress-label {
  font-family: 'Gmarket SansBold', sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-align: center;
}

/* 반응형 */

/* 모바일에서는 카드 간격 조정 */
@media (max-width: 1024px){ /* 768px에서 1024px로 변경 */
  .product-scroll .pin-inner{
    grid-template-columns:1fr;
    position: static; /* sticky 제거 */
    height: auto;
  }
  .product-scroll .product-left{
    position: static; /* 모바일에서는 sticky가 아닌 고정으로 변경 */
    top: 0;
    background: rgba(255,255,255,.85);
    z-index: 11;
    text-align: center;
  }
  .product-scroll .product-left .trial-btn {
    align-self: center;
  }
  .product-scroll .product-right{
    z-index: 10;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
  }
  .product-scroll .image-section-left,
  .product-scroll .image-section-right {
    max-width: none;
    flex: 1;
  }

  /* 모바일에서는 카드 간격 조정 */
  .product-scroll .cards{
    gap: 20px;
  }
}

@media (max-width: 1200px){
  .product-scroll .product-left{ padding:30px 40px; }
}
@media (max-width: 768px){
  .product-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding: 0;
  }

  .product-scroll .cards-right {
    margin-top: 0; /* 모바일에서만 마진 탑 제거 */
  }
  .product-scroll .pin-inner{ 
    display: block;
    grid-template-columns:1fr; 
    position: static; /* sticky 제거 */
    height: auto;
    width: 100%;
    padding-bottom: 0;
  }
  .product-scroll .product-left{
    position: static; /* 모바일에서는 sticky가 아닌 고정으로 변경 */
    top: 0;
    padding: 24px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    z-index: 11;
    text-align: center;
    margin: 36px 0 36px;
    border-radius: 0;
    box-shadow: none;
  }
  .product-scroll .product-left .trial-info {
    margin-top: 0;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .product-scroll .product-left .trial-title {
    font-size: 1.6rem;
    margin: 12px 0 10px 0;
    word-break: keep-all;
  }
  .product-scroll .product-left .trial-description {
    font-size: 0.95rem;
    margin: 12px 0 16px 0;
    word-break: keep-all;
  }
  .product-scroll .product-left .trial-btn {
    align-self: center;
    margin-bottom: 0;
  }
  .product-scroll .product-right{
    z-index:10;
    flex-direction: column;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    gap: 28px;
    box-sizing: border-box;
    overflow: visible;
  }
  .product-scroll .image-section-left,
  .product-scroll .image-section-right {
    max-width: 100%;
    width: 100%;
  }
  .product-scroll .cards-left,
  .product-scroll .cards-right {
    width: 100%;
    margin-top: 0;
  }
  .product-scroll .product-right .product-card {
    height: auto;
    margin-top: 0;
  }
  .product-scroll .product-right .product-card .imgwrap {
    height: auto;
    aspect-ratio: 16/10;
  }
}

/* ---------- 나머지 기존 섹션들 (생략 없이 유지) ---------- */
/* 애니메이션 제거 - 깜빡임 방지 */

.intro-stats{ text-align:center; padding:60px 20px; background-color:var(--bg-light); margin:50px 0; border-top:1px solid var(--border-color); border-bottom:1px solid var(--border-color); }
.intro-stats h2{ font-size:2.2rem; color:var(--brand-primary); font-weight:600; letter-spacing:-.03em; margin-bottom:0; }

.content-section{ padding:80px 0; border-bottom:1px solid var(--border-light); background:#fff; box-shadow:0 4px 15px rgba(0,0,0,.03); margin:0 auto 30px; border-radius:8px; transition:.3s; max-width:1200px; }
.content-section:last-child{ border-bottom:none; margin-bottom:0; }
.content-section:hover{ box-shadow:0 8px 25px rgba(0,0,0,.08); transform: translateY(-5px); }
.content-section h2{ font-size:2.5rem; margin-bottom:25px; color:var(--brand-primary); font-weight:600; letter-spacing:-.02em; text-align:center; position:relative; padding-bottom:15px; }
.content-section h2::after{ content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:60px; height:3px; background:var(--info-color); border-radius:2px; }
.content-section p{ font-size:1.05rem; line-height:1.9; color:var(--text-secondary); max-width:800px; margin:0 auto; padding:0 20px; }
.content-section img{ max-width:100%; height:auto; border-radius:8px; box-shadow:0 4px 15px rgba(0,0,0,.08); margin:30px auto; display:block; }
.content-section ul, .content-section ol{ max-width:800px; margin:30px auto; padding-left:40px; color:var(--text-secondary); font-size:1.05rem; line-height:1.8; text-align:left; }
.content-section li{ margin-bottom:10px; }

/* 태블릿 화면: 2컬럼 유지, 보조 이미지 숨겨서 중앙 정렬 */
@media (max-width: 900px) {
  .product-scroll .new-content-section .phone-container {
    padding-left: 0;
  }

  .product-scroll .new-content-section .phone-container .phone-image-area {
    justify-content: center;
  }

}

@media (max-width: 768px){
  .full-page-hero{
    min-height:100vh;
    background-size: cover; /* 모바일에서 화면 전체 꽉차게 */
    background-position: center center;
    background-attachment: scroll; /* 모바일에서 fixed 제거 */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
  .hero-text{ 
    top: 28%; /* 전체화면과 동일한 위치 */
    padding:20px 15px; 
    transform: translate(-50%, -50%);
  }
  .hero-text h1{ 
    font-size:2.5rem; 
    margin:20px 15px 1.5rem; 
    line-height: 1.1;
  }
  .hero-text h1 .hero-line-break-mobile{
    display: block;
    margin-top: 4px;
  }
  .hero-text h1 .highlight-text{
    font-size: 2rem;
    font-weight: 500;
  }
  .hero-text p{ 
    font-size:1.1rem; 
    margin:0 15px 1.5rem; 
    line-height: 1.3;
  }
  .hero-buttons{ 
    gap:15px; 
    bottom: 70px;
    flex-direction: column;
    align-items: center;
  }

  /* 모바일에서 이미지 섹션 세로 배치 */
  .product-scroll .product-right {
    flex-direction: column;
    padding: 20px 40px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    margin-left: 0;
  }

  .product-scroll .image-section-left,
  .product-scroll .image-section-right {
    max-width: 100%; /* 모바일에서는 전체 너비 사용 */
  }

  .product-scroll .section-title {
    font-size: 1.8rem;
    margin: 0 0 25px 0;
  }

  .product-scroll .cards-left,
  .product-scroll .cards-right {
    gap: 20px;
    width: 100%;
  }

  .product-scroll .new-content-section {
    width: 100%;
    min-height: auto;
    background: #f8f9fa;
    padding: 48px 20px 24px;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    transform: none;
    box-sizing: border-box;
  }

  .product-scroll .new-content-section .phone-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 0;
    margin: 0;
  }

  .product-scroll .new-content-section .phone-container .phone-image-area {
    justify-content: center;
    width: 100%;
    order: 2;
  }

  .product-scroll .new-content-section .phone-container .phone-image-group {
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .product-scroll .new-content-section .phone-container .phone-app-image {
    object-fit: contain;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area {
    padding-right: 0;
    padding-top: 32px;
    padding-bottom: 0;
    align-items: center;
    text-align: center;
    order: 1;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area .phone-label-wrap {
    align-items: center;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area h2 {
    font-size: 1.9rem;
    text-align: center;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area p {
    text-align: center;
  }

  .product-scroll .new-content-section .phone-container .phone-text-area h2,
  .product-scroll .new-content-section .phone-container .phone-text-area p {
    text-align: center;
  }

  /* 모바일: 텍스트 영역의 구글 플레이 버튼 숨기고, 이미지 아래 버튼 표시 */
  .product-scroll .new-content-section .phone-container .phone-text-area .google-play-btn:not(.google-play-btn--mobile) {
    display: none;
  }

  .product-scroll .new-content-section .phone-container .phone-image-area {
    flex-direction: column;
    align-items: center;
  }

  .product-scroll .new-content-section .google-play-btn--mobile {
    display: flex;
    margin-top: 20px;
  }

  .intro-stats h2{ font-size:1.8rem; }

  .content-section{ padding:60px 0; margin-bottom:20px; }
  .content-section h2{ font-size:2rem; margin-bottom:20px; }
  .content-section h2::after{ width:50px; height:2px; }
  .content-section p{ font-size:1rem; padding:0 15px; }
  .content-section ul, .content-section ol{ padding-left:25px; font-size:1rem; }

  .trial-content{ flex-direction:column; gap:50px; text-align:center; }
  .trial-text h2{ font-size:2.2rem; }
  .alrimi-image{ width:100%; max-width:450px; height:auto; opacity:1; transform:none; }
}
@media (max-width: 480px){
  .full-page-hero{ 
    min-height:100vh; 
    background-size: cover; /* 작은 화면에서도 화면 전체 꽉차게 */
    background-position: center center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
  .hero-text{
    top: 28%;
    left: 50%;
    padding:15px 10px;
    transform: translate(-50%, -50%);
  }
  .hero-text h1{ 
    font-size:2rem; 
    margin:15px 10px 1rem; 
    line-height: 1.1;
  }
  .hero-text h1 .hero-line-break-mobile{
    display: block;
    margin-top: 2px;
  }
  .hero-text h1 .highlight-text{
    font-size: 1.55rem;
    font-weight: 500;
  }
  .hero-text p{ 
    font-size:1rem; 
    margin:0 10px 1rem; 
    line-height: 1.2;
  }
  .hero-buttons{ 
    flex-direction:column; 
    gap:12px; 
    bottom: 60px;
    align-items: center;
  }

  /* 작은 화면에서 이미지 섹션 조정 */
  .product-scroll .product-right {
    padding: 15px 20px 0;
    gap: 50px;
    width: 100%;
    max-width: 100%; /* fixed-menu가 없으므로 전체 너비 사용 */
    box-sizing: border-box;
    overflow: visible;
    margin-left: 0; /* 작은 화면에서도 왼쪽 이동 제거 */
  }

  .product-scroll .image-section-left,
  .product-scroll .image-section-right {
    max-width: 100%;
  }

  .product-scroll .new-content-section {
    padding: 40px 16px 40px;
  }

  .product-scroll .new-content-section h2 {
    font-size: 2rem;
  }

  .product-scroll .new-content-section p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .product-scroll .new-content-section .phone-frame {
    width: min(280px, 100%);
    height: auto;
    aspect-ratio: 304 / 552;
  }

  .product-scroll .section-title {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
  }

  .product-scroll .product-card {
    height: auto;
  }

  .intro-stats{ padding:30px 10px; }
  .intro-stats h2{ font-size:1.3rem; }

  .content-section{ padding:30px 0; }
  .content-section h2{ font-size:1.5rem; }
  .content-section p, .content-section ul, .content-section ol{ font-size:.85rem; }
}

/* ===== 카드 호버 효과 ===== */
.product-scroll .product-right .product-card {
    cursor: pointer;
}

.product-scroll .product-right .product-card .imgwrap img {
    transition: transform 0.3s ease;
}

.product-scroll .product-right .product-card:hover .imgwrap img {
    transform: scale(1.04);
}

/* ===== 카드 모달 ===== */
.card-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.card-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.card-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.25s ease;
    position: relative;
}

.card-modal-overlay.is-open .card-modal {
    transform: translateY(0);
}

.card-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.2s;
}

.card-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.card-modal-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-modal-body {
    padding: 24px 28px 28px;
}

.card-modal-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 10px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.card-modal-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

@media (max-width: 768px) {
    .card-modal {
        max-width: 100%;
    }
    .card-modal-body {
        padding: 18px 20px 22px;
    }
    .card-modal-body h3 {
        font-size: 1.2rem;
    }
}

/* 무료체험 */
.trial-section{ padding:100px 0; background:#fff; margin:50px 0; position:relative; overflow:hidden; border-radius:15px; box-shadow:none; border:0; }
.trial-container{ max-width:1200px; margin:0 auto; padding:0 20px; position:relative; z-index:2; }
.trial-content{ display:flex; align-items:center; gap:80px; }
.trial-text{ flex:1; color:var(--text-primary); }
.trial-text h2{ font-size:2.8rem; font-weight:700; margin-bottom:20px; line-height:1.3; color:var(--text-primary); }
.trial-text p{ font-size:1.2rem; margin-bottom:30px; color:var(--text-secondary); line-height:1.6; }
.trial-button{ background:#1e3a8a; color:#fff; border:none; padding:15px 30px; font-size:1.1rem; font-weight:600; border-radius:8px; cursor:pointer; transition:.3s; box-shadow:0 4px 20px rgba(30,58,138,.4); text-decoration:none; display:inline-block; }
.trial-button:hover{ background:#1e40af; transform:translateY(-2px); box-shadow:0 6px 25px rgba(30,58,138,.6); }
.trial-computer{ flex:0 0 500px; display:flex; justify-content:center; align-items:center; }
.alrimi-image{ width:550px; height:440px; object-fit:cover; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.3); opacity:1; transform:none; }
.alrimi-image.animate{ opacity:1; transform:none; }

/* main 섹션과 푸터 사이 간격 조정 */
main {
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative; /* 위치 고정 */
  z-index: 1; /* z-index 추가 */
}

/* 푸터 위치 고정 */
footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  clear: both;
  z-index: 2; /* z-index 추가 */
}

/* ===== 반응형 디자인 - 모든 기기 최적화 ===== */

/* 태블릿 화면 - 992px 이하 */
@media (max-width: 992px) {
  .trial-section { 
    padding: 80px 0; 
    margin: 30px 0; 
  }
  
  .trial-content { 
    flex-direction: column; 
    gap: 40px; 
    text-align: center; 
  }
  
  .trial-text h2 { 
    font-size: 2.2rem; 
  }
  
  .trial-text p { 
    font-size: 1.1rem; 
  }
  
  .alrimi-image {
    width: min(450px, 100%);
    height: auto;
  }

  .trial-computer {
    flex: none;
  }
}

/* 모바일 화면 - 768px 이하 */
@media (max-width: 768px) {
  .trial-section { 
    padding: 60px 20px; 
    margin: 20px 0; 
  }
  
  .trial-container { 
    padding: 0 15px; 
  }
  
  .trial-content { 
    gap: 30px; 
  }
  
  .trial-text h2 { 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
  }
  
  .trial-text p { 
    font-size: 1rem; 
    margin-bottom: 25px; 
  }
  
  .trial-button { 
    padding: 12px 25px; 
    font-size: 1rem; 
  }
  
  .alrimi-image { 
    width: 100%; 
    max-width: 350px; 
    height: auto; 
    transition: .6s; 
  }
}

/* 작은 모바일 화면 - 480px 이하 */
@media (max-width: 480px) {
  .trial-section { 
    padding: 40px 15px; 
  }
  
  .trial-text h2 { 
    font-size: 1.5rem; 
  }
  
  .trial-text p { 
    font-size: 0.9rem; 
  }
  
  .trial-button { 
    padding: 10px 20px; 
    font-size: 0.9rem; 
  }
  
  .alrimi-image { 
    max-width: 280px; 
  }
}

/* 페이지 전체의 가로 오버플로우 방지 */
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* ===== 새 히어로 디자인 ===== */

/* hero-text 포지셔닝 */
.hero-text {
  top: 46%;
  left: 15%;
  transform: translateY(-50%);
  max-width: 820px;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: left;
}

/* 배지 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7ddcff;
  margin-bottom: 18px;
  backdrop-filter: none;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

/* h1 */
.hero-text h1 {
  font-size: 51px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

.hero-h1-blue {
  color: #f8fbff;
  font-weight: 700;
  opacity: 0.92;
}

/* 서브타이틀 */
.hero-text .content-group p {
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1440px) {
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-badge {
    font-size: 12px;
  }
  .hero-text .content-group p {
    font-size: 15px;
    margin: 16px 0 0;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 0.82rem;
    padding: 9px 16px;
  }
  .hero-cta-wrap {
    margin-top: 20px;
  }
}

@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 32px;
  }
}

@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 28px;
  }
}

/* CTA 버튼 */
.hero-cta-wrap {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-btn-primary {
  background: #fff;
  color: #1e3a8a;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-btn-primary:hover {
  background: #e8eeff;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}

.hero-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* 오디오 카드 모형 */
.hero-audio-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 500px;
  margin: 24px auto 0;
  text-align: left;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-audio-label {
  font-size: 0.78rem;
  color: #999;
  margin: 0 0 10px;
  font-weight: 500;
}

.hero-audio-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-audio-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  padding-left: 2px;
}

.hero-audio-quote {
  font-size: 0.88rem;
  color: #222;
  line-height: 1.55;
  margin: 3px 0 0;
}

.hero-audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  margin-bottom: 10px;
}

.hero-audio-wave span {
  flex: 1;
  background: #1e3a8a;
  border-radius: 2px;
  min-height: 4px;
}

.hero-audio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #bbb;
}

.hero-audio-voice {
  color: #777;
  font-size: 0.72rem;
}

.hero-audio-time {
  font-size: 0.72rem;
  color: #bbb;
}

/* 새 히어로 모바일 반응형 */
@media (max-width: 768px) {
  .hero-text {
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .hero-cta-wrap {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-audio-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-text {
    top: 38%;
    padding: 0 16px;
  }
  .hero-text h1 {
    font-size: 1.7rem;
    margin: 0 0 0.8rem;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 11px;
    margin-bottom: 14px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 0.88rem;
    padding: 10px 18px;
  }
  .hero-audio-card {
    padding: 12px 14px;
  }
  .hero-audio-quote {
    font-size: 0.82rem;
  }
}


