/* ─────────────────────────────────────────────────── */
/* Global Styles                                       */
/* ─────────────────────────────────────────────────── */

:root {
  --accent: #2d3580;
  --accent2: #4f5bd5;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7f0;
  --bg-light: #f8f9ff;
  --bg-lighter: #f0f1ff;
  --success: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f5f6ff;
}

::-webkit-scrollbar-thumb {
  background: #c7caee;
  border-radius: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}

/* ─────────────────────────────────────────────────── */
/* Navbar                                              */
/* ─────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 0 6%;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 53, 128, 0.08);
}

.navbar.navbar-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 53, 128, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  color: var(--accent);
  letter-spacing: -0.3px;
  min-width: 0;
}

.nav-logo span {
  white-space: nowrap;
}

.logo-box {
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 26px;
  height: 26px;
  object-fit: cover;
  /* filter: brightness(0) invert(1); */
}

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

.nav-links a {
  color: #4a4f6b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(45, 53, 128, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-mobile-actions {
  display: none;
}

.nav-login {
  color: #4a4f6b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(45, 53, 128, 0.2);
  transition: all 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────── */
/* Hero Section                                        */
/* ─────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 6% 0;
  background: linear-gradient(170deg, #f0f1ff 0%, #ffffff 55%, #f8f9ff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-decoration {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 53, 128, 0.055) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 53, 128, 0.08);
  border: 1px solid rgba(45, 53, 128, 0.13);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 32px;
  animation: fadeInUp 0.5s ease forwards;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
}

.hero-title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.word-animate {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  animation: wordFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.word-animate.accent {
  color: var(--accent);
}

.hero-underline {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-underline::after {
  content: '';
  height: 4px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  animation: expandWidth 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

@keyframes expandWidth {
  to {
    width: 200px;
  }
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.6s ease 0.65s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-delayed {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 0.6s ease 0.78s forwards;
  opacity: 0;
}

/* ─────────────────────────────────────────────────── */
/* Buttons                                             */
/* ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(45, 53, 128, 0.27);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(45, 53, 128, 0.33);
}

.btn-secondary {
  color: var(--accent);
  padding: 15px 32px;
  border: 1.5px solid rgba(45, 53, 128, 0.2);
  background: #fff;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(45, 53, 128, 0.04);
}

.btn-card {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(45, 53, 128, 0.2);
  transition: opacity 0.2s;
}

.btn-card:hover {
  opacity: 0.9;
}

.btn-card.btn-light {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-form {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(45, 53, 128, 0.2);
}

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

/* ─────────────────────────────────────────────────── */
/* Hero Stats & Cards                                 */
/* ─────────────────────────────────────────────────── */

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.6s ease 0.9s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(45, 53, 128, 0.13);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.card-left {
  top: 160px;
  left: 7%;
  animation: floatCard 4s ease-in-out infinite;
}

.card-right {
  top: 220px;
  right: 6%;
  animation: floatCard2 5s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(45, 53, 128, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.card-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.card-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.card-value.success {
  color: var(--success);
}

/* ─────────────────────────────────────────────────── */
/* Marquee                                             */
/* ─────────────────────────────────────────────────── */

.marquee-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding-top: 24px;
  padding-bottom: 48px;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.marquee-track {
  display: flex;
  gap: clamp(20px, 2.4vw, 30px);
  animation: marquee 44s linear infinite;
  width: max-content;
  will-change: transform;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  width: 130px;
  height: 260px;
  transform: rotate(-2deg);
  transition: transform 0.3s;
  backface-visibility: hidden;
}

.marquee-item:nth-child(odd) {
  transform: rotate(-2deg);
}

.marquee-item:nth-child(even) {
  transform: rotate(2.5deg);
}

.marquee-item:hover {
  transform: rotate(0) scale(1.04);
}

.mobile-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.marquee-item .mobile-frame {
  filter: drop-shadow(0 16px 48px rgba(45, 53, 128, 0.18));
}

.mobile-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/mobile-frame.png') center / contain no-repeat;
  z-index: 2;
  pointer-events: none;
}

.mobile-frame-screen {
  position: absolute;
  top: 2%;
  right: 4.1%;
  bottom: 2.1%;
  left: 4.1%;
  border-radius: 12%;
  overflow: hidden;
  z-index: 1;
  background: #000;
}

.mobile-frame-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.marquee-item .mobile-frame-screen img {
  filter: contrast(1.08) saturate(1.04);
}

/* ─────────────────────────────────────────────────── */
/* Section Headers                                    */
/* ─────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(45, 53, 128, 0.08);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Fade In animations for sections */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.55s ease forwards;
}

@for $i from 0 through 10 {
  .fade-in:nth-child(#{$i}) {
    animation-delay: calc(#{$i} * 0.1s);
  }
}

/* ─────────────────────────────────────────────────── */
/* Features Section                                   */
/* ─────────────────────────────────────────────────── */

.features {
  padding: 100px 6%;
  background: #ffffff;
}

.feature-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: #f3f4ff;
  color: #4a4f6b;
  transition: all 0.2s;
}

.feature-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 53, 128, 0.2);
}

