/* ============================================
   1. GLOBAL RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  min-height: 100vh;
}

.container {
  max-width: 2000px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

/* ============================================
   2. SHARED COMPONENTS (Sliders, Buttons)
   ============================================ */
/* Image Comparison Slider */
.img-diff {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  --pos: 50%;
}

.img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.img-left {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.img-right {
  clip-path: inset(0 0 0 var(--pos));
}

.img-divider {
  position: absolute;
  top: 0;
  left: var(--pos);
  width: 2px;
  height: 100%;
  background: #000000;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.img-diff:hover .img-divider {
  width: 3px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.img-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.img-knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border: 3px solid #000000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.img-knob svg {
  width: 24px;
  height: 24px;
  color: #000000;
  stroke: #000000;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
  .img-knob {
    width: 56px;
    height: 56px;
  }
}

/* Carousel Dots */
.comparison-dots {
  text-align: center;
  margin-top: 30px;
}
.comp-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.comp-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}
.comp-dot.active {
  background: white;
  width: 12px;
  height: 12px;
}

/* ============================================
   3. ABOUT SECTION (Features)
   ============================================ */
#about {
  color: white;
}

.about-features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item .pennant {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  height: 100px;
}
.feature-item .pennant img {
  width: 100px;
  height: auto;
  object-fit: contain;
}
.feature-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}
.feature-item p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .about-features {
    flex-direction: column;
    align-items: center;
  }
  .feature-item {
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
  }
}

/* ============================================
   4. LIMITATIONS SECTION
   ============================================ */
#caesar-3d-models {
  background: radial-gradient(circle at center, #3e3e3e 0%, #1a1a1a 100%);
  color: white;
  padding: 80px 20px;
  margin: 0;
}
#caesar-3d-models .container {
  max-width: 1400px;
  width: 92%;
}
#caesar-3d-models header h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #fff3c9;
}
#caesar-3d-models .intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}
#caesar-3d-models .image-grid {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  justify-content: space-between;
}
#caesar-3d-models .image-placeholder {
  flex: 1;
  aspect-ratio: 1;
  background-color: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  min-height: 250px;
}
#caesar-3d-models .image-placeholder span {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1280px) {
  #caesar-3d-models .container {
    width: 95%;
    max-width: 1250px;
  }
  #caesar-3d-models .intro-text {
    font-size: 17px;
  }
  #caesar-3d-models .image-placeholder {
    min-height: 200px;
  }
}
@media (max-width: 768px) {
  #caesar-3d-models .image-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============================================
   5. COMPARISON CAROUSEL & UNIQUE ADVANTAGES
   ============================================ */
#resolution-comparison {
  background: radial-gradient(circle at center, #3e3e3e 0%, #1a1a1a 100%);
  color: white;
  padding: 80px 60px;
}
.comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}
.comparison-section {
  margin-bottom: 80px;
}
.comparison-section:last-child {
  margin-bottom: 0;
}

.comparison-section header h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #5fc7e5;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.comparison-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  margin-top: 40px;
  text-align: center;
}

/* Carousel Mechanics */
.comparison-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px;
}
.comparison-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.comparison-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
.comparison-slide.active {
  opacity: 1;
  pointer-events: all;
}
.comparison-slide .comparison-box {
  width: 100%;
  height: 100%;
  background: #4a5158;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-slide .img-diff {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Navigation Buttons */
.comp-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.comp-carousel-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.05);
}
.comp-carousel-nav.prev {
  left: 0;
}
.comp-carousel-nav.next {
  right: 0;
}
.comp-carousel-nav svg {
  width: 28px;
  height: 28px;
}

/* Unique Advantages Section */
.unique-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.unique-section header h2 {
  color: #fff3c9;
}
.unique-section .section-description,
.unique-section .benefits-list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.unique-section .section-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  padding-left: 10px;
}
.unique-section .benefits-list {
  padding-left: 30px;
  margin-bottom: 40px;
}
.unique-section .benefits-list li {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  list-style-type: disc;
}

/* ============================================
   LAPTOP OPTIMIZATION: CAROUSEL
   (Fix for oversized images on MacBook Air)
   ============================================ */
