/* =========================================================
   Clawd AI Enterprise — style.css
   Complete design system for clawdai.my
   ========================================================= */

/* -------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
------------------------------------------------------- */
:root {
  /* Brand colours */
  --purple:          #6c3fc5;
  --purple-dark:     #4f2d91;
  --purple-light:    #8b5cf6;
  --pink:            #c84b9e;
  --pink-light:      #e879b5;
  --gradient:        linear-gradient(135deg, #6c3fc5 0%, #c84b9e 100%);
  --gradient-hover:  linear-gradient(135deg, #4f2d91 0%, #a83484 100%);
  --gradient-soft:   linear-gradient(135deg, rgba(108,63,197,0.08) 0%, rgba(200,75,158,0.08) 100%);

  /* Neutral palette */
  --white:           #ffffff;
  --bg-light:        #f8f9fa;
  --bg-card:         #ffffff;
  --border:          #e9ecef;
  --border-light:    #f1f3f5;

  /* Text */
  --text-dark:       #1a1a2e;
  --text-body:       #343a40;
  --text-muted:      #6c757d;
  --text-light:      #adb5bd;

  /* Semantic */
  --success:         #28a745;
  --success-bg:      #d4edda;
  --warning:         #ffc107;
  --warning-bg:      #fff3cd;
  --error:           #dc3545;
  --error-bg:        #f8d7da;
  --info:            #17a2b8;
  --info-bg:         #d1ecf1;

  /* Radius */
  --radius-sm:       6px;
  --radius-md:       8px;
  --radius-lg:       12px;
  --radius-xl:       16px;
  --radius-2xl:      24px;
  --radius-full:     9999px;

  /* Shadows */
  --shadow-sm:       0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:       0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl:       0 16px 60px rgba(0,0,0,0.16);
  --shadow-purple:   0 8px 30px rgba(108,63,197,0.25);

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.5;
  --lh-relaxed:1.7;

  /* Layout */
  --max-width: 1200px;
  --sidebar-width: 260px;
  --navbar-height: 70px;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
}

/* -------------------------------------------------------
   2. RESET & BASE
------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--purple-dark); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

::selection {
  background: rgba(108,63,197,0.18);
  color: var(--text-dark);
}

/* -------------------------------------------------------
   3. TYPOGRAPHY SCALE
------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { line-height: var(--lh-relaxed); color: var(--text-body); }

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

.text-muted   { color: var(--text-muted) !important; }
.text-dark    { color: var(--text-dark)  !important; }
.text-success { color: var(--success)    !important; }
.text-warning { color: var(--warning)    !important; }
.text-error   { color: var(--error)      !important; }
.text-white   { color: var(--white)      !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }

.fw-normal   { font-weight: var(--fw-normal); }
.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }

/* -------------------------------------------------------
   4. LAYOUT UTILITIES
------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm { max-width: 680px; margin: 0 auto; padding: 0 var(--space-6); }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center      { justify-content: center; }
.justify-between     { justify-content: space-between; }
.justify-end         { justify-content: flex-end; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

.grid        { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.section      { padding: var(--space-24) 0; }
.section-sm   { padding: var(--space-16) 0; }
.section-lg   { padding: var(--space-24) 0 var(--space-24); }

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.mb-2    { margin-bottom: var(--space-2); }
.mb-3    { margin-bottom: var(--space-3); }
.mb-4    { margin-bottom: var(--space-4); }
.mb-6    { margin-bottom: var(--space-6); }
.mb-8    { margin-bottom: var(--space-8); }
.mt-2    { margin-top: var(--space-2); }
.mt-4    { margin-top: var(--space-4); }
.mt-6    { margin-top: var(--space-6); }
.mt-8    { margin-top: var(--space-8); }

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------
   5. NAVBAR
------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-dark);
  text-decoration: none;
}

.navbar-brand .brand-logo {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-lg);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.5px;
  box-shadow: var(--shadow-purple);
  flex-shrink: 0;
}

.navbar-brand .brand-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar-nav .nav-link {
  padding: var(--space-2) var(--space-4);
  color: var(--text-body);
  font-weight: var(--fw-medium);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--purple);
  background: rgba(108,63,197,0.06);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-full);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  flex-direction: column;
  gap: var(--space-2);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { display: flex; }

.mobile-menu .nav-link {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  transition: background var(--transition);
}

.mobile-menu .nav-link:hover {
  background: var(--bg-light);
  color: var(--purple);
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}

/* -------------------------------------------------------
   6. BUTTONS
------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 22px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-family);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-sm { padding: 7px 16px; font-size: var(--text-xs); }
.btn-lg { padding: 14px 32px; font-size: var(--text-base); }
.btn-xl { padding: 17px 40px; font-size: var(--text-lg); border-radius: 10px; }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(108,63,197,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
  color: var(--white);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-secondary:hover {
  background: rgba(108,63,197,0.06);
  transform: translateY(-1px);
  color: var(--purple);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--purple);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-danger  { background: var(--error); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }
.btn-warning { background: var(--warning); color: var(--text-dark); }

.btn-danger:hover  { background: #c82333; transform: translateY(-1px); color: var(--white); }
.btn-success:hover { background: #218838; transform: translateY(-1px); color: var(--white); }

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-block { width: 100%; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
}

/* -------------------------------------------------------
   7. HERO SECTION
------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0ebff 0%, #fce4f4 50%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108,63,197,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,75,158,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(108,63,197,0.1);
  border: 1px solid rgba(108,63,197,0.2);
  color: var(--purple);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
}

.hero-stat .stat-number {
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-dark);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #6c3fc5 0%, #c84b9e 100%);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: white;
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  position: relative;
  overflow: hidden;
}

.hero-mockup::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.hero-mockup::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.mockup-icon {
  font-size: 4rem;
  position: relative;
  z-index: 1;
}

.mockup-text {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  position: relative;
  z-index: 1;
}

.mockup-sub {
  font-size: var(--text-sm);
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.float-card.card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.float-card.card-2 { bottom: 15%; right: -5%; animation-delay: 1.5s; }

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

/* -------------------------------------------------------
   8. SECTION HEADERS
------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* -------------------------------------------------------
   9. CARDS
------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body   { padding: var(--space-6); }
.card-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  font-weight: var(--fw-semibold);
}
.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.card-flat   { box-shadow: none; border: 1px solid var(--border); }
.card-raised { box-shadow: var(--shadow-xl); }

/* Feature cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(108,63,197,0.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  color: var(--text-dark);
}

.feature-desc {
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--text-sm);
}

/* Stats cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-big {
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card .stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.stat-card .stat-change {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-2);
}

.stat-card .stat-change.positive { color: var(--success); }
.stat-card .stat-change.negative { color: var(--error); }

/* -------------------------------------------------------
   10. PRICING CARDS
------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--gradient) border-box;
  box-shadow: var(--shadow-purple);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 16px 50px rgba(108,63,197,0.30);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--space-4) 0;
}

.pricing-currency {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

.pricing-amount {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  color: var(--text-dark);
  line-height: 1;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: var(--lh-relaxed);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features .check {
  color: var(--success);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features .cross {
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.setup-fee-badge {
  display: inline-flex;
  align-items: center;
  background: var(--warning-bg);
  color: #856404;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

/* -------------------------------------------------------
   11. TESTIMONIALS
------------------------------------------------------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.author-name {
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  font-size: var(--text-sm);
}

.author-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* -------------------------------------------------------
   12. HOW IT WORKS / STEPS
------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  opacity: 0.3;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-purple);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  color: var(--text-dark);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* -------------------------------------------------------
   13. CTA SECTION
------------------------------------------------------- */
.cta-section {
  background: var(--gradient);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-section .container { position: relative; z-index: 1; text-align: center; }

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   14. FOOTER
------------------------------------------------------- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--space-4);
}

.footer-brand .brand-logo {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--fw-extrabold);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
  max-width: 300px;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-3);
}

