/* ==========================================================================
   Joosy Design System & CSS Rules
   ========================================================================== */
:root {
  /* Color Palettes from User Specification */
  --purple: #7F6FEA;
  --white: #FFFFFF;
  --black: #000000;
  --label-color: #374151;
  --hint-color: #9CA3AF;
  --field-border-color: #D1D5DB;
  --grey: #797979;
  --light-green: #E4EBE4;
  --dark-green: #6B8E6B;
  --border-color: #F1F5F9;
  
  /* Gradients with opacity */
  --gradient-1: rgba(10, 211, 253, 0.50);  /* 800AD3FD */
  --gradient-2: rgba(128, 110, 233, 0.70); /* B2806EE9 */
  --gradient-3: rgba(242, 10, 214, 0.50);  /* 80F20AD6 */
  
  /* Solid colors for gradients */
  --gradient-1-solid: #0AD3FD;
  --gradient-2-solid: #806EE9;
  --gradient-3-solid: #F20AD6;

  --yellow: #FFB547;
  --red: #E61919;
  --green: #57C478;

  /* Theme mappings */
  --primary: var(--purple);
  --primary-hover: #6754df; /* darker shade of purple */
  --primary-light: rgba(127, 111, 234, 0.1);
  --primary-glow: rgba(127, 111, 234, 0.25);
  
  --slate-900: #090d16;
  --slate-800: #111827;
  --slate-700: #1f2937;
  --slate-600: var(--label-color);
  --slate-400: var(--hint-color);
  --slate-100: #f3f4f6;

  --accent-blue: var(--gradient-1-solid);
  --accent-purple: var(--gradient-2-solid);

  /* Typography */
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  /* Animation Timings */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Baseline
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-900);
  color: var(--slate-100);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography Balancers (Modern Web Guidance) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  text-wrap: balance; /* Balance layout of headings */
}

p, li {
  color: var(--slate-400);
  text-wrap: pretty; /* Prevent orphans in paragraphs */
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Ambient Glow Effects
   ========================================================================== */

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -50px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  top: 500px;
  left: -150px;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: var(--accent-purple);
  bottom: 400px;
  right: -100px;
}

/* ==========================================================================
   Interactive UI Tokens (Buttons, Badges)
   ========================================================================== */

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.highlight-text {
  background: linear-gradient(135deg, var(--gradient-1-solid) 0%, var(--gradient-2-solid) 50%, var(--gradient-3-solid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--slate-900);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-block {
  display: width;
  width: 100%;
}

/* Store Badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
  height: 42px;
  width: 145px;
}

.store-badge:hover {
  background: #111;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.badge-svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Header Layout
   ========================================================================== */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(9, 13, 22, 0.3);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--slate-400);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

/* Shrinking Header Animation (Native View-Driven where supported) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink {
    to {
      height: 65px;
      background: rgba(9, 13, 22, 0.85);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }
  }
  #main-header {
    animation: shrink auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--slate-400);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.trust-indicator p {
  font-size: 14px;
  color: var(--slate-400);
}

/* Phone Mockup Floating Presentation */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 40px;
  transition: var(--transition-smooth);
}

.phone-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: var(--primary);
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 40px;
}

.phone-image {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: block;
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.phone-frame-wrapper {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   Features Bento Grid Section
   ========================================================================== */

.features-section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-glow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(127, 111, 234, 0.4);
  box-shadow: 0 12px 30px rgba(127, 111, 234, 0.1);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 28px;
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
}

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

.feature-card-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Spotlight Section
   ========================================================================== */

.spotlight-section {
  padding: 120px 0;
  position: relative;
}

.spotlight-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.spotlight-image-side {
  display: flex;
  justify-content: center;
}

.spotlight-content-side {
  max-width: 560px;
}

.spotlight-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.metric-card {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}

.metric-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 13px;
  color: var(--slate-400);
}

/* ==========================================================================
   Screenshots Carousel Section
   ========================================================================== */

