GiniGen AI commited on
Commit ·
07abef1
1
Parent(s): 51e9708
히어로 영상 full-bleed 배경 전환 (vidraft 패턴)
Browse files- 박스 임베드(.hero-video) → 전체 배경(.hero-bg) 재설계
- .hero: full-bleed (100vw, calc(50% - 50vw) 네거티브 마진, nav 아래까지 차오름)
- .hero-bg: position absolute, video object-fit cover로 섹션 전체 채움
- .hero-overlay: 듀얼 그라데이션(상하 다크 + 중앙 라디얼) — 텍스트 가독성
- .hero-content z-index 2 래퍼, max-width 820px
- h1/p 텍스트 그림자 추가 (영상 위 대비)
- 모바일 오버라이드: margin-top -180px, padding-top 220px, min-height 640px
- min-height 760px (데스크탑) / 640px (모바일)
- index.html +53 -36
index.html
CHANGED
|
@@ -165,8 +165,49 @@
|
|
| 165 |
|
| 166 |
/* ============ HERO ============ */
|
| 167 |
.hero {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
text-align: center;
|
| 169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
}
|
| 171 |
.hero-badge {
|
| 172 |
display: inline-flex;
|
|
@@ -188,6 +229,7 @@
|
|
| 188 |
line-height: 1.15;
|
| 189 |
letter-spacing: -1.5px;
|
| 190 |
margin-bottom: 20px;
|
|
|
|
| 191 |
}
|
| 192 |
.hero h1 .accent {
|
| 193 |
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, #A78BFA 100%);
|
|
@@ -201,35 +243,7 @@
|
|
| 201 |
max-width: 720px;
|
| 202 |
margin: 0 auto 36px;
|
| 203 |
line-height: 1.7;
|
| 204 |
-
|
| 205 |
-
.hero-video {
|
| 206 |
-
position: relative;
|
| 207 |
-
max-width: 960px;
|
| 208 |
-
margin: 0 auto 44px;
|
| 209 |
-
aspect-ratio: 16 / 9;
|
| 210 |
-
border-radius: 22px;
|
| 211 |
-
overflow: hidden;
|
| 212 |
-
background: var(--bg-mid);
|
| 213 |
-
border: 1px solid var(--border);
|
| 214 |
-
box-shadow:
|
| 215 |
-
0 24px 70px rgba(0, 217, 255, 0.14),
|
| 216 |
-
0 0 0 1px rgba(167, 139, 250, 0.22),
|
| 217 |
-
inset 0 0 0 1px rgba(255, 255, 255, 0.04);
|
| 218 |
-
}
|
| 219 |
-
.hero-video video {
|
| 220 |
-
width: 100%;
|
| 221 |
-
height: 100%;
|
| 222 |
-
display: block;
|
| 223 |
-
object-fit: cover;
|
| 224 |
-
}
|
| 225 |
-
.hero-video::after {
|
| 226 |
-
content: '';
|
| 227 |
-
position: absolute;
|
| 228 |
-
inset: 0;
|
| 229 |
-
border-radius: 22px;
|
| 230 |
-
background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 45%, rgba(167, 139, 250, 0.06) 100%);
|
| 231 |
-
pointer-events: none;
|
| 232 |
-
mix-blend-mode: screen;
|
| 233 |
}
|
| 234 |
.hero-stats {
|
| 235 |
display: grid;
|
|
@@ -676,6 +690,7 @@
|
|
| 676 |
.nav-left { flex-direction: column; gap: 10px; width: 100%; }
|
| 677 |
.tabs { flex-wrap: wrap; justify-content: center; }
|
| 678 |
.container { padding-top: 180px; }
|
|
|
|
| 679 |
.pricing-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
|
| 680 |
.pricing-row.head { display: none; }
|
| 681 |
.pricing-row .price { font-size: 20px; }
|
|
@@ -718,18 +733,19 @@
|
|
| 718 |
<!-- ============ HOME ============ -->
|
| 719 |
<div id="home" class="tab-content active">
|
| 720 |
<section class="hero">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 721 |
<div class="hero-badge">⚡ 2026.04 — 과기정통부·NIA + NIPA 동시 공인</div>
|
| 722 |
<h1>AI 전환의 모든 순간을,<br><span class="accent">한국어로.</span></h1>
|
| 723 |
<p>
|
| 724 |
진단(<strong>AX 종합병원</strong>) · 시뮬레이션(<strong>인공사회</strong>) · 생성(<strong>허그와트 바나나</strong>).<br>
|
| 725 |
한국 기업·정부·시민의 AI 전환을 떠받치는 세 개의 기둥.
|
| 726 |
</p>
|
| 727 |
-
<div class="hero-video" aria-label="GiniGen AI 히어로 영상">
|
| 728 |
-
<video autoplay muted loop playsinline preload="auto" poster="logo-stacked.png">
|
| 729 |
-
<source src="hero-v1.mp4" type="video/mp4">
|
| 730 |
-
브라우저가 이 영상을 지원하지 않습니다.
|
| 731 |
-
</video>
|
| 732 |
-
</div>
|
| 733 |
<div class="hero-stats">
|
| 734 |
<div class="hero-stat">
|
| 735 |
<div class="num">2위·5위</div>
|
|
@@ -744,6 +760,7 @@
|
|
| 744 |
<div class="label">HuggingFace 월간 활성 사용자</div>
|
| 745 |
</div>
|
| 746 |
</div>
|
|
|
|
| 747 |
</section>
|
| 748 |
|
| 749 |
<!-- 3 PILLARS -->
|
|
|
|
| 165 |
|
| 166 |
/* ============ HERO ============ */
|
| 167 |
.hero {
|
| 168 |
+
position: relative;
|
| 169 |
+
margin: -110px calc(50% - 50vw) 0;
|
| 170 |
+
width: 100vw;
|
| 171 |
+
padding: 160px 24px 100px;
|
| 172 |
+
min-height: 760px;
|
| 173 |
+
display: flex;
|
| 174 |
+
flex-direction: column;
|
| 175 |
+
justify-content: center;
|
| 176 |
+
align-items: center;
|
| 177 |
text-align: center;
|
| 178 |
+
overflow: hidden;
|
| 179 |
+
}
|
| 180 |
+
.hero-bg {
|
| 181 |
+
position: absolute;
|
| 182 |
+
inset: 0;
|
| 183 |
+
z-index: 0;
|
| 184 |
+
overflow: hidden;
|
| 185 |
+
background: var(--bg-deep);
|
| 186 |
+
}
|
| 187 |
+
.hero-bg video {
|
| 188 |
+
width: 100%;
|
| 189 |
+
height: 100%;
|
| 190 |
+
object-fit: cover;
|
| 191 |
+
display: block;
|
| 192 |
+
}
|
| 193 |
+
.hero-overlay {
|
| 194 |
+
position: absolute;
|
| 195 |
+
inset: 0;
|
| 196 |
+
z-index: 1;
|
| 197 |
+
background:
|
| 198 |
+
linear-gradient(180deg,
|
| 199 |
+
rgba(11, 20, 55, 0.55) 0%,
|
| 200 |
+
rgba(11, 20, 55, 0.40) 40%,
|
| 201 |
+
rgba(11, 20, 55, 0.85) 92%,
|
| 202 |
+
var(--bg-deep) 100%),
|
| 203 |
+
radial-gradient(ellipse at center, transparent 0%, rgba(11, 20, 55, 0.45) 100%);
|
| 204 |
+
pointer-events: none;
|
| 205 |
+
}
|
| 206 |
+
.hero-content {
|
| 207 |
+
position: relative;
|
| 208 |
+
z-index: 2;
|
| 209 |
+
max-width: 820px;
|
| 210 |
+
width: 100%;
|
| 211 |
}
|
| 212 |
.hero-badge {
|
| 213 |
display: inline-flex;
|
|
|
|
| 229 |
line-height: 1.15;
|
| 230 |
letter-spacing: -1.5px;
|
| 231 |
margin-bottom: 20px;
|
| 232 |
+
text-shadow: 0 4px 30px rgba(0, 0, 0, 0.50);
|
| 233 |
}
|
| 234 |
.hero h1 .accent {
|
| 235 |
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, #A78BFA 100%);
|
|
|
|
| 243 |
max-width: 720px;
|
| 244 |
margin: 0 auto 36px;
|
| 245 |
line-height: 1.7;
|
| 246 |
+
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
}
|
| 248 |
.hero-stats {
|
| 249 |
display: grid;
|
|
|
|
| 690 |
.nav-left { flex-direction: column; gap: 10px; width: 100%; }
|
| 691 |
.tabs { flex-wrap: wrap; justify-content: center; }
|
| 692 |
.container { padding-top: 180px; }
|
| 693 |
+
.hero { margin-top: -180px; padding: 220px 20px 60px; min-height: 640px; }
|
| 694 |
.pricing-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
|
| 695 |
.pricing-row.head { display: none; }
|
| 696 |
.pricing-row .price { font-size: 20px; }
|
|
|
|
| 733 |
<!-- ============ HOME ============ -->
|
| 734 |
<div id="home" class="tab-content active">
|
| 735 |
<section class="hero">
|
| 736 |
+
<div class="hero-bg" aria-hidden="true">
|
| 737 |
+
<video autoplay muted loop playsinline preload="auto" poster="logo-stacked.png">
|
| 738 |
+
<source src="hero-v1.mp4" type="video/mp4">
|
| 739 |
+
</video>
|
| 740 |
+
<div class="hero-overlay"></div>
|
| 741 |
+
</div>
|
| 742 |
+
<div class="hero-content">
|
| 743 |
<div class="hero-badge">⚡ 2026.04 — 과기정통부·NIA + NIPA 동시 공인</div>
|
| 744 |
<h1>AI 전환의 모든 순간을,<br><span class="accent">한국어로.</span></h1>
|
| 745 |
<p>
|
| 746 |
진단(<strong>AX 종합병원</strong>) · 시뮬레이션(<strong>인공사회</strong>) · 생성(<strong>허그와트 바나나</strong>).<br>
|
| 747 |
한국 기업·정부·시민의 AI 전환을 떠받치는 세 개의 기둥.
|
| 748 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 749 |
<div class="hero-stats">
|
| 750 |
<div class="hero-stat">
|
| 751 |
<div class="num">2위·5위</div>
|
|
|
|
| 760 |
<div class="label">HuggingFace 월간 활성 사용자</div>
|
| 761 |
</div>
|
| 762 |
</div>
|
| 763 |
+
</div><!-- /.hero-content -->
|
| 764 |
</section>
|
| 765 |
|
| 766 |
<!-- 3 PILLARS -->
|