/* =============================================
   RYDIS Corporate Website – Main Stylesheet
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0057FF;
  --primary-dark: #0040CC;
  --primary-light: #3375ff;
  --accent: #00C8FF;
  --dark: #0A0E1A;
  --dark-2: #111827;
  --dark-3: #1F2937;
  --mid: #374151;
  --light-bg: #F4F6FB;
  --white: #FFFFFF;
  --text-main: #111827;
  --text-sub: #6B7280;
  --border: rgba(255,255,255,0.1);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 앵커 스크롤 오프셋 보정 */
.anchor-target {
  display: block;
  visibility: hidden;
  height: 0;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
  pointer-events: none;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-light { background: var(--light-bg); }
.mt-2 { margin-top: 24px; }

.br-desktop { display: block; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-cta { text-align: center; margin-top: 48px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 87, 255, 0.1);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-subtitle--dark { color: var(--text-sub); }

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;   /* 심볼 경계 밖으로 나오는 부분 보이도록 */
}

.logo-img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* 네비 심볼 – 흑백(흰색)으로 표시 */
.logo-img--nav {
  height: 38px;
  width: auto;
  display: block;
  overflow: visible;
  filter: brightness(0) invert(1);   /* 빨강 → 흰색 */
  transition: opacity var(--transition);
}
.nav-logo:hover .logo-img--nav { opacity: 0.8; }

/* RYDIS 워드마크 텍스트 */
.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;          /* 줄바꿈 방지 */
}
.nav-logo:hover .logo-wordmark { opacity: 0.8; }

/* Footer 로고 */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-shrink: 0;               /* 줄바꿈·잘림 방지 */
  min-width: 0;
}
.logo-img--footer {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  display: block;
  overflow: visible;
  filter: brightness(0) invert(1);   /* 흑백(흰색) */
  opacity: 0.85;
}
.logo-wordmark--footer {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;          /* 잘림 방지 */
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;          /* nav-link 바로 아래 – 틈새 없애서 hover 끊김 방지 */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: 8px;
  /* 위쪽에 투명 패딩을 pseudo로 덮어 마우스 이동 중 gap 문제 방지 */
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
/* 투명 브릿지: nav-link ~ dropdown 사이 hover 유지 */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 16px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: rgba(0,87,255,0.15); color: var(--white); }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 4px 8px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 4px 8px;
  border-radius: 100px;
  transition: all var(--transition);
}
.lang-btn.active { color: var(--white); background: var(--primary); }
.lang-divider { color: rgba(255,255,255,0.3); font-size: 11px; }

/* Product Site Nav Button */
.nav-product-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: 100px;
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), opacity var(--transition);
}
.nav-product-btn:hover { opacity: 0.85; }

/* Language Switch Link Button (KR/EN Directory Structure) */
.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background var(--transition);
}
.lang-switch-btn:hover { background: rgba(255,255,255,0.14); }
.lang-switch-current {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 100px;
}
.lang-switch-other {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 3px 8px;
}
.lang-switch-divider {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO SECTION  (Key Visual Slideshow)
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0A0E1A;
  padding: 0 24px;
}

/* ---- Slideshow Background ---- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* 슬라이드 기본 배경색 (이미지 로딩 전 잠깐 보이는 배경) */
#slide0 { background-color: #0e1828; }
#slide1 { background-color: #0c1624; }
#slide2 { background-color: #0d1726; }

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide.prev {
  opacity: 0;
  transform: scale(1.06);
}

/* 이미지 포지셔닝 — 쇼룸 이미지 상단 여백 보정 */
.hero-slide {
  background-position: center 20%;
}
#slide0 { background-position: center 18%; }
#slide1 { background-position: center 22%; }

/* ---- Decorative Showroom Elements (fallback illustration) ---- */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
    /* 이미지가 항상 로드되므로 데코 요소는 숨김 */
  opacity: 0;
  pointer-events: none;
}

