:root {
    --bg-color: #faf9f7; 
    --bg-alt: #f1eee9;   
    --text-dark: #111111;
    --text-light: #555555;
    
    /* 제목 및 강조용: G마켓 산스 적용 */
    --font-aggro: 'GmarketSansBold', sans-serif; 
    
    /* 본문용: Noto Sans */
    --font-sans: 'Noto Sans KR', sans-serif;
    --highlight-color: #fff176;
}

/* 1. 기본 초기화 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. 스크롤 애니메이션 설정 (Reveal) - 호버 충돌 버그 전면 수정 */
.reveal {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    -webkit-transform: translateY(30px) translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

/* 스크롤 도달 시 활성화 상태 */
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) translateZ(0) !important;
    -webkit-transform: translateY(0) translateZ(0) !important;
}

/* 공통 컨테이너 */
.container { 
    position: relative; 
    z-index: 50;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* 3. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://rawcdn.githack.com/lemondetox/landing/6fd5946b1fd15ceca2fa93345dbb560b29ef018d/%ED%81%AC%EB%A6%AC%EC%97%90%EC%9D%B4%ED%84%B0.png?raw=true');
    background-size: cover;
    background-position: center;
    filter: blur(3.5px);
    opacity: 0.4;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(250, 249, 247, 0.6);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.main-logo { 
    width: 100%;        
    max-width: 900px;    
    margin-bottom: 30px; 
    height: auto;        
}

.hero-sub-title { 
    font-family: var(--font-aggro); 
    font-size: 1.25rem; 
    margin-bottom: 15px; 
    color: #000; 
}

.hero-desc { 
    font-size: 1rem; 
    color: var(--text-light); 
    margin-bottom: 40px; 
    word-break: keep-all; 
}

.aggro-text { font-family: var(--font-aggro); }

/* 형광펜 효과 */
.highlight {
    background: linear-gradient(180deg, transparent 60%, var(--highlight-color) 60%);
    padding: 0 4px;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 45px;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-aggro);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.btn-arrow {
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
    margin-left: 15px;
}


/* ==========================================
   [업데이트] 다크 통합 래퍼 (그라데이션 텍스트 가독성 최적화 세팅)
   ========================================== */
.dark-theme-wrapper {
    position: relative;
    background-color: #050505; /* 기본 깊은 블랙 베이스 배경 */
    z-index: 10;
    overflow: hidden; 
}

.dark-theme-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 단색 우아한 핑크색 배경지 주소 반영 */
    background-image: url("https://rawcdn.githack.com/lemondetox/landing/95039a1d7aeacab0e42e5237d68840ef68c95f6d/%EB%B0%B0%EA%B2%BD%EC%A7%80.jpg?raw=true");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 🛠️ 그라데이션 글씨가 선명하게 돋보이도록 어둡고 몽환적으로 조율 */
    opacity: 0.1;       
    filter: blur(12px); 
    
    z-index: 1; 
    pointer-events: none; 
}

.dark-theme-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, #050505 0%, transparent 15%, transparent 85%, #050505 100%);
    z-index: 2;
    pointer-events: none;
}


/* ==========================================
   4. Support System (프리미엄 3대 강점 카드 디자인)
   ========================================== */
.specialties-bg { 
    background: transparent; 
    color: #fff; 
    position: relative; 
    z-index: 20; 
}
.section-padding { padding: 100px 0; }

