/* ============================================
   DRIPIshop — Apple-Clean Design System
   ============================================ */

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

:root {
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --gray-800: #1d1d1f;
  --black: #000000;
  --accent-1: #2997ff;
  --accent-2: #6366f1;
  --green: #30d158;
  --orange: #ff9f0a;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --nav-height: 64px;
  --container: 1120px;
  --radius: 20px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 0;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 9999;
  width: 0%;
  transition: width 0.05s linear;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-in variant */
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Shine effect for cards */
.shine-card {
  position: relative;
  overflow: hidden;
}

.shine-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: none;
  pointer-events: none;
}

.shine-card:hover::after {
  transform: rotate(30deg) translateX(100%);
  transition: transform 0.6s ease;
}

/* Gradient border hover */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--gray-200);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: var(--accent-1);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 6px 14px;
  border-radius: 8px;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(41, 151, 255, 0.3);
}

.nav-logo em {
  font-style: normal;
  font-weight: 900;
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.45);
  margin-left: -1px;
  display: inline-block;
  transform: rotate(-8deg) translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
  position: relative;
}

/* Animated underline on nav links */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

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

.nav-links .nav-cta {
  background: var(--gray-800);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-links .nav-cta:hover {
  background: var(--black);
  transform: scale(1.02);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  border-bottom: 1px solid var(--gray-200);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--gray-800);
}

.mobile-menu .nav-cta {
  display: inline-block;
  background: var(--gray-800);
  color: var(--white) !important;
  padding: 14px 28px;
  border-radius: 100px;
  text-align: center;
  font-weight: 600;
  margin-top: 8px;
  border-bottom: none;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  background: var(--white);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

/* Animated orbs */
.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(41, 151, 255, 0.1);
  top: -10%;
  left: 20%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.08);
  bottom: -5%;
  right: 15%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(48, 209, 88, 0.06);
  top: 30%;
  right: 30%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 10px) scale(1.02); }
}

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

.hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--accent-1);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   Hero Store Preview
   ============================================ */
.hero-dashboard {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 60px auto -200px;
  z-index: 2;
  perspective: 1200px;
}

.hero-dash-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 40px;
}

.hero-dash-inner {
  position: relative;
  background: #0d0d0f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.4),
    0 0 160px rgba(41, 151, 255, 0.06);
  transform: rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Browser top bar */
.hd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #161618;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-dots {
  display: flex;
  gap: 8px;
}

.hd-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hd-dots span:nth-child(1) { background: #ff5f57; }
.hd-dots span:nth-child(2) { background: #febc2e; }
.hd-dots span:nth-child(3) { background: #28c840; }

.hd-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}

.hd-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
}

/* Store nav */
.hd-store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-store-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hd-store-logo span {
  color: var(--accent-1);
}

.hd-store-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}

.hd-store-link-active {
  color: var(--white);
}

.hd-store-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hd-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.hd-search-bar svg {
  opacity: 0.4;
}

.hd-cart-icon {
  position: relative;
  color: rgba(255, 255, 255, 0.5);
}

.hd-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--accent-1);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Store body */
.hd-store-body {
  padding: 20px 24px 24px;
}

/* Categories */
.hd-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.hd-categories span {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  cursor: default;
}

.hd-cat-active {
  background: rgba(41, 151, 255, 0.12) !important;
  border-color: rgba(41, 151, 255, 0.3) !important;
  color: var(--accent-1) !important;
}

/* Product grid */
.hd-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hd-product {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
}

/* Product image area with vial */
.hd-product-img {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS vial illustration */
.hd-vial {
  width: 28px;
  height: 70px;
  border-radius: 6px 6px 4px 4px;
  position: relative;
  opacity: 0.9;
}

.hd-vial::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 12px;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.15);
}

.hd-vial::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 15%;
  width: 70%;
  height: 55%;
  border-radius: 0 0 3px 3px;
  opacity: 0.4;
}

.hd-vial-blue {
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.2) 0%, rgba(41, 151, 255, 0.35) 100%);
  border: 1px solid rgba(41, 151, 255, 0.3);
}
.hd-vial-blue::after {
  background: rgba(41, 151, 255, 0.5);
}

.hd-vial-green {
  background: linear-gradient(180deg, rgba(48, 209, 88, 0.2) 0%, rgba(48, 209, 88, 0.35) 100%);
  border: 1px solid rgba(48, 209, 88, 0.3);
}
.hd-vial-green::after {
  background: rgba(48, 209, 88, 0.5);
}

.hd-vial-purple {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.35) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.hd-vial-purple::after {
  background: rgba(99, 102, 241, 0.5);
}

