/* ==========================================================================
   RAZEMETRY — Global Web UI Design System (Dark Cockpit Theme)
   ========================================================================== */

:root {
  --bg-main: #080d1a;
  --bg-surface: #0f172a;
  --bg-card: rgba(19, 31, 55, 0.65);
  --bg-card-hover: rgba(26, 42, 74, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.8);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-cyan: rgba(0, 229, 255, 0.4);
  --border-purple: rgba(139, 92, 246, 0.4);
  
  --cyan-primary: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --purple-primary: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --green-badge: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ==========================================================================
   NAVIGATION (GNB)
   ========================================================================== */

.gnb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.brand-logo:hover .footer-logo-img {
  opacity: 1;
}

.gnb-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.gnb-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.gnb-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.gnb-link.active {
  color: var(--cyan-primary);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-cyan);
}

.gnb-btn-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #080d1a !important;
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  border-radius: 9999px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.gnb-btn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.7);
  color: #050811 !important;
}

.gnb-btn-highlight.active {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.8);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.gnb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #080d1a;
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.65);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 50px 24px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-primary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--purple-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* Hero 2-Column Split Layout */
.hero-split {
  max-width: 1280px;
  padding: 40px 24px 50px;
  text-align: left;
}

.hero-header-center {
  text-align: center;
  margin-bottom: 36px;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.18);
}

.hero-video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-sound-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.72);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.video-sound-btn:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: rgba(0, 229, 255, 0.7);
}