@media (max-width: 1440px) {
  /* 1. 카러셀 전체 너비 제한 (가장 중요) */
  .comparison-carousel {
    max-width: 650px !important;
    padding: 0 60px; /* 좌우 화살표 공간 */
  }

  /* 2. 네비게이션 화살표 크기 및 위치 조정 */
  .comp-carousel-nav {
    width: 44px;
    height: 44px;
    /* 화살표를 슬라이드에 좀 더 가깝게 붙임 */
    /* padding 때문에 화살표가 너무 멀어 보이는 것 방지 */
  }

  .comp-carousel-nav svg {
    width: 22px;
    height: 22px;
  }

  /* 3. 섹션 제목 폰트 크기 줄임 */
  .comparison-section header h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
}

/* 더 작은 화면(구형 랩탑 등)을 위한 안전장치 */
@media (max-width: 1200px) {
  .comparison-carousel {
    max-width: 650px !important;
  }
}

@media (max-width: 1280px) {
  #resolution-comparison {
    padding: 60px 40px;
  }
  .comparison-carousel {
    max-width: 800px;
    padding: 0 60px;
  }
  .comp-carousel-nav {
    width: 50px;
    height: 50px;
  }
  .comparison-section header h2 {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  #resolution-comparison {
    padding: 50px 20px;
  }
  .comparison-carousel {
    padding: 0 45px;
  }
  .comp-carousel-nav {
    width: 44px;
    height: 44px;
  }
  .comparison-section header h2 {
    font-size: 28px;
  }
  .unique-section .section-description,
  .unique-section .benefits-list {
    max-width: 100%;
    padding-left: 0;
  }
  .unique-section .benefits-list {
    padding-left: 20px;
  }
}


/* ============================================
   Z-Pattern Feature Rows Style
   ============================================ */


.feature-rows-container {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 120px; /* 행(Row) 사이의 간격 */
}

/* 개별 행(Row) 레이아웃 */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1:1 비율 분할 */
  gap: 60px; 
  align-items: center;
}


/* Visual 영역 (슬라이더 컨테이너) */
.feature-visual {
  width: 100%;
  aspect-ratio: 4 / 3; /* 4:3 비율로 고정 (세련된 느낌) */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  background: #2a2a2a; 
}

/* Text Group 스타일 */
.feature-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text-group h3 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  padding-left: 20px; 
}



.feature-text-group p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 1440px) {
  .feature-rows-container { gap: 80px; margin-top: 80px; }
  .feature-row { gap: 40px; }
  .feature-text-group h3 { font-size: 26px; }
  .feature-text-group p { font-size: 15px; }
}

/* 미디어 쿼리: 태블릿 및 모바일 (수직 정렬로 변경) */
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse {
    display: flex;
    flex-direction: column; /* 항상 위아래로 쌓이게 */
    gap: 30px;
  }
  
  /* 모바일에서는 항상 이미지가 먼저 나오고 텍스트가 아래에 오도록 순서 조정 */
  .feature-row.reverse {
    flex-direction: column-reverse; 
  }

  .feature-text-group { text-align: left; padding: 0 10px; }
  .feature-visual { aspect-ratio: 16 / 9; /* 모바일은 좀 더 와이드하게 */ }
}

/* ============================================
   6. INTEGRATED HUB (Refactored Layout)
   ============================================ */
#caesar-integrated-hub {
  background: radial-gradient(circle at center, #2e2e2e 0%, #000000 100%);
  color: white;
  padding: 100px 20px;
}

#caesar-integrated-hub .container {
  max-width: 1400px;
  margin: 0 auto;
}

.hub-header {
  text-align: center;
  margin-bottom: 80px;
}
/* .hub-header h2 { font-size: 40px; font-weight: 600; margin-bottom: 15px; color: #fff; }
.hub-header p { font-size: 18px; color: rgba(255, 255, 255, 0.7); } */