.hd-vial-gold {
  background: linear-gradient(180deg, rgba(255, 159, 10, 0.2) 0%, rgba(255, 159, 10, 0.35) 100%);
  border: 1px solid rgba(255, 159, 10, 0.3);
}
.hd-vial-gold::after {
  background: rgba(255, 159, 10, 0.5);
}

/* Product tags */
.hd-product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(48, 209, 88, 0.15);
  color: var(--green);
}

.hd-tag-new {
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-1);
}

/* Product info */
.hd-product-info {
  padding: 14px;
}

.hd-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.hd-product-dose {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}

.hd-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hd-product-price {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.hd-add-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--accent-1);
  color: var(--white);
  cursor: default;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Ripple effect on buttons */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary {
  background: var(--gray-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  transform: scale(1.03);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-1);
  font-weight: 500;
}

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

.btn-ghost .arrow {
  transition: transform 0.25s ease;
}

.btn-ghost:hover .arrow {
  transform: translateY(3px);
}

.btn-large {
  font-size: 18px;
  padding: 20px 44px;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 140px 0;
}

#features {
  padding-top: 280px;
}

.section-dark {
  background: var(--gray-100);
}

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

.section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  letter-spacing: -0.04em;
}

.section-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.section-dark .feature-card {
  background: var(--white);
}

.feature-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  color: var(--accent-1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.section-dark .feature-icon {
  background: var(--gray-100);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: var(--gradient);
  color: var(--white);
}

.feature-card:hover .feature-icon svg {
  stroke: var(--white);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================
   Dashboard Mockup
   ============================================ */
.dashboard-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.dashboard-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
}

.dashboard {
  position: relative;
  z-index: 1;
  background: #0d0d0f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.3),
    0 0 120px rgba(41, 151, 255, 0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top bar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #161618;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-topbar-left {
  display: flex;
  gap: 8px;
}

.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dash-dot-red { background: #ff5f57; }
.dash-dot-yellow { background: #febc2e; }
.dash-dot-green { background: #28c840; }

.dash-topbar-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.dash-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
}

/* Body */
.dash-body {
  display: flex;
  min-height: 420px;
}

/* Sidebar */
.dash-sidebar {
  width: 200px;
  flex-shrink: 0;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  cursor: default;
}

.dash-nav-active {
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent-1);
}

/* Main */
.dash-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stats */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dash-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}

.dash-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.dash-stat-value {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.dash-stat-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.dash-stat-up {
  color: var(--green);
}

/* Chart area */
.dash-chart-area {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
  flex: 1;
}

.dash-chart-card,
.dash-orders-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.dash-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-chart-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.dash-chart-period {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
}

.dash-chart {
  flex: 1;
  min-height: 140px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

/* Chart animation */
.chart-line-path,
.chart-area-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-area-path {
  opacity: 0;
  transition: opacity 1s ease 1s;
}

.chart-dot {
  opacity: 0;
  transition: opacity 0.4s ease 1.8s;
}

.dashboard.animated .chart-line-path {
  stroke-dashoffset: 0;
}

.dashboard.animated .chart-area-path {
  opacity: 1;
}

.dashboard.animated .chart-dot {
  opacity: 1;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 7; opacity: 0.7; }
}

/* Orders */
.dash-order-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-order-item {
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.dashboard.animated .dash-order-item {
  opacity: 1;
  transform: translateX(0);
}

.dashboard.animated .dash-order-item:nth-child(1) { transition-delay: 0.3s; }
.dashboard.animated .dash-order-item:nth-child(2) { transition-delay: 0.5s; }
.dashboard.animated .dash-order-item:nth-child(3) { transition-delay: 0.7s; }
.dashboard.animated .dash-order-item:nth-child(4) { transition-delay: 0.9s; }

.dash-order-item:last-child {
  border-bottom: none;
}

.dash-order-id {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.dash-order-product {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.dash-order-amount {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.dash-order-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.dash-status-shipped {
  background: rgba(48, 209, 88, 0.15);
  color: var(--green);
}

.dash-status-processing {
  background: rgba(255, 159, 10, 0.15);
  color: var(--orange);
}

.dash-status-new {
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-1);
}

/* ============================================
   Parallax UI Panels
   ============================================ */
.parallax-panels {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
  min-height: 500px;
}

.parallax-panel {
  position: absolute;
  background: #161618;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.1s linear;
}

/* Analytics panel */
.panel-analytics {
  width: 360px;
  top: 0;
  left: 0;
  z-index: 3;
}

.panel-inner {
  padding: 20px;
}

.panel-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.panel-metric {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.panel-metric-sub {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.mini-chart {
  margin-top: 16px;
  height: 60px;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

/* Orders panel */
.panel-orders {
  width: 320px;
  top: 60px;
  right: 0;
  z-index: 2;
}

.mini-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-order:last-child {
  border-bottom: none;
}

.mini-order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-order-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mini-order-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.mini-order-amount {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* Product panel */
.panel-product {
  width: 280px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.panel-product-img {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-product-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--gradient);
  opacity: 0.6;
}

.panel-product-details {
  padding: 16px 20px;
}

.panel-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.panel-product-price {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-1);
}

.panel-product-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(48, 209, 88, 0.15);
  color: var(--green);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   Steps
   ============================================ */
.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   Model Cards
   ============================================ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.model-card h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.model-card ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-card li {
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-800);
  padding-left: 20px;
  position: relative;
}

.model-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-200);
}

.model-card-accent {
  background: var(--gray-800);
}

.model-card-accent:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.model-card-accent h3 {
  color: var(--gray-400);
}

.model-card-accent li {
  color: var(--white);
}

.model-card-accent li::before {
  background: var(--accent-1);
}

/* ============================================
   AI Plugins
   ============================================ */
.ai-plugins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.ai-plugin-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px 28px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  will-change: transform;
}

.ai-plugin-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-200);
}

.ai-plugin-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--accent-1);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ai-plugin-card:hover .ai-plugin-icon {
  transform: scale(1.1) rotate(-3deg);
  background: var(--gradient);
  color: var(--white);
}

.ai-plugin-card:hover .ai-plugin-icon svg {
  stroke: var(--white);
}

.ai-plugin-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.ai-plugin-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* More card */
.ai-plugin-more {
  grid-column: 1 / -1;
  background: transparent;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.ai-plugin-more:hover {
  border-color: var(--accent-1);
}

.ai-more-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.6;
}

/* ============================================
   Stats Section
   ============================================ */
.section-stats {
  padding: 100px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: var(--mono);
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
}

/* ============================================
   Order Flow Diagram
   ============================================ */
.section-flow {
  background: var(--gray-800);
  overflow: hidden;
}

.section-flow .section-eyebrow {
  color: var(--accent-1);
}

.section-flow .section-title {
  color: var(--white);
}

.section-flow .section-sub {
  color: rgba(255, 255, 255, 0.45);
}

.flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding-top: 40px;
}

/* Connecting line */
.flow-line {
  position: absolute;
  top: 84px;
  left: 8%;
  width: 84%;
  height: 2px;
  z-index: 0;
  overflow: visible;
}

.flow-line-dash {
  stroke-dasharray: 8 4;
  stroke-dashoffset: 200;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.flow-diagram.flow-active .flow-line-dash {
  opacity: 1;
  animation: flowDash 20s linear infinite;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -200;
  }
}

/* Traveling pulse */
.flow-pulse {
  position: absolute;
  top: 79px;
  left: 8%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.6);
  opacity: 0;
  z-index: 2;
}

