@charset "utf-8";
/*=============================================================================
  main.css - Main page specific styles
  Load Order: 5th (conditional, main page only)
=============================================================================*/

/*-----------------------------------------------------------------------------
  1. Hero Slider
-----------------------------------------------------------------------------*/
.sec-hero { position: relative; width: 100%; height: 108rem; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.slide-bg.active { opacity: 1; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.40) 50%, rgba(0,0,0,0.18) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-start; padding-top: 30rem; }
.hero-inner { width: 176rem; max-width: 90%; margin: 0 auto; display: flex; align-items: flex-start; gap: 1rem; }
.hero-left { width: 50%; flex-shrink: 0; }
.hero-right { width: 50%; flex-shrink: 0; }
.hero-left h1 { font-weight: 800; font-size: 9.6rem; line-height: 1.1; letter-spacing: -0.025em; color: #fff; }
.hero-right .headline { font-weight: 800; font-size: 6.4rem; line-height: 1.25; letter-spacing: -0.025em; color: #fff; margin-bottom: 3.2rem; }
.hero-right .desc { font-weight: 600; font-size: 2.4rem; line-height: 1.7; letter-spacing: -0.025em; color: rgba(255,255,255,0.7); margin-bottom: 4.8rem; }
.hero-right .cta-btn { display: inline-block; font-weight: 600; font-size: 1.8rem; letter-spacing: -0.025em; color: #fff; background: var(--gold); padding: 2rem 4rem; border-radius: 999px; transition: opacity 0.3s; }
.hero-right .cta-btn:hover { opacity: 0.82; }
.slider-dots { position: absolute; bottom: 4rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 1.2rem; }
.slider-dots button { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all 0.3s; }
.slider-dots button.active { background: #fff; transform: scale(1.3); }

/*-----------------------------------------------------------------------------
  2. NOMAD Proven
-----------------------------------------------------------------------------*/
.sec-proven { position: relative; padding: 15rem 0 10rem; background: #fff; z-index: 1; overflow: hidden; }

/* 대각선 배경 데코레이션 */
.sec-proven::before { content: ''; position: absolute; top: -5%; left: 10%; width: 150%; height: 1px; background: rgba(0,0,0,0.1); transform: rotate(-25deg); transform-origin: 0% 0%; pointer-events: none; z-index: -1; }
.sec-proven::after { content: ''; position: absolute; bottom: 10%; left: -20%; width: 150%; height: 1px; background: rgba(0,0,0,0.1); transform: rotate(-25deg); transform-origin: 0% 0%; pointer-events: none; z-index: -1; }

.stat-grid-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; margin-top: 5rem; }
.stat-card-v { position: relative; width: 100%; aspect-ratio: 1/1.1; overflow: hidden; background: #222; }
.stat-card-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.6s ease, opacity 0.6s ease; }
.stat-card-v:hover img { transform: scale(1.05); opacity: 0.3; }
.stat-card-v.light-theme img { opacity: 0.8; }
.stat-card-v.light-theme:hover img { opacity: 0.6; }

.stat-card-v .card-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 2; padding: 2rem; color: #fff; text-shadow: 0 0.5rem 2rem rgba(0,0,0,0.4); }
.stat-card-v.light-theme .card-info { color: #111; text-shadow: none; }

.stat-card-v .card-label { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.stat-card-v .card-number { font-size: 4.8rem; font-weight: 900; line-height: 1; letter-spacing: -0.05em; display: flex; align-items: baseline; justify-content: center; }
.stat-card-v .card-number span { font-size: 2.4rem; font-weight: 700; margin-left: 0.2rem; }
.stat-card-v .card-sub { font-size: 1.6rem; margin-top: 0.5rem; opacity: 0.9; }

/*-----------------------------------------------------------------------------
  3. NOMAD Campus
-----------------------------------------------------------------------------*/
.sec-campus-header { padding: 10rem 0 0; background: #fff; }
.campus-showcase { position: relative; width: 100%; height: 80vh; min-height: 60rem; max-height: 80rem; overflow: hidden; background: #111; }
.campus-showcase .stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.campus-showcase .stage-img.active { opacity: 1; z-index: 1; }

/* Bottom Left Title */
.campus-hall-title { position: absolute; bottom: 12rem; left: 10%; z-index: 5; font-weight: 900; font-size: 9.6rem; line-height: 1; color: #fff; Pointer-events: none; }

/* Floating Frosted Box */
.campus-floating-box { position: absolute; top: 50%; right: 15%; transform: translateY(-50%); z-index: 5; width: 38rem; background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 6rem 5rem; border: 1px solid rgba(255,255,255,0.5); }
.campus-floating-box .info-num { font-size: 4.8rem; font-weight: 900; color: #aaa; line-height: 1; margin-bottom: 2rem; }
.campus-floating-box .info-title { font-size: 2.8rem; font-weight: 800; color: #111; margin-bottom: 4rem; border-bottom: 2px solid #111; padding-bottom: 1rem; display: inline-block; }
.campus-floating-box .info-card-title { font-size: 2.2rem; font-weight: 800; color: #111; margin-bottom: 1.5rem; }
.campus-floating-box .info-card-desc { font-size: 1.6rem; color: #444; line-height: 1.7; font-weight: 500; }

/* Bottom Tabs line indicators */
.campus-tabs-bar { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 10; display: flex; gap: 0; background: transparent; border: none; }
.campus-tabs-bar button { flex: 1; padding: 2.5rem 5rem; text-align: center; font-size: 1.6rem; font-weight: 600; color: rgba(255,255,255,0.6); transition: all 0.3s; position: relative; border-top: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.3); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.campus-tabs-bar button::after { display: none; }
.campus-tabs-bar button:hover { color: #fff; border-top-color: rgba(255,255,255,0.6); }
.campus-tabs-bar button.active { color: #fff; border-top: 3px solid #fff; }

/*-----------------------------------------------------------------------------
  4. NOMAD Difference
-----------------------------------------------------------------------------*/
.sec-diff { position: relative; padding: 15rem 0; background: #fff; overflow: hidden; z-index: 1; }
.sec-diff-bg-curve { position: absolute; top: -20%; left: -30%; width: 65%; height: 140%; background: #f4f4f4; border-radius: 50%; z-index: -1; transform: rotate(-10deg); }

.diff-wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; margin-top: 5rem; }
.diff-left { position: absolute; left: 0; /*top: 15rem;*/ width: 45%; z-index: 10; }
.diff-left h2 { font-weight: 900; font-size: 7.2rem; line-height: 1.1; color: #111; margin-bottom: 2.4rem;  text-shadow: 0 0 3rem rgba(255,255,255,0.7); pointer-events: none; }
.diff-left .sub { font-weight: 600; font-size: 2.2rem; color: #333; }
.diff-right { width: 75%; flex: none; position: relative; overflow: hidden; margin-top: 0; box-shadow: 0 4rem 8rem rgba(0,0,0,0.15); }
.diff-right img { width: 100%; height: 50rem; object-fit: cover; }
.diff-right .diff-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 5rem 6rem; }
.diff-right .diff-overlay h3 { font-weight: 800; font-size: 5rem; line-height: 1.2; color: #fff; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.diff-right .diff-overlay p { font-size: 2rem; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,0.9); }

/*-----------------------------------------------------------------------------
  5. Responsive
-----------------------------------------------------------------------------*/
@media (max-width: 1024px) {
	/* Hero */
	.sec-hero { height: 56rem; }
	.hero-content { padding-top: 12rem; }
	.hero-inner { flex-direction: column; gap: 2rem; max-width: 90%; }
	.hero-left, .hero-right { width: 100%; }
	.hero-left h1 { font-size: 4.2rem; }
	.hero-right .headline { font-size: 2.4rem; margin-bottom: 1.6rem; }
	.hero-right .desc { font-size: 1.4rem; margin-bottom: 2rem; }
	.hero-right .cta-btn { font-size: 1.4rem; padding: 1.2rem 2.4rem; }
	.slider-dots { bottom: 2rem; gap: 0.8rem; }
	.slider-dots button { width: 0.8rem; height: 0.8rem; }

	/* Proven */
	.sec-proven { padding: 4rem 0 3rem; }
	.stat-grid-visual { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.4rem; }
	.stat-card-v .card-label { font-size: 1.2rem; }
	.stat-card-v .card-number { font-size: 2.8rem; }
	.stat-card-v .card-number span { font-size: 1.4rem; }
	.stat-card-v .card-sub { font-size: 1.2rem; }
	.stat-card-v .card-info { padding: 1rem; }

	/* Campus */
	.sec-campus-header { padding: 3rem 0 0; }
	.campus-showcase { height: 50vh; min-height: 30rem; max-height: 50rem; }
	.campus-hall-title { font-size: 3rem; bottom: 5rem; left: 5%; }
	.campus-floating-box { right: 5%; width: 16rem; padding: 1.6rem 1.4rem; }
	.campus-floating-box .info-num { font-size: 2rem; margin-bottom: 1rem; }
	.campus-floating-box .info-title { font-size: 1.4rem; margin-bottom: 1.6rem; padding-bottom: 0.6rem; }
	.campus-floating-box .info-card-title { font-size: 1.2rem; margin-bottom: 0.8rem; }
	.campus-floating-box .info-card-desc { font-size: 1.4rem; }
	.campus-tabs-bar button { padding: 1.2rem 1rem; font-size: 1.2rem; }

	/* Diff */
	.sec-diff { padding: 4rem 0; }
	.diff-wrap { flex-direction: column; display: flex; margin-top: 0; }
	.diff-left { position: relative; width: 100%; top: 0; padding-top: 0; z-index: 10; margin-bottom: 2rem; }
	.diff-left h2 { font-size: 2.4rem; margin-bottom: 1.2rem; }
	.diff-left .sub { font-size: 1.4rem; background: transparent; padding: 0; }
	.diff-right { width: 100%; }
	.diff-right img { height: 28rem; }
	.diff-right .diff-overlay { padding: 2rem 2.4rem; }
	.diff-right .diff-overlay h3 { font-size: 2rem; margin-bottom: 0.8rem; }
	.diff-right .diff-overlay p { font-size: 1.4rem; }
	.sec-diff-bg-curve { width: 150%; left: -25%; top: -10%; height: 50%; border-radius: 0 0 50% 50%; }

	/* CTA — content.css의 공통 오버라이드에 위임 */
}

@media (max-width: 768px) {
	.sec-hero { height: 48rem; }
	.hero-content { padding-top: 10rem; }
	.hero-left h1 { font-size: 3.6rem; }
	.hero-right .headline { font-size: 2rem; margin-bottom: 1.2rem; }
	.hero-right .desc { font-size: 1.4rem; margin-bottom: 1.8rem; }
	.hero-right .cta-btn { font-size: 1.4rem; padding: 1.2rem 2rem; }

	.stat-grid-visual { grid-template-columns: 1fr; gap: 1rem; }
	.stat-card-v { aspect-ratio: 1/0.6; }
	.stat-card-v .card-number { font-size: 3.2rem; }

	.campus-showcase { height: 40vh; min-height: 24rem; }
	.campus-hall-title { font-size: 2.4rem; bottom: 4rem; }
	.campus-floating-box { display: none; }
	.campus-tabs-bar button { padding: 1rem 0.6rem; font-size: 1.2rem; }

	.diff-right img { height: 22rem; }
	.diff-right .diff-overlay h3 { font-size: 1.8rem; }
}