.footer-contact-item .icon { color: var(--pink-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.55); font-size: var(--text-xs); }
.footer-bottom a:hover { color: white; }

/* -------------------------------------------------------
   15. FORMS
------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.form-label .required { color: var(--error); margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  padding: 11px 15px;
  font-size: var(--text-sm);
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  line-height: 1.5;
}

.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108,63,197,0.12);
}

.form-control::placeholder { color: var(--text-light); }

.form-control:disabled {
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: not-allowed;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: var(--space-1);
}

.form-control.is-error { border-color: var(--error); }
.form-control.is-success { border-color: var(--success); }

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input-prefix,
.input-group .input-suffix {
  padding: 0 var(--space-4);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  font-weight: var(--fw-medium);
}

.input-group .input-prefix {
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .input-suffix {
  border-left: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.input-group .form-control {
  flex: 1;
  border-radius: 0;
}

.input-group .form-control:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.input-group .form-control:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--purple);
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
  cursor: pointer;
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.toggle input { display: none; }

.toggle-track {
  width: 50px;
  height: 26px;
  background: var(--border);
  border-radius: var(--radius-full);
  position: relative;
  transition: background var(--transition);
}

.toggle input:checked + .toggle-track { background: var(--gradient); }

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.toggle input:checked + .toggle-track::after { transform: translateX(24px); }

/* -------------------------------------------------------
   16. ALERTS / NOTIFICATIONS
------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  border: 1px solid transparent;
}

.alert-success {
  background: var(--success-bg);
  color: #155724;
  border-color: #c3e6cb;
}

.alert-warning {
  background: var(--warning-bg);
  color: #856404;
  border-color: #ffeeba;
}

.alert-error {
  background: var(--error-bg);
  color: #721c24;
  border-color: #f5c6cb;
}

.alert-info {
  background: var(--info-bg);
  color: #0c5460;
  border-color: #bee5eb;
}

.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* -------------------------------------------------------
   17. TOAST NOTIFICATIONS
------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--navbar-height) + 16px);
  right: var(--space-5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  min-width: 280px;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  pointer-events: all;
  animation: slideIn 0.3s ease;
  font-size: var(--text-sm);
}

.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }
.toast.warning { border-color: var(--warning); }
.toast.info    { border-color: var(--info); }

.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error   .toast-icon { color: var(--error); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.info    .toast-icon { color: var(--info); }

.toast-msg { flex: 1; color: var(--text-dark); font-weight: var(--fw-medium); }
.toast-close {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 2px;
  background: none;
  border: none;
  line-height: 1;
}

@keyframes slideIn {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100px); opacity: 0; }
}

.toast.removing { animation: slideOut 0.3s ease forwards; }

/* -------------------------------------------------------
   18. MODAL
------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-5);
  backdrop-filter: blur(3px);
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease;
}

.modal-sm { max-width: 380px; }
.modal-lg { max-width: 700px; }
.modal-xl { max-width: 900px; }

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

.modal-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--error-bg);
  color: var(--error);
}

.modal-body { padding: var(--space-6); }
.modal-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* -------------------------------------------------------
   19. BADGES
------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  white-space: nowrap;
}

.badge-popular  { background: var(--gradient); color: white; }
.badge-active   { background: var(--success-bg); color: #155724; }
.badge-suspended{ background: var(--error-bg); color: #721c24; }
.badge-pending  { background: var(--warning-bg); color: #856404; }
.badge-expired  { background: var(--bg-light); color: var(--text-muted); }
.badge-info     { background: var(--info-bg); color: #0c5460; }
.badge-primary  { background: rgba(108,63,197,0.12); color: var(--purple); }

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* -------------------------------------------------------
   20. LOADING SPINNER
------------------------------------------------------- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 20px; height: 20px; border-width: 2px; }
.spinner-lg { width: 60px; height: 60px; border-width: 4px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.loading-pulse {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.loading-pulse span {
  width: 10px;
  height: 10px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse-bounce 0.9s ease-in-out infinite;
}

.loading-pulse span:nth-child(2) { animation-delay: 0.15s; }
.loading-pulse span:nth-child(3) { animation-delay: 0.30s; }

@keyframes pulse-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* -------------------------------------------------------
   21. PROGRESS BARS
------------------------------------------------------- */
.progress {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-sm { height: 5px; }
.progress-lg { height: 12px; }

.progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.progress-bar.success { background: var(--success); }
.progress-bar.warning { background: var(--warning); }
.progress-bar.danger  { background: var(--error); }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

/* -------------------------------------------------------
   22. TABLE STYLES
------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: var(--text-sm);
}

.table thead th {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-light);
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  text-align: left;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.table tbody tr:last-child { border-bottom: none; }
.table tbody tr:hover { background: var(--bg-light); }

.table tbody td {
  padding: var(--space-4) var(--space-5);
  color: var(--text-body);
  vertical-align: middle;
}

.table .actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

/* -------------------------------------------------------
   23. DASHBOARD LAYOUT
------------------------------------------------------- */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--bg-light);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--text-dark);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  transition: transform var(--transition-slow);
}