.hub-header h2 {
  font-size: 52px; /* 크기 확대 */
  font-weight: 500; /* 더 두껍게 */
  margin-bottom: 20px;

  /* 타이포그래피 디테일 */
  letter-spacing: -1.5px; /* 자간을 좁혀서 '단단한' 느낌 */
  line-height: 1.1;

  /* 부드러운 그림자로 입체감 추가 */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hub-header p {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: -0.2px;
}

/* 2. 개별 모델 제목 (H3): 포인트 컬러 강조 & 모던한 스타일 */
.hub-text-content h3 {
  font-size: 30px; /* 32px -> 30px (약간 줄여서 세련되게) */
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.8px; /* 자간 축소 */

  /* 포인트 디자인: 왼쪽에 네온 그린 바 추가 */
  display: flex;
  align-items: center;
  position: relative;
}

/* --- Showcase Grid Layout --- */
.hub-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Equal Columns */
  gap: 60px; /* Space between blocks */
  align-items: stretch; 
}

/* Individual Feature Block */
.hub-feature-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%; 
}

/* Text Content Area */
.hub-text-content {
  text-align: left;
  padding: 0 10px;
}

.hub-accent-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #3bff54; /* Green Accent */
  margin-bottom: 15px;
}

.hub-text-content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.hub-specs {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.hub-specs li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.hub-specs strong {
  color: #fff;
  font-weight: 600;
}

/* Visual Content Area (Slider Container) */
.hub-visual-content {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;

  /* 중요: 위쪽 여백을 자동으로 채워서 항상 바닥에 정렬 */
  margin-top: auto;
}

/* Slider Overrides */
.hub-visual-content .img-diff {
  width: 90%;
  height: 90%;
  border-radius: 8px;
  background-color: #d9d9d9;
}

.chooser-placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #333;
  font-weight: 600;
  z-index: 1;
  white-space: nowrap;
}

.chooser-caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 15px;
  font-weight: 500;
}
@media (max-width: 1440px) {
  .hub-header h2 {
    font-size: 42px;
  }
  .hub-header p {
    font-size: 18px;
  }
  .hub-text-content h3 {
    font-size: 26px;
  }
  .hub-text-content h3::before {
    height: 24px;
    margin-right: 12px;
  }
}

/* --- Download Section --- */
.integrated-downloads {
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 80px;
}
.download-section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  color: #fff;
}
.samples-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: center;
  padding: 0 20px;
}
.sample-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 50px 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.sample-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 255, 84, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sample-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.sample-card:hover .sample-icon {
  color: #3bff54;
  transform: scale(1.05);
}

.sample-icon svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.sample-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.sample-info h3 {
  font-size: 22px;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.resolution-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: auto;
}

.res-high {
  background: rgba(59, 255, 84, 0.1);
  color: #3bff54;
  border: 1px solid rgba(59, 255, 84, 0.3);
}

.res-low {
  background: rgba(95, 199, 229, 0.1);
  color: #5fc7e5;
  border: 1px solid rgba(95, 199, 229, 0.3);
}

.info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.download-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.download-link:hover {
  color: #fff;
}

.download-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
  border: none;
}

.download-btn:hover {
  background: #3bff54;
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 0 20px rgba(59, 255, 84, 0.4);
}

/* Responsive: Laptop */
@media (max-width: 1280px) {
  .hub-showcase-grid {
    gap: 40px;
  }
  .hub-text-content h3 {
    font-size: 26px;
  }
  .hub-text-content p {
    font-size: 16px;
  }
  .sample-info h3 {
    font-size: 20px;
  }
  .resolution-badge {
    font-size: 16px;
  }
}

/* Responsive: Tablet & Mobile */
@media (max-width: 900px) {
  .hub-showcase-grid {
    grid-template-columns: 1fr; /* Stack Vertically */
    gap: 80px;
  }

  .hub-feature-block {
    max-width: 600px;
    margin: 0 auto;
    height: auto; 
  }

  .hub-text-content {
    text-align: center;
  }
  .hub-specs {
    justify-content: center;
  }

  .samples-grid {
    flex-direction: column;
    align-items: center;
  }

  .sample-card {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
  }
  .sample-info h3 {
    font-size: 22px;
  }
}

/* ============================================
   7. FAQ SECTION
   ============================================ */
#faq-section {
  text-align: center; /* 전체 섹션 중앙 정렬 */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

#faq-section header h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

