/* ========================================
   CuentasGestión — Product Showcase
   SmartTribe 2026
   ======================================== */

:root {
  --primary: #00A746;
  --primary-light: #00d15a;
  --primary-dark: #007F36;
  --primary-glow: rgba(0, 167, 70, 0.2);

  --bg: #06060a;
  --bg-secondary: #0c0c14;
  --bg-tertiary: #12121e;
  --bg-card: rgba(255, 255, 255, 0.03);

  --text: #f0f0f5;
  --text-secondary: #8b8b9a;
  --text-muted: #555566;

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* UTILITY */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  border: 1px solid rgba(0, 167, 70, 0.3);
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #000;
}
.btn--primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 30px var(--primary-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  border: 1px solid var(--border-hover);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline {
  border: 2px solid var(--border-hover);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  color: var(--primary);
}
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ======== NAV ======== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  height: 28px;
  filter: brightness(0) invert(1);
}
.nav__logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all var(--transition);
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 167, 70, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0, 167, 70, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  border: 1px solid rgba(0, 167, 70, 0.3);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Mockup (simplified) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__mockup {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s ease;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.hero__mockup:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}
.hero__mockup-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

/* Hero Mockup - Replica real de CuentasGestion */
.hero__mockup-body {
  display: flex;
  flex-direction: column;
  height: 340px;
}
.hm-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  min-height: 32px;
}
.hm-appbar-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.hm-appbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-version {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.7);
  padding: 1px 5px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
}
.hm-bell-icon {
  position: relative;
}
.hm-bell-icon svg {
  width: 12px;
  height: 12px;
  color: rgba(255,255,255,0.9);
}
.hm-bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 5px;
  height: 5px;
  background: #ef4444;
  border-radius: 50%;
}
.hm-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.hm-sidebar {
  width: 36px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 6px;
  border-right: 1px solid var(--border);
}
.hm-side-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.5;
}
.hm-side-icon svg {
  width: 13px;
  height: 13px;
  color: #fff;
}
.hm-side-active {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}
.hm-side-logout {
  margin-top: auto;
}
.hm-main {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.hm-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.hm-greeting span {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hm-select-box {
  width: 50px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.hm-section-label {
  height: 6px;
  width: 70px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  border-left: 2px solid var(--primary);
  margin-top: 4px;
}
.hm-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hm-btn {
  width: 72px;
  height: 24px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--primary) 80%, white 20%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* ======== STATS ======== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.stats__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat__symbol {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat__icon {
  color: var(--primary);
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
}

/* ======== FEATURES ======== */
.features {
  padding: 100px 0;
}
.features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 167, 70, 0.1);
  margin-bottom: 20px;
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======== DEMO (Interactive) ======== */
.demo {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.demo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.demo__content {
  max-width: 960px;
  margin: 0 auto;
}

/* Browser frame */
.demo-browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* App Mockup - Replica fiel de CuentasGestión */
.mockup {
  --accent: #00A746;
  --accent-dark: #007F36;
  --mk-bg: #d0d0d9;
  --mk-sidebar-bg: color-mix(in srgb, var(--accent) 40%, #000 60%);
  --mk-text: #343A40;
  --mk-text2: #666;
  --mk-border: #9f9f9f;
  --mk-btn-bg: color-mix(in srgb, var(--accent) 80%, white 20%);
  --mk-btn-hover: color-mix(in srgb, var(--accent) 80%, black 20%);
  --mk-section-bg: transparent;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  background: var(--mk-bg);
  transition: all 0.5s ease;
}
.mockup.light {
  --mk-bg: #d0d0d9;
  --mk-text: #343A40;
  --mk-text2: #666;
  --mk-border: #9f9f9f;
}
.mockup.dark-mode {
  --mk-bg: #0a0a0c;
  --mk-sidebar-bg: color-mix(in srgb, var(--accent) 30%, #000 70%);
  --mk-text: #ffffff;
  --mk-text2: #aaa;
  --mk-border: #3a3a46;
  --mk-section-bg: #111214;
}

/* Appbar (header verde con gradiente) */
.mockup-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  min-height: 38px;
  position: relative;
  z-index: 2;
  transition: background 0.5s ease;
}
.mockup-appbar-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.mockup-appbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-version {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-weight: 600;
}
.mockup-bell {
  position: relative;
  cursor: default;
}
.mockup-bell svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.9);
}
.mockup-bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: bellPulse 2s ease-in-out infinite;
}
@keyframes bellPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Layout: sidebar + main */
.mockup-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar estrecha con iconos */
.mockup-sidebar {
  width: 50px;
  background: var(--mk-sidebar-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 6px;
  box-shadow: 2px 0 8px rgba(0,0,0,0.18);
  z-index: 1;
  transition: background 0.5s ease;
}
.mockup-side-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: default;
}
.mockup-side-icon svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}
.mockup-side-icon:hover svg {
  color: #fff;
}
.mockup-side-icon:hover {
  background: rgba(255,255,255,0.1);
}
.mockup-side-active {
  background: rgba(255,255,255,0.12);
}
.mockup-side-active svg {
  color: #fff;
}
.mockup-side-logout {
  margin-top: auto;
}

/* Main content */
.mockup-main {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.5s ease;
}

/* Greeting + system selector */
.mockup-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mockup-greeting-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mk-text);
  transition: color 0.5s ease;
}
.mockup-sys-select {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1.5px solid var(--mk-border);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--mk-text);
  background: rgba(255,255,255,0.5);
  transition: all 0.5s ease;
}
.mockup.dark-mode .mockup-sys-select {
  background: rgba(255,255,255,0.05);
}
.mockup-sys-select svg {
  color: var(--mk-text2);
}

