/* BeforeGlow Official Style System */
 
:root {
  --primary: #FF5722;
  --primary-glow: rgba(255, 87, 34, 0.15);
  --accent: #E65100;
  --bg: #E8EDF2;
  --bg-card: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --text: #1A1A1A;
  --text-muted: #555555;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(20px);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
 
h1, h2, h3, h4, .logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
 
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
 
/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
 
.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
 
.nav-logo {
  filter: drop-shadow(0 2px 8px var(--primary-glow));
}
 
.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #1A1A1A, #FF7043);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
 
.nav-menu {
  display: flex;
  gap: 32px;
}
 
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}
 
.nav-link:hover {
  color: var(--text);
}
 
/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 112, 67, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(147, 112, 219, 0.1) 0%, transparent 50%),
              #E8EDF2;
  border-bottom: 1px solid var(--border);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  background-color: rgba(255, 112, 67, 0.1);
  border: 1px solid rgba(255, 112, 67, 0.25);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #D84315, #FF5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px var(--primary-glow));
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF5722);
  color: #000;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 112, 67, 0.35);
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 112, 67, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: #000;
}

/* Interactive Phone Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 310px;
  height: 620px;
  background-color: #000;
  border: 8px solid #282530;
  border-radius: 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 0 2px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 22px;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 100;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #E8EDF2;
  position: relative;
  display: flex;
  flex-direction: column;
}
 
/* 공통 헤더 통합 & 노치 대응 패딩 */
.phone-app-header {
  padding: 26px 12px 6px 12px;
  background-color: #E8EDF2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
.phone-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
/* 알약형 3단 토글 스위치 */
.phone-nav-toggle {
  display: flex;
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2px;
  border-radius: 15px;
  width: 136px;
  height: 28px;
}
 
.phone-nav-indicator {
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  width: 44px; /* (136 - 4) / 3 = 44 */
  background-color: #1A1A1A;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
 
.phone-nav-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease;
  padding: 0;
  line-height: 22px;
}
 
.phone-nav-btn.active {
  color: #E8EDF2 !important;
}
 
/* 우측 헤더 아이콘 버튼 */
.phone-header-right {
  display: flex;
  gap: 6px;
}
 
.phone-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
 
.phone-icon-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}
 
.phone-icon-btn svg {
  width: 12px;
  height: 12px;
}
 
.phone-camera-btn {
  background: #FF4500;
  border-color: #FF4500;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
}
 
/* 폰용 가로 날짜 바 */
.phone-date-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 10px;
  height: 26px;
  transition: opacity 0.2s ease;
}
 
.date-arrow {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
 
.date-label-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}
 
.cal-icon {
  width: 10px;
  height: 10px;
  color: var(--text-muted);
}
 
.phone-date-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
}

/* Simulated App Viewports */
.sim-screen {
  flex: 1;
  display: none;
  flex-direction: column;
  position: relative;
}

.sim-screen.active {
  display: flex;
}

/* AR Tracker Screen Simulation */
.ar-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.sky-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1A0E2E 0%, #7B1FA2 40%, #E64A19 75%, #F57C00 100%);
  animation: pulseSky 8s infinite alternate;
}

.trajectory-line {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1.5px dashed rgba(255, 215, 0, 0.35);
  border-radius: 50%;
  top: 80px;
  left: -40px;
}

.neon-sun {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF 20%, #FFB74D 70%, #FF3D00 100%);
  top: 155px;
  left: 95px;
  box-shadow: 0 0 20px #FF5722, 0 0 40px #FF9800;
  animation: floatSun 4s infinite ease-in-out;
}

.terrain-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #09030E 80%, rgba(20, 10, 30, 0.9) 100%);
  clip-path: polygon(0% 70%, 15% 55%, 35% 80%, 55% 40%, 75% 75%, 90% 60%, 100% 75%, 100% 100%, 0% 100%);
}

.hud-card {
  position: absolute;
  background: rgba(13, 8, 20, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.hud-card.top {
  top: 16px;
  left: 16px;
  right: 16px;
  align-items: center;
}

.hud-card.bottom {
  bottom: 16px;
  left: 16px;
  right: 16px;
}

.hud-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.hud-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text);
}

/* 3D Simulation Screen Simulation */
.sim-viewport {
  flex: 1;
  position: relative;
  background: linear-gradient(to bottom, #110722 0%, #4A148C 45%, #E65100 80%, #210402 100%);
}
#phoneSimSvg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.score-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.score-lbl {
  font-size: 8px;
  color: var(--text-muted);
}

.timeline-slider {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  background: rgba(13, 8, 20, 0.8);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 12px;
}

.slider-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  margin-bottom: 6px;
}

.slider-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary);
  position: absolute;
  top: -4px;
  left: 55%;
  box-shadow: 0 0 8px var(--primary);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-muted);
}