.hero-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-side-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.hero-side-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-hero-full {
  width: 100%;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .hero-grid-2col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .hero-side-desc {
    text-align: center;
  }
  
  .hero-side-buttons {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works-section {
  margin-bottom: 70px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 36px;
}

.section-header-center .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-header-center .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff 0%, #ec4899 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MODULES GALLERY (212 Modules)
   ========================================================================== */

.category-section {
  margin-bottom: 72px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.cat-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.cat-count-badge {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan-primary);
  border: 1px solid var(--border-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.cat-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
}

.filter-bar {
  position: sticky;
  top: 72px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  background: rgba(8, 13, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  background: rgba(8, 13, 26, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
}

.plan-filter-group {
  display: flex;
  gap: 8px;
}

.plan-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.plan-btn.active {
  background: var(--cyan-primary);
  color: #080d1a;
  border-color: var(--cyan-primary);
  font-weight: 700;
  box-shadow: 0 0 14px var(--cyan-glow);
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-chip {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cat-chip.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple-primary);
  color: #c4b5fd;
  box-shadow: 0 0 12px var(--purple-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.15);
}

.module-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #121826;
  position: relative;
  overflow: hidden;
}

.module-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.module-card:hover .module-thumb-wrap img {
  transform: scale(1.04);
}

.module-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-free {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-plus {
  background: rgba(0, 229, 255, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.badge-pro {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-dev {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.module-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.module-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-primary);
  margin-bottom: 4px;
}

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

.module-cat {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FEATURES MATRIX TABLE
   ========================================================================== */

.spec-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  background: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-domain-banner {
  background: #1e293b;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cyan-primary);
  letter-spacing: 0.03em;
  padding: 14px 20px;
}

.spec-table td:nth-child(1) {
  font-weight: 700;
  color: #ffffff;
  width: 25%;
}

.spec-table td:nth-child(2) {
  color: var(--text-muted);
  font-size: 0.9rem;
  width: 33%;
}

.spec-table.sysreq-table td:nth-child(2),
.spec-table.sysreq-table td:nth-child(3) {
  width: auto;
  text-align: left;
  line-height: 1.6;
}

.spec-table td:nth-child(3),
.spec-table td:nth-child(4),
.spec-table td:nth-child(5) {
  text-align: center;
  font-size: 0.9rem;
  width: 14%;
}

.tier-col-free { background: rgba(248, 250, 252, 0.02); }
.tier-col-plus { background: rgba(0, 229, 255, 0.03); }
.tier-col-pro  { background: rgba(139, 92, 246, 0.04); font-weight: 700; color: #ffffff; }

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.2);
  transform: scale(1.03);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan-primary), #00b4d8);
  color: #080d1a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.pricing-tier {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 48px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--cyan-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: #060913;
  padding: 48px 24px 36px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   LEGAL & DOCUMENTATION PAGES (Privacy / Terms)
   ========================================================================== */

.legal-doc-wrap {
  max-width: 860px;
  margin: 0 auto 80px;
}

.legal-doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-date {
  font-size: 0.9rem;
  color: var(--cyan-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan-primary);
  border: 1px solid var(--border-cyan);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content li {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-content strong {
  color: #ffffff;
  font-weight: 600;
}

.legal-callout {
  background: rgba(0, 229, 255, 0.05);
  border-left: 3px solid var(--cyan-primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: #e2e8f0;
}

/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */

.faq-wrap {
  max-width: 860px;
  margin: 0 auto 80px;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-1px);
}

.faq-item.active {
  border-color: var(--border-cyan);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.08);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question {
  color: var(--cyan-primary);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer-inner p {
  margin-bottom: 0;
}

.faq-answer-inner strong {
  color: #ffffff;
}

.faq-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 36px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   MOBILE HAMBURGER & SLIDE DRAWER
   ========================================================================== */

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.drawer-backdrop {
  display: none;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   RESPONSIVE (Mobile / Tablet)
   ========================================================================== */

@media (max-width: 900px) {
  .hero-title { font-size: 2.4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .gnb-menu { display: none; }
  .gnb-actions { display: none; }

  /* 3-Line Hamburger Button */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-cyan);
  }

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--cyan-primary);
  }

  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--cyan-primary);
  }

  /* Backdrop Overlay */
  .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Slide-out Drawer Panel */
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(8, 13, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 1999;
    padding: 24px 20px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
  }

  .mobile-drawer.open {
    right: 0;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .drawer-close-btn:hover {
    color: #ffffff;
    border-color: var(--border-cyan);
    background: rgba(0, 229, 255, 0.1);
  }

  .drawer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: auto;
  }

  .drawer-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .drawer-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
  }

  .drawer-link.active {
    color: var(--cyan-primary);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--border-cyan);
  }

  .drawer-btn-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #080d1a !important;
    background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
    margin-top: 6px;
  }

  .drawer-btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.6);
  }

  .drawer-btn-highlight.active {
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.7);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }

  .drawer-actions {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* 모듈 필터: 모바일에서는 검색창 한 줄만 상단 고정, 나머지(플랜·카테고리)는 일반 스크롤 */
  .filter-bar {
    display: contents;
  }
  .filter-top-row {
    display: contents;
  }
  .search-box {
    position: sticky;
    top: 72px;
    z-index: 900;
    flex: none;
    min-width: 0;
    margin-bottom: 14px;
    padding: 8px 0;
    background: rgba(8, 13, 26, 0.96);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  }
  .plan-filter-group {
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .category-chip-row {
    margin-bottom: 14px;
  }
  .filter-bar > div:last-child {
    margin-bottom: 24px;
  }
}


/* 쿠키(Google Analytics) 동의 배너 · 미기입 자리표시자 강조 */
mark { background: rgba(255, 61, 127, 0.22); color: #ffd0e0; padding: 0 3px; border-radius: 4px; }

#ckb{position:fixed;left:16px;right:16px;bottom:16px;max-width:560px;margin:0 auto;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;background:#121a2b;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:14px 16px;font-size:14px;color:#cfd8ea;box-shadow:0 8px 30px rgba(0,0,0,.5);z-index:50}
#ckb[hidden]{display:none}
#ckb span{flex:1 1 100%}
#ckb a{text-decoration:underline}
#ckb button{font:inherit;font-weight:700;border:0;border-radius:8px;padding:8px 16px;cursor:pointer;background:#19d3ff;color:#06101c}
#ckb button.g{background:transparent;color:#cfd8ea;border:1px solid rgba(255,255,255,.25)}
