/* DING CSS Design System - Dark Premium SaaS Theme */

:root {
  --bg-dark: #0f0c1b;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(138, 43, 226, 0.15);
  --primary: #8a2be2;
  --primary-glow: rgba(138, 43, 226, 0.3);
  --text-main: #f3f0ff;
  --text-muted: #a594fd;
  --text-heading: #ffffff;
  --accent: #2ec4b6;
  --font: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --navbar-bg: rgba(15, 12, 27, 0.8);
  --nav-drawer-bg: #0a081c;
  --form-control-bg: rgba(0, 0, 0, 0.2);
  --form-control-color: #fff;
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.1);
  --footer-bg: #090710;
}

/* Light Mode Overrides */
html[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-panel: rgba(138, 43, 226, 0.04);
  --border-glass: rgba(138, 43, 226, 0.2);
  --primary: #7c3aed;
  --primary-glow: rgba(124, 58, 237, 0.25);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-heading: #0f172a;
  --accent: #0ea5e9;
  --navbar-bg: rgba(248, 250, 252, 0.85);
  --nav-drawer-bg: #f1f5f9;
  --form-control-bg: rgba(255, 255, 255, 0.9);
  --form-control-color: #0f172a;
  --btn-secondary-bg: rgba(138, 43, 226, 0.06);
  --btn-secondary-hover-bg: rgba(138, 43, 226, 0.12);
  --footer-bg: #e2e8f0;
}


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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  line-height: 1.6;
  font-family: var(--font);
}

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

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: radial-gradient(circle at 50% 50%, #150f2b 0%, var(--bg-dark) 100%);
}

/* Glassmorphism Panel */
.glass-card {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.1);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: #9d4edd;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover-bg);
  border-color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--bg-dark);
}

.btn-light:hover {
  background: var(--text-muted);
  transform: translateY(-2px);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001; /* Must be above the drawer */
  background: var(--navbar-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  transition: background 0.3s ease;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--text-heading);
}

.btn-login {
  background: transparent;
  color: #fff;
  border: 1px solid transparent;
}

.btn-login:hover {
  border-color: var(--border-glass);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(circle at 80% 20%, #20133e 0%, var(--bg-dark) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.doorbell-visual {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 30px;
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}

.doorbell-qr-frame {
  width: 160px;
  height: 160px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px dashed var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-icon-glow {
  font-size: 5rem;
  color: var(--primary);
  animation: pulse-glow-icon 2s infinite;
}

.doorbell-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7);
  animation: badge-pulse 1.6s infinite;
}

/* Feature Grid */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 8px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(138, 43, 226, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Demo Section */
.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.demo-form-panel {
  display: flex;
  flex-direction: column;
}

.demo-form-panel h2 {
  font-size: 2.2rem;
  margin-top: 8px;
  margin-bottom: 16px;
}

.demo-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: var(--form-control-bg);
  border: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--form-control-color);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
}

.qr-preview-box {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px;
}

.pricing-popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(138,43,226,0.08) 0%, rgba(15,12,27,0) 100%);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
}

.badge-popular {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 30px;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

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

.pricing-features li i {
  color: var(--accent);
}

/* FAQ */
.faq-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Footer */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations keyframes */
@keyframes pulse-glow-icon {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--primary)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 20px var(--primary)); }
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(46, 196, 182, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 196, 182, 0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .demo-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-media {
    order: -1;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
}

/* Doorbell Plate Preview Styles */
.doorbell-plate-preview {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(135deg, #1d1b26 0%, #0d0a15 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.doorbell-plate-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.doorbell-plate-header {
  margin-bottom: 24px;
}

.doorbell-plate-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.doorbell-plate-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.doorbell-plate-address {
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  width: 100%;
}

.doorbell-plate-street {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.doorbell-plate-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.doorbell-plate-qr-container {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  position: relative;
}

.doorbell-plate-qr-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doorbell-plate-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 8px;
}

@media (max-width: 768px) {

  /* Full-screen overlay drawer */
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh; /* dynamic viewport height for iOS */
    background: var(--nav-drawer-bg);
    z-index: 1002; /* Above navbar */
    padding: 80px 32px 40px;
    /* Hidden: slide from right */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu.active-mobile {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Nav links inside drawer */
  .nav-menu a {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  }

  .nav-menu a:active,
  .nav-menu a:hover {
    background: rgba(138, 43, 226, 0.15);
    color: #fff;
    padding-left: 28px;
  }

  .nav-menu .btn-login {
    border: none;
    background: transparent;
  }

  .nav-menu .btn-primary {
    display: block;
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 14px;
    margin-top: 16px;
    padding: 18px 20px;
    font-size: 1.2rem;
    border-bottom: none;
  }

  /* Hamburger button stays on top of everything */
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1003;
    font-size: 1.6rem;
    transition: transform 0.2s ease;
  }

  /* Body lock when drawer open */
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

/* Premium Visual Design System Additions */

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a594fd 50%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(138, 43, 226, 0.15);
}

.gradient-border-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
}

.gradient-border-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,43,226,0.3) 0%, transparent 60%, rgba(46,196,182,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gradient-border-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(138, 43, 226, 0.15);
}