/* 안내 문구 (Q: Click the questions...) 스타일 재정의 */
#faq-section h3 {
  /* 인라인 스타일 덮어쓰기 위해 !important 사용 가능, 혹은 인라인 스타일 제거 권장 */
  font-family: 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman',
    serif;
  width: 80%;
  margin: 0 auto 50px auto !important;
  line-height: 1.4 !important;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6); /* 너무 밝지 않게 조정 */
  font-weight: normal;
}

.question {
  font-size: 25px;
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
  transition: color 0.2s ease;

  /* 긴 질문이 있을 경우를 대비한 중앙 정렬 유지 */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.question:hover {
  color: #3bff54; /* 마우스 올렸을 때 포인트 컬러 */
}

.answer {
  max-height: 0;
  overflow: hidden;
  width: 70%; 
  font-size: 18px;


  text-align: center;
  color: rgba(255, 255, 255, 0.9);

  margin: 0 auto; /* 박스 자체 중앙 정렬 */
  transition: all 0.4s ease;
  opacity: 0;
  line-height: 1.7;
}

.answer.show {
  max-height: 1000px; /* 충분한 높이 확보 */
  opacity: 1;
  padding-bottom: 40px; /* 답변 아래 여백 추가 */
}

/* ============================================
   FAQ RESPONSIVE (Laptop Optimization)
   Targeting MacBook Air / screens < 1440px
   ============================================ */
@media (max-width: 1440px) {
  /* 1. 헤더 및 안내 문구 축소 */
  #faq-section header h2 {
    font-size: 32px;
  }

  #faq-section h3 {
    font-size: 16px; /* 20px -> 16px */
    width: 90%;
    margin-bottom: 30px !important;
  }

  /* 2. 질문 폰트 축소 */
  .question {
    font-size: 20px; /* 25px -> 20px */
    margin-bottom: 15px;
  }

  /* 3. 답변 폰트 축소 및 너비 확보 */
  .answer {
    font-size: 15px; /* 18px -> 15px */
    width: 85%; /* 글자가 작아지므로 너비를 좀 더 넓게 사용 */
    line-height: 1.6;
  }

  .answer.show {
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .question {
    font-size: 18px;
  }
  .answer {
    width: 100%;
  }
}

/* ============================================
   8. PRICING SECTION WRAPPER
   ============================================ */
#caesar-pricing {
  position: relative;
  padding: 100px 20px; /* Large vertical padding for separation */

  /* Distinct Background to separate from Comparison Table */
  background: radial-gradient(circle at bottom, #1a1a1a 0%, #000000 100%);

  /* Optional: Top Border for sharp separation */
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  margin-top: 0;
}

#caesar-pricing header {
  text-align: center;
  margin-bottom: 60px;
}

#caesar-pricing header h2 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #fff;
}

#caesar-pricing .section-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive Adjustments for the Section Wrapper --- */
@media (max-width: 1440px) {
  #caesar-pricing {
    padding: 60px 20px; /* Reduce padding on laptops */
  }

  #caesar-pricing header h2 {
    font-size: 36px;
  }
}

/* ============================================
   8. PRICING CARDS
   ============================================ */

.pricing-grid {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}
.pricing-card {
  flex: 1;
  min-width: 380px;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 50px 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-height: 420px;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}
.pricing-card.highlighted {
  border: 2px solid #3bff54;
  box-shadow: 0 0 40px rgba(59, 255, 84, 0.25);
  transform: scale(1.02);
}
.pricing-card.highlighted:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 0 50px rgba(59, 255, 84, 0.35);
}

.card-header {
  text-align: center;
  margin-bottom: 20px;
  min-height: 120px;
}

/* Title & Price */
.card-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  line-height: 1.2;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-price {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px 0;
  line-height: 1.4;
}
.card-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Features List */
.card-features {
  list-style: none;
  margin: 32px 0;
  flex-grow: 1;
}
.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  min-height: 40px;
}
.checkmark {
  width: 20px;
  height: 20px;
  background-color: #3bff54;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 5px;
}
.checkmark::after {
  content: '✓';
  color: #000000;
  font-size: 12px;
  font-weight: bold;
}

