@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Outfit:wght@100..900&display=swap');

/* ─── UI/UX Promax Variables ─── */
:root {
  /* Light Mode Palette - Clean & Modern */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-input: rgba(255, 255, 255, 0.9);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* Promax IPTEK Brand Maroon Accent */
  --accent-primary: #942827;
  --accent-hover: #7a1f1e;
  --accent-gradient: linear-gradient(135deg, #942827 0%, #7a1f1e 100%);
  --accent-subtle: rgba(148, 40, 39, 0.1);
  --accent-glow: 0 8px 30px rgba(148, 40, 39, 0.3);
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="dark"] {
  /* Dark Mode Palette - Deep & Premium */
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-input: rgba(15, 23, 42, 0.8);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --accent-primary: #942827;
  --accent-hover: #942827;
  --accent-gradient: linear-gradient(135deg, #942827 0%, #942827 100%);
  --accent-subtle: rgba(148, 40, 39, 0.15);
  --accent-glow: 0 8px 30px rgba(148, 40, 39, 0.25);
  
  --border-color: rgba(248, 250, 252, 0.08);
  --border-glass: rgba(248, 250, 252, 0.05);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; border: none; outline: none; background: none; }

/* ─── Animated Background Mesh (Promax Touch) ─── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-primary);
  transition: background var(--transition-slow);
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float 20s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--accent-subtle), transparent 70%);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -10%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  animation-duration: 25s;
}

[data-theme="dark"] .blob { opacity: 0.6; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.95); }
}

/* ─── Premium Glassmorphism Cards ─── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-inner), var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--border-glass), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-inner), var(--shadow-lg);
  border-color: rgba(239, 68, 68, 0.3);
}

/* ─── Navbar (Ultra Glassmorphism) ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(220, 224, 230, 0.45);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(13, 13, 13, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: white;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-divider {
  width: 2px;
  height: 32px;
  background: #000;
  border-radius: 1px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #942827;
  letter-spacing: 0.01em;
  line-height: 1.1;
  background: none;
  -webkit-text-fill-color: initial;
}

@media (max-width: 480px) {
  .brand-title { font-size: 0.55rem; }
  .brand-subtitle { font-size: 0.72rem; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-divider { height: 26px; margin: 0 0.4rem; }
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-btn-primary:hover {
  box-shadow: var(--accent-glow);
  transform: translateY(-2px);
}

.nav-btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.theme-toggle-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.theme-toggle-btn:hover {
  color: var(--accent-primary);
  transform: rotate(15deg);
  box-shadow: var(--shadow-sm);
}

/* ─── Hero Section (Promax) ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-actions {
  display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.05rem; font-weight: 700;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.6rem;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--accent-glow);
}

.btn-outline {
  padding: 1rem 2.5rem;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ─── Sections ─── */
.section {
  padding: 7rem 2rem;
  position: relative;
  z-index: 5;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-inner {
  max-width: 1350px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block; margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 950px;
}
.section-desc.centered { margin: 0 auto; text-align: center; }

/* ─── Countdown Promax ─── */
.countdown-section {
  padding: 4rem 2rem;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  z-index: 20;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.countdown-grid {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
}

.countdown-item {
  width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
}

.countdown-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
}

.countdown-sep {
  font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 300;
  color: var(--border-color); line-height: 110px;
}

/* ─── Grid Cards (Pillars & Divisi) ─── */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.feature-icon {
  width: 60px; height: 60px;
  background: var(--accent-subtle);
  color: var(--accent-primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent-primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--accent-glow);
}

.feature-title { font-size: 1.35rem; font-weight: 800; }
.feature-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* ─── Timeline Promax ─── */
.timeline {
  max-width: 700px; margin: 4rem auto 0;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px; background: var(--border-color);
}
.timeline-item {
  display: flex; gap: 2rem; padding-bottom: 3rem; position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; color: var(--text-muted);
  flex-shrink: 0; position: relative; z-index: 1; transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.timeline-item.active .timeline-dot {
  background: var(--accent-gradient); border-color: transparent; color: #fff;
  box-shadow: var(--accent-glow);
}
.timeline-body { padding-top: 0.5rem; }
.timeline-date { font-size: 0.85rem; font-weight: 800; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.timeline-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }

/* ─── Form Promax ─── */
.form-container { max-width: 680px; margin: 0 auto; }
.form-card { padding: 3rem; }
@media (max-width: 640px) { .form-card { padding: 2rem 1.5rem; } }

.form-group { margin-bottom: 1.75rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; }
.form-label .required { color: var(--accent-primary); margin-left: 4px; }
.form-control {
  width: 100%; padding: 1rem 1.25rem; font-size: 1rem; color: var(--text-primary);
  background: var(--bg-input); border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm); transition: all 0.25s ease;
}
.form-control:focus {
  border-color: var(--accent-primary); background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.25rem center; padding-right: 3rem;
}
.form-error { font-size: 0.85rem; font-weight: 500; color: var(--accent-primary); margin-top: 0.5rem; display: none; }
.form-group.error .form-control { border-color: var(--accent-primary); }
.form-group.error .form-error { display: block; }

.btn-submit {
  width: 100%; padding: 1.2rem; font-size: 1.1rem; font-weight: 800;
  background: var(--accent-gradient); color: #fff; border: none; border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  box-shadow: var(--shadow-md);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: var(--accent-glow); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

/* ─── Footer ─── */
footer {
  margin-top: auto;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: white;
}

.footer-socials {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.social-btn:hover {
  background: #000000;
  color: white;
  border-color: #000000;
}

[data-theme="dark"] .social-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* ─── Animations (Observer Reveal) ─── */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.4); } }
.mobile-toggle,
.menu-btn {
  display: flex;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

[data-theme="dark"] .mobile-toggle,
[data-theme="dark"] .menu-btn {
  background: rgba(40, 40, 40, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mobile-toggle:hover,
.menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobile-toggle:active,
.menu-btn:active {
  transform: scale(0.95);
}

/* --- Monitorr-Daya Nav Dropdown Overlay System --- */
.nav-dropdown-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 14, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, visibility;
}

.nav-dropdown-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-content {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border-color);
  padding: 50px 20px;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .nav-overlay-content {
  background: #0d0d0d !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.nav-dropdown-overlay.active .nav-overlay-content {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.nav-overlay-inner {
  max-width: 1000px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 20px;
}

.nav-left-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.nav-right-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.nav-overlay-item {
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
  font-family: "Outfit", "Inter", -apple-system, sans-serif;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-overlay-item:hover {
  color: var(--accent-primary);
  transform: translateX(8px);
}

.nav-accordion-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.nav-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  user-select: none;
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.nav-accordion-header:hover .accordion-icon {
  color: var(--accent-primary);
}

.nav-accordion-group.open .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.nav-accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 24px;
  border-left: none;
  margin-left: 0;
}

[data-theme="dark"] .nav-accordion-body {
  border-left: none;
}

.nav-accordion-group.open .nav-accordion-body {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
  margin-bottom: 10px;
}

.nav-sub-item {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: "Outfit", "Inter", sans-serif;
}

.nav-sub-item:hover {
  color: var(--accent-primary);
  transform: translateX(6px);
}

.nav-sub-item .sub-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  width: 20px;
  text-align: center;
}

.nav-sub-item:hover .sub-icon {
  color: var(--accent-primary);
}

.nav-small-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-small-item:hover {
  color: var(--accent-primary);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .close-btn {
  background: rgba(255, 255, 255, 0.08);
}

.close-btn:hover {
  background: #ef4444;
  color: white;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .nav-overlay-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .nav-right-group {
    align-items: flex-start;
    margin-bottom: 0;
  }

  .nav-overlay-item,
  .nav-accordion-header {
    font-size: 1.85rem;
  }

  .accordion-icon {
    font-size: 1.2rem;
  }

  .nav-sub-item {
    font-size: 1.05rem;
  }

  .close-btn {
    top: 20px;
    right: 20px;
  }
}
/* --- Minimal Hero --- */
.minimal-hero {
  position: relative;
  min-height: calc(100vh - 60px);
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.minimal-hero-content {
  max-width: 1350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
  position: relative;
  z-index: 2;
}

.minimal-hero-top {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .minimal-hero-top {
  color: #94a3b8;
}

.minimal-hero-main {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 5.2vw, 4.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

[data-theme="dark"] .minimal-hero-main {
  color: #ffffff;
}

.minimal-hero-sub {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: #000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-theme="dark"] .minimal-hero-sub {
  color: #fff;
}


