/* ================================================
   SECTIONS.CSS
   ------------------------------------------------
   Styles for all page sections (except hero/footer):
   1. Stats Section
   2. Three Roles Section
   3. Platform Demo Section
   4. Features Grid Section
   5. Workflow Steps Section
   6. CTA (Call to Action) Section
================================================ */


/* ══════════════════════════════════════════════
   1. STATS SECTION
   Shows: 50K+ Events | 2M+ Attendees | 98% Rate
   + Trusted logos bar
══════════════════════════════════════════════ */

.stats {
  padding: 60px var(--space-2xl);
  background: var(--white);
}

/* 3-column grid for the big number cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: 60px;
}

/* Individual stat card */
.stat-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

/* The big number e.g. "50K+" */
.stat-card .num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
}
/* Number color variants */
.stat-card .num--teal   { color: var(--teal); }
.stat-card .num--orange { color: var(--orange); }
.stat-card .num--purple { color: var(--purple); }

/* Label below the number */
.stat-card p {
  font-size: var(--text-base);
  color: var(--gray);
  margin-top: 6px;
  font-weight: 500;
}

/* "TRUSTED BY LEADING ORGANIZATIONS..." small label */
.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* Row of company logos */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
}

.logo-item .logo-emoji { font-size: 20px; }


/* ══════════════════════════════════════════════
   2. THREE ROLES SECTION
   Cards: Organization | Exhibitor | Visitor
══════════════════════════════════════════════ */

/* 3-column grid for role cards */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Individual role card */
.role-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Colored icon at top of each card */
.role-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
/* Icon background variants */
.role-icon--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.role-icon--orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.role-icon--teal   { background: linear-gradient(135deg, #0db88e, #06b6d4); }

/* Small subtitle e.g. "EVENT ORGANIZERS" */
.role-subtitle {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.role-subtitle--purple { color: var(--purple); }
.role-subtitle--orange { color: var(--orange); }
.role-subtitle--teal   { color: var(--teal); }

/* Card title */
.role-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Card description */
.role-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bullet list of features */
.role-features {
  list-style: none;
  margin-bottom: 28px;
}
.role-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 4px 0;
  color: var(--navy2);
}

/* Colored bullet dot */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--purple { background: var(--purple); }
.dot--orange { background: var(--orange); }
.dot--teal   { background: var(--teal); }

/* CTA button at bottom of each card */
.role-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
/* Color variants */
.role-btn--purple { border-color: var(--purple); color: var(--purple); }
.role-btn--purple:hover { background: var(--purple); color: var(--white); }
.role-btn--orange { border-color: var(--orange); color: var(--orange); }
.role-btn--orange:hover { background: var(--orange); color: var(--white); }
.role-btn--teal   { border-color: var(--teal);   color: var(--teal); }
.role-btn--teal:hover   { background: var(--teal);   color: var(--white); }


/* ══════════════════════════════════════════════
   3. PLATFORM DEMO SECTION
   Left: tab list | Right: dashboard preview
══════════════════════════════════════════════ */

/* Two-column layout */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  margin-top: var(--space-xl);
  align-items: start;
}

/* Left panel: tab list */
.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each clickable tab */
.demo-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
/* Active (selected) tab */
.demo-tab.active {
  background: linear-gradient(135deg, #e6fdf5, #ede9fe);
  border-color: var(--teal);
}

/* Icon inside each tab */
.demo-tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #f1f5f9;
  flex-shrink: 0;
}
.demo-tab.active .demo-tab-icon {
  background: var(--grad-primary);
}

/* Tab label text */
.demo-tab-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--navy);
}
.demo-tab.active .demo-tab-text strong { color: var(--teal); }
.demo-tab-text span {
  font-size: 12px;
  color: var(--gray);
}

/* Arrow chevron on right side of tab */
.demo-tab .tab-chevron {
  margin-left: auto;
  color: var(--gray);
  font-size: 16px;
}

/* Full-width "Try Full Demo" button */
.demo-try-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-family: var(--font-main);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
}
.demo-try-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Right panel: mock browser/dashboard window */
.demo-screen {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Top browser-style bar with dots + title */
.screen-bar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
  gap: 12px;
}
.screen-dots { display: flex; gap: 6px; }
.screen-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.screen-dots .dot-red    { background: #ef4444; }
.screen-dots .dot-yellow { background: #f59e0b; }
.screen-dots .dot-green  { background: #22c55e; }

.screen-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  flex: 1;
  text-align: center;
}

/* Content area of the mock dashboard */
.screen-body { padding: 24px; }

/* 4-column metric boxes */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.metric-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.metric-box .m-num   { font-size: 24px; font-weight: 800; }
.metric-box .m-label { font-size: 11px; color: var(--gray); margin-top: 2px; }
.metric-box .m-change { font-size: 11px; color: #22c55e; font-weight: 600; margin-top: 4px; }

/* Chart area */
.chart-area {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.chart-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy2);
}

/* Bar chart columns */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.bar {
  flex: 1;
  background: linear-gradient(to top, #0db88e44, #0db88e88);
  border-radius: 4px 4px 0 0;
}

/* Legend dots for chart */
.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }


/* ══════════════════════════════════════════════
   4. FEATURES GRID SECTION
   6 feature cards in a 3-column grid
══════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Individual feature card */
.feature-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Feature icon box */
.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
/* Color variants */
.feat-icon--teal   { background: linear-gradient(135deg, #0db88e, #06b6d4); }
.feat-icon--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.feat-icon--orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.feat-icon--cyan   { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.feat-icon--pink   { background: linear-gradient(135deg, #e879a8, #f43f5e); }
.feat-icon--gold   { background: linear-gradient(135deg, #f59e0b, #f97316); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}


/* ══════════════════════════════════════════════
   5. WORKFLOW STEPS SECTION
   6 numbered steps in a 3x2 grid
══════════════════════════════════════════════ */

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Individual step card */
.step-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}

/* Numbered badge e.g. "01" */
.step-num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
/* Color cycles: teal → purple → orange */
.step-num--teal   { background: var(--teal); }
.step-num--purple { background: var(--purple); }
.step-num--orange { background: var(--orange); }

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}


/* ══════════════════════════════════════════════
   6. CTA SECTION (dark)
   "Ready to Transform Your Event Experience?"
══════════════════════════════════════════════ */

.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Soft purple glow in the background */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, #7c3aed22, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}

.cta-section > p {
  font-size: var(--text-md);
  color: #94a3b8;
  margin-bottom: 36px;
  position: relative;
}

/* Row of checkmark items */
.cta-checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
}
.cta-check svg { color: var(--teal); }

/* Button group */
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Override gradient on CTA primary button */
.cta-btns .btn-primary {
  background: linear-gradient(135deg, var(--teal), #0891b2);
}

/* Small trust text below buttons */
.cta-trust {
  margin-top: 28px;
  font-size: 13px;
  color: #64748b;
  position: relative;
}