.select-button {
  width: 100%;
  padding: 18px 28px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
}
.select-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
.pricing-notes {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}
.pricing-notes p {
  margin-bottom: 8px;
}

/* === Pricing Responsive (Laptop Optimization) === */
@media (max-width: 1600px) {
  .pricing-card {
    min-width: 310px;
    padding: 40px 28px;
  }
}

@media (max-width: 1440px) {
  .pricing-grid {
    gap: 30px;
  }
  .pricing-card {
    padding: 34px 28px !important;
    min-width: 0;
  }
  .card-header {
    margin-bottom: 15px !important;
    display: flex;
    flex-direction: column;
  }

  /* Title Fix for Retina/Laptop */
  .card-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
    min-height: auto !important;
    margin-bottom: 8px !important;
    opacity: 1 !important;
  }

  .card-price {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #3bff54 !important;
    margin: 5px 0 15px 0 !important;
    order: -1;
  }

  .card-description {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
  }
  .card-features {
    margin: 15px 0;
  }
  .card-features li {
    font-size: 15px;
    margin-bottom: 8px;
    gap: 10px;
  }
  .select-button {
    padding: 10px 0;
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 1280px) {
  .pricing-grid {
    gap: 25px;
  }
  .pricing-card {
    min-width: 240px;
    padding: 35px 20px;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    gap: 30px;
    overflow-x: visible;
  }
  .pricing-card {
    flex: 1 1 100%;
    min-width: unset;
    padding: 40px 28px !important;
  }
}

/* ============================================
   9. COMPARISON & LICENSING TABLES
   ============================================ */
/* Shared Table Styles */
.comparison-table,
.license-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: radial-gradient(
    120% 120% at 50% 0%,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}
.comparison-table thead th,
.license-table thead th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 18px;
  vertical-align: middle;
}
.comparison-table tbody td,
.license-table tbody td {
  padding: 24px 20px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 18px;
  text-align: left;
}
.comparison-table tbody tr:last-child td,
.license-table tbody tr:last-child td {
  border-bottom: 0;
}
.feat-label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}
.cost--free,
.cost--paid,
.cost--edu {
  font-weight: 800;
  font-size: 17px;
}

/* Specific Table Widths */
#models-comparison,
#licensing {
  width: 80%;
  margin: 80px auto 100px;
  max-width: 1600px;
}
#models-comparison header h2,
#licensing header h2 {
  text-align: center;
  margin: 30px 20px 30px 0;
  font-size: 32px;
}

/* Column Widths */
#models-comparison .comparison-table col.col-feature {
  width: 25%;
}
#models-comparison .comparison-table col.col-model {
  width: 25%;
}
.license-table col.col-type {
  width: 18%;
}
.license-table col.col-what {
  width: 25%;
}
.license-table col.col-detail {
  width: 18%;
}
.license-table col.col-use {
  width: 18%;
}
.license-table col.col-cost {
  width: 21%;
}
.license-table thead th:last-child,
.license-table tbody td:last-child {
  text-align: left;
  padding-left: 20px;
}

/* === Table Responsive === */
@media (max-width: 1440px) {
  #licensing {
    width: 94%;
    margin: 40px auto 60px;
  }
  #licensing header h2 {
    font-size: 26px;
    margin: 10px 0 20px 0;
  }
  .license-table thead th,
  .license-table tbody td {
    padding: 18px 21px;
    font-size: 16px;
    line-height: 1.4;
  }
  .feat-label,
  .cost--free,
  .cost--paid,
  .cost--edu {
    font-size: 14px;
  }
  .license-note {
    font-size: 13px;
    margin-top: 18px;
  }
}
/* ============================================
   LAPTOP OPTIMIZATION: COMPARISON TABLE
   (MacBook Air / 13-14 inch screens)
   ============================================ */
