/* ===== CSS VARIABLES ===== */
:root {
  --blue: #1E4ED8;
  --blue-dark: #1a40b8;
  --blue-light: #EEF2FF;
  --orange: #F97316;
  --orange-dark: #ea6c0e;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --text: #111827;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p { color: var(--gray-600); line-height: 1.75; }

/* ===== UTILITY ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}

.section-label {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 56px;
}
.section-label p { max-width: 560px; margin-top: 12px; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue); color: white;
  box-shadow: 0 4px 14px rgba(30,78,216,0.30);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,78,216,0.38); }

.btn-orange {
  background: var(--orange); color: white;
  box-shadow: 0 4px 14px rgba(249,115,22,0.30);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.38); }

.btn-outline {
  background: white; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--gray-600);
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* NAVBAR */
/* ---------------------- NAVBAR ---------------------- */
/*/* ================== NAVBAR ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
  height: 90px; 
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, height 0.3s, padding 0.3s;
  overflow-x: hidden; /* prevent horizontal scroll */
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.navbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ---------------- LOGO ---------------- */
.navbar-logo img {
  height: 90px;
  max-height: 100%;
  width: auto;
  transition: height 0.3s;
}

/* ---------------- LINKS ---------------- */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}

/* ---------------- ACTION BUTTONS ---------------- */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* wrap on small screens */
}

/* ---------------- HAMBURGER ---------------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------------- MOBILE MENU ---------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 24px 16px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transition: all 0.3s ease;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--gray-100);
  width: 100%; /* full width buttons */
  box-sizing: border-box;
}
.mobile-menu a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

/* ================== RESPONSIVE TABLET ================== */
@media (max-width: 768px) {
  .navbar {
    height: 72px;
    padding: 0 16px;
  }
  .navbar-logo img {
    height: 60px;
  }
  .navbar-inner {
    max-width: 100%;
  }
  .navbar-links,
  .navbar-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    top: 72px;
  }
}

/* ================== SMALL DEVICES (iPhone / 360px–480px) ================== */
@media (max-width: 480px) {
  .navbar {
    height: 60px;
    padding: 0 12px;
  }
  .navbar-logo img {
    height: 60px;
  }
  .hamburger span {
    width: 18px;
    height: 2px;
  }
  .mobile-menu {
    top: 60px;
    padding: 16px 12px;
    gap: 6px;
  }
  .mobile-menu a {
    font-size: 0.95rem;
    padding: 10px 12px; /* full width safe */
  }
  .mobile-menu .mobile-btns {
    gap: 6px;
    margin-top: 12px;
  }
}
/* ===== HERO ===== */
.hero {
  padding-top: 140px; padding-bottom: 80px;
  background: linear-gradient(160deg, var(--white) 0%, #EEF2FF 60%, #FFF7ED 100%);
  position: relative; overflow: hidden;
}

.hero-bg-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.blob-1 { width: 500px; height: 500px; background: var(--blue); top: -150px; right: -100px; }
.blob-2 { width: 350px; height: 350px; background: var(--orange); bottom: -100px; left: -80px; }

.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-content { position: relative; z-index: 1; }
.hero-content .badge { background: white; box-shadow: var(--shadow-sm); color: var(--orange); border: 1px solid rgba(249,115,22,0.2); }

.hero-headline { margin-bottom: 20px; }
.hero-headline span { color: var(--blue); }

.hero-sub { font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--gray-200);
}
.stat-item strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--blue); }
.stat-item span { font-size: 0.82rem; color: var(--gray-600); font-weight: 500; }