.sidebar-brand {
  padding: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.sidebar-brand .logo {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--fw-extrabold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.sidebar-brand .brand-name {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: white;
}

.sidebar-brand .brand-tag {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-top: 1px;
}

.sidebar-section {
  padding: var(--space-6) 0 var(--space-2);
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 0 var(--space-6);
  margin-bottom: var(--space-2);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 11px var(--space-6);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
  margin: 1px 0;
  position: relative;
}

.sidebar-nav-item:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.sidebar-nav-item.active {
  color: white;
  background: rgba(108,63,197,0.25);
  border-left-color: var(--purple-light);
}

.sidebar-nav-item .nav-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.sidebar-nav-item .nav-badge {
  margin-left: auto;
  background: var(--purple);
  color: white;
  font-size: 10px;
  font-weight: var(--fw-bold);
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.sidebar-footer {
  margin-top: auto;
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sidebar-user .user-avatar {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.sidebar-user .user-info .user-name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: white;
}

.sidebar-user .user-info .user-role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.sidebar-user .logout-btn {
  margin-left: auto;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  background: none;
  border: none;
  transition: color var(--transition);
}

.sidebar-user .logout-btn:hover { color: var(--error); }

/* Main content area */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 65px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.topbar-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.page-content {
  padding: var(--space-8);
  flex: 1;
}

/* Sidebar toggle for mobile */
.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* -------------------------------------------------------
   24. BILLING TOGGLE (PRICING PAGE)
------------------------------------------------------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 8px;
  margin-bottom: var(--space-10);
}

.billing-option {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  border: none;
  background: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.billing-option.active {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-purple);
}

.billing-option .save-badge {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--fw-bold);
}

/* -------------------------------------------------------
   25. PLAN CATEGORY TABS
------------------------------------------------------- */
.category-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.category-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
}

.category-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.category-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-purple);
}