@media (max-width: 1440px) {
  /* 1. 테이블 섹션 전체 여백 및 폭 조정 */
  #models-comparison {
    width: 94%; /* 가로 폭을 넓혀서 줄바꿈 방지 */
    margin: 40px auto 60px; /* 위아래 여백 축소 */
  }

  /* 2. 섹션 제목 크기 축소 */
  #models-comparison header h2 {
    font-size: 28px; /* 32px -> 28px */
    margin: 0 0 20px 0;
  }

  /* 3. 테이블 셀(헤더+본문) 패딩과 폰트 축소 */
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 15px 18px; /* 패딩 축소 (높이 감소) */
    font-size: 16px; /* 폰트 크기 축소 (18px -> 14px) */
    line-height: 1.5; /* 줄 간격 좁힘 */
  }

  /* 4. 'Feature' (첫 번째 열) 텍스트 스타일 */
  .feat-label {
    font-size: 16px; /* 폰트 크기 축소 */
  }
}
@media (max-width: 900px) {
  #models-comparison,
  #licensing {
    width: 90%;
  }
  .license-table,
  .comparison-table,
  .license-table thead,
  .comparison-table thead,
  .license-table tbody,
  .comparison-table tbody,
  .license-table tr,
  .comparison-table tr,
  .license-table td,
  .comparison-table td {
    display: block;
  }
  .license-table thead,
  .comparison-table thead {
    display: none;
  }
  .license-table tbody tr,
  .comparison-table tbody tr {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin: 10px 0;
    background: radial-gradient(
      120% 120% at 50% 0%,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
  }
  .license-table tbody td,
  .comparison-table tbody td {
    border: 0;
    padding: 10px 14px;
    text-align: left !important;
  }
  .license-table tbody td::before,
  .comparison-table tbody td::before {
    content: attr(data-label);
    display: block;
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 4px;
  }
}

/* ============================================
   10. ACCESS FORM (Centered Layout)
   ============================================ */
#access-form {
  background-color: #000000;
  padding: 80px 20px;
  position: relative;
}

#access-form .container {
  max-width: 1200px; /* 전체 너비를 너무 넓지 않게 제한 */
  margin: 0 auto;
}

/* Header Styling */
.access-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.access-header h2 {
  font-size: 42px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.access-header .sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-mini {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
}

.contact-mini a {
  color: #3bff54;
  text-decoration: none;
  margin-left: 5px;
  font-weight: 500;
}

/* Form Container (Centered) */
.access-form-container {
  width: 100%;
  max-width: 900px; /* 폼이 너무 퍼지지 않게 적절한 최대 너비 설정 */
  margin: 0 auto; /* 중앙 정렬 */
}

.af-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 내부 2열 구조 유지 */
  column-gap: 30px;
  row-gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

/* Input Fields Styling */
.af-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.af-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 2px;
  text-transform: uppercase;
}

.req::after {
  content: '*';
  color: #ff4d4d;
  margin-left: 3px;
}

.af-input,
.af-select,
.af-textarea {
  width: 100%;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 16px 24px;
  font-size: 16px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.af-input:focus,
.af-select:focus,
.af-textarea:focus {
  border-color: #3bff54;
  background-color: #161616;
}

/* .af-select arrow style remains same if needed, or use default */
.af-textarea {
  min-height: 120px; /* 넉넉한 높이 */
  resize: vertical;
}

.af-actions {
  margin-top: 50px;
  display: flex;
  justify-content: center; /* 버튼 중앙 정렬 */
}

.af-submit {
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 18px 80px; /* 버튼 크기 키움 */
  border-radius: 50px; /* 둥근 버튼 */
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.af-submit:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* === Form Responsive (Laptop Optimization) === */
@media (max-width: 1440px) {
  #access-form {
    padding: 60px 20px;
  }

  .access-header {
    margin-bottom: 40px;
  }

  .access-header h2 {
    font-size: 36px;
  }

  /* Compact Inputs for Laptop */
  .af-grid {
    column-gap: 20px;
    row-gap: 16px;
  }

  .af-label {
    font-size: 11px;
    margin-bottom: -2px;
  }

  .af-input,
  .af-select,
  .af-textarea {
    padding: 12px 16px; /* 패딩 약간 축소 */
    font-size: 14px;
    height: auto;
  }

  .af-textarea {
    min-height: 80px;
  }

  .af-actions {
    margin-top: 30px;
  }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .af-grid {
    grid-template-columns: 1fr; /* 모바일에서 1열로 변경 */
  }

  .af-submit {
    width: 100%; /* 모바일에서 버튼 꽉 채우기 */
  }
}