.hero-visual { position: relative; z-index: 1; }
.hero-mockup {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--gray-200);
}
.mockup-bar {
  background: var(--gray-50); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FC5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url {
  flex: 1; background: white; border-radius: 6px;
  padding: 5px 12px; font-size: 0.75rem; color: var(--gray-400);
  border: 1px solid var(--gray-200); margin-left: 8px;
}
.mockup-body { padding: 20px; }

.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-header h4 { font-size: 0.95rem; font-weight: 700; }
.dash-badge {
  background: #ECFDF5; color: #059669; font-size: 0.72rem;
  font-weight: 600; padding: 3px 10px; border-radius: 100px;
}

.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-card {
  background: var(--gray-50); border-radius: 10px;
  padding: 14px; border: 1px solid var(--gray-200);
}
.dash-card-icon { font-size: 1.3rem; margin-bottom: 6px; }
.dash-card-val { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.dash-card-lbl { font-size: 0.68rem; color: var(--gray-400); font-weight: 500; margin-top: 2px; }

.dash-chart { background: var(--gray-50); border-radius: 10px; padding: 14px; border: 1px solid var(--gray-200); }
.dash-chart-title { font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.chart-bar {
  flex: 1; background: var(--blue); border-radius: 4px 4px 0 0; opacity: 0.8;
  transition: opacity 0.2s;
}
.chart-bar:hover { opacity: 1; }
.chart-bar.orange { background: var(--orange); }

/* ===== SERVICES ===== */
.services { background: var(--gray-50); }

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

.service-card {
  background: white; border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--gray-200);
  transition: all 0.3s ease; cursor: default; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card:nth-child(2) .service-icon { background: #FFF7ED; color: var(--orange); }
.service-card:nth-child(3) .service-icon { background: #F0FDF4; color: #16A34A; }

.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; color: var(--blue); font-size: 0.88rem; font-weight: 600;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }

.features-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: white; border: 1px solid var(--gray-200);
  cursor: pointer; transition: all 0.25s;
}
.feature-item.active, .feature-item:hover {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,78,216,0.08);
}
.feature-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.feature-item.active .feature-icon { background: var(--blue); color: white; }
.feature-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-text p { font-size: 0.85rem; }

.features-preview {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
}
.preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.preview-header h4 { font-size: 1rem; font-weight: 700; }
.preview-header span { font-size: 0.8rem; color: var(--gray-400); }

.student-table { width: 100%; }
.student-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-200);
}
.student-row:last-child { border-bottom: none; }
.student-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; color: white;
}
.student-info { flex: 1; }
.student-info strong { display: block; font-size: 0.88rem; }
.student-info span { font-size: 0.75rem; color: var(--gray-400); }
.student-status {
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
}
.status-paid { background: #ECFDF5; color: #059669; }
.status-due { background: #FFF7ED; color: #EA580C; }

/* ===== AI SECTION ===== */
.ai-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1E4ED8 100%);
  position: relative; overflow: hidden;
}

.ai-bg-pattern {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 32px 32px;
}

.ai-section .section-label { position: relative; z-index: 1; }
.ai-section .badge { background: rgba(255,255,255,0.12); color: var(--orange); border: 1px solid rgba(249,115,22,0.3); }
.ai-section h2, .ai-section p { color: white; }
.ai-section .section-label > p { color: rgba(255,255,255,0.7); }

.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.ai-card {
  background: rgba(255,255,255,0.07); border-radius: var(--radius);
  padding: 32px 24px; border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); transition: all 0.3s;
}
.ai-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }

.ai-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(249,115,22,0.2); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.ai-card h3 { color: white; margin-bottom: 10px; font-size: 1.05rem; }
.ai-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.ai-coming-soon {
  display: inline-block; margin-top: 16px;
  background: rgba(249,115,22,0.2); color: var(--orange);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 100px; border: 1px solid rgba(249,115,22,0.3);
}

/* ===== DEMO PREVIEW ===== */
.demo-preview { background: var(--gray-50); }
.demo-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.demo-content h2 { margin-bottom: 16px; }
.demo-content p { margin-bottom: 28px; }

.demo-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.demo-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
}
.demo-feature::before {
  content: '✓'; width: 22px; height: 22px;
  background: var(--blue); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
  line-height: 22px; text-align: center;
}