/* Floating Radial Glows */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(138,43,226,0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 20s infinite alternate ease-in-out;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 15%) scale(1.15); }
  100% { transform: translate(-10%, -10%) scale(0.9); }
}

/* Scroll-triggered reveal styling */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Interactive doorbell mockup hover effects */
.doorbell-plate-preview {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.doorbell-plate-preview:hover {
  transform: scale(1.03) rotateY(4deg) rotateX(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(138, 43, 226, 0.25);
}

/* Impersonation bar style */
.impersonation-bar {
  background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.impersonation-bar a {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.impersonation-bar a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Light Mode - Landing Page Overrides ===== */
html[data-theme="light"] .hero-section {
  background: radial-gradient(circle at 80% 20%, #ede9fe 0%, var(--bg-dark) 60%);
}

html[data-theme="light"] .section-alt {
  background: radial-gradient(circle at 50% 50%, #f5f3ff 0%, var(--bg-dark) 100%);
}

html[data-theme="light"] .glow-orb {
  background: radial-gradient(circle, rgba(138,43,226,0.06) 0%, rgba(138,43,226,0) 70%);
}

html[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #7c3aed 50%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(138, 43, 226, 0.08);
}

html[data-theme="light"] .glass-card:hover {
  box-shadow: 0 12px 40px rgba(138, 43, 226, 0.12);
}

html[data-theme="light"] .doorbell-visual {
  background: linear-gradient(145deg, rgba(138,43,226,0.05) 0%, rgba(255,255,255,0.8) 100%);
}

html[data-theme="light"] .doorbell-plate-preview {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-color: rgba(138, 43, 226, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .doorbell-plate-title,
html[data-theme="light"] .doorbell-plate-street {
  color: #0f172a;
}

html[data-theme="light"] .doorbell-plate-address {
  background: rgba(138, 43, 226, 0.03);
  border-color: rgba(138, 43, 226, 0.1);
}

html[data-theme="light"] .doorbell-badge {
  background: rgba(138, 43, 226, 0.05);
}

html[data-theme="light"] .doorbell-qr-frame {
  background: rgba(138, 43, 226, 0.03) !important;
  border-color: var(--primary) !important;
}

html[data-theme="light"] .pricing-popular {
  background: linear-gradient(180deg, rgba(138,43,226,0.06) 0%, rgba(255,255,255,0) 100%);
}

html[data-theme="light"] .gradient-border-card {
  background: rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] .feature-card h3 {
  color: var(--text-heading);
}

html[data-theme="light"] .btn-outline:hover {
  background: rgba(138, 43, 226, 0.08);
}

/* Light mode mobile drawer links */
@media (max-width: 768px) {
  html[data-theme="light"] .nav-menu a {
    color: #1e293b;
    border-bottom-color: rgba(138, 43, 226, 0.08);
  }

  html[data-theme="light"] .nav-menu a:active,
  html[data-theme="light"] .nav-menu a:hover {
    background: rgba(138, 43, 226, 0.1);
    color: #0f172a;
  }

  html[data-theme="light"] td:before {
    color: var(--text-muted);
  }

  html[data-theme="light"] tr {
    background: rgba(138, 43, 226, 0.02);
  }
}

/* Smooth theme transition */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