/* 3대 기본 지원 핵심 요약 스펙 그리드 */
.support-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.015);
    border-left: 3px solid #f37021; 
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.intro-card h4 {
    font-family: var(--font-aggro);
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.intro-card p {
    font-size: 0.88rem;
    color: #aaaaaa;
    line-height: 1.5;
    word-break: keep-all;
}

/* 심층 프리미엄 강점 그리드 */
.spec-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

/* 시네마틱 글래스모피즘 박스 구조 설정 */
.spec-card { 
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 45px 35px; 
    border-radius: 12px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card.active:hover { 
    transform: translateY(-8px) translateZ(0) !important;
    -webkit-transform: translateY(-8px) translateZ(0) !important;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.spec-card h3 { 
    margin-bottom: 6px; 
    font-size: 1.45rem; 
    color: #fff; 
    font-family: var(--font-aggro);
    letter-spacing: 0.5px;
}

.spec-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.spec-desc { 
    color: #cccccc; 
    font-size: 0.92rem; 
    line-height: 1.75;
    word-break: keep-all;
}

/* 숫자 인디케이터 라벨 */
.biz-icon {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
}
.biz-icon.id-color { color: #ff0055; text-shadow: 0 0 10px rgba(255, 0, 85, 0.3); }
.biz-icon.time-color { color: #00f0ff; text-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }
.biz-icon.pay-color { color: #ffcc00; text-shadow: 0 0 10px rgba(255, 204, 0, 0.3); }


/* 5. Form Section */
.apply-section { background: var(--bg-alt); position: relative; z-index: 20; }

.contact-form { 
    background: #fff; 
    padding: 50px 40px; 
    border-radius: 15px; 
    max-width: 800px; 
    margin: 0 auto; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
}

.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; color: #111; font-size: 0.9rem; }

.form-group label span {
    color: #ff0000 !important;
    margin-left: 4px;
    font-weight: bold;
}

.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 16px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: var(--font-sans); 
    background: #fafafa;
    font-size: 1rem;
}

.form-group input:focus { outline: none; border-color: #000; background: #fff; }

.btn-submit { 
    width: 100%; 
    padding: 22px; 
    background: #000; 
    color: #fff; 
    border: none; 
    font-family: var(--font-aggro); 
    font-size: 1.4rem; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: background 0.3s;
}

.btn-submit:hover { background: #333; }

/* 6. Footer */
.site-footer { 
    background: #000; 
    color: #fff; 
    padding: 70px 0; 
    font-size: 0.85rem; 
    position: relative; 
    z-index: 20; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

.footer-item h4 { font-family: var(--font-aggro); margin-bottom: 15px; letter-spacing: 1px; }
.footer-item p { color: #666; margin-bottom: 5px; }

.copyright { 
    margin-top: 50px; 
    padding-top: 30px; 
    border-top: 1px solid #111; 
    text-align: center; 
    color: #444; 
    letter-spacing: 2px;
}

/* 개인정보 동의 영역 스타일 */
.privacy-group {
    margin-top: 25px;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0; 
}

.checkbox-container label {
    display: inline; 
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
}

.checkbox-container .required {
    color: #ff4d4d;
}

.link-detail {
    color: #007bff;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-left: 5px;
}

.error-text {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 700;
    text-align: left;
}

/* ==========================================
   7. 개인 활동 과정 프리미엄 스타일 (조그만 박스 가로 나열)
   ========================================== */
.activity-section {
    background-color: transparent; 
    color: #ffffff;
    position: relative;
    z-index: 20;
    padding-top: 0; 
}

.gradient-text {
    background: linear-gradient(135deg, #ff0055, #00f0ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 40px;
}

.step-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 8px; 
    border-radius: 8px;
    text-align: center;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-item.active:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #f37021;
    transform: translateY(-3px) translateZ(0) !important;
    -webkit-transform: translateY(-3px) translateZ(0) !important;
}

/* 기본값 지정 후 하단에서 override 하므로 유지 */
.step-num {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #f37021; 
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.step-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    word-break: keep-all;
}

.step-arrow {
    width: 6px;
    height: 6px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin: 0 4px;
}

/* ==========================================
   반응형 모바일 및 태블릿 레이아웃 대응
   ========================================== */
@media (max-width: 991px) {
    .support-intro-grid {
        grid-template-columns: 1fr; 
        gap: 12px;
    }
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        gap: 4px;
    }
    /* 하단 큰 글씨 세팅 반영을 위해 모바일 폰트 크기 강제 상향은 주석 처리 */
    /* .step-text { font-size: 0.85rem; } */
}

@media (max-width: 768px) {
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .spec-card {
        padding: 35px 25px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 12px;
    }
    .step-item {
        width: 100%;
        padding: 16px 20px;
    }
    .step-arrow {
        transform: rotate(135deg);
        margin: 4px 0;
    }
}

/* 지원하기 버튼이 전송 중(잠금) 상태일 때의 비활성화 스타일 */
.btn-submit:disabled {
    background: #666 !important; 
    opacity: 0.6;               
    cursor: not-allowed;        
}

/* ==========================================
   [추가 디자인 개편] 개인 활동 과정 글씨 크기 대폭 확대 영역
   ========================================== */
.process-steps .step-item {
    text-align: center;
}

/* STEP 01, STEP 02 등 숫자 부분 크기 상향 */
.process-steps .step-num {
    font-size: 18px !important;   
    font-weight: 700;            
    letter-spacing: 1px;         
    display: block;
    margin-bottom: 8px;          
}

/* '지원', '승인' 등 한글 텍스트 및 그라데이션 타이틀 하단 시인성 확보 */
.process-steps .step-text {
    font-size: 22px !important;   
    font-weight: 900;            
    color: #fff;                 
    line-height: 1.4;
}

/* 1. 섹션 기본 설정 (어두운 배경 가정) */
.specialties-bg {
  position: relative;
  overflow: hidden;
  background-color: #0b0b0b; /* 혹시 배경이 안 깔려 있다면 어두운 톤 지정 */
  padding: 100px 0;
  z-index: 1;
}

/* 2. 콘텐츠는 확실하게 위로 */
.specialties-bg .container {
  position: relative;
  z-index: 3;
}

/* ✨ 3. 왼쪽 배경: 세련된 오렌지 그라데이션 수직 바 + 미세한 유기적 움직임 */
.specialties-bg::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 4%;
  width: 3px;
  height: 250px;
  /* 브랜드 시그니처 주황색에서 투명하게 떨어지는 세련된 라인 */
  background: linear-gradient(to bottom, #ff6b00, rgba(255, 107, 0, 0.1), transparent);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4); /* 고급스러운 네온 느낌의 불빛 */
  z-index: 2;
  pointer-events: none;
  
  /* 고급스러운 느낌을 주는 미세한 상하 플로팅 애니메이션 */
  animation: floatingBar 6s ease-in-out infinite;
}

/* ✨ 4. 오른쪽 배경: 대형 앱스트랙트 원형 그래픽 (공간감을 채워줌) */
.specialties-bg::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  /* 글자를 절대 침범하지 않도록 은은하게 퍼지는 오렌지 빛 조명 효과 */
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.02) 50%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

/* ⚙️ 5. 세련미를 극대화하는 애니메이션 효과 */
@keyframes floatingBar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* 위아래로 부드럽게 움직임 */
  }
}

/* ⚠️ 6. 반응형: 화면이 좁은 모바일에서는 텍스트에만 집중하도록 제거 */
@media (max-width: 1024px) {
  .specialties-bg::before,
  .specialties-bg::after {
    display: none;
  }
}

.hero-with-brand {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;                /* 하이라이트 위에서 잘 보이도록 선명한 화이트로 변경 */
  margin-top: 15px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-align: center;
  font-family: 'Futura', 'Montserrat', sans-serif;
}

.hero-with-brand {
  font-size: 1.1rem;
  font-weight: 600;           /* 글자가 선명하게 보이도록 두께를 살짝 올림 */
  color: #000000;             /* 텍스트 색상을 깔끔한 검은색으로 변경 */
  margin-top: 15px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-align: center;
  font-family: 'Futura', 'Montserrat', sans-serif;
}

/* 하이라이트 효과 부분 */
.hero-with-brand span {
  position: relative;
  display: inline-block;
  padding: 0 6px;            /* 하이라이트 여백을 살짝 넓혀 안정감 부여 */
  background: linear-gradient(180deg, transparent 50%, #ff6b00 50%);
  
  /* 테두리(stroke) 속성은 깔끔하게 제거되었습니다 */
}

/* 모바일 화면 반응형 조절 */
@media (max-width: 768px) {
  .hero-with-brand {
    font-size: 0.95rem;
    margin-top: 10px;
    margin-bottom: 5px;
  }
}