/* ============================================================
   TULASI SERVICES — MARKETING WEBSITE STYLES
   Modern, responsive, Indian SMB focused
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary: #6C3CE7;
  --primary-dark: #5A2FCC;
  --primary-light: #8B6CEF;
  --primary-bg: #F3EFFF;

  --secondary: #00B894;
  --secondary-dark: #00A381;

  --accent: #FF6B6B;
  --accent-dark: #E55A5A;

  /* Neutrals */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8ED;
  --gray-300: #D1D1D6;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #18181B;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6C3CE7 0%, #00B894 100%);
  --gradient-hero: linear-gradient(135deg, #0F0C29 0%, #302B63 50%, #24243E 100%);
  --gradient-cta: linear-gradient(135deg, #6C3CE7 0%, #8B5CF6 50%, #00B894 100%);
  --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px -10px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(108,60,231,0.15);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108,60,231,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

.logo-icon { font-size: 28px; }
.logo-text { color: var(--gray-900); }
.navbar:not(.scrolled) .logo-text { color: #fff; }
.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover { color: var(--primary); }
.navbar:not(.scrolled) .nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar:not(.scrolled) .nav-actions .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
}
.navbar:not(.scrolled) .nav-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar:not(.scrolled) .mobile-toggle span { background: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 40%;
  left: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #A78BFA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #1a1a2e;
  margin-right: -8px;
}

.hero-trust p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.hero-trust strong { color: rgba(255,255,255,0.9); }

/* Dashboard Preview */
.dashboard-preview {
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(108,60,231,0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.dashboard-preview:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-900);
  border-bottom: 1px solid var(--gray-700);
}
.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.preview-title {
  font-size: 12px;
  color: var(--gray-400);
}

.preview-body {
  display: flex;
  min-height: 280px;
}

.preview-sidebar {
  width: 48px;
  background: var(--gray-900);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border-right: 1px solid var(--gray-700);
}

.preview-nav-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  font-size: 13px;
}
.preview-nav-item.active {
  background: var(--primary);
  color: #fff;
}

.preview-content {
  flex: 1;
  padding: 16px;
}

.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.preview-stat-card {
  background: var(--gray-700);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.preview-stat-card .stat-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.preview-stat-card .stat-label {
  font-size: 11px;
  color: var(--gray-400);
}

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding-top: 10px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  min-height: 20px;
  transition: height 0.6s ease;
}

/* ===== KPI BAR ===== */
.kpi-bar {
  background: var(--gray-900);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-800);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}

.kpi-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kpi-label {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--bg);
  color: var(--fg);
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-pad) 0;
}

.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.features-showcase > :last-child {
  grid-column: 1 / -1;
}

.feature-big-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
}
.feature-big-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.feature-big-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-big-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-big-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-big-card code {
  background: var(--primary-bg);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

/* ===== 25 PANELS SECTION ===== */
.panels {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

.panel-category {
  margin-bottom: 48px;
}
.panel-category:last-child { margin-bottom: 0; }

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--bg);
  color: var(--fg);
}

.category-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.panel-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.panel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.panel-card > i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.panel-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.panel-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== PLUGINS SECTION ===== */
.plugins {
  padding: var(--section-pad) 0;
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plugin-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.plugin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.plugin-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
}

.plugin-badge {
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.plugin-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.plugin-card.featured .plugin-icon {
  background: var(--primary);
  color: #fff;
}

.plugin-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plugin-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.plugin-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
}
.plugin-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}

/* ===== CUSTOMER PORTAL ===== */
.portal {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.portal-content .section-tag { margin-bottom: 12px; }
.portal-content .section-title { text-align: left; margin-bottom: 12px; }
.portal-content .section-subtitle { text-align: left; margin-bottom: 40px; }

.portal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portal-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.portal-feature i {
  width: 40px;
  height: 40px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.portal-feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.portal-feature p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Phone Mockup */
.portal-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: var(--gray-900);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(108,60,231,0.15);
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: var(--gray-900);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #fff;
  border-radius: 24px;
  padding: 24px 16px;
  min-height: 400px;
}

.phone-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.phone-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.phone-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}
.phone-stat strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}
.phone-stat span {
  font-size: 11px;
  color: var(--gray-500);
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}

/* ===== INDUSTRIES ===== */
.industries {
  padding: var(--section-pad) 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.industry-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.industry-card > p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-card li {
  font-size: 13px;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}
.industry-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.industry-card-other {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ===== PRICING ===== */
.pricing {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-label.active { color: var(--gray-900); }

.save-badge {
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.toggle-switch.active { background: var(--primary); }

.toggle-knob {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
  box-shadow: var(--shadow-sm);
}
.toggle-switch.active .toggle-knob {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}
.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.pricing-tagline {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

.pricing-amount {
  margin: 24px 0;
}

.price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
}

.period {
  font-size: 15px;
  color: var(--gray-400);
}

.annual-note {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-top: -16px;
  margin-bottom: 16px;
}

.pricing-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  font-size: 14px;
  color: var(--secondary);
  width: 18px;
  text-align: center;
}

.pricing-features li.disabled {
  color: var(--gray-400);
}
.pricing-features li.disabled i {
  color: var(--gray-300);
}

/* ===== ADMIN PANEL ===== */
.admin {
  padding: var(--section-pad) 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.admin-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}
.admin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.admin-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-hero);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 16px;
}

.admin-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.admin-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #FBBF24;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--gray-900);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: var(--section-pad) 0;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px;
  right: -100px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 32px;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--gray-400);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}

.footer .logo-text { color: #fff; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-bottom-links span {
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .hero-title { font-size: 44px; }
  .section-title { font-size: 34px; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { display: none; }

  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plugins-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portal-visual { order: -1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav-links,
  .nav-actions { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .nav-links.active a { color: var(--gray-700); }

  .nav-actions.active {
    display: flex;
    position: absolute;
    top: calc(100% + 200px);
    left: 24px;
    right: 24px;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .kpi-number { font-size: 28px; }

  .benefits-grid,
  .features-showcase,
  .plugins-grid,
  .industries-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portal-features {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-content h2 { font-size: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-trust { flex-direction: column; gap: 8px; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 24px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .phone-mockup { width: 240px; }
  .price { font-size: 36px; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.benefits-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.benefits-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.benefits-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.benefits-grid .fade-in:nth-child(5) { transition-delay: 0.35s; }
.benefits-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }

.plugins-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.plugins-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.plugins-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.plugins-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.plugins-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }

.pricing-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.pricing-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.kpi-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.kpi-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.kpi-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.kpi-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }

/* ===== SELECTION ===== */
::selection {
  background: var(--primary);
  color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}