/* Ceiling ring light */
.deco-ring {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 40px 10px rgba(255,255,255,0.06),
    inset 0 0 20px rgba(255,255,255,0.04);
}
.deco-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 60px 20px rgba(255,255,255,0.08);
}

/* Spot lights */
.deco-spot {
  position: absolute;
  top: 10%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  box-shadow: 0 0 12px 4px rgba(255,255,255,0.18);
}
.deco-spot--1 { left: 20%; }
.deco-spot--2 { left: 38%; }
.deco-spot--3 { right: 20%; }

/* Wall-mounted TVs (left side) */
.deco-tv {
  position: absolute;
  background: rgba(30,50,90,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
}
.deco-tv--1 { left: 4%;  top: 28%; width: 7%;  height: 11%; }
.deco-tv--2 { left: 4%;  top: 43%; width: 7%;  height: 11%; }
.deco-tv--3 { left: 40%; top: 22%; width: 18%; height: 14%; 
              background: rgba(20,40,80,0.6); border-radius: 2px; }

/* Display counters */
.deco-counter {
  position: absolute;
  bottom: 22%;
  background: rgba(180,175,130,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}
.deco-counter--1 { left: 20%; width: 18%; height: 10%; }
.deco-counter--2 { left: 42%; width: 16%; height: 10%; }

/* Right side appliances */
.deco-appliance {
  position: absolute;
  bottom: 22%;
  right: 8%;
  background: rgba(150,160,170,0.15);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
}
.deco-appliance--1 { right: 10%; width: 6%; height: 22%; bottom: 22%; }
.deco-appliance--2 { right: 4%;  width: 5%; height: 20%; bottom: 22%; }

/* Floor reflection line */
.deco-floor-line {
  position: absolute;
  bottom: 21%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 15%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.06) 85%,
    transparent 100%
  );
}

/* ---- Multi-layer overlay for richness + readability ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Deep dark gradient from the sides + bottom, lighter center to show image */
  background:
    /* left vignette */
    radial-gradient(ellipse 55% 90% at 0% 50%,   rgba(5,8,20,0.72) 0%, transparent 60%),
    /* right vignette */
    radial-gradient(ellipse 40% 80% at 100% 50%, rgba(5,8,20,0.55) 0%, transparent 55%),
    /* top bar */
    linear-gradient(to bottom, rgba(5,8,20,0.65) 0%, transparent 28%),
    /* bottom heavy gradient for text area */
    linear-gradient(to top,    rgba(5,8,20,0.92) 0%, rgba(5,8,20,0.55) 38%, transparent 65%),
    /* global darkening layer */
    rgba(5, 8, 20, 0.38);
  pointer-events: none;
}

/* Blue brand tint shimmer on top */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%,
    rgba(0, 80, 220, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

/* Bottom fade to merge with next section */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, #0A0E1A);
  pointer-events: none;
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding-bottom: 60px;
}

/* Label row */
.hero-label-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  padding: 8px 20px 8px 14px;
  border-radius: 100px;
}
.hero-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50%       { box-shadow: 0 0 18px var(--accent), 0 0 32px rgba(0,200,255,0.4); }
}
.hero-label-text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-title-line1 { display: inline; }
.hero-highlight {
  display: inline-block;
  background: linear-gradient(100deg, #60b0ff 0%, var(--accent) 60%, #a8f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(0,200,255,0.35));
}

/* Desc */
.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  margin-bottom: 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Slide Indicators ---- */
.hero-indicators {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.28);
  transition: background var(--transition), width var(--transition);
  cursor: pointer;
  padding: 0;
  border: none;
}
.hero-dot.active {
  background: var(--accent);
  width: 56px;
  box-shadow: 0 0 10px rgba(0,200,255,0.5);
}

/* ---- Scroll Indicator ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.scroll-dot {
  width: 6px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  80%       { top: 24px; opacity: 0; }
}

/* =============================================
   BUTTONS  (shared)
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,87,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,87,255,0.55);
}
.btn-outline {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.32);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: #0A0E1A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 36px 24px;
}
.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 48px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
}

/* =============================================
   ABOUT US
   ============================================= */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual Side */
