/* ============================================
   DEPOTIX - Professional UI
   Color Scheme: White + Red
   ============================================ */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* Colors - White & Red Theme */
  --color-white: #FFFFFF;
  --color-white-soft: #F8F9FA;
  --color-white-muted: #F3F4F6;

  --color-red-primary: #DC2626;
  --color-red-dark: #991B1B;
  --color-red-darker: #7F1D1D;
  --color-red-light: #FEE2E2;
  --color-red-lighter: #FEF2F2;

  --color-text-primary: #1F2937;
  --color-text-secondary: #6B7280;
  --color-text-muted: #9CA3AF;

  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  /* Gradients */
  --gradient-red: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  --gradient-red-soft: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #FEF2F2 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-red: 0 10px 30px -5px rgba(220, 38, 38, 0.3);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-white);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-red-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-red-dark);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section.light {
  background: var(--color-white-soft);
}

.center {
  text-align: center;
}

.muted {
  color: var(--color-text-muted);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
  color: var(--color-white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-red-primary);
  border-color: var(--color-red-primary);
}

.btn-outline:hover {
  background: var(--color-red-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-red-light);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1F2937 0%, #991B1B 50%, #7F1D1D 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  min-height: 70px;
}

.brand {
  flex-shrink: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-white);
  transition: all var(--transition-base);
  filter: brightness(1);
}

.header.scrolled .site-logo {
  color: var(--color-red-primary);
  filter: brightness(1);
}

.site-logo:hover {
  color: var(--color-white);
  transform: scale(1.05);
  filter: brightness(1.2);
}

.header.scrolled .site-logo:hover {
  color: var(--color-red-dark);
  filter: brightness(1);
}

.site-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

.header.scrolled .site-logo img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

.header.scrolled .nav-link {
  color: var(--color-text-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.header.scrolled .nav-link::after {
  background: var(--gradient-red);
}

.nav-link:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.header.scrolled .nav-link:hover {
  color: var(--color-red-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Enhanced Header Button */
.nav .btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.nav .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.nav .btn:hover::before {
  left: 100%;
}

.nav .btn:hover {
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  transform: translateY(-3px) scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-red-lighter) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--color-red-lighter);
  color: var(--color-red-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-red-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-sub {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: var(--spacing-xl);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--color-red-primary);
}

/* Hero Right - Device/Illustration */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.device {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.device-screen {
  width: 100%;
  height: 100%;
  display: block;
}

.decor {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.dashboard-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: linear-gradient(180deg, #ffffff 0%, #fff6f6 100%);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-xs);
}

.dash-pill {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.dash-pill-muted {
  background: #f9fafb;
  color: #4b5563;
  border-color: #e5e7eb;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.dash-stat {
  background: var(--color-white);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.dash-stat-label {
  font-size: var(--font-size-xs);
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.dash-stat-value {
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.2rem;
}

.dash-stat-trend {
  font-size: 0.72rem;
  color: #16a34a;
}

.dash-route {
  background: var(--color-white);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 0.8rem;
}

.dash-route-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #374151;
  margin-bottom: 0.55rem;
}

.dash-progress {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #fee2e2;
  overflow: hidden;
}

.dash-progress span {
  display: block;
  height: 100%;
  width: 74%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.dash-route-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #6b7280;
}

.dash-orders {
  background: var(--color-white);
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #111827;
}

.dash-order .ok,
.dash-order .warn {
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
}

.dash-order .ok {
  background: #dcfce7;
  color: #166534;
}

.dash-order .warn {
  background: #ffedd5;
  color: #9a3412;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--color-white);
  position: relative;
  z-index: 2;
}

.features h2 {
  margin-bottom: var(--spacing-xl);
}

.feature {
  text-align: center;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
}

.feature h3 {
  color: var(--color-red-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem !important;
  line-height: 1.3;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.feature-icon {
  width: 32px;
  height: 32px;
  stroke: var(--color-red-primary);
  flex-shrink: 0;
}

.feature p {
  color: var(--color-text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how {
  background: var(--color-white-soft);
}

.how h2 {
  margin-bottom: var(--spacing-2xl);
}

.steps {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.step {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  padding: var(--spacing-lg);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  color: var(--color-text-primary);
  position: relative;
  transition: all var(--transition-base);
}

.step:hover {
  border-color: var(--color-red-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--color-red-primary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
  z-index: 1;
}

.step:last-child::before {
  display: none;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: var(--color-white);
}

.pricing h2 {
  margin-bottom: var(--spacing-md);
}

.pricing>.container>p {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-red-light);
}

.pricing-card.popular {
  border-color: var(--color-red-primary);
  border-width: 3px;
  box-shadow: var(--shadow-red);
}

.pricing-card.popular::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-red);
  color: var(--color-white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.pricing-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

/* Override broken-encoding label text */
.pricing-card.popular::before {
  content: "Ommabop";
}

.price {
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-currency {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.price-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-red-primary);
}

.price-period {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.price-features li {
  padding: var(--spacing-sm) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.price-features .icon {
  width: 20px;
  height: 20px;
  fill: var(--color-red-primary);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #7F1D1D;
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
  position: relative;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-contacts {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-contact-item .icon {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-socials .icon {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-red-light);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-muted);
}

.contact-list .icon {
  width: 18px;
  height: 18px;
  fill: var(--color-red-primary);
  flex-shrink: 0;
}

.socials {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.socials a:hover {
  background: var(--color-red-primary);
  transform: translateY(-2px);
}

.socials .icon {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }

  .hero {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-sub {
    font-size: var(--font-size-base);
  }

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

  .dash-stat-value {
    font-size: 1.2rem;
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  .nav {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .steps {
    flex-direction: column;
  }

  .step::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: #F9FAFB;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
}

.testimonials-slider {
  margin-top: var(--spacing-2xl);
  position: relative;
  width: 100%;
}

.testimonials-slider::before,
.testimonials-slider::after {
  display: none;
}

.testimonials-track {
  display: flex;
  gap: var(--spacing-xl);
  animation: scroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  width: 350px;
  flex-shrink: 0;
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
  margin-bottom: var(--spacing-md);
  color: #F59E0B;
  font-size: 0;
  line-height: 1;
}

.testimonial-rating::before {
  content: "★★★★★";
  font-size: var(--font-size-xl);
  letter-spacing: 0.12rem;
}

/* ASCII-safe override for environments with non-UTF8 encoding */
.testimonial-rating::before {
  content: "\2605\2605\2605\2605\2605";
}

.testimonial-text {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-red-lighter);
  color: var(--color-red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.author-name {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-350px * 4 - var(--spacing-xl) * 4));
  }
}
