/* Base Reset & Variables */
:root {
  /* Light Theme Core */
  --bg-dark: #f8fafc;
  --bg-panel: #ffffff;
  --bg-card: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  /* Multi-Color Active Palette (6-7 bright active colors) */
  --color-primary: #4f46e5;
  --color-secondary: #0ea5e9;
  --color-whatsapp: #22c55e;
  --color-orange: #f97316;
  --color-purple: #a855f7;
  --color-rose: #f43f5e;
  --color-gold: #eab308;
  
  --primary: var(--color-primary);
  --primary-hover: #3730a3;
  --primary-light: rgba(79, 70, 229, 0.1);
  
  --success: var(--color-whatsapp);
  --success-light: rgba(34, 197, 94, 0.1);
  --warning: var(--color-gold);
  --warning-light: rgba(234, 179, 8, 0.1);
  --danger: var(--color-rose);
  --danger-light: rgba(244, 63, 94, 0.1);
  
  --transition-speed: 0.25s;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  font-weight: 500;
}
.alert-danger {
  background-color: var(--danger-light);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.2);
}
.alert-success {
  background-color: var(--success-light);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.2);
}
.alert-warning {
  background-color: var(--warning-light);
  color: #fde047;
  border-color: rgba(245, 158, 11, 0.2);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-admin {
  background-color: var(--primary-light);
  color: #a5b4fc;
}
.badge-client {
  background-color: var(--success-light);
  color: #6ee7b7;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-speed) ease;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-outline:hover {
  background-color: var(--border-color);
}

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

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

/* Login Page Styling */
.login-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  position: relative;
}

.login-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.login-close:hover {
  color: var(--primary);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.login-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .col {
  flex: 1;
}

.form-help {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard Wrapper Layout */
.dashboard-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
  width: 280px;
  background-color: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.sidebar-logo {
  font-size: 28px;
  color: var(--primary);
}

.sidebar-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.sidebar-nav {
  flex: 1;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition-speed) ease;
}

.nav-item:hover, .nav-item.active {
  color: white;
  background-color: var(--primary-light);
}

.nav-item.active {
  color: var(--primary);
  font-weight: 600;
}

.sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.user-info {
  margin-bottom: 16px;
}

.username-display {
  font-weight: 600;
  font-size: 15px;
}

.expiry-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 40px;
  background-color: var(--bg-dark);
  overflow-y: auto;
}

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

.content-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.content-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Metrics Dashboard Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.metric-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.metric-blue { background-color: var(--primary-light); color: var(--primary); }
.metric-green { background-color: var(--success-light); color: var(--success); }
.metric-red { background-color: var(--danger-light); color: var(--danger); }

.metric-info h3 {
  font-size: 24px;
  font-weight: 800;
}

.metric-info p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Premium Table Styling */
.card-table {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.table th, .table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background-color: rgba(17, 24, 39, 0.6);
}

.table td {
  font-size: 14px;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: rgba(31, 41, 55, 0.4);
}

.client-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.client-name {
  font-weight: 600;
}

.client-username {
  font-size: 12px;
  color: var(--text-muted);
}

/* Action buttons inside table */
.action-buttons {
  display: flex;
  gap: 8px;
}

/* Client Site Config Form */
.editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.editor-form-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

/* Theme Options Picker */
.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all var(--transition-speed) ease;
}

.theme-option input {
  display: none;
}