/* -------------------------------------------------------
   26. MULTI-STEP FORM PROGRESS
------------------------------------------------------- */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-10);
  gap: 0;
}

.step-progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}

.step-progress-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-progress-item.done:not(:last-child)::after,
.step-progress-item.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--purple), var(--border));
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.step-progress-item.active .step-num {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-purple);
}

.step-progress-item.done .step-num {
  background: var(--success);
  border-color: transparent;
  color: white;
}

.step-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.step-progress-item.active .step-label { color: var(--purple); font-weight: var(--fw-bold); }
.step-progress-item.done .step-label  { color: var(--success); }

/* Connector lines */
.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 100px;
  min-width: 30px;
  margin-top: -30px;
  position: relative;
  z-index: 0;
}

.step-connector.done { background: var(--gradient); }

/* -------------------------------------------------------
   27. FAQ ACCORDION
------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  font-size: var(--text-base);
  gap: var(--space-4);
  background: var(--white);
  transition: background var(--transition);
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover { background: var(--bg-light); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.faq-answer {
  padding: 0 var(--space-6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-item.open .faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  max-height: 400px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
}

/* -------------------------------------------------------
   28. LEGAL / TERMS PAGE
------------------------------------------------------- */
.legal-page {
  padding-top: calc(var(--navbar-height) + var(--space-12));
  padding-bottom: var(--space-20);
}

.legal-header {
  background: linear-gradient(135deg, rgba(108,63,197,0.05) 0%, rgba(200,75,158,0.05) 100%);
  padding: var(--space-16) 0 var(--space-12);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-12);
}

