/* ==========================================================================
   VETUMBRA VETERINARY SAAS DASHBOARD STYLESHEET
   ========================================================================== */

:root {
  /* Official shadcn/ui Design Tokens */
  --background: #f8fafc;
  --foreground: #0f172a;

  --card: #ffffff;
  --card-foreground: #0f172a;

  --popover: #ffffff;
  --popover-foreground: #0f172a;

  --primary: #5603AD;
  --primary-hover: #44028a;
  --primary-foreground: #ffffff;

  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;

  --muted: #f1f5f9;
  --muted-foreground: #64748b;

  --accent: #f1f5f9;
  --accent-foreground: #0f172a;

  --destructive: #ef4444;
  --destructive-foreground: #ffffff;

  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #5603AD;

  --radius: 8px; /* Slightly tighter 8px rounded design token standard */

  --header-bg: #5603AD;
  --sidebar-width: 250px;
  --header-height: 72px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

html, body, *, ::before, ::after, h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, td, th, label, div {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

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

button, input, select, textarea, .btn-primary, .btn-secondary, .btn-whatsapp, .icon-btn, .logo-icon {
  box-shadow: none !important;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* APP LAYOUT STRUCTURE */
.app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ==========================================================================
   HEADER STYLING
   ========================================================================== */
.top-header {
  height: var(--header-height);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  z-index: 50;
  color: #ffffff;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* BRAND LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(var(--sidebar-width) - 24px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.plan-selector-container {
  display: inline-block;
  position: relative;
}

.plan-badge {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  user-select: none;
  transition: background 0.15s ease;
}

.plan-badge:hover {
  background: rgba(255, 255, 255, 0.25);
}

.plan-dropdown {
  width: 260px !important;
  left: 0 !important;
  right: auto !important;
}

/* QUICK ADD BUTTON (+ YENİ) */
.quick-add-dropdown-container {
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: none;
}

.quick-add-btn .chevron {
  width: 16px;
  height: 16px;
}

/* HEADER QUICK ADD BUTTON (MATCHES SEARCH INPUT) */
.top-header .quick-add-btn {
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: none;
}

.top-header .quick-add-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

/* SEARCH BOX */
.search-box {
  position: relative;
  width: 360px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  width: 18px;
  height: 18px;
}

.search-box input {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 45px 0 40px;
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
  outline: none;
  border-color: #a855f7;
  background: rgba(255, 255, 255, 0.18);
}

.search-shortcut {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ADVANCED SEARCH DROPDOWN OVERLAY */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 480px;
  max-height: 440px;
  background: var(--popover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-results-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-results-content {
  padding: 8px;
}

.search-category-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  padding: 8px 10px 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--foreground);
  transition: background 0.12s ease;
  text-decoration: none;
}

.search-result-item:hover {
  background: var(--accent);
}

.search-result-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-result-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #320D6D;
}

.search-result-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--foreground);
}

.search-result-sub {
  font-size: 11.5px;
  color: var(--muted-foreground);
}

/* HEADER BUTTONS */
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.whatsapp-btn {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}
.whatsapp-btn:hover {
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  right: 8px;
  border: 2px solid #320D6D;
}

.badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 99px;
  border: 2px solid #5603AD;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.7);
}

/* USER PROFILE */
.user-profile-container {
  position: relative;
}

.user-profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ffffff;
}

.user-profile-trigger .user-name {
  color: #ffffff;
}

.user-profile-trigger .user-role {
  color: rgba(255, 255, 255, 0.7);
}