.theme-option:has(input:checked) {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.theme-preview {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.theme-blue-dot { background-color: #2563eb; }
.theme-orange-dot { background-color: #ea580c; }
.theme-emerald-dot { background-color: #059669; }
.theme-dark-dot { background-color: #94a3b8; }

/* Modal Styles */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: white;
}

#client-form {
  padding: 24px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* URL Card Styling */
.url-card-container {
  margin-bottom: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--bg-panel);
}

.url-card-input-wrapper {
  flex: 1;
}

.url-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.url-card-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-weight: 700;
  font-family: monospace;
  font-size: 14px;
}

.url-card-btn {
  margin-top: 24px;
  height: 46px;
  font-weight: 700;
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    overflow-x: hidden;
  }

  .dashboard-wrapper {
    flex-direction: column;
    min-height: 100vh;
  }

  /* Sidebar transformed into top nav bar */
  .sidebar {
    width: 100%;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
      "header footer"
      "nav nav";
    gap: 16px;
  }

  .sidebar-header {
    grid-area: header;
    margin-bottom: 0 !important;
    gap: 10px;
  }

  .sidebar-logo {
    font-size: 24px;
  }

  .sidebar-header h3 {
    font-size: 15px;
    line-height: 1.2;
  }

  .sidebar-header .badge {
    font-size: 9px;
    padding: 2px 6px;
    margin-top: 2px;
  }

  .sidebar-footer {
    grid-area: footer;
    border-top: none !important;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .user-info {
    margin-bottom: 0 !important;
    text-align: right;
  }

  .username-display {
    font-size: 13px;
  }

  .expiry-sub {
    font-size: 10px;
  }

  .btn-logout {
    width: auto !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    margin-top: 0 !important;
  }

  .sidebar-nav {
    grid-area: nav;
    width: 100%;
  }

  .nav-group {
    flex-direction: row !important;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .nav-item {
    flex: 1;
    justify-content: center;
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  /* Main content layout */
  .main-content {
    padding: 20px;
  }

  .content-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .content-header h1 {
    font-size: 22px;
  }

  .content-header .btn,
  .content-header a.btn {
    width: 100%;
    text-align: center;
  }

  /* Form layouts */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .editor-form-card {
    padding: 20px;
  }

  /* URL Card responsive */
  .url-card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .url-card-btn {
    margin-top: 0;
    width: 100%;
  }

  /* Table padding optimizations for smaller screens */
  .table th, .table td {
    padding: 12px 16px;
  }
}

/* Wide Modal for Client Logs & Activity Stats */
.modal-card.modal-lg {
  max-width: 750px;
}

.usage-stats-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.usage-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ==========================================
   AdsVibe Marketing Landing Website Styles
   ========================================== */

#landing-container {
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Header & Navigation */
.landing-header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 16px 24px;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 11px;
  display: block;
  line-height: 1;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition-speed) ease;
}

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

/* Hero Section */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  background: linear-gradient(135deg, #0f172a 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.hero-slogan-main {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.hero-slogan-sub {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

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

.hero-cta-btn {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

/* Phone Mockup */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 290px;
  height: 580px;
  background: #000000;
  border: 10px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 45px rgba(79, 70, 229, 0.15);
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  border-radius: 26px;
  position: relative;
  overflow-y: auto;
  font-size: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Simulated UI Notifications */
.mockup-incoming-call {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: pulseGlow 2s infinite;
}

.mockup-incoming-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-rose);
  font-weight: 700;
  margin-bottom: 8px;
}

.mockup-incoming-number {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.mockup-incoming-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.mockup-notification {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.mockup-notification-header {
  display: flex;
  justify-content: space-between;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 6px;
}

.mockup-notification-msg {
  color: var(--text-main);
  line-height: 1.4;
  font-size: 11px;
}

.mockup-notification-link {
  color: var(--color-primary);
  text-decoration: underline;
  margin-top: 4px;
  display: block;
  font-weight: 600;
}

/* How It Works Pipeline */
.pipeline-section {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 24px;
}

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

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.pipeline-flow {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.pipeline-step {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Pipeline Step Color Mixing */
.pipeline-step:nth-child(1) { border-top: 4px solid var(--color-rose); }
.pipeline-step:nth-child(2) { border-top: 4px solid var(--color-secondary); }
.pipeline-step:nth-child(3) { border-top: 4px solid var(--color-whatsapp); }
.pipeline-step:nth-child(4) { border-top: 4px solid var(--color-purple); }
.pipeline-step:nth-child(5) { border-top: 4px solid var(--color-gold); }

.pipeline-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.step-num {
  width: 32px;
  height: 32px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}

.pipeline-step:nth-child(1) .step-num { background: var(--color-rose); }
.pipeline-step:nth-child(2) .step-num { background: var(--color-secondary); }
.pipeline-step:nth-child(3) .step-num { background: var(--color-whatsapp); }
.pipeline-step:nth-child(4) .step-num { background: var(--color-purple); }
.pipeline-step:nth-child(5) .step-num { background: var(--color-gold); }

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.pipeline-step:nth-child(1) .step-icon { color: var(--color-rose); }
.pipeline-step:nth-child(2) .step-icon { color: var(--color-secondary); }
.pipeline-step:nth-child(3) .step-icon { color: var(--color-whatsapp); }
.pipeline-step:nth-child(4) .step-icon { color: var(--color-purple); }
.pipeline-step:nth-child(5) .step-icon { color: var(--color-gold); }

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* Features Grid */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

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

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

/* Feature Colors Mix */
.feature-card:nth-child(1) { border-top: 4px solid var(--color-whatsapp); }
.feature-card:nth-child(2) { border-top: 4px solid var(--color-secondary); }
.feature-card:nth-child(3) { border-top: 4px solid var(--color-primary); }
.feature-card:nth-child(4) { border-top: 4px solid var(--color-purple); }
.feature-card:nth-child(5) { border-top: 4px solid var(--color-orange); }
.feature-card:nth-child(6) { border-top: 4px solid var(--color-rose); }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.feature-card i {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.feature-card:nth-child(1) i { color: var(--color-whatsapp); }
.feature-card:nth-child(2) i { color: var(--color-secondary); }
.feature-card:nth-child(3) i { color: var(--color-primary); }
.feature-card:nth-child(4) i { color: var(--color-purple); }
.feature-card:nth-child(5) i { color: var(--color-orange); }
.feature-card:nth-child(6) i { color: var(--color-rose); }

.feature-card h3 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* Clients Grid */
.clients-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
  padding: 100px 24px;
}

.clients-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.client-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.client-item i {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

/* Client Item Hovers */
.client-item:nth-child(1) i { color: var(--color-rose); }
.client-item:nth-child(2) i { color: var(--color-orange); }
.client-item:nth-child(3) i { color: var(--color-secondary); }
.client-item:nth-child(4) i { color: var(--color-primary); }
.client-item:nth-child(5) i { color: var(--color-purple); }
.client-item:nth-child(6) i { color: var(--color-rose); }
.client-item:nth-child(7) i { color: var(--color-gold); }
.client-item:nth-child(8) i { color: var(--color-whatsapp); }
.client-item:nth-child(9) i { color: var(--color-secondary); }
.client-item:nth-child(10) i { color: var(--color-purple); }

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.client-item:nth-child(1):hover { background: var(--color-rose); color: white; }
.client-item:nth-child(2):hover { background: var(--color-orange); color: white; }
.client-item:nth-child(3):hover { background: var(--color-secondary); color: white; }
.client-item:nth-child(4):hover { background: var(--color-primary); color: white; }
.client-item:nth-child(5):hover { background: var(--color-purple); color: white; }
.client-item:nth-child(6):hover { background: var(--color-rose); color: white; }
.client-item:nth-child(7):hover { background: var(--color-gold); color: #0f172a; }
.client-item:nth-child(8):hover { background: var(--color-whatsapp); color: white; }
.client-item:nth-child(9):hover { background: var(--color-secondary); color: white; }
.client-item:nth-child(10):hover { background: var(--color-purple); color: white; }

.client-item:hover i {
  color: white !important;
}

/* Pricing Grid */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
  border: 2px solid var(--color-orange);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
  transform: translateY(-8px);
}

.pricing-card:nth-child(3) {
  border: 1px solid var(--color-purple);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-orange);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card:nth-child(1) .plan-name { color: var(--color-secondary); }
.pricing-card.popular .plan-name { color: var(--color-orange); }
.pricing-card:nth-child(3) .plan-name { color: var(--color-purple); }

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.plan-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  min-height: 36px;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.plan-features li i {
  font-size: 16px;
}

.pricing-card:nth-child(1) .plan-features li i { color: var(--color-secondary); }
.pricing-card.popular .plan-features li i { color: var(--color-orange); }
.pricing-card:nth-child(3) .plan-features li i { color: var(--color-purple); }

/* Pricing Buttons */
.pricing-card:nth-child(1) .btn-outline:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
}

.pricing-card.popular .btn-primary {
  background-color: var(--color-orange);
  color: white;
  border-color: var(--color-orange);
}

.pricing-card.popular .btn-primary:hover {
  background-color: #ea580c;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.pricing-card:nth-child(3) .btn-outline:hover {
  background-color: var(--color-purple);
  border-color: var(--color-purple);
  color: white;
}

/* Footer style */
.landing-footer {
  background: #0f172a;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
  color: #94a3b8;
}

.landing-footer .logo-text {
  color: white;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-info h4 {
  font-size: 16px;
  color: white;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-speed) ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Floating contact actions widget */
.floating-contact-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1500;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
}

.float-call {
  background: var(--color-rose);
  animation: floatBounce 3s infinite ease-in-out;
}

.float-wa {
  background: var(--color-whatsapp);
  animation: floatBounce 3s infinite ease-in-out 1.5s;
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  right: 66px;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(79, 70, 229, 0.1); }
  50% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.2); }
  100% { box-shadow: 0 0 10px rgba(79, 70, 229, 0.1); }
}

/* FAQ Accordion using native HTML details/summary */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.05);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
  border-top: 1px dashed var(--border-color);
  margin-top: 5px;
  padding-top: 15px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }
  .hero-mockup-wrapper {
    margin-top: 40px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Navigation header responsiveness */
  .nav-links li:not(:last-child):not(:nth-last-child(3)) {
    display: none; /* Hide Features, How it works, Clients, Pricing, Contact AND Free Trial in favor of Download App and Login */
  }
  .nav-links {
    gap: 8px;
  }
  .logo-text {
    font-size: 18px;
  }
  .logo-img {
    height: 32px;
  }
  #btn-nav-register, #btn-nav-login {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* Hero Section Typography */
  .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  .hero-slogan-main {
    font-size: 16px !important;
  }
  .hero-slogan-sub {
    font-size: 13px !important;
  }
  .hero-desc {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-ctas button, .hero-ctas a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .phone-mockup {
    width: 250px !important;
    height: 500px !important;
    border-width: 6px !important;
    border-radius: 30px !important;
  }
  
  /* Pipeline details adjustments */
  .pipeline-step {
    padding: 20px 16px !important;
  }
  .section-header h2 {
    font-size: 26px !important;
  }
  .section-header p {
    font-size: 14px !important;
  }

  /* Floating widget on mobile */
  .floating-contact-widget {
    bottom: 20px !important;
    right: 20px !important;
    gap: 12px !important;
  }
  .float-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 580px) {
  /* Clients grid */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 10px;
  }
  .client-item {
    padding: 16px 12px !important;
    font-size: 13px !important;
  }
  .client-item i {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  /* Modals / Login / Register Cards sizing */
  .login-card {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  .login-header h2 {
    font-size: 20px !important;
  }
  
  /* General padding resets */
  .features-section, .clients-section, .pricing-section, .pipeline-section {
    padding: 60px 16px !important;
  }
  .feature-card {
    padding: 24px 16px !important;
  }
}

/* Gallery Showcase Styles */
.gallery-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.gallery-slot-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.gallery-slot-card:hover {
  border-color: var(--color-primary);
}
.gallery-slot-preview {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  background: #1e293b;
  display: block;
}
.gallery-slot-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.gallery-slot-remove-btn:hover {
  transform: scale(1.1);
  background: rgb(239, 68, 68);
}
.gallery-file-label {
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-primary);
  text-decoration: underline;
  text-align: center;
  margin-top: 4px;
}
.gallery-file-input {
  display: none;
}

/* Desktop Editor Grid layout */
@media (min-width: 1024px) {
  .editor-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Call Analytics Chart styling */
.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
.chart-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 4px;
  position: relative;
}
.chart-bar:hover {
  background: var(--primary-hover);
}
.chart-bar-val {
  position: absolute;
  top: -22px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  width: 100%;
  text-align: center;
}
.chart-bar-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}