.flow-diagram.flow-active .flow-pulse {
  opacity: 1;
  animation: flowPulseMove 4s ease-in-out infinite;
}

@keyframes flowPulseMove {
  0% { left: 8%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { left: 90%; opacity: 0; }
}

/* Flow nodes */
.flow-node {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-node.flow-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Icon wrapper */
.flow-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.flow-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.flow-node:hover .flow-icon {
  transform: scale(1.12);
  background: rgba(41, 151, 255, 0.12);
  border-color: rgba(41, 151, 255, 0.3);
}

/* Animated ring */
.flow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  opacity: 0;
}

.flow-node.flow-visible .flow-ring {
  animation: flowRingPulse 2.5s ease-out infinite;
}

@keyframes flowRingPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
    border-color: rgba(41, 151, 255, 0.5);
  }
  40% {
    opacity: 1;
    border-color: rgba(41, 151, 255, 0.3);
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
    border-color: rgba(41, 151, 255, 0);
  }
}

/* Step number */
.flow-step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

/* Label */
.flow-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

/* Description */
.flow-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

/* Stagger animation delays */
.flow-node[data-step="1"] { transition-delay: 0.0s; }
.flow-node[data-step="1"] .flow-ring { animation-delay: 0.0s; }
.flow-node[data-step="2"] { transition-delay: 0.12s; }
.flow-node[data-step="2"] .flow-ring { animation-delay: 0.4s; }
.flow-node[data-step="3"] { transition-delay: 0.24s; }
.flow-node[data-step="3"] .flow-ring { animation-delay: 0.8s; }
.flow-node[data-step="4"] { transition-delay: 0.36s; }
.flow-node[data-step="4"] .flow-ring { animation-delay: 1.2s; }
.flow-node[data-step="5"] { transition-delay: 0.48s; }
.flow-node[data-step="5"] .flow-ring { animation-delay: 1.6s; }
.flow-node[data-step="6"] { transition-delay: 0.6s; }
.flow-node[data-step="6"] .flow-ring { animation-delay: 2.0s; }