/* Sections */
.mockup-section {
  margin-bottom: 10px;
}
.mockup-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--mk-text2);
  margin-bottom: 8px;
  transition: color 0.5s ease;
}
.mockup-section-bar {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
  transition: background 0.5s ease;
}

/* Button cards (replican los botones verdes reales) */
.mockup-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mockup-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  min-width: 110px;
  background: var(--mk-btn-bg);
  color: #fff;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  cursor: default;
}
.mockup-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
  flex-shrink: 0;
}
.mockup-btn:hover {
  background: var(--mk-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.18);
}

/* Demo Controls */
.demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.control-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.color-swatches {
  display: flex;
  gap: 10px;
}
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sw);
  border: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.swatch:hover {
  transform: scale(1.15);
}
.swatch.active {
  border-color: var(--sw);
  box-shadow: 0 0 0 3px var(--bg-secondary), 0 0 20px rgba(0, 167, 70, 0.3);
}
.swatch.active::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
}
.mode-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.mode-btn {
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.mode-btn.active {
  background: var(--primary);
  color: #000;
}

/* ======== DETAILS ======== */
.details {
  padding: 100px 0;
}
.details__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail--reverse { direction: rtl; }
.detail--reverse > * { direction: ltr; }

.detail__content {
  display: flex;
  flex-direction: column;
}
.detail__content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.detail__content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.detail__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.detail__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Detail Mockups */
.detail-mock {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}
.dm-title {
  font-size: 0.85rem;
  font-weight: 700;
}
.dm-badge {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 167, 70, 0.15);
  color: var(--primary);
  font-weight: 600;
}
.dm-count {
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.dm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.dm-total {
  font-weight: 700;
  color: var(--text);
  background: rgba(0, 167, 70, 0.05);
}
.dm-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.dm-actions {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
}
.dm-btn {
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}
.dm-btn--primary {
  background: var(--primary);
  color: #000;
}
.dm-btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Stock mockup */
.stock-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.stock-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.stock-info {
  flex: 1;
}
.stock-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}
.stock-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.stock-qty {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.stock-ok { background: rgba(0, 167, 70, 0.12); color: #00d15a; }
.stock-warn { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.stock-danger { background: rgba(239, 68, 68, 0.12); color: #f87171; }

/* Reports mockup */
.report-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.report-head {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.report-amt {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.report-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(0, 167, 70, 0.05);
}

/* ======== PLANS ======== */
.plans {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.plans__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.plan-card--featured {
  border-color: var(--primary);
  background: rgba(0, 167, 70, 0.03);
  box-shadow: 0 0 60px rgba(0, 167, 70, 0.08);
}
.plan-card--featured:hover {
  border-color: var(--primary-light);
}
.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  color: #000;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-card__header {
  margin-bottom: 28px;
}
.plan-card__header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.plan-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.plan-card__features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ======== CTA ======== */
.cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 167, 70, 0.06), transparent 70%);
  pointer-events: none;
}
.cta__container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.cta__container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.cta__container p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======== FOOTER ======== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.footer__logo {
  height: 24px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}
.footer__links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}
.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--primary); }
.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mockup-btn {
    min-width: 90px;
    padding: 6px 10px;
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 10, 0.96);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav__cta.open {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 120px);
    left: 24px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero__sub { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__mockup {
    transform: perspective(1200px) rotateY(0deg) rotateX(4deg);
    max-width: 400px;
    margin: 0 auto;
  }
  .hero__mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(2deg);
  }

  .stats__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail--reverse { direction: ltr; }

  .mockup-sidebar { width: 40px; }
  .mockup-side-icon svg { width: 14px; height: 14px; }
  .mockup-btn { min-width: 80px; font-size: 0.55rem; padding: 6px 8px; }
  .mockup-btn svg { width: 11px; height: 11px; }
  .mockup-appbar-title { font-size: 0.7rem; }

  .demo-controls {
    flex-direction: column;
    gap: 24px;
  }

  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
  .hero__content h1 {
    font-size: 2.2rem;
  }
  .mockup-btn { min-width: 70px; }
  .hero__mockup-body {
    height: 280px;
  }
}