/* Gallery Screen Simulation */
.gallery-viewport {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.card-img {
  height: 100px;
  width: 100%;
}

.card-info {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-loc {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.card-score {
  font-size: 10px;
  color: var(--accent);
}

/* Tabs on phone frame */
.phone-tabs {
  height: 60px;
  background-color: #0b0712;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 8px;
}

.tab-indicator {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-indicator span {
  font-size: 9px;
  font-weight: 500;
}

.tab-indicator svg {
  width: 16px;
  height: 16px;
}

.tab-indicator.active {
  color: var(--primary);
}

/* Core Features Section */
.features-section {
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1A1A1A;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 112, 67, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-visual {
  width: 100%;
  height: 140px;
  margin-top: 24px;
  border-radius: 12px;
  background: rgba(10, 6, 16, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper.orange { background: rgba(255, 112, 67, 0.15); color: var(--primary); }
.feature-icon-wrapper.purple { background: rgba(147, 112, 219, 0.15); color: #B388FF; }
.feature-icon-wrapper.yellow { background: rgba(255, 215, 0, 0.15); color: var(--accent); }

.feature-icon {
  width: 24px;
  height: 24px;
}

.feature-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-body {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Guides Section */
.guides-section {
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  border-bottom: 1px solid var(--border);
}

.guides-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.guides-tab-list {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.guide-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.guide-tab-btn:hover, .guide-tab-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 112, 67, 0.25);
}

.guide-tab-content {
  display: none;
}

.guide-tab-content.active {
  display: block;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
}

.guide-info-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--text);
}

.guide-info-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.guide-info-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-info-text li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.guide-info-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.guide-visual {
  height: 280px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.guide-visual-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Weather sub-tabs style */
.weather-selector {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.weather-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.weather-tab-btn:hover, .weather-tab-btn.active {
  background: rgba(255, 112, 67, 0.15);
  color: var(--primary);
  border-color: var(--primary);
}

/* Simulator Demo SVG & HUD Overlay styling */
.visual-sim {
  position: relative;
  background-color: #0c0813;
  transition: var(--transition);
}

.sim-svg-canvas {
  width: 100%;
  height: 100%;
}

.sim-hud-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-family: 'Outfit', sans-serif;
  z-index: 10;
}

.sim-hud-left, .sim-hud-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(13, 8, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 10px;
}

.sim-hud-time, .sim-hud-altitude {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
}

.sim-hud-status, .sim-hud-score {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sim-hud-score {
  color: var(--accent);
}

/* SVG cloud paths style system mapping app visual specs */
.sim-svg-cloud {
  transition: fill 0.6s ease, opacity 0.6s ease;
}

.sim-svg-cloud.layer-high {
  opacity: 0.38;
}

.sim-svg-cloud.layer-mid {
  opacity: 0.75;
}

.sim-svg-cloud.layer-low {
  opacity: 0.88;
}


/* Scatter stacked static layout styling */
.weather-guide-flow {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.scatter-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.scatter-info-header h3 {
  font-size: 20px;
  color: #110722 !important;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
 
.scatter-info-header p {
  font-size: 14px;
  color: var(--text-muted);
}
 
.scatter-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}
 
/* On desktop, show text and diagram block stacked but neat */
.scatter-explanation-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 14px;
}

.scatter-explanation-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scatter-explanation-box li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.scatter-diagram-box {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  background-color: #ffffff;
}

.scatter-static-svg {
  width: 100%;
  height: auto;
  min-height: 220px;
  display: block;
}

.scatter-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
  width: 100%;
}

/* Custom slider style */
#mie-humidity-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

#mie-humidity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary);
  transition: transform 0.1s ease;
}

#mie-humidity-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* 구름 백과사전 & 상세 가이드 */
.cloud-guide-container {
  padding: 12px 0;
}

.cloud-guide-header {
  margin-bottom: 28px;
}

.cloud-guide-header h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
}

.cloud-guide-header p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.cloud-filter-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cloud-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cloud-filter-btn:hover {
  border-color: var(--primary);
  color: #FFF;
}

.cloud-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 112, 67, 0.25);
}

.cloud-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-top: 10px;
}

.cloud-guide-table {
  width: 100%;
  border-collapse: collapse;
}

.cloud-guide-table th {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.02);
}

.cloud-guide-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  vertical-align: middle;
}