.gallery-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.gallery-slider-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-scroller {
  display: flex;
  gap: 32px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide standard scrollbar */
  padding: 20px 0 40px 0;
}

.gallery-scroller::-webkit-scrollbar {
  display: none;
}

.gallery-slide-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  transition: var(--transition-smooth);
}

.slide-image-wrapper {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom UI Mockup slides */
.placeholder-mockup-slide {
  width: 100%;
  height: 100%;
  padding: 24px;
  background: var(--slate-800);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-header-ui {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-400);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.mockup-body-ui {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.mockup-pill-tab {
  align-self: flex-start;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
  border-radius: 20px;
  font-weight: 600;
}

.mockup-body-ui h5 {
  font-size: 18px;
  color: #fff;
}

.mockup-line-ui {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.mockup-step-ui {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-step-ui span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

/* Checklist Mockup UI */
.mockup-list-item-ui {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chk-box-ui {
  width: 18px;
  height: 18px;
  border: 1px solid var(--slate-600);
  border-radius: 4px;
  flex-shrink: 0;
}

.chk-box-ui.checked {
  background: var(--primary);
  border-color: var(--primary);
  position: relative;
}

.chk-box-ui.checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--slate-900);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lbl-item-ui {
  font-size: 13px;
  color: var(--slate-100);
}

.lbl-item-ui.line-through {
  text-decoration: line-through;
  color: var(--slate-600);
}

.slide-info {
  margin-top: 20px;
  text-align: center;
}

.slide-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.slide-info p {
  font-size: 13px;
  line-height: 1.4;
}

/* Dots */
.scroller-nav-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-600);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ==========================================================================
   FAQ Section (Accordion style)
   ========================================================================== */

.faq-section {
  padding: 100px 0;
}

.faq-accordion-wrapper {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.chevron-icon {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  transition: transform 0.3s ease;
}

details[open] .chevron-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Contact & Form Section
   ========================================================================== */

.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-container {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  max-width: 800px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-glow);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-100);
}

.form-group input,
.form-group textarea {
  background: var(--slate-800);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-privacy-note {
  font-size: 12px;
  color: var(--slate-600);
}

.form-privacy-note a {
  color: var(--primary);
  text-decoration: none;
}

.form-privacy-note a:hover {
  text-decoration: underline;
}

.error-msg {
  display: none;
  font-size: 11px;
  color: #ef4444;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Success Banner */
.form-success-banner {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border: 1px solid var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.success-icon-box svg {
  width: 28px;
  height: 28px;
}

.form-success-banner h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success-banner p {
  max-width: 480px;
  font-size: 14px;
}

.contact-direct-info {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.contact-email {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.contact-email:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.main-footer {
  background: #06090f;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 60px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand-side {
  max-width: 320px;
}

.brand-tagline {
  font-size: 14px;
  color: var(--slate-400);
  margin-top: 16px;
  margin-bottom: 28px;
}

.copyright-text {
  font-size: 12px;
  color: var(--slate-600);
}

.footer-links-side {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h5 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Scroll-linked Entry Reveal Animations (Native CSS where supported)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
    }
    
    .feature-card,
    .spotlight-content-side,
    .spotlight-image-side,
    .gallery-slide-card,
    .faq-card,
    .contact-card {
      animation: revealUp auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Mobile Navigation Drawer styles toggled via JS */
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  background: var(--slate-900);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  outline: none;
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-actions {
    justify-content: center;
  }

  .spotlight-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .spotlight-content-side {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .spotlight-image-side {
    order: -1;
  }

  .contact-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  #main-header {
    height: 75px;
  }
  
  .nav-menu {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu.open {
    top: 75px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Coming Soon Modal Styles
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 13, 22, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.modal-desc {
  font-size: 15px;
  color: var(--slate-300);
  line-height: 1.6;
  margin: 0 0 10px 0;
}

#modal-ok-btn {
  min-width: 120px;
}