.legal-toc {
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.legal-toc h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.legal-toc a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 5px 0;
  border-left: 2px solid transparent;
  padding-left: var(--space-3);
  transition: all var(--transition);
}

.legal-toc a:hover {
  color: var(--purple);
  border-left-color: var(--purple);
}

.legal-section {
  margin-bottom: var(--space-12);
  scroll-margin-top: calc(var(--navbar-height) + 24px);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--gradient);
  border-image: var(--gradient) 1;
  color: var(--text-dark);
}

.legal-section h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
  color: var(--text-dark);
}

.legal-section p,
.legal-section li {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-3);
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-6);
}

.legal-section ol {
  list-style: decimal;
  padding-left: var(--space-6);
}

/* -------------------------------------------------------
   29. CONTACT PAGE
------------------------------------------------------- */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, rgba(108,63,197,0.08) 0%, rgba(200,75,158,0.08) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-4xl);
}

.map-placeholder p {
  font-size: var(--text-base);
  color: var(--text-muted);
}

/* -------------------------------------------------------
   30. ABOUT PAGE
------------------------------------------------------- */
.value-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
}

/* -------------------------------------------------------
   31. SETUP FEE TABLE
------------------------------------------------------- */
.setup-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* -------------------------------------------------------
   32. ADD-ON CARDS
------------------------------------------------------- */
.addon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition);
  position: relative;
}

.addon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(108,63,197,0.3);
}

.addon-price {
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: var(--space-2) 0;
}

/* -------------------------------------------------------
   33. RESPONSIVE — 1200px
------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero .container {
    gap: var(--space-10);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

/* -------------------------------------------------------
   34. RESPONSIVE — 1024px (tablet landscape)
------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero .container { grid-template-columns: 1fr; text-align: center; gap: var(--space-10); }
  .hero-subtitle { max-width: 100%; }
  .hero-actions  { justify-content: center; }
  .hero-stats    { justify-content: center; }
  .hero-image    { order: -1; }
  .hero-mockup   { max-width: 400px; }

  .steps-grid::before { display: none; }

  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }

  .main-content { margin-left: 0; }
  .sidebar-toggle { display: flex; }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
  }

  .sidebar-backdrop.show { display: block; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* -------------------------------------------------------
   35. RESPONSIVE — 768px (tablet portrait / mobile)
------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --navbar-height: 60px; }

  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }

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

  .hero-title   { font-size: clamp(2rem, 7vw, 2.5rem); }
  .hero-stats   { gap: var(--space-5); flex-wrap: wrap; justify-content: center; }

  .section      { padding: var(--space-16) 0; }
  .section-sm   { padding: var(--space-10) 0; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }

  .steps-grid   { grid-template-columns: 1fr; gap: var(--space-6); }

  .footer-grid  { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .billing-toggle { flex-direction: column; }

  .category-tabs { gap: var(--space-2); }
  .category-tab { padding: 7px 14px; font-size: var(--text-xs); }

  .step-progress { gap: 0; }
  .step-connector { min-width: 20px; }

  .cta-actions { flex-direction: column; align-items: center; }

  .table-wrap { border-radius: 0; }

  .modal { border-radius: var(--radius-lg); }

  .page-content { padding: var(--space-5); }
  .topbar { padding: 0 var(--space-5); }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

/* -------------------------------------------------------
   36. MISC UTILITIES
------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.bg-gradient    { background: var(--gradient) !important; }
.bg-light       { background: var(--bg-light) !important; }
.bg-white       { background: var(--white) !important; }
.rounded        { border-radius: var(--radius-md); }
.rounded-lg     { border-radius: var(--radius-lg); }
.rounded-full   { border-radius: var(--radius-full); }
.overflow-hidden{ overflow: hidden; }
.w-full         { width: 100%; }
.h-full         { height: 100%; }
.relative       { position: relative; }
.sticky-top     { position: sticky; top: calc(var(--navbar-height) + 16px); }

/* Gradient text utility */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Whatsapp button */
.btn-whatsapp {
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-whatsapp:hover {
  background: #1da851;
  color: white;
  transform: translateY(-2px);
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
