/* ==========================================================================
   CF B2B DATA (cfb2bdata.online) - VIBRANT MULTI-COLOR WHITE THEME
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Crisp White Light Theme Palette */
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-sidebar: #F1F5F9;
  --border-light: #E2E8F0;
  --border-dark: #CBD5E1;

  /* Typography */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-white: #0F172A;

  /* Vibrant Multi-Color Accents */
  --accent-purple: #4F46E5;
  --purple-soft: rgba(79, 70, 229, 0.08);
  
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.1);
  
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.1);
  
  --cyan: #06B6D4;
  --cyan-soft: rgba(6, 182, 212, 0.1);

  --rose: #EC4899;
  --rose-soft: rgba(236, 72, 153, 0.1);

  --violet: #8B5CF6;
  --violet-soft: rgba(139, 92, 246, 0.1);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);

  /* UI Shapes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(79, 70, 229, 0.12);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* PUBLIC LANDING PAGE NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-badge {
  width: 40px;
  height: 40px;
  background: var(--grad-hero);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent-purple);
}

/* HERO SECTION */
.hero-section {
  padding: 80px 40px 60px 40px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  color: var(--accent-purple);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

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

/* SERVICES GRID (100% MULTI-COLOR SERVICES) */
.services-section {
  padding: 80px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-purple);
  margin-bottom: 8px;
  display: block;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.services-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon-box.purple { background: var(--purple-soft); color: var(--accent-purple); }
.service-icon-box.emerald { background: var(--emerald-soft); color: var(--emerald); }
.service-icon-box.amber { background: var(--amber-soft); color: var(--amber); }
.service-icon-box.cyan { background: var(--cyan-soft); color: var(--cyan); }
.service-icon-box.rose { background: var(--rose-soft); color: var(--rose); }
.service-icon-box.violet { background: var(--violet-soft); color: var(--violet); }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ ACCORDION STYLING */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

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

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  color: var(--accent-purple);
}

/* LEGAL MODALS STYLING */
.legal-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.legal-modal-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-modal-body h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin: 18px 0 8px 0;
}

/* BUTTONS & BADGES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-purple {
  background: var(--grad-hero);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-purple:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-dark {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-dark);
}

.btn-dark:hover {
  background: var(--bg-sidebar);
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--purple-soft);
  color: var(--accent-purple);
}

/* DASHBOARD APP LAYOUT */
.app-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-hero);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.menu-group {
  list-style: none;
}

.menu-item {
  margin-bottom: 4px;
}

.menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.menu-item a:hover {
  background: rgba(79, 70, 229, 0.06);
  color: var(--accent-purple);
}

.menu-item.active a {
  background: var(--purple-soft);
  color: var(--accent-purple);
  border-left: 3px solid var(--accent-purple);
}

.main-wrapper {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
  background-color: var(--bg-main);
  min-height: 100vh;
}

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

.welcome-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.welcome-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.workspace-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

/* CONTENT PANELS & DATA TABLES */
.content-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

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

.panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  flex: 1;
}

.input-box i {
  color: var(--text-subtle);
  width: 18px;
}

.input-ctrl {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  width: 100%;
}

.data-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  background: var(--bg-surface);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  font-size: 0.75rem;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

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

.domain-badge {
  font-family: var(--font-mono);
  color: var(--accent-purple);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* PRICING GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.pricing-card-dark {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card-dark.popular {
  border: 2px solid var(--accent-purple);
  box-shadow: var(--shadow-lg);
}

.pricing-price-dark {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 16px 0;
}

.pricing-features-dark {
  list-style: none;
  margin: 20px 0 30px 0;
}

.pricing-features-dark li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features-dark li i {
  color: var(--emerald);
  width: 16px;
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

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

.spin {
  animation: spin 1s linear infinite;
}