.cloud-row {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cloud-row.hidden {
  display: none !important;
}

/* 구름 프리뷰 카드 */
.cloud-preview-card {
  width: 90px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}

.cloud-preview-card svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.high-bg {
  background: linear-gradient(135deg, #ff8fa3, #a29bfe);
}

.mid-bg {
  background: linear-gradient(135deg, #ff7675, #6c5ce7);
}

.low-bg {
  background: linear-gradient(135deg, #ffeaa7, #2d3436);
}

/* 이름 컨테이너 */
.cloud-name-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cloud-ko-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cloud-en-name {
  font-size: 11px;
  color: var(--text-muted);
}

/* 고도 배지 */
.alt-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.badge-high {
  border: 1px solid rgba(255, 105, 180, 0.4);
  background: rgba(255, 105, 180, 0.1);
  color: #ff69b4;
}

.badge-mid {
  border: 1px solid rgba(147, 112, 219, 0.4);
  background: rgba(147, 112, 219, 0.1);
  color: #b39ddb;
}

.badge-low {
  border: 1px solid rgba(70, 130, 180, 0.4);
  background: rgba(70, 130, 180, 0.1);
  color: #81d4fa;
}

.alt-range {
  font-size: 11px;
  color: var(--text-muted);
}

/* 기상 조건 리스트 */
.cloud-cond-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cloud-cond-list li {
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  padding-left: 10px;
  line-height: 1.4;
}

.cloud-cond-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.cond-val {
  color: var(--text);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 10px;
}

.cloud-effect-desc {
  line-height: 1.5;
  color: var(--text-muted);
  font-size: 12px;
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .cloud-guide-table thead {
    display: none;
  }
  .cloud-guide-table, .cloud-guide-table tbody, .cloud-row, .cloud-guide-table td {
    display: block;
    width: 100%;
  }
  .cloud-row {
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .cloud-row:last-child {
    border-bottom: none;
  }
  .cloud-guide-table td {
    padding: 6px 0;
    border: none;
  }
  .cloud-preview-card {
    width: 80px;
    height: 46px;
    margin-bottom: 6px;
  }
}

/* Privacy Policy Section */
.privacy-section {
  padding: 100px 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px;
  border-bottom: 1px solid var(--border);
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.policy-scroll {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 16px;
}

.policy-scroll h3 {
  font-size: 18px;
  color: var(--text);
  margin: 28px 0 12px 0;
}

.policy-scroll h3:first-of-type {
  margin-top: 0;
}

.policy-scroll p, .policy-scroll li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.policy-scroll ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.policy-date {
  font-weight: 600;
  margin-top: 40px;
  color: var(--primary) !important;
}

/* Credits Section */
.credits-section {
  padding: 100px 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px;
}

.credits-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.credit-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
}

.credit-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.credit-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.credit-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.credits-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.credits-footnote a {
  color: var(--primary);
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: #DFE5EB;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
 
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
 
.copyright {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
 
.hosting-note {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
}

/* Keyframe Animations */
@keyframes floatSun {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseSky {
  0% { opacity: 0.9; }
  100% { opacity: 1; }
}

@keyframes moveClouds {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive Layout */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .guide-layout {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .credits-container {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  
  .navbar {
    height: auto;
    position: relative;
  }
  
  .hero-section {
    padding-top: 60px;
  }
}

/* SVG Text visibility enhancement class */
.sim-text-outline {
  font-family: 'Outfit', -apple-system, sans-serif;
  paint-order: stroke fill;
  stroke: #ffffff;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* APK Install Guide Glassmorphism Card */
.apk-install-guide {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 24px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.guide-badge {
  display: inline-block;
  background: rgba(230, 81, 0, 0.1);
  color: #E65100;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.guide-intro {
  font-size: 14px;
  color: #4A4A4A;
  margin-bottom: 16px;
  font-weight: 600;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E65100;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
}

.btn-apk-download {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #FFF !important;
  box-shadow: 0 4px 20px rgba(230, 81, 0, 0.35) !important;
  gap: 10px;
}

.btn-apk-download .btn-icon {
  fill: none;
  stroke: #FFF;
}

/* ==========================================
   Global Web Gallery Section Styles
   ========================================== */
.gallery-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #F5F7FA 0%, #E4E8F0 100%);
  border-bottom: 1px solid var(--border);
}

.gallery-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  min-height: 250px;
  position: relative;
}

/* Premium Glassmorphism Gallery Card */
.web-gallery-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.web-gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 112, 67, 0.3);
}

.web-gallery-image-wrapper {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  background-color: #f1f3f5;
}

.web-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-gallery-card:hover .web-gallery-image {
  transform: scale(1.06);
}

/* AR HUD Info Overlay */
.web-gallery-hud-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 7, 18, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 100px;
  color: #00FFCC;
  font-family: 'Outfit', monospace;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sunset Score Badge */
.web-gallery-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  color: #FFA500;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Meta Info */
.web-gallery-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.web-gallery-loc {
  font-size: 15px;
  font-weight: 700;
  color: #1A1C20;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-gallery-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 12px;
}

.web-gallery-user {
  font-size: 12px;
  color: #5A606F;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.web-gallery-date {
  font-size: 11px;
  color: #9AA2B1;
  font-weight: 400;
}

/* Loading & Empty States */
.gallery-loading-placeholder, .gallery-empty-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px dashed var(--border);
  border-radius: 24px;
  min-height: 250px;
}

.gallery-empty-placeholder svg {
  color: #9AA2B1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.gallery-empty-placeholder h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2D3139;
  margin-bottom: 8px;
}

.gallery-empty-placeholder p {
  font-size: 13px;
  color: #6A7282;
  max-width: 320px;
  line-height: 1.5;
}

/* Spinner Animation */
.gallery-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 112, 67, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: gallerySpin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes gallerySpin {
  to { transform: rotate(360deg); }
}