.user-profile-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.user-profile-trigger:hover {
  border-color: var(--border-hover);
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-name {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}

.user-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* DROPDOWN MENUS */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.quick-add-dropdown-container .dropdown-menu {
  left: 0;
  right: auto;
  width: 240px;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.dropdown-item i {
  width: 16px;
  height: 16px;
}

.menu-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 6px 0;
}

.text-danger { color: var(--danger) !important; }

/* DRAWER SLIDE-OVER PANELS */
.drawer {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: 380px;
  height: calc(100vh - var(--header-height));
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
  z-index: 990;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 20px;
  background: #5603AD;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.drawer-title i {
  width: 18px;
  height: 18px;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.notif-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.notif-item.unread {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-danger-subtle { background: #fee2e2; color: #ef4444; }
.bg-warning-subtle { background: #fef3c7; color: #d97706; }
.bg-success-subtle { background: #dcfce7; color: #16a34a; }

.notif-content {
  flex: 1;
}

.notif-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.notif-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}

.notif-time {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   MAIN CONTAINER & SIDEBAR
   ========================================================================== */
.main-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.sidebar {
  width: var(--sidebar-width);
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  user-select: none;
}

.sidebar-scroll {
  padding: 16px 12px;
  overflow-y: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted-foreground);
  margin: 12px 12px 6px;
  text-transform: uppercase;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.nav-sliding-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 38px;
  background: var(--header-bg);
  border: none;
  border-radius: var(--radius);
  transition: transform 0.24s cubic-bezier(0.34, 1.25, 0.64, 1), height 0.2s ease, opacity 0.15s ease;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.15s ease;
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: none !important;
}

.nav-item i {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.nav-item:hover {
  color: var(--foreground);
}

.nav-item.active {
  color: #ffffff !important;
  font-weight: 600;
}

.nav-item.active .nav-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.nav-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--border);
}
.nav-badge.blue, .nav-badge.purple, .nav-badge.warning, .nav-badge.success {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--border);
}

/* CIRCULAR COLOR SWATCHES FOR SETTINGS */
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover {
  transform: scale(1.15);
  border-color: var(--foreground);
}

.sidebar-divider {
  border-top: 1px solid var(--border);
  margin: 14px 8px;
}

.sidebar-footer {
  margin-top: auto;
}

.sidebar-version-card {
  margin-top: 12px;
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.version-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.v-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
}

.v-sub {
  font-size: 11px;
  color: var(--muted-foreground);
}

.v-status {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.v-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   CONTENT AREA & SHADCN DASHBOARD VIEWS
   ========================================================================== */
.content-area {
  flex: 1;
  background: var(--background);
  overflow-y: auto;
  padding: 24px 32px;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-area.view-slide-start {
  opacity: 0;
  transform: translateY(12px);
}

.content-area.view-slide-active {
  opacity: 1;
  transform: translateY(0);
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.view-title-group h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--foreground);
}

.view-title-group p {
  font-size: 13.5px;
  color: var(--muted-foreground);
  margin-top: 3px;
}

/* SHADCN CARDS & STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.stat-icon.primary { background: rgba(95, 191, 249, 0.16); color: #0284c7; }
.stat-icon.success { background: rgba(0, 196, 154, 0.16); color: #00A37E; }
.stat-icon.warning { background: rgba(248, 225, 108, 0.28); color: #9A7400; }
.stat-icon.danger { background: rgba(247, 146, 86, 0.2); color: #E05D10; }

.stat-info {
  min-width: 0;
}

.stat-info .stat-value {
  font-size: 19.5px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--foreground);
}

.stat-info .stat-label {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 3px;
  font-weight: 600;
  white-space: nowrap;
}

/* SHADCN CARD PANEL & TABLES */
.card-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}

.custom-table td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  vertical-align: middle;
}

.custom-table tr:hover td {
  background: var(--accent);
}

/* SHADCN BADGES & TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.tag-primary { background: rgba(95, 191, 249, 0.12); color: #0369a1; border-color: rgba(95, 191, 249, 0.35); }
.tag-success { background: rgba(0, 196, 154, 0.12); color: #047857; border-color: rgba(0, 196, 154, 0.35); }
.tag-warning { background: rgba(248, 225, 108, 0.22); color: #854d0e; border-color: rgba(248, 225, 108, 0.45); }
.tag-danger { background: rgba(247, 146, 86, 0.15); color: #c2410c; border-color: rgba(247, 146, 86, 0.35); }

/* KANBAN BOARD */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kanban-col {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  min-height: 500px;
}

.kanban-head {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.kanban-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  cursor: grab;
  transition: all 0.15s ease;
}

.kanban-card:hover {
  border-color: var(--ring);
}

/* DRAWERS & MODALS */
.drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--popover);
  border-left: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 200;
  transition: right 0.25s ease;
  display: flex;
  flex-direction: column;
}

