/* PrivaKit — Modern SaaS Design System */

:root {
  --bg-primary: #060911;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-active: rgba(99, 102, 241, 0.45);
  --glass-blur: blur(18px);
  
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  
  --gradient-glow: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.3);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(236, 72, 153, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.88);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.85rem 1.5rem;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile Slide-in Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #0b0f19;
  border-left: 1px solid var(--glass-border);
  z-index: 9999;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}

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

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
}

.dropdown-menu-panel {
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s ease;
}

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

/* App Main Container */
.main-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Unified Tool Card Grid (Punto 9) */
.grid-card-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.18);
}

.tool-card:hover .icon-wrapper-card {
  transform: scale(1.06);
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.18) !important;
}

.tool-card:hover .card-link-txt {
  color: #fff;
}

.tool-card:hover .card-link-txt svg {
  transform: translateX(3px);
}

.card-link-txt svg {
  transition: transform 0.2s ease;
}

/* Base Card UI System */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}

.shadow-glow {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: var(--gradient-glow);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.55);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-success {
  background: var(--gradient-emerald);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

/* Grid Layout Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Footer */
.footer {
  background: rgba(6, 9, 17, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 350px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1300px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Utility Flex & Margins */
.flex-row { display: flex; gap: 1rem; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ==========================================
   MOBILE & TABLET RESPONSIVE OVERHAUL (< 860px)
   ========================================== */
@media (max-width: 860px) {
  .header {
    padding: 0.65rem 1rem;
  }

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

  .mobile-nav-toggle {
    display: inline-flex !important;
  }

  .privacy-badge {
    display: none !important;
  }

  .main-wrapper {
    padding: 1.25rem 1rem !important;
  }

  .hero {
    padding: 2.2rem 0.5rem 1.5rem !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .hero-desc {
    font-size: 0.92rem !important;
    padding: 0 0.5rem;
  }

  .search-input-wrapper {
    padding: 0.35rem 0.6rem !important;
  }

  .search-input-wrapper input {
    font-size: 0.9rem !important;
  }

  .grid-card-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* Modals on Mobile */
  .studio-modal {
    width: 94% !important;
    max-width: 94% !important;
    padding: 1.25rem !important;
    margin: 1rem auto;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.65rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .card {
    padding: 1rem !important;
  }

  .footer {
    padding: 2rem 1rem 1.5rem !important;
  }
}

/* ===================================================
   Solid & Ultra-Opaque Dropdown Menus (100% Visibility)
   =================================================== */

.dropdown-menu-panel,
.dropdown-panel,
.lang-dropdown-menu,
#dropdownLangMenu,
#dropdownToolsMenu,
#dropdownCatsMenu {
  background: #0d1527 !important;
  background-color: #0d1527 !important;
  border: 1px solid rgba(99, 102, 241, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.92), 0 0 20px rgba(99, 102, 241, 0.3) !important;
  z-index: 1000 !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

.dropdown-menu-panel a,
.dropdown-panel a,
.lang-dropdown-menu a,
#dropdownLangMenu a,
#dropdownToolsMenu a,
#dropdownCatsMenu a {
  color: #f1f5f9 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border-radius: 6px !important;
}

.dropdown-menu-panel a:hover,
.dropdown-panel a:hover,
.lang-dropdown-menu a:hover,
#dropdownLangMenu a:hover,
#dropdownToolsMenu a:hover,
#dropdownCatsMenu a:hover {
  background: rgba(99, 102, 241, 0.35) !important;
  color: #ffffff !important;
}

/* === TOOLS INTERACTIVE MODULES === */
/* Tool Specific Interactive Components */

/* AudioTrim / VideoTrim SaaS Studio Styling */
.audiotrim-app {
  background: #090d16;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border-active);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  font-family: var(--font-sans);
  color: var(--text-main);
  user-select: none;
  width: 100%;
}

.audiotrim-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.audiotrim-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}

.audiotrim-brand span {
  color: var(--accent-primary);
}

/* Ready / Idle Landing State */
.audiotrim-idle-box {
  padding: 3.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.rec-pulse-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 4px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all 0.25s ease;
  margin: 1.5rem 0;
}

.rec-pulse-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.8);
}

.vu-dots-container {
  display: flex;
  gap: 6px;
  margin: 1.25rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.vu-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.05s ease, transform 0.05s ease;
}

.vu-dot.active {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  transform: scale(1.2);
}

.privacy-trust-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  max-width: 100%;
  text-align: center;
}

/* 3-Column Video Editor Layout */
.grid-editor-layout {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  background: #060911;
  min-height: 420px;
}

@media (max-width: 900px) {
  .grid-editor-layout {
    grid-template-columns: 1fr;
  }
}

.editor-sidebar {
  background: rgba(15, 23, 42, 0.85);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tool-tab-btn {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.tool-tab-btn:hover, .tool-tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.editor-preview-container {
  display: flex;
  flex-direction: column;
  background: #04060a;
}

.editor-info-sidebar {
  background: rgba(15, 23, 42, 0.85);
  border-left: 1px solid var(--glass-border);
}

/* Filmstrip Timeline Styling */
.timeline-filmstrip-wrapper {
  position: relative;
  height: 75px;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  user-select: none;
  cursor: pointer;
}

.filmstrip-frames-row {
  display: flex;
  width: 100%;
  height: 100%;
}

.frame-thumb {
  flex: 1;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.filmstrip-dimmer-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;
  pointer-events: none;
}

.filmstrip-dimmer-right {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;
  pointer-events: none;
}

.filmstrip-selection-box {
  position: absolute;
  top: 0; bottom: 0;
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  z-index: 15;
}

.handle-in, .handle-out {
  position: absolute;
  top: 0; bottom: 0;
  width: 22px;
  background: var(--accent-emerald);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 20;
}

.handle-in { left: -22px; border-radius: 4px 0 0 4px; }
.handle-out { right: -22px; background: var(--accent-pink); border-radius: 0 4px 4px 0; }

.studio-btn {
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.studio-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
}

/* Modals */
.studio-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.studio-modal {
  background: #0f172a;
  border: 1px solid var(--glass-border-active);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Dropzone & Drop Items */
.dropzone {
  border: 2px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: rgba(99, 102, 241, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
}

.dropzone-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

/* Utility Overrides for Mobile */
@media (max-width: 768px) {
  .editor-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .tool-tab-btn {
    white-space: nowrap;
  }
}

/* === ADS & MONETIZATION MODULES === */
/* Ad Monetization Containers & Layout Styling */

.ad-slot {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
  min-height: 90px;
}

.ad-slot-header {
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.ad-slot-top {
  max-width: 728px;
  width: 100%;
  margin: 0 auto 2rem;
  min-height: 90px;
}

.ad-slot-sidebar {
  width: 100%;
  min-height: 250px;
  position: sticky;
  top: 90px;
}

.ad-slot-bottom {
  width: 100%;
  margin-top: 2rem;
  min-height: 90px;
}

.ad-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.ad-placeholder-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--accent-primary);
}

.ad-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-primary);
}

input:checked + .slider:before {
  transform: translateX(16px);
}