.about-visual {
  position: relative;
  height: 480px;
}
.about-img-box {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #0A0E1A, #0D1B3E);
  overflow: hidden;
}

/* 실제 이미지 */
.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  display: block;
}

/* 이미지 위 블루 그라디언트 오버레이 (카드·배지가 보이도록) */
.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px;
  background:
    linear-gradient(to bottom, rgba(5,10,25,0.45) 0%, rgba(5,10,25,0.15) 50%, rgba(5,10,25,0.55) 100%),
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(0,60,200,0.18) 0%, transparent 55%);
}
.about-img-box::after {
  content: 'RYDIS';
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.08em;
}

.about-card-main {
  position: absolute;
  top: 32px;
  left: 32px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.about-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}
.about-card-text span { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.about-card-text strong { display: block; font-size: 16px; color: var(--white); font-weight: 700; }

.about-badge {
  position: absolute;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-badge i { color: var(--primary); }
.about-badge--1 { bottom: 80px; left: 24px; }
.about-badge--2 { top: 120px; right: -16px; }

/* Content Side */
.about-content .section-tag { margin-bottom: 12px; }
.about-desc {
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-main);
}
.about-features li i { color: var(--primary); font-size: 14px; flex-shrink: 0; }

/* =============================================
   SOLUTIONS (WHAT WE DO)
   ============================================= */
.solutions-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,87,255,0.4);
}

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

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}
.solution-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,87,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.solution-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,87,255,0.2), rgba(0,200,255,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}
.solution-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.solution-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.solution-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.solution-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