.new-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--success);
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
}

.feature-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-light);
  border-radius: 24px;
  padding: 56px 60px;
  border: 1px solid rgba(45, 53, 128, 0.07);
  margin-bottom: 20px;
  min-width: 0;
}

.feature-content {
  opacity: 0;
  animation: fadeInUp 0.55s ease 0.05s forwards;
  min-width: 0;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 53, 128, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.feature-content h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.feature-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.feature-points svg {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(45, 53, 128, 0.08);
  padding: 5px;
  flex-shrink: 0;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  opacity: 0;
  animation: fadeInUp 0.55s ease 0.05s forwards;
}

.feature-phone-frame {
  width: 260px;
  height: 500px;
}

/* ─────────────────────────────────────────────────── */
/* ABA Visual Mockup                                  */
/* ─────────────────────────────────────────────────── */

.aba-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 8px 8px;
}

.aba-visual-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 32px;
  overflow: hidden;
}

.aba-visual-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.aba-visual-blob-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(79, 91, 213, 0.28), transparent 70%);
}

.aba-visual-blob-2 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: -30px;
  background: radial-gradient(circle, rgba(45, 53, 128, 0.2), transparent 70%);
}

.feature-browser-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(45, 53, 128, 0.13);
  box-shadow:
    0 2px 4px rgba(45, 53, 128, 0.05),
    0 24px 56px rgba(45, 53, 128, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  background: #fff;
}

.feature-browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #f4f5fe 0%, #eaecfa 100%);
  border-bottom: 1px solid rgba(45, 53, 128, 0.1);
  user-select: none;
}

.feature-browser-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.feature-browser-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: block;
}