/* Vertical line for mobile */
.flow-line-vertical {
  display: none;
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
  padding: 160px 0;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content .section-title {
  margin-bottom: 20px;
}

.cta-content .section-sub {
  max-width: 480px;
  margin: 0 auto 40px;
}

.cta-custom {
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-400);
}

.cta-custom strong {
  color: var(--accent-1);
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 0 40px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 8px;
}

.footer-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.footer-email {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-1);
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--accent-2);
}

.footer-bottom {
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

.footer-seo {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-300);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .flow-diagram {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
  }

  .flow-line,
  .flow-pulse {
    display: none;
  }

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

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero-dashboard {
    margin: 40px auto -160px;
    max-width: 90%;
  }

  .hd-store-links {
    display: none;
  }

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

@media (max-width: 768px) {
  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 20px;
    padding-left: 40px;
    position: relative;
  }

  .flow-diagram::before {
    content: '';
    position: absolute;
    left: 51px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2), var(--green));
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .flow-diagram.flow-active::before {
    opacity: 0.3;
  }

  .flow-line,
  .flow-pulse {
    display: none;
  }

  .flow-node {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    text-align: left;
    padding: 20px 0;
  }

  .flow-icon-wrap {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .flow-icon {
    width: 52px;
    height: 52px;
  }

  .flow-step-num {
    display: none;
  }

  .flow-label {
    grid-column: 2;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .flow-desc {
    grid-column: 2;
    font-size: 14px;
  }

  .flow-ring {
    inset: -5px;
  }
  :root {
    --nav-height: 56px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .section {
    padding: 100px 0;
  }

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

  .hero {
    min-height: 90vh;
    padding-top: calc(var(--nav-height) + 60px);
  }

  .hero-dashboard {
    margin: 30px auto -120px;
  }

  .hd-search-bar {
    display: none;
  }

  .hd-store-nav {
    padding: 10px 16px;
  }

  .hd-store-logo {
    font-size: 14px;
  }

  .hd-store-body {
    padding: 14px 14px 16px;
  }

  .hd-product-img {
    height: 80px;
  }

  .hd-vial {
    width: 20px;
    height: 50px;
  }

  .hd-vial::before {
    width: 12px;
    height: 9px;
    top: -8px;
  }

  .hd-product-info {
    padding: 10px;
  }

  .hd-product-name {
    font-size: 12px;
  }

  .hd-product-dose {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hd-product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hd-product-price {
    font-size: 13px;
  }

  .hd-add-btn {
    font-size: 10px;
    padding: 5px 10px;
    width: 100%;
    text-align: center;
  }

  .hd-product-tag {
    font-size: 9px;
    padding: 2px 7px;
  }

  .hd-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

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

  .feature-card {
    padding: 32px 28px;
  }

  .step {
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
  }

  .step-number {
    font-size: 40px;
  }

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

  .ai-plugins-grid {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

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

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

  .dash-stat-value {
    font-size: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  #features {
    padding-top: 200px;
  }

  .section-cta {
    padding: 100px 0;
  }

  .section-stats {
    padding: 80px 0;
  }

  .hd-categories {
    gap: 6px;
  }

  .hd-categories span {
    padding: 5px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  #features {
    padding-top: 140px;
  }

  .hero-dashboard {
    margin: 20px auto -80px;
  }

  .hd-topbar {
    padding: 8px 14px;
  }

  .hd-dots span {
    width: 9px;
    height: 9px;
  }

  .hd-title {
    font-size: 11px;
  }

  .hd-avatar {
    width: 22px;
    height: 22px;
  }

  .hd-store-nav {
    padding: 8px 12px;
  }

  .hd-store-logo {
    font-size: 12px;
  }

  .hd-cart-icon svg {
    width: 14px;
    height: 14px;
  }

  .hd-cart-badge {
    width: 13px;
    height: 13px;
    font-size: 8px;
    top: -4px;
    right: -6px;
  }

  .hd-store-body {
    padding: 10px 10px 14px;
  }

  .hd-categories {
    margin-bottom: 10px;
  }

  .hd-categories span {
    padding: 4px 10px;
    font-size: 10px;
  }

  .hd-categories span:nth-child(n+5) {
    display: none;
  }

  .hd-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .hd-product {
    border-radius: 8px;
  }

  .hd-product-img {
    height: 60px;
  }

  .hd-vial {
    width: 16px;
    height: 40px;
    border-radius: 4px 4px 3px 3px;
  }

  .hd-vial::before {
    width: 10px;
    height: 7px;
    top: -6px;
  }

  .hd-product-tag {
    font-size: 8px;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }

  .hd-product-info {
    padding: 8px;
  }

  .hd-product-name {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .hd-product-dose {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .hd-product-price {
    font-size: 11px;
  }

  .hd-add-btn {
    font-size: 9px;
    padding: 4px 8px;
  }
}