/* CMS Features */
.solutions-grid--cms {
  grid-template-columns: repeat(2, 1fr);
}
.cms-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}
.cms-feature:hover { background: rgba(255,255,255,0.07); border-color: rgba(0,87,255,0.3); }
.cms-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}
.cms-feature h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cms-feature p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* Platforms */
.app-intro {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin-bottom: 40px;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.platform-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  text-align: center;
  transition: all var(--transition);
}
.platform-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,87,255,0.4);
  transform: translateY(-4px);
}
.platform-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--white);
  font-weight: 900;
  font-family: var(--font-heading);
}
.platform-icon span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.platform-icon--tizen { background: linear-gradient(135deg, #1428A0, #0055A0); }
.platform-icon--android { background: linear-gradient(135deg, #3DDC84, #00A550); }
.platform-icon--web { background: linear-gradient(135deg, #FF6B35, #F7C59F); }
.platform-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* =============================================
   PORTFOLIO (WHAT WE HAVE)
   ============================================= */
.portfolio-section { background: var(--white); }

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--light-bg);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--primary); background: rgba(0,87,255,0.07); }
.filter-btn.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,87,255,0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.port-item {
  transition: all var(--transition);
}
.port-item.hidden {
  display: none;
}
.port-card {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}
.port-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.port-icon-area {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.port-img-area {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.port-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.port-card:hover .port-img { transform: scale(1.05); }
.port-icon-area--av { background: linear-gradient(135deg, #0A0E1A, #0D1B3E); color: var(--accent); }
.port-icon-area--display { background: linear-gradient(135deg, #0D1B3E, #1428A0); color: #60A5FA; }
.port-icon-area--cms { background: linear-gradient(135deg, #0A0E1A, #1F2937); color: #A78BFA; }
.port-info { padding: 20px; }
.port-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.port-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.port-info p { font-size: 13px; color: var(--text-sub); line-height: 1.65; }

/* =============================================
   WHY RYDIS
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #E5E7EB;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0,87,255,0.12), rgba(0,200,255,0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  margin: 0 auto 20px;
}
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.why-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,87,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-info-item p { font-size: 15px; color: var(--white); line-height: 1.7; }

/* 회사명 */
.contact-company-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* 링크 스타일 */
.contact-link {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
.contact-link:hover {
  color: #fff;
  opacity: 0.85;
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(0,87,255,0.08);
}
.form-group select option { background: var(--dark-2); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #10B981;
  color: var(--white);
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
  max-width: 90vw;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* =============================================
   PRIVACY POLICY – Checkbox & Modal
   ============================================= */

/* --- 체크박스 동의 영역 --- */
.privacy-group {
  margin-bottom: 8px;
}

.privacy-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.privacy-agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.privacy-agree input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.privacy-agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.privacy-agree input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.privacy-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.privacy-text strong {
  color: var(--accent);
  margin-right: 4px;
}

.privacy-detail-btn {
  display: inline;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 6px;
  padding: 0;
  transition: opacity var(--transition);
}
.privacy-detail-btn:hover { opacity: 0.75; }

.privacy-summary {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 8px;
  margin-left: 32px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid rgba(255,255,255,0.12);
  border-radius: 0 6px 6px 0;
}

/* --- Shake 애니메이션 (개인정보 미동의 시) --- */
@keyframes privacyShake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-7px); }
  30%       { transform: translateX(7px); }
  45%       { transform: translateX(-5px); }
  60%       { transform: translateX(5px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}
.privacy-shake {
  animation: privacyShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
/* shake 시 체크박스 테두리 강조 */
.privacy-shake input[type="checkbox"] {
  border-color: #FF4444 !important;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.25);
}

/* --- 모달 배경 --- */
.privacy-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.privacy-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --- 모달 본체 --- */
.privacy-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 9001;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: min(640px, 92vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.privacy-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.privacy-modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.privacy-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.privacy-modal-close:hover { background: rgba(255,255,255,0.16); color: var(--white); }

.privacy-modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.privacy-modal-body::-webkit-scrollbar { width: 5px; }
.privacy-modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

.privacy-intro {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 테이블 */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.privacy-table th,
.privacy-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
  line-height: 1.7;
  vertical-align: top;
}
.privacy-table th {
  background: rgba(0,87,255,0.15);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.privacy-table td {
  color: rgba(255,255,255,0.7);
}
.privacy-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  width: 30%;
}

.privacy-notice {
  background: rgba(255,200,0,0.06);
  border: 1px solid rgba(255,200,0,0.18);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.privacy-contact {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.privacy-contact strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 6px;
}

.privacy-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  justify-content: flex-end;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.18);
  cursor: pointer;
}
.btn-outline-dark:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  flex-shrink: 0;
  min-width: 0;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 2px; white-space: nowrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* Policy Links (개인정보처리방침 / 이용약관) */
.footer-policy-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-policy-links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.15);
}
.footer-policy-links a:hover {
  color: rgba(255,255,255,0.75);
  text-decoration-color: rgba(255,255,255,0.5);
}
.footer-policy-links a.active {
  color: var(--accent);
  text-decoration-color: rgba(0,200,255,0.4);
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* =============================================
   PARTICLES (Canvas-like effect using CSS)
   ============================================= */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 87, 255, 0.3);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 320px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions-grid--cms { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .about-badge--2 { right: 8px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 32px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 12px 16px; font-size: 15px; width: 100%; }
  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all;
    background: rgba(255,255,255,0.04);
    margin-top: 4px;
    padding-top: 8px;
    width: 100%;
  }

  .hamburger { display: flex; }
  .br-desktop { display: none; }

  /* Hero mobile */
  .hero-slide { background-position: 30% center; }
  .hero-indicators { bottom: 64px; }
  .hero-scroll-indicator { bottom: 20px; }
  .hero-bottom-fade { height: 100px; }

  .stats-container { gap: 12px; }
  .stat-item { padding: 12px 20px; }
  .stat-divider { display: none; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-links { justify-content: center; }
  .footer-policy-links { justify-content: center; }

  .section { padding: 72px 0; }
  .toast { white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