.feature-browser-dots span:nth-child(1) { background: #ff5f57; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.feature-browser-dots span:nth-child(2) { background: #febc2e; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.feature-browser-dots span:nth-child(3) { background: #28c840; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }

.feature-browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(45, 53, 128, 0.1);
  border-radius: 7px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #8b92b8;
  text-align: center;
  max-width: 220px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-desktop-shot {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 821 / 423;
  overflow: hidden;
  background: linear-gradient(180deg, #f9faff 0%, #f3f6ff 100%);
}

.feature-desktop-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-desktop-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-desktop-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.feature-desktop-prev,
.feature-desktop-next {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(45, 53, 128, 0.16), 0 0 0 1px rgba(45, 53, 128, 0.08);
  transition: all 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-desktop-prev {
  left: 14px;
}

.feature-desktop-next {
  right: 14px;
}

.feature-desktop-prev:hover,
.feature-desktop-next:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(45, 53, 128, 0.22), 0 0 0 1px rgba(45, 53, 128, 0.12);
  transform: translateY(-50%) scale(1.08);
}

.feature-desktop-prev[disabled],
.feature-desktop-next[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* Slide dot indicators */
.feature-slide-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.feature-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(45, 53, 128, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.feature-slide-dot.active {
  width: 28px;
  background: var(--accent);
}

.feature-report-card {
  width: min(100%, 440px);
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  border: 1px solid rgba(45, 53, 128, 0.1);
  box-shadow: 0 28px 64px rgba(45, 53, 128, 0.16);
}

.feature-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-report-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.feature-report-head strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
}

.feature-report-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}

.feature-report-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.feature-chart-axis {
  fill: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.feature-report-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-report-metrics div {
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(45, 53, 128, 0.08);
}

.feature-report-metrics span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.feature-report-metrics strong {
  font-size: 20px;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s;
  cursor: default;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
}

.feature-card:hover {
  border-color: rgba(45, 53, 128, 0.27);
  box-shadow: 0 4px 20px rgba(45, 53, 128, 0.06);
}

.feature-card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────── */
/* Screenshots Section                                */
/* ─────────────────────────────────────────────────── */

.screenshots {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
  overflow: hidden;
}

.screenshots .section-header {
  padding: 0 6%;
  margin-bottom: 48px;
}

.screenshots-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 0 6%;
  flex-wrap: wrap;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
}

.screenshot-item img {
  width: 160px;
  height: 310px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(45, 53, 128, 0.16);
  border: 1px solid rgba(45, 53, 128, 0.08);
  object-fit: cover;
  object-position: center top;
  transition: transform 0.25s;
}

.screenshot-item:hover img {
  transform: translateY(-6px);
}

.screenshot-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────────────── */
/* Modules Overview                                   */
/* ─────────────────────────────────────────────────── */

.modules-overview {
  padding: 36px 6% 100px;
  background:
    radial-gradient(circle at top right, rgba(45, 53, 128, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

.modules-overview .section-header {
  margin-bottom: 36px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(45, 53, 128, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 245, 255, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(45, 53, 128, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.module-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 53, 128, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.module-tile:hover::before {
  opacity: 1;
}

.module-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(45, 53, 128, 0.12);
  border-color: rgba(45, 53, 128, 0.18);
}

.module-tile-top,
.module-tile h3,
.module-tile p {
  position: relative;
  z-index: 1;
}

.module-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.module-index {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
}

.module-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45, 53, 128, 0.08);
}

.module-tile h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.module-tile p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.aba-highlight {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, var(--accent) 0%, #5963d6 100%);
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(45, 53, 128, 0.22);
}

.aba-highlight .section-tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.aba-highlight h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.aba-highlight p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  max-width: 640px;
  margin-bottom: 20px;
}

.aba-highlight-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.aba-highlight-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.aba-highlight-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.aba-highlight-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.aba-highlight-actions .btn {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.aba-highlight-actions .btn:hover {
  background: #f4f6ff;
}

.aba-highlight-actions span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

/* ─────────────────────────────────────────────────── */
/* How It Works Section                               */
/* ─────────────────────────────────────────────────── */

.how-it-works {
  padding: 100px 6%;
  background: #ffffff;
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(45, 53, 128, 0.13), rgba(45, 53, 128, 0.13), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
}

.step-number {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 20px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.step-item:nth-child(n + 2) .step-number {
  background: #f3f4ff;
  color: var(--accent);
  border-color: rgba(45, 53, 128, 0.13);
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────── */
/* Testimonials Section                               */
/* ─────────────────────────────────────────────────── */

.testimonials {
  padding: 100px 6%;
  background: var(--bg-light);
}

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

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.2s;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(45, 53, 128, 0.08);
  border-color: rgba(45, 53, 128, 0.19);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 14px;
}

.testimonial-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ─────────────────────────────────────────────────── */
/* Pricing Section                                    */
/* ─────────────────────────────────────────────────── */

.pricing {
  padding: 100px 6%;
  background: #ffffff;
}

.pricing .section-header {
  margin-bottom: 48px;
}

.billing-toggle {
  display: inline-flex;
  background: #f3f4ff;
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-top: 20px;
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.toggle-btn.active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.saving {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 0.55s ease 0.1s forwards;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pricing-card.highlight {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(45, 53, 128, 0.2);
}

.pricing-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card.highlight .pricing-name {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-price span:first-child {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1.5px;
}

.pricing-card.highlight .pricing-price span:first-child {
  color: #fff;
}

.period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.pricing-card.highlight .period {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card.highlight .pricing-note {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.pricing-card.highlight .pricing-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(45, 53, 128, 0.08);
  padding: 3px;
  flex-shrink: 0;
}

.pricing-card.highlight .pricing-features svg {
  background: rgba(255, 255, 255, 0.2);
}

/* ─────────────────────────────────────────────────── */
/* FAQ Section                                        */
/* ─────────────────────────────────────────────────── */

.faq {
  padding: 100px 6%;
  background: var(--bg-light);
}

.faq .container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
}

.faq-item.open {
  border-color: rgba(45, 53, 128, 0.2);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-toggle {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s;
  flex-shrink: 0;
  font-weight: 300;
}

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

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}

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

/* ─────────────────────────────────────────────────── */
/* Demo CTA Section                                   */
/* ─────────────────────────────────────────────────── */

.demo-cta {
  padding: 100px 6%;
  background: #ffffff;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-width: 0;
}

.demo-content {
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
  min-width: 0;
}

.demo-content .section-tag {
  display: inline-block;
  margin-bottom: 20px;
}

.demo-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.demo-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.demo-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.demo-benefits span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(45, 53, 128, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.demo-form,
.demo-panel,
.contact-form-wrap,
.demo-request-form {
  opacity: 0;
  animation: fadeInUp 0.55s ease 0.1s forwards;
  width: 100%;
  min-width: 0;
}

.demo-panel-card {
  background: linear-gradient(180deg, #f5f7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(45, 53, 128, 0.1);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 48px rgba(45, 53, 128, 0.08);
}

.demo-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 53, 128, 0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.demo-panel-card h3 {
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.demo-panel-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-container {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.form-container-lg {
  padding: 40px;
}

.form-intro {
  margin-bottom: 8px;
}

.form-intro h2 {
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.btn-form {
  align-self: flex-start;
  margin-top: 8px;
}

.recaptcha-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.recaptcha-wrap .g-recaptcha {
  width: 304px;
  max-width: 100%;
}

.recaptcha-wrap iframe {
  max-width: 100%;
}

.form-message {
  min-height: 22px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.contact-section {
  padding: 0 6% 100px;
  background: #ffffff;
}

.contact-section .container {
  padding: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  border: 1px solid rgba(45, 53, 128, 0.08);
  border-radius: 32px;
  padding: 44px;
  box-shadow: 0 24px 54px rgba(45, 53, 128, 0.08);
  min-width: 0;
}

.contact-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.contact-points span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(45, 53, 128, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.subpage-body {
  background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 24%);
}

.subpage-main {
  padding-top: 96px;
}

.demo-request-page {
  padding: 48px 6% 100px;
}

.demo-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  min-width: 0;
}

.demo-request-copy {
  padding: 28px 12px 0 0;
  min-width: 0;
}

.demo-request-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.demo-request-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.success-message {
  text-align: center;
  padding: 48px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #fff;
}

.success-message h3 {
  font-size: 22px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 8px;
}

.success-message p {
  color: #16a34a;
  font-size: 14px;
}

/* ─────────────────────────────────────────────────── */
/* Footer                                              */
/* ─────────────────────────────────────────────────── */

.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 56px 6% 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a,
.footer-contact p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 340px;
  margin: 0;
}

.footer-contact a {
  font-weight: 700;
  text-decoration: none;
}

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

.footer-column h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────── */
/* Responsive Design                                  */
/* ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .feature-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-phone-frame {
    width: 200px;
    height: 380px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid,
  .demo-request-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aba-highlight {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 78px;
    left: 50%;
    right: auto;
    width: min(calc(100vw - 24px), 420px);
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(45, 53, 128, 0.1);
    box-shadow: 0 24px 54px rgba(45, 53, 128, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .navbar.menu-open .nav-links {
    display: flex;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(45, 53, 128, 0.08);
  }

  .nav-mobile-actions .nav-cta {
    color: #ffffff;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .marquee-item {
    width: 100px;
    height: 200px;
  }

  .screenshots-grid {
    flex-wrap: wrap;
  }

  .modules-overview {
    padding-bottom: 80px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-tile {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .contact-grid {
    padding: 24px;
    gap: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .aba-highlight {
    padding: 24px;
  }

  .aba-highlight-actions {
    padding: 20px;
  }

  .feature-tabs {
    flex-direction: column;
  }

  .feature-detail {
    padding: 28px;
  }

  .feature-phone-frame {
    width: 150px;
    height: 280px;
  }

  .aba-visual-wrapper {
    padding: 12px 0 0;
    gap: 14px;
  }

  .feature-browser-url {
    max-width: 150px;
    font-size: 11px;
  }

  .feature-desktop-shot img {
    min-height: 0;
    object-fit: contain;
  }

  .feature-desktop-prev,
  .feature-desktop-next {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .feature-report-card {
    padding: 22px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 4%;
  }

  .nav-container {
    gap: 12px;
  }

  .hero {
    padding: 100px 4% 0;
  }

  .hero-title {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .feature-tabs {
    gap: 6px;
  }

  .feature-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .feature-detail {
    padding: 20px;
    gap: 16px;
  }

  .feature-browser-chrome {
    padding: 9px 12px;
    gap: 8px;
  }

  .feature-browser-dots span {
    width: 10px;
    height: 10px;
  }

  .feature-browser-url {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .module-tile {
    padding: 20px;
    min-height: 240px;
  }

  .module-tile h3 {
    font-size: 22px;
  }

  .aba-highlight h3 {
    font-size: 24px;
  }

  .demo-panel-card,
  .form-container,
  .form-container-lg,
  .contact-grid {
    padding: 16px;
  }

  .demo-request-page {
    padding: 32px 4% 80px;
  }

  .contact-section {
    padding: 0 4% 80px;
  }

  .recaptcha-wrap {
    justify-content: center;
  }

  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.8);
    transform-origin: center top;
  }

  .btn-form {
    width: 100%;
    align-self: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .nav-links {
    width: min(calc(100vw - 16px), 420px);
    top: 74px;
  }

  .feature-browser-chrome {
    padding: 8px 10px;
  }

  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.74);
  }
}
