/* Framer-inspired Premium Corporate Navy Theme */

:root {
  /* Navy & Corporate Blue Palette */
  --primary-color: #3B82F6;       /* Electric Royal Blue */
  --primary-dark: #2563EB;
  --secondary-color: #60A5FA;     /* Softer Blue for gradients */
  --accent-color: #0EA5E9;        /* Sky Blue */
  
  /* Backgrounds (Deep Navy base instead of pure black/cyan) */
  --bg-dark: #0A0F1C;
  --bg-gradient: radial-gradient(circle at top right, #0F172A, #0A0F1C 70%);
  --surface-color: rgba(15, 23, 42, 0.4);
  --surface-solid: #0F172A;
  
  /* Glassmorphism details - Framer Style */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-glow: rgba(59, 130, 246, 0.05); /* Blue glow */
  --glass-blur: blur(8px);
  
  /* Text */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  
  /* Utilities */
  --font-family: 'Inter', 'Noto Sans KR', sans-serif;
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-gradient);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Ambient Navy Glows (Subtle) */
body::before {
  content: '';
  position: fixed;
  top: -20%; left: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  z-index: -1;
  filter: blur(60px);
  will-change: transform;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%; right: -10%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  z-index: -1;
  filter: blur(50px);
  will-change: transform;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Enhancements (Tighter tracking for Framer look) */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.04em;
}

h1 {
  font-size: 4.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  line-height: 1.65;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

nav {
  /* nav is naturally centered by justify-content: space-between if it's the middle child */
  display: flex;
  justify-content: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #94A3B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 툴바 스타일의 네비게이션 (Framer 느낌) */
.nav-links {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 100%;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Dropdown Menu styling */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem !important;
  border-radius: 12px !important;
  width: 100%;
  color: var(--text-muted);
  text-align: left;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff;
}

.dropdown-menu a i {
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 500px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255,255,255,0.1);
  color: var(--text-main);
  background: rgba(255,255,255,0.02);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

/* Layout Core */
main {
  min-height: calc(100vh - 80px);
  padding-top: 75px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 10rem 0;
}

/* Typography Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Framer-style Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 500px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 1.5rem;
}

/* Glass Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.glass-card {
  background: var(--surface-color);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle top highlight for depth */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(20, 30, 50, 0.5);
}

/* Icon Design (Linear & Geometric) */
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.glass-card:hover .card-icon {
  border-color: rgba(59, 130, 246, 0.3);
  color: #fff;
}

/* Split Layouts (Hero / Features) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.abstract-sphere {
  position: absolute;
  top: 15%; right: 15%;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.6), rgba(15, 23, 42, 0) 70%);
  filter: blur(30px);
  will-change: transform;
  animation: float 10s ease-in-out infinite alternate;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  text-align: left;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  color: #fff;
}

.accordion-content {
  margin-top: 1rem;
  color: var(--text-muted);
  display: none;
  font-size: 1rem;
  line-height: 1.6;
}

/* Premium Footer */
.premium-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 15, 28, 0.8);
  padding: 5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-list li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-list a {
  color: var(--text-muted);
}

.footer-list a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
}

.social-icon:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Animations - Smoother and less bouncy */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  will-change: transform, opacity;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* ============================================================
   RESPONSIVE, ACCESSIBILITY & DARK/LIGHT MODE IMPROVEMENTS
   ============================================================ */

/* ── Skip Navigation ─────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-nav:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ── Focus Styles (WCAG AA) ──────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Hamburger Button ────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1010;
  position: relative;
}

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

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Navigation Overlay ───────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
}

/* ── Mobile Nav Panel ────────────────────────────────────── */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100dvh;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.97);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-panel.is-open {
  transform: translateX(0);
}

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  min-height: 44px;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-panel .mobile-nav-heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.25rem 1rem 0.5rem;
  pointer-events: none;
}

.mobile-nav-panel .mobile-nav-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.mobile-nav-panel .btn-primary {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

/* ── Touch Target Minimum ────────────────────────────────── */
.btn, .nav-links a, .dropdown-menu a, .footer-list a, .social-icon {
  min-height: 44px;
}

.social-icon {
  width: 44px;
  height: 44px;
}

/* ── Tablet Breakpoint (max-width: 1024px) ───────────────── */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.75rem; }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ── Mobile Breakpoint (max-width: 768px) ────────────────── */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  h3 { font-size: 1.25rem; }
  p  { font-size: 1rem; }

  /* Header */
  header {
    padding: 0.75rem 0;
  }

  /* Improve typography on small screens (prevent awkward breaks) */
  p br, h2 br, h3 br, h4 br {
    display: none;
  }
  h1 br {
    display: block; /* Hero text usually still needs it */
  }

  .nav-container {
    padding: 0 1rem;
  }

  /* Hide desktop nav, show hamburger */
  nav {
    position: static;
    transform: none;
  }

  .nav-links {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Show mobile panel/overlay */
  .mobile-nav-panel,
  .mobile-nav-overlay {
    display: block;
  }

  .mobile-nav-panel {
    display: flex;
  }

  /* Header actions - hide lang switcher on small mobile */
  .header-actions .dropdown.lang-switcher {
    display: none;
  }

  /* Hero */
  .hero-visual {
    display: none; /* hide decorative sphere on mobile */
  }

  section.split-layout.container {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Sections */
  .section-padding {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  /* Grids - single column */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Cards */
  .glass-card {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  /* Hero CTA buttons */
  .hero-content > div[style*="flex"] {
    flex-direction: column;
  }

  /* Footer */
  .footer-bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .premium-footer {
    padding: 3rem 0 1.5rem;
  }
}

/* ── Extra Small (max-width: 480px) ──────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.5rem, 10vw, 2rem); }
  
  .nav-container {
    padding: 0 0.875rem;
  }

  .container {
    padding: 0 0.875rem;
  }

  .glass-card {
    padding: 1.5rem 1.25rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.875rem;
  }
}


/* ═══════════════════════════════════════════════
   KONEKSI VISUAL EFFECTS — Added Styles
═══════════════════════════════════════════════ */

/* ── Loading Screen ── */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0A0F1C;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: loading-appear 0.4s ease-out both;
}

@keyframes loading-appear {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.loading-logo {
    height: 48px;
    width: auto;
    animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

.loading-bar-wrap {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3B82F6, #0EA5E9, #60A5FA);
    border-radius: 99px;
    transition: width 0.08s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.loading-label {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ── Canvas Particle Background ── */
.hero-wrapper {
    position: relative;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-wrapper > section {
    position: relative;
    z-index: 1;
}

/* Allow mouse events through canvas but not block hero content */
.hero-wrapper #particles-canvas {
    pointer-events: auto;
}

.hero-wrapper section * {
    position: relative;
    z-index: 2;
}

/* ── Typing Cursor ── */
.typing-cursor {
    display: inline-block;
    color: #60A5FA;
    margin-left: 2px;
    font-weight: 300;
    animation: cursor-blink 0.75s step-end infinite;
    vertical-align: baseline;
    line-height: 1;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Scroll Fade-up ── */
.fade-up-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── 3D Tilt — no pointer override (handled in JS) ── */
.glass-card {
    will-change: transform;
    transform-style: preserve-3d;
}