.drawer.open { right: 0; }

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
}

.drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--popover);
  border: 1px solid var(--border);
  width: 500px;
  max-width: 90vw;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* STYLISH CIRCULAR MODAL & DRAWER CLOSE BUTTONS */
.modal-close, .drawer-close {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.25, 0.64, 1);
  padding: 0;
}

.modal-close:hover, .drawer-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.modal-close svg, .drawer-close svg,
.modal-close i, .drawer-close i {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--muted);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--foreground);
}

.form-control {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--foreground);
  font-family: inherit;
  font-size: 13.5px;
}

.form-control:focus {
  outline: none;
  border-color: var(--ring);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.btn-whatsapp {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  width: 100%;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   RANDAVULAR FULL CALENDAR COMPONENT STYLES
   ========================================================================== */
.calendar-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calendar-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-view-modes {
  display: flex;
  align-items: center;
  background: var(--muted);
  padding: 3px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.calendar-view-btn {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-view-btn.active {
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Collapsible Month Week Rows */
.month-week-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.month-week-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.month-week-row.is-collapsed .month-week-grid {
  display: none !important;
}

.month-week-row.is-collapsed .week-chevron-icon {
  transform: rotate(-90deg) !important;
}

.month-week-header {
  padding: 10px 14px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.month-week-header:hover {
  background: rgba(86, 3, 173, 0.06);
}

.week-title {
  font-weight: 750;
  font-size: 13px;
  color: var(--foreground);
}

.week-chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  color: var(--primary);
}

.month-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--card);
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.calendar-day-head {
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(110px, auto);
}

.calendar-day-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px;
  background: var(--card);
  transition: background 0.15s ease;
  min-height: 110px;
  position: relative;
}

.calendar-day-cell:nth-child(7n) {
  border-right: none;
}

.calendar-day-cell.other-month {
  background: var(--background);
  opacity: 0.5;
}

.calendar-day-cell.is-today {
  background: rgba(50, 13, 109, 0.03);
}

.calendar-day-number {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 6px;
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
}

.calendar-day-cell.is-today .calendar-day-number {
  background: #320D6D;
  color: #ffffff;
}

/* Weekly Graphic Schedule Timeline Chart (Compact Layout) */
.timetable-chart-wrapper {
  overflow-x: auto;
  max-height: 420px;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.weekly-timetable-graphic {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.weekly-timetable-graphic th {
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: var(--muted);
  border-bottom: 2px solid var(--border);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.weekly-timetable-graphic th.today-col-head {
  background: rgba(86, 3, 173, 0.12);
  color: #5603AD;
  font-weight: 800;
}

.weekly-timetable-graphic th.time-axis-head {
  width: 70px;
  min-width: 70px;
  background: #f1f5f9;
  z-index: 15;
  left: 0;
}

.weekly-timetable-graphic td {
  height: 34px;
  padding: 2px 4px;
  vertical-align: top;
  border-bottom: 1px dashed #e2e8f0;
  border-right: 1px solid #f1f5f9;
}

.weekly-timetable-graphic tr.hour-mark td {
  border-bottom: 1.5px solid #cbd5e1;
}

.weekly-timetable-graphic td.time-axis-cell {
  width: 70px;
  min-width: 70px;
  text-align: center;
  vertical-align: middle;
  background: #f8fafc;
  position: sticky;
  left: 0;
  z-index: 5;
  border-right: 2px solid #cbd5e1;
  padding: 0 2px;
}

.time-axis-badge {
  display: inline-block;
  padding: 1px 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.weekly-timetable-graphic tr.hour-mark .time-axis-badge {
  background: #5603AD;
  color: #ffffff;
  border-color: #5603AD;
  font-weight: 800;
}

.calendar-event-card {
  padding: 8px 10px;
  border-radius: var(--radius);
  margin-bottom: 5px;
  cursor: pointer;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #5603AD;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.calendar-event-card.event-blue { border-left-color: #5FBFF9 !important; }
.calendar-event-card.event-purple { border-left-color: #F79256 !important; }
.calendar-event-card.event-green { border-left-color: #00C49A !important; }
.calendar-event-card.event-amber { border-left-color: #F8E16C !important; }

.event-time { font-weight: 800; font-size: 11.5px; color: #0f172a; }
.event-title { font-weight: 800; font-size: 12.5px; line-height: 1.25; color: #0f172a; }
.event-info { font-size: 11.5px; font-weight: 600; color: #334155; }
.event-vet { font-size: 11.5px; font-weight: 600; color: #64748b; }

/* HEADER SEARCH INPUT WITH MAIN THEME PRIMARY BACKGROUND */
.header-search-input {
  background: var(--header-bg) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
}

.header-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* PETS & CUSTOMERS GRID VIEW CARDS */
.grid-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  padding: 16px 0;
}

.entity-grid-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.entity-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.entity-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entity-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  border: 1px solid var(--border);
}

/* ==========================================================================
   VETUMBRA SAAS LANDING PAGE STYLES
   ========================================================================== */

.landing-body {
  background-color: #0d081a;
  color: #f8fafc;
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.landing-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Landing Navigation */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: background-color, border-color, box-shadow;
}

.landing-header.scrolled {
  background: rgba(86, 3, 173, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 0;
}

.landing-nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.landing-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-saas-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 4px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.landing-nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher Styles */
.lang-switcher-container {
  position: relative;
}

.btn-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 8px;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: opacity 0.2s ease;
}

.btn-lang-toggle:hover {
  background: transparent;
  opacity: 0.8;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 140px;
  background: #1e1535;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 6px;
  box-shadow: none;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1100;
}

.lang-dropdown-menu.show {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.lang-option:hover, .lang-option.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-landing-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 99px;
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn-landing-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* MOBILE HAMBURGER MENU & DRAWER (FLAT DESIGN) */
.btn-mobile-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

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

.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0; right: -300px; width: 280px; height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.btn-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.mobile-drawer-links a:hover {
  background: #f8fafc;
  color: #5603AD;
}

.mobile-drawer-links a i {
  color: #5603AD;
  width: 18px;
  height: 18px;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.btn-drawer-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
}

.btn-landing-secondary .btn-icon-mobile {
  display: none;
}

.btn-landing-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: #EAD94C;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border-radius: 99px;
  box-shadow: none;
  border: none;
  transition: all 0.2s ease;
}

.btn-landing-primary:hover {
  transform: translateY(-1px);
  background: #d4c33d;
  color: #000000;
  box-shadow: none;
}

.nav-landing-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-landing-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* GLOBAL STORE PROOF & BADGES (FLAT DESIGN) */
.store-proof-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.store-proof-title {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.store-badges-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #1e293b;
  transition: all 0.2s ease;
}

.store-badge-btn:hover {
  background: #1e293b;
  border-color: #334155;
  transform: translateY(-2px);
}

.store-badge-btn svg {
  flex-shrink: 0;
}

.store-badge-btn .badge-text {
  display: flex;
  align-items: center;
}

.store-badge-btn .badge-main {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

/* WIDE HERO PURPLE FEATURE CARD (FLAT DESIGN) */
.wide-purple-feature-card {
  background: linear-gradient(135deg, #320668 0%, #5603AD 50%, #460290 100%);
  border-radius: 28px;
  padding: 64px 56px;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wide-feature-text-side {
  color: #ffffff;
}

.wide-feature-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.wide-feature-desc {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.btn-wide-feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: #EAD94C;
  color: #000000;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 99px;
  border: none;
  transition: all 0.2s ease;
}

.btn-wide-feature:hover {
  transform: translateY(-1px);
  background: #d4c33d;
  color: #000000;
}

.wide-feature-img-side {
  position: relative;
}

.wide-feature-img-frame {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.wide-feature-img-frame img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: 12px;
}

/* Landing Hero Section */
.landing-hero {
  position: relative;
  padding: 190px 0 0;
  background: linear-gradient(150deg, #320668 0%, #5603AD 35%, #460290 65%, #23024c 100%);
  overflow: hidden;
}

.hero-white-curve-bg {
  position: absolute;
  top: 72%;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
  z-index: 1;
  pointer-events: none;
  box-shadow: none;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  display: block;
}

.glow-1 {
  width: 600px;
  height: 600px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
  width: 500px;
  height: 500px;
  top: 180px;
  right: 5%;
  background: radial-gradient(circle, rgba(234, 217, 76, 0.22) 0%, rgba(0,0,0,0) 70%);
}

.hero-space-stars {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1300px;
  height: 80%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.glow-1 {
  width: 600px;
  height: 600px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
  width: 500px;
  height: 500px;
  top: 180px;
  right: 5%;
  background: radial-gradient(circle, rgba(234, 217, 76, 0.18) 0%, rgba(0,0,0,0) 70%);
}

/* Centered Deep-Space Star Particles (Expanded 26 Star Field) */
.hero-space-stars {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1300px;
  height: 80%;
  pointer-events: none;
  z-index: 0;
}

.star-dot {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(234, 217, 76, 0.5);
  animation: twinkle-float 4s infinite ease-in-out alternate;
}

.star-dot.s1 { width: 3px; height: 3px; top: 8%; left: 16%; animation-duration: 3.2s; }
.star-dot.s2 { width: 2px; height: 2px; top: 14%; left: 80%; animation-duration: 4.5s; animation-delay: 0.5s; }
.star-dot.s3 { width: 4px; height: 4px; top: 30%; left: 10%; animation-duration: 2.8s; background: #EAD94C; }
.star-dot.s4 { width: 2px; height: 2px; top: 32%; left: 86%; animation-duration: 5.1s; animation-delay: 1.2s; }
.star-dot.s5 { width: 3px; height: 3px; top: 48%; left: 20%; animation-duration: 3.8s; animation-delay: 0.2s; }
.star-dot.s6 { width: 2px; height: 2px; top: 54%; left: 74%; animation-duration: 4.1s; }
.star-dot.s7 { width: 3px; height: 3px; top: 20%; left: 30%; animation-duration: 3.5s; background: #EAD94C; }
.star-dot.s8 { width: 2px; height: 2px; top: 16%; left: 68%; animation-duration: 4.8s; animation-delay: 0.8s; }
.star-dot.s9 { width: 4px; height: 4px; top: 66%; left: 14%; animation-duration: 3.0s; }
.star-dot.s10 { width: 2px; height: 2px; top: 70%; left: 84%; animation-duration: 4.2s; animation-delay: 1.5s; }
.star-dot.s11 { width: 3px; height: 3px; top: 6%; left: 40%; animation-duration: 3.6s; }
.star-dot.s12 { width: 2px; height: 2px; top: 10%; left: 60%; animation-duration: 5.0s; background: #EAD94C; }
.star-dot.s13 { width: 3px; height: 3px; top: 40%; left: 91%; animation-duration: 2.9s; }
.star-dot.s14 { width: 2px; height: 2px; top: 60%; left: 8%; animation-duration: 4.6s; animation-delay: 0.4s; }
.star-dot.s15 { width: 3px; height: 3px; top: 25%; left: 48%; animation-duration: 3.4s; animation-delay: 0.7s; }
.star-dot.s16 { width: 2px; height: 2px; top: 38%; left: 52%; animation-duration: 4.0s; animation-delay: 1.1s; background: #EAD94C; }
.star-dot.s17 { width: 3px; height: 3px; top: 15%; left: 24%; animation-duration: 3.1s; animation-delay: 0.3s; }
.star-dot.s18 { width: 2px; height: 2px; top: 44%; left: 78%; animation-duration: 4.9s; animation-delay: 0.9s; }
.star-dot.s19 { width: 3.5px; height: 3.5px; top: 58%; left: 34%; animation-duration: 2.7s; background: #EAD94C; }
.star-dot.s20 { width: 2px; height: 2px; top: 22%; left: 76%; animation-duration: 4.3s; animation-delay: 1.4s; }
.star-dot.s21 { width: 3px; height: 3px; top: 75%; left: 28%; animation-duration: 3.7s; animation-delay: 0.6s; }
.star-dot.s22 { width: 2px; height: 2px; top: 78%; left: 65%; animation-duration: 4.7s; animation-delay: 0.1s; }
.star-dot.s23 { width: 3px; height: 3px; top: 5%; left: 50%; animation-duration: 3.3s; animation-delay: 1.0s; }
.star-dot.s24 { width: 2px; height: 2px; top: 82%; left: 45%; animation-duration: 5.2s; animation-delay: 0.8s; background: #EAD94C; }
.star-dot.s25 { width: 3px; height: 3px; top: 35%; left: 4%; animation-duration: 3.9s; animation-delay: 0.4s; }
.star-dot.s26 { width: 2px; height: 2px; top: 45%; left: 96%; animation-duration: 4.4s; animation-delay: 1.3s; }

@keyframes twinkle-float {
  0% {
    opacity: 0.15;
    transform: translateY(0px) scale(0.8);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-6px) scale(1.3);
  }
  100% {
    opacity: 0.15;
    transform: translateY(-12px) scale(0.8);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.badge-pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 36px;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #EAD94C;
  color: #000000;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 99px;
  box-shadow: none;
  transition: all 0.25s ease;
}

.btn-hero-main:hover {
  transform: translateY(-2px);
  background: #d4c33d;
  color: #000000;
  box-shadow: none;
}

.btn-hero-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 99px;
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn-hero-demo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Preview Mockup Card & Tabs */
.hero-mockup-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 130px;
  padding-bottom: 90px;
}

.hero-mockup-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.mockup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.25s ease;
}

.mockup-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.mockup-tab-btn.active {
  background: #ffffff;
  color: #5603AD;
  border-color: #ffffff;
  font-weight: 800;
  box-shadow: none;
}

.hero-mockup-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
}

.mockup-header-bar {
  background: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots .red { background-color: #ff5f56; }
.mockup-dots .yellow { background-color: #ffbd2e; }
.mockup-dots .green { background-color: #27c93f; }

.mockup-url-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px 20px;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-action-badge {
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-action-badge .live-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
}

.mockup-body-preview {
  padding: 24px;
  background: #130f21;
  position: relative;
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.m-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.m-stat-icon.bg-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.m-stat-icon.bg-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.m-stat-icon.bg-green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.m-stat-icon.bg-orange { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

.m-stat-val { font-size: 18px; font-weight: 800; color: #ffffff; }
.m-stat-lbl { font-size: 11px; color: #94a3b8; }

.mockup-kanban-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.m-kanban-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px;
}

.m-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-card-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-card-mini strong { color: #f1f5f9; }
.m-card-mini em { color: #94a3b8; font-style: normal; font-size: 11px; }

.tag-mini {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}
.tag-mini.warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.tag-mini.primary { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.tag-mini.info { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.tag-mini.success { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

.mockup-cta-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.btn-mockup-interactive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(124, 58, 237, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-mockup-interactive:hover {
  transform: scale(1.05);
  background: #7c3aed;
}

/* Landing Section General (Clean Premium Light Theme) */
.landing-section {
  padding: 100px 0;
  position: relative;
  background: #ffffff;
}

.landing-section.bg-surface {
  background: #f8fafc;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-sub-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5603AD;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Modules Grid (100% Flat Design) */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.module-card:hover {
  border-color: #5603AD;
  transform: none;
  box-shadow: none;
}

.module-card.featured-module {
  background: #ffffff;
  border: 2px solid #5603AD;
  box-shadow: none;
}

.featured-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #5603AD;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  box-shadow: none;
}

.module-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.module-icon {
  width: 48px;
  height: 48px;
  background: rgba(86, 3, 173, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5603AD;
  flex-shrink: 0;
}

.module-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.module-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.module-features li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-features li i {
  color: #10b981;
  width: 16px;
  height: 16px;
}

.btn-module-select {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn-module-select:hover {
  background: #e2e8f0;
  box-shadow: none;
}

.btn-module-select.primary {
  background: #5603AD;
  color: #ffffff;
  border: 1px solid #5603AD;
  box-shadow: none;
}

.btn-module-select.primary:hover {
  background: #460290;
  box-shadow: none;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.feature-box:hover {
  background: #ffffff;
  border-color: #5603AD;
  transform: none;
  box-shadow: none;
}

.feature-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(86, 3, 173, 0.08) !important;
  color: #5603AD !important;
  flex-shrink: 0;
  margin-bottom: 0;
}

.feat-icon i, .feat-icon svg {
  color: #5603AD !important;
}

.feature-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.feature-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* Pricing Toggle & Grid (100% Flat Design) */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.toggle-label.active { color: #0f172a; }

.save-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 4px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}

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

input:checked + .slider { background-color: #5603AD; }
input:checked + .slider:before { transform: translateX(24px); }

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.price-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

.price-card.featured-price {
  background: #ffffff;
  border: 2px solid #5603AD;
  box-shadow: none;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #5603AD;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  box-shadow: none;
}

.price-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.price-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.price-amount .currency { font-size: 24px; font-weight: 700; color: #5603AD; margin-right: 4px; }
.price-amount .val { font-size: 42px; font-weight: 800; color: #0f172a; }
.price-amount .period { font-size: 14px; color: #64748b; margin-left: 6px; }

.price-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.price-checklist li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-price-action {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn-price-action:hover { background: #e2e8f0; box-shadow: none; }
.btn-price-action.primary {
  background: #5603AD;
  color: #ffffff;
  border: 1px solid #5603AD;
  box-shadow: none;
}

.btn-price-action.primary:hover {
  background: #460290;
  box-shadow: none;
}

/* Testimonials (100% Flat Design) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

.stars {
  color: #eab308;
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.stars i { width: 16px; height: 16px; fill: #eab308; }

.test-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px;
  font-style: italic;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5603AD;
}

.user-meta strong { display: block; font-size: 14px; color: #0f172a; }
.user-meta small { font-size: 12px; color: #64748b; }

/* FAQ Accordion (100% Flat Design) */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover { background: #f8fafc; }

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

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

.faq-answer p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* CTA Banner (Hero Gradient & Glow Effect) */
.landing-cta-banner {
  padding: 60px 0 100px;
  background: #ffffff;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(150deg, #320668 0%, #5603AD 45%, #460290 75%, #23024c 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(86, 3, 173, 0.25);
}

.cta-card-glow {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-card-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-text-side {
  position: relative;
  z-index: 2;
}

.cta-action-side {
  position: relative;
  z-index: 2;
}

.cta-text-side h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.cta-text-side p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.btn-banner-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #ffffff;
  color: #5603AD;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid #ffffff;
  box-shadow: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-banner-white:hover {
  transform: translateY(-2px);
  box-shadow: none;
  background: #f8fafc;
}

/* Landing Footer (Light Theme) */
.landing-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 80px 0 30px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col p {
  font-size: 14px;
  color: #64748b;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
}

.footer-links-col a {
  display: block;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-links-col a:hover { color: #5603AD; }

.footer-links-col p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #64748b;
  transition: color 0.2s ease;
}

.footer-socials a:hover { color: #5603AD; }

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DESIGN SYSTEM (FLAT & OPTIMIZED)
   ========================================================================== */

@media (max-width: 992px) {
  .landing-hero {
    padding: 140px 0 0;
  }

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

  .hero-subtitle {
    font-size: 16px;
    padding: 0 16px;
  }

  .modules-grid, 
  .features-grid, 
  .pricing-cards-grid, 
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wide-purple-feature-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
    min-height: auto;
  }

  .wide-feature-title {
    font-size: 26px;
  }

  .wide-feature-img-frame img {
    max-height: 300px;
  }

  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .landing-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .landing-header {
    padding: 12px 0;
  }

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

  .landing-header-actions {
    gap: 6px !important;
  }

  .lang-switcher-container .btn-lang-toggle {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
  }

  .btn-landing-secondary {
    display: inline-flex !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 30px !important;
    height: 30px !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
  }

  .btn-landing-secondary .btn-text-desktop {
    display: none !important;
  }

  .btn-landing-secondary .btn-icon-mobile {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    color: #ffffff !important;
  }

  .btn-mobile-hamburger {
    display: inline-flex !important;
    border: none !important;
    background: transparent !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
  }

  .btn-landing-primary {
    display: inline-flex !important;
    padding: 7px 14px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
  }

  .btn-landing-secondary .btn-icon-mobile {
    display: inline-block;
    width: 18px;
    height: 18px;
    color: #ffffff;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 4px 12px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .badge-pulsing-dot {
    width: 6px;
    height: 6px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  .hero-cta-group .btn-hero-main,
  .hero-cta-group .btn-hero-demo {
    width: auto;
    flex: 1;
    max-width: 180px;
    padding: 12px 14px;
    font-size: 13.5px;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .hero-trust-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    padding: 0 10px;
  }

  .trust-item {
    font-size: 12.5px;
    white-space: nowrap;
  }

  .hero-mockup-wrapper {
    margin-top: 50px;
    padding-bottom: 60px;
  }

  .hero-mockup-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
  }

  .mockup-tab-btn {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 99px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    cursor: pointer;
  }

  .mockup-tab-btn.active {
    background: #ffffff;
    color: #5603AD;
    border-color: #ffffff;
    font-weight: 800;
  }

  .hero-mockup-card {
    border-radius: 14px;
  }

  .mockup-header-bar {
    padding: 10px 14px;
  }

  .mockup-body-preview {
    padding: 8px;
  }

  .hero-white-curve-bg {
    top: 76%;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
  }

  .store-proof-wrapper {
    padding: 24px 0 16px;
  }

  .store-proof-title {
    font-size: 15px;
    text-align: center;
  }

  .store-badges-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .store-badge-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .wide-purple-feature-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .wide-feature-title {
    font-size: 24px;
  }

  .btn-wide-feature {
    width: 100%;
    box-sizing: border-box;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15px;
  }

  .feature-box {
    padding: 20px;
  }

  .feature-box-header {
    gap: 12px;
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .pricing-toggle-container {
    flex-wrap: wrap;
  }

  .price-card {
    padding: 24px 20px;
  }

  .price-amount .val {
    font-size: 36px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Internal App Shell (app.html) Mobile Adjustments */
  .app-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .app-sidebar.open {
    left: 0;
  }

  .app-main-content {
    margin-left: 0 !important;
    padding: 16px !important;
  }

  .stats-three-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .wide-feature-title {
    font-size: 22px;
  }

  .cta-text-side h2 {
    font-size: 24px;
  }
}
