/* ==========================================================================
   EduManage - Modern Landing Page Stylesheet
   Designed for High Visual Impact, Clean UX & Responsive Performance
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #4d38c4;
  --primary-hover: #3d2aa9;
  --primary-light: #eef2ff;
  --primary-subtle: #e0e7ff;
  --primary-gradient: linear-gradient(135deg, #4d38c4 0%, #6366f1 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Neutrals */
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-elevated: #f1f5f9;
  --border-light: #e2e8f0;
  --border-focus: #c7d2fe;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 10px 30px -10px rgba(77, 56, 196, 0.35);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Font */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: #ffffff;
}

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

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

button {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-cap-box {
  width: 44px;
  height: 44px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(77, 56, 196, 0.15);
  transition: transform 0.2s ease;
}

.brand-logo:hover .logo-cap-box {
  transform: rotate(-6deg) scale(1.05);
}

.logo-cap-box svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-portal-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(77, 56, 196, 0.28);
  transition: var(--transition);
}

.btn-portal-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 56, 196, 0.38);
}

.btn-portal-login svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-portal-login:hover svg {
  transform: translateX(3px);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--text-main);
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 90px;
  background: radial-gradient(circle at 50% 0%, rgba(224, 231, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #4d38c4 20%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(77, 56, 196, 0.45);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary-lg:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--primary);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  display: inline-flex;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-icon {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* Hero Showcase Mockup */
.hero-mockup-wrap {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
  z-index: 2;
}

.mockup-window {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.6);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.mockup-window-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-address {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-body {
  padding: 28px;
  background: #f8fafc;
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.mockup-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.mockup-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.mockup-stat-tag {
  display: inline-block;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  font-weight: 600;
}
.tag-green { background: #dcfce7; color: #166534; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-purple { background: #f3e8ff; color: #6b21a8; }
.tag-amber { background: #fef3c7; color: #92400e; }

.mockup-preview-panels {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.preview-table-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.preview-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.preview-table th {
  text-align: left;
  padding: 8px 10px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.preview-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
}

.badge-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.badge-paid { background: #dcfce7; color: #15803d; }
.badge-active { background: #e0e7ff; color: #4338ca; }
.badge-grade { background: #fef9c3; color: #a16207; font-weight: 700; }

.preview-quick-actions {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.action-role-box {
  background: var(--primary-light);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  margin-bottom: 12px;
}

.action-role-box h4 {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 4px;
}

.action-role-box p {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   ROLE PORTAL SHOWCASE SECTION (TABS)
   ========================================================================== */
.roles-section {
  padding: 100px 0;
  background: #ffffff;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.role-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.role-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.role-tab-btn:hover {
  color: var(--primary);
  border-color: var(--border-focus);
  background: #ffffff;
}

.role-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(77, 56, 196, 0.3);
}

.role-content-card {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  animation: fadeIn 0.35s ease;
}

.role-content-card.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.role-info-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.role-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--primary-light);
  color: var(--primary);
}

.role-badge-icon.teacher { background: #ecfdf5; color: #059669; }
.role-badge-icon.student { background: #eff6ff; color: #2563eb; }

.role-headline {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.role-subhead {
  font-size: 13px;
  color: var(--text-muted);
}

.role-desc-text {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.role-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.role-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-main);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 700;
  margin-top: 2px;
}

.role-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(77, 56, 196, 0.25);
  transition: var(--transition);
}

.role-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(77, 56, 196, 0.35);
}

.role-visual-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.role-card-mini {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.role-card-mini:last-child {
  margin-bottom: 0;
}

.mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   KEY FEATURES GRID
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-xl);
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-box.color-emerald .feature-icon-box { background: #ecfdf5; color: #059669; }
.feature-box.color-blue .feature-icon-box { background: #eff6ff; color: #2563eb; }
.feature-box.color-amber .feature-icon-box { background: #fef3c7; color: #d97706; }
.feature-box.color-rose .feature-icon-box { background: #fff1f2; color: #e11d48; }
.feature-box.color-cyan .feature-icon-box { background: #ecfeff; color: #0891b2; }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background: #ffffff;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.workflow-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  position: relative;
}

.workflow-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 10px rgba(77, 56, 196, 0.25);
}

.workflow-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.workflow-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   COMPARISON / PAIN POINT SECTION
   ========================================================================== */
.comparison-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.comparison-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th.col-feature { background: #f8fafc; color: var(--dark); width: 34%; }
.comparison-table th.col-bad { background: #fff5f5; color: #dc2626; width: 33%; }
.comparison-table th.col-good { background: #eff6ff; color: var(--primary); width: 33%; }

.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  line-height: 1.4;
}

.comparison-table td.col-bad {
  color: #991b1b;
  background: #fef2f2;
}

.comparison-table td.col-good {
  color: #1e1b4b;
  background: #f8faff;
  font-weight: 600;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.faq-question-btn:hover {
  color: var(--primary);
}

.faq-icon-cross {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 300px;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0;
  background: #ffffff;
}

.cta-banner-box {
  background: linear-gradient(135deg, #3725a3 0%, #4d38c4 50%, #6366f1 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(77, 56, 196, 0.4);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 17px;
  color: #e0e7ff;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-button-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: #ffffff;
  color: var(--primary) !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.cta-button-white:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f8fafc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 70px 0 30px;
  border-top: 1px solid var(--dark-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-title {
  color: #ffffff;
  font-size: 22px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--dark-surface);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  .mockup-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-preview-panels {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-content-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    gap: 16px;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 34px;
    letter-spacing: -0.5px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