.demo-mockup {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--gray-200);
}
.demo-sidebar {
  display: flex;
}
.sidebar-nav {
  width: 180px; background: #0F172A; padding: 20px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-logo { padding: 8px 8px 20px; }
.sidebar-logo span { font-size: 0.85rem; font-weight: 700; color: white; }
.sidebar-logo small { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.sidebar-item {
  padding: 8px 10px; border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.2s;
}
.sidebar-item:hover, .sidebar-item.active { background: rgba(255,255,255,0.1); color: white; }
.sidebar-item.active { background: var(--blue); color: white; }
.sidebar-item span { font-size: 0.9rem; }

.demo-main { flex: 1; padding: 20px; overflow: hidden; }
.demo-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.demo-main-header h4 { font-size: 0.9rem; font-weight: 700; }
.demo-main-header small { font-size: 0.72rem; color: var(--gray-400); }

.demo-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi-card {
  background: var(--gray-50); border-radius: 10px;
  padding: 12px; border: 1px solid var(--gray-200); text-align: center;
}
.kpi-val { font-size: 1.3rem; font-weight: 800; color: var(--blue); }
.kpi-lbl { font-size: 0.65rem; color: var(--gray-400); font-weight: 500; }

.demo-chart-area { background: var(--gray-50); border-radius: 10px; padding: 14px; border: 1px solid var(--gray-200); }
.demo-chart-title { font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; }
.bar-chart-demo { display: flex; align-items: flex-end; gap: 5px; height: 55px; }
.bar-demo { flex: 1; border-radius: 4px 4px 0 0; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3fc2 100%);
  text-align: center; padding: 80px 24px;
}
.cta-section h2 { color: white; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer {
  background: #0F172A; color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(2); }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-col h4 { color: white; font-size: 0.88rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-email { color: var(--orange) !important; font-weight: 500; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: all 0.2s; cursor: pointer;
}
.social-btn:hover { background: var(--blue); color: white; }

/* ===== SOLUTIONS PAGE ===== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-light) 100%);
}
.page-hero-inner { max-width: 700px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 1.1rem; margin-top: 16px; }

.solutions-list { display: flex; flex-direction: column; gap: 80px; }
.solution-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.solution-block.reverse { direction: rtl; }
.solution-block.reverse > * { direction: ltr; }

.solution-icon-large {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px;
}
.solution-block:nth-child(2) .solution-icon-large { background: #FFF7ED; color: var(--orange); }
.solution-block:nth-child(3) .solution-icon-large { background: #F0FDF4; color: #16A34A; }

.solution-content h2 { font-size: 2rem; margin-bottom: 14px; }
.solution-content p { margin-bottom: 24px; }

.solution-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.solution-bullet {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
}
.solution-bullet::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}

.solution-visual {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200); min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sol-vis-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sol-vis-header h5 { font-size: 0.85rem; font-weight: 700; }
.sol-vis-rows { display: flex; flex-direction: column; gap: 10px; }
.sol-vis-row {
  display: flex; align-items: center; gap: 12px;
  background: white; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.sol-vis-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.sol-vis-text { flex: 1; font-size: 0.82rem; }
.sol-vis-badge {
  font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 100px;
  background: var(--blue-light); color: var(--blue);
}

/* ===== DEMO PAGE ===== */
.demo-page-preview {
  background: var(--gray-50); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--gray-200);
  margin-top: 48px;
}
.full-dash { display: flex; min-height: 600px; }
.full-sidebar {
  width: 220px; background: #0F172A; padding: 24px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.full-sidebar-logo { padding: 8px 8px 28px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; }
.full-sidebar-logo h4 { color: white; font-size: 1rem; font-weight: 800; }
.full-sidebar-logo small { color: rgba(255,255,255,0.4); font-size: 0.72rem; }
.full-nav-item {
  padding: 10px 12px; border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.2s;
}
.full-nav-item:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.full-nav-item.active { background: var(--blue); color: white; }
.full-nav-item .nav-icon { font-size: 1.05rem; }

.full-main { flex: 1; padding: 28px; overflow: auto; }
.full-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.full-main-header h3 { font-size: 1.2rem; font-weight: 700; }
.header-actions { display: flex; gap: 10px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-full {
  background: white; border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.kpi-full-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.kpi-full-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.kpi-trend { font-size: 0.72rem; font-weight: 600; color: #059669; }
.kpi-full-val { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.kpi-full-lbl { font-size: 0.78rem; color: var(--gray-400); margin-top: 2px; }

.charts-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 24px; }
.chart-card {
  background: white; border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.chart-card-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.bar-chart-full { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.bar-full { flex: 1; border-radius: 6px 6px 0 0; transition: opacity 0.2s; cursor: pointer; }
.bar-full:hover { opacity: 0.8; }
.bar-labels { display: flex; gap: 8px; margin-top: 8px; }
.bar-label { flex: 1; text-align: center; font-size: 0.65rem; color: var(--gray-400); }

.doughnut-area { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 130px; gap: 12px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

.full-table { background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.table-header h4 { font-size: 0.9rem; font-weight: 700; }
.table-search { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 8px; padding: 6px 12px; font-size: 0.8rem; outline: none; font-family: inherit; width: 180px; }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 10px 20px; text-align: left; font-size: 0.75rem; color: var(--gray-400); font-weight: 600; letter-spacing: 0.04em; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
tbody td { padding: 12px 20px; font-size: 0.82rem; border-bottom: 1px solid var(--gray-100); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }
.td-avatar { display: flex; align-items: center; gap: 10px; }
.td-avatar-img { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: white; }
.status-chip { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.chip-paid { background: #ECFDF5; color: #059669; }
.chip-due { background: #FFF7ED; color: #EA580C; }
.chip-pending { background: #EFF6FF; color: var(--blue); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.85rem; color: var(--gray-600); }

.contact-form-card {
  background: white; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form-card h3 { margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-control {
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); font-size: 0.9rem;
  font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray-50); color: var(--text);
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,78,216,0.1); background: white; }
.form-control.error { border-color: #EF4444; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.78rem; color: #EF4444; margin-top: 2px; display: none; }
.form-error.show { display: block; }
.form-success {
  display: none; background: #ECFDF5; color: #059669;
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; margin-top: 16px;
  border: 1px solid #A7F3D0;
}
.form-success.show { display: block; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { gap: 40px; }
  .features-grid, .demo-inner { gap: 40px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .full-sidebar { width: 180px; }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-actions { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-cards { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .solution-block { grid-template-columns: 1fr; }
  .solution-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .charts-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .full-sidebar { display: none; }
  .full-main { padding: 16px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns { flex-direction: column; }
  .section { padding: 64px 0; }
}
