/* ==========================================================================
   SMK Presiden — Landing Page Styles
   Modern CSS3 | Variables | Grid | Flexbox | Glassmorphism
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* CSS Variables                                                              */
/* -------------------------------------------------------------------------- */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-accent: #06b6d4;
  --color-accent-soft: #22d3ee;
  --color-success: #10b981;
  --color-warning: #f59e0b;

  --color-bg: #f8fafc;
  --color-bg-alt: #ffffff;
  --color-bg-dark: #0f172a;
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-surface-solid: #ffffff;
  --color-border: rgba(148, 163, 184, 0.25);
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-inverse: #f8fafc;

  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 75%, #06b6d4 100%);
  --gradient-cta: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0891b2 100%);
  --gradient-soft: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);

  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);

  --nav-height: 4.5rem;
  --container-max: 1200px;
  --section-py: clamp(4rem, 8vw, 6.5rem);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg: #0b1120;
  --color-bg-alt: #0f172a;
  --color-surface: rgba(15, 23, 42, 0.75);
  --color-surface-solid: #1e293b;
  --color-border: rgba(148, 163, 184, 0.15);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --gradient-soft: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0b1120;
    --color-bg-alt: #0f172a;
    --color-surface: rgba(15, 23, 42, 0.75);
    --color-surface-solid: #1e293b;
    --color-border: rgba(148, 163, 184, 0.15);
    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --gradient-soft: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-py);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-md), 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
}

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

.btn-lg {
  padding: 0.9375rem 1.875rem;
  font-size: 1rem;
}

.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

/* Glass card */
.glass {
  background: var(--color-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Navbar                                                                     */
/* -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.navbar-brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}

.theme-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--color-text-inverse);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero-shape-1 {
  width: 420px;
  height: 420px;
  background: #06b6d4;
  top: -10%;
  right: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 320px;
  height: 320px;
  background: #818cf8;
  bottom: 10%;
  left: -8%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: #38bdf8;
  top: 40%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

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

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(90deg, #fff 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1875rem);
  color: rgba(248, 250, 252, 0.85);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.75);
}

.hero-trust-item i {
  color: var(--color-accent-soft);
}

/* Hero mockup */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(12px);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform var(--transition-slow);
}

.hero-mockup:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.75rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.75rem;
  min-height: 260px;
}

.mockup-sidebar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-nav-item {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mockup-nav-item.active {
  background: var(--color-primary-light);
  width: 80%;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mockup-stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.625rem;
}

.mockup-stat-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-top: 0.375rem;
  overflow: hidden;
}

.mockup-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 3px;
}

.mockup-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 100px;
}

.mockup-bar-chart {
  flex: 1;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.hero-float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: -10px;
  right: -20px;
}

.hero-float-card.card-2 {
  bottom: 20px;
  left: -30px;
  animation-delay: -3s;
}

.hero-float-card i {
  color: var(--color-success);
}

.hero-float-card strong {
  display: block;
  font-size: 0.8125rem;
}

.hero-float-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* -------------------------------------------------------------------------- */
/* Advantages                                                                 */
/* -------------------------------------------------------------------------- */
.advantages {
  background: var(--gradient-soft);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.advantage-card {
  padding: 1.75rem;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.advantage-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  margin-bottom: 1.125rem;
}

.advantage-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------- */
/* Features                                                                   */
/* -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------- */
/* How it works                                                               */
/* -------------------------------------------------------------------------- */
.steps {
  background: var(--color-bg-alt);
}

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

.steps-grid::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.25;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 5rem;
  height: 5rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  background: var(--color-surface-solid);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 14rem;
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/* Statistics                                                                 */
/* -------------------------------------------------------------------------- */
.stats {
  background: var(--gradient-hero);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.stat-item p {
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.8);
}

/* -------------------------------------------------------------------------- */
/* Dashboard Preview                                                          */
/* -------------------------------------------------------------------------- */
.dashboard-preview,
.preview {
  background: var(--gradient-soft);
}

.preview-wrapper {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.preview-topbar-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.preview-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 380px;
}

.preview-sidebar {
  background: linear-gradient(180deg, #1e3a8a, #1d4ed8);
  color: #fff;
  padding: 1.25rem 1rem;
}

.preview-sidebar-brand {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-menu-item {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  opacity: 0.75;
}

.preview-menu-item.active {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.preview-main {
  padding: 1.25rem;
  background: var(--color-bg);
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preview-mini-card {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.875rem;
}

.preview-mini-card span {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-mini-card strong {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.preview-panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.75rem;
}

.preview-panel {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.preview-panel h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.preview-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.preview-graph-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.preview-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
}

.preview-table-row.header {
  font-weight: 600;
  color: var(--color-text-muted);
}

.preview-notif {
  display: flex;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
}

.preview-notif-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.75rem;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.testimonial-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-author h4 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                        */
/* -------------------------------------------------------------------------- */
.faq {
  background: var(--color-bg-alt);
}

.faq-list {
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--color-surface-solid);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9975rem;
  color: var(--color-text);
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.04);
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 12rem;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.125rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/* CTA                                                                        */
/* -------------------------------------------------------------------------- */
.cta {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.cta-box {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-cta);
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -50px;
}

.cta-box h2 {
  position: relative;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-box p {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
}

.cta-box .btn-white {
  position: relative;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(248, 250, 252, 0.85);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.65);
  max-width: 20rem;
  line-height: 1.7;
}

.footer-brand .navbar-brand {
  color: #fff;
}

.footer h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.125rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-soft);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.65);
}

.footer-contact i {
  color: var(--color-accent-soft);
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.5);
}
