/* ==========================================================================
   AMPLEMARKET DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Core Palette */
  --am--primary-dark: #111111;
  --am--primary-dark-transparent: rgba(17, 17, 17, 0.6);
  --am--secondary-dark: #272625;
  --am--neutral-dark-02: #363432;
  --am--neutral-dark-03: #494846;
  --am--primary-light: #fbfaf9;
  --am--secondary-light: #f4f2ef;
  --am--secondary-white: #ffffff;
  --am--secondary-white-transparent: rgba(255, 255, 255, 0.65);
  --am--border-white: rgba(255, 255, 255, 0.12);
  --am--border-dark: rgba(17, 17, 17, 0.08);

  /* Gradients & Accents */
  --am--complementary--phoenix-orange: #e8400d;
  --am--gradients--peach: #ffeed8;
  --am--gradients--beige: #ffe3c9;
  --am--gradients--violet: #d0b2ff;
  --am--complementary--midnight-indigo: #0b0c16;

  /* Card Colors */
  --card-yellow: #fff3c4;
  --card-green: #d4f7dc;
  --card-pink: #ffdce8;
  --card-violet: #e8dbff;
  --card-blue: #d9ecff;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout */
  --container-max: 1280px;
  --container-small: 1040px;
  --transition-smooth: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--am--primary-light);
  color: var(--am--primary-dark);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: rgba(208, 178, 255, 0.8);
  color: var(--am--primary-dark);
}

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

button, input {
  font-family: inherit;
  border: none;
  outline: none;
}

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

/* ==========================================================================
   TYPOGRAPHY & SPECIAL GLYPHS
   ========================================================================== */

.am-heading-56 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.am-heading-44 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.am-heading-36 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.am-heading-28 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.am-heading-24 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.am-heading-20 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.am-heading-16 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.am-paragraph-20 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
}

.am-paragraph-16 {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.am-paragraph-14 {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Typographic Alternate ligature quirk */
.am-alternate {
  font-style: italic;
  font-family: 'Newsreader', 'Times New Roman', serif;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-0.03em);
  padding: 0 0.05em;
  opacity: 0.9;
}

.am-text-align-center { text-align: center; }
.am-opacity-80 { opacity: 0.8; }
.am-opacity-60 { opacity: 0.6; }
.am-opacity-40 { opacity: 0.4; }
.am-is-white { color: var(--am--secondary-white) !important; }

/* Text Gradient */
.am-text-gradient {
  background: linear-gradient(135deg, #e8400d 0%, #d0b2ff 50%, #e8400d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.am-page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.am-section {
  position: relative;
  width: 100%;
  padding: 5rem 1.5rem;
}

.am-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.am-container.am-is-small {
  max-width: var(--container-small);
}

.am-container.am-is-smaller {
  max-width: 900px;
}

.am-is-black-bg {
  background-color: var(--am--primary-dark);
  color: var(--am--secondary-white);
  transition: background-color 0.4s ease;
}

.am-is-white-bg {
  background-color: #ffffff;
}

.am-padding-168-top { padding-top: 10.5rem; }
.am-padding-144 { padding-top: 7rem; padding-bottom: 7rem; }
.am-padding-100 { padding-top: 5rem; padding-bottom: 5rem; }
.am-no-padding-bottom { padding-bottom: 0 !important; }
.am-no-padding-top { padding-top: 0 !important; }

/* Progressive Blur Layer */
.am-progressive-blur-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  pointer-events: none;
  z-index: 900;
  background: linear-gradient(to bottom, rgba(251, 250, 249, 0.9) 0%, rgba(251, 250, 249, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.am-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background-color: var(--am--primary-dark);
  color: var(--am--secondary-white);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.am-nav-btn:hover {
  transform: translateY(-1px);
  background-color: #2a2a2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.am-nav-btn:active {
  transform: translateY(0);
}

.am-nav-btn.is-secondary {
  background-color: transparent;
  color: var(--am--primary-dark);
  border: 1px solid var(--am--border-dark);
}

.am-nav-btn.is-secondary:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.am-nav-btn.is-light {
  background-color: var(--am--secondary-white);
  color: var(--am--primary-dark);
}

.am-nav-btn.is-light:hover {
  background-color: #f0ede8;
}

.am-nav-btn-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.am-nav-btn-rocket {
  position: absolute;
  right: -1rem;
  top: -0.5rem;
  font-size: 1.15rem;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: var(--transition-bounce);
  pointer-events: none;
}

.am-nav-btn-wrapper:hover .am-nav-btn-rocket {
  opacity: 1;
  transform: translate3d(0.5rem, -0.4rem, 0) scale(1.15);
}

/* Feature Badge & Pill */
.am-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: 999px;
  background-color: rgba(17, 17, 17, 0.05);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  border: 1px solid var(--am--border-dark);
  margin-bottom: 1.25rem;
}

.am-featured-link:hover {
  background-color: rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.am-featured-link.is-dark {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--am--border-white);
  color: var(--am--secondary-white);
}

.am-new-label {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: var(--am--primary-dark);
  color: var(--am--secondary-white);
}

.am-new-label.is-dark {
  background: radial-gradient(144% 209% at -15% -29%, #e8400d 0%, #ffe3c9 49%, #d0b2ff 100%);
  color: #111;
  box-shadow: 0 0 12px rgba(232, 64, 13, 0.3);
  position: relative;
  overflow: hidden;
}

.am-grain-button {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.18"/></svg>');
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ==========================================================================
   NAVIGATION & ADAPTIVE NAVBAR
   ========================================================================== */

.am-navbar {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  pointer-events: none;
}

.am-nav-content-wrapper {
  pointer-events: auto;
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.am-nav-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: rgba(251, 250, 249, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.875rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.am-nav-content.is-minified {
  max-width: 840px;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Navbar Dark Mode State */
[data-color-mode="dark"] .am-nav-content {
  background: rgba(39, 38, 37, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

[data-color-mode="dark"] .am-logo-img.is-dark { display: none; }
[data-color-mode="dark"] .am-logo-img.is-white { display: block; }
[data-color-mode="light"] .am-logo-img.is-white { display: none; }
[data-color-mode="light"] .am-logo-img.is-dark { display: block; }

[data-color-mode="dark"] .am-nav-link {
  color: var(--am--secondary-white);
}

[data-color-mode="dark"] .am-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

[data-color-mode="dark"] .am-nav-btn:not(.is-secondary) {
  background-color: var(--am--secondary-white);
  color: var(--am--primary-dark);
}

[data-color-mode="dark"] .am-nav-btn.is-secondary {
  color: var(--am--secondary-white);
  border-color: var(--am--border-white);
  background-color: rgba(255, 255, 255, 0.05);
}

[data-color-mode="dark"] .am-nav-dropdown-arrow svg {
  fill: var(--am--secondary-white);
}

.am-nav-content-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.am-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.am-logo-svg {
  height: 24px;
  width: auto;
}

.am-nav-content-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.am-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--am--primary-dark);
  border-radius: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.am-nav-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.am-nav-dropdown-arrow {
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.am-nav-dropdown:hover .am-nav-dropdown-arrow {
  transform: rotate(180deg);
}

.am-nav-content-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   MEGA DROPDOWN MENUS
   ========================================================================== */

.am-nav-dropdown {
  position: relative;
}

.am-nav-dropdown-wrapper {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
}

.am-nav-dropdown:hover .am-nav-dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.am-nav-dropdown-content {
  background: rgba(251, 250, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.875rem;
  padding: 0.85rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 0.75rem;
  min-width: 580px;
}

[data-color-mode="dark"] .am-nav-dropdown-content {
  background: rgba(39, 38, 37, 0.95);
  border-color: var(--am--border-white);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.am-nav-dropdown-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 240px;
  border-right: 1px solid var(--am--border-dark);
  padding-right: 0.5rem;
}

[data-color-mode="dark"] .am-nav-dropdown-left {
  border-right-color: var(--am--border-white);
}

.am-nav-dropdown-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.am-nav-dropdown-right-content {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.am-nav-dropdown-right-content.is-active {
  display: flex;
}

.am-nav-link.is-dropdown {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.am-nav-link.is-dropdown.is-selected {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-color-mode="dark"] .am-nav-link.is-dropdown.is-selected {
  background-color: rgba(255, 255, 255, 0.08);
}

.am-nav-link-description {
  font-size: 0.75rem;
  color: var(--am--primary-dark-transparent);
  font-weight: 400;
  margin-top: 0.1rem;
}

[data-color-mode="dark"] .am-nav-link-description {
  color: var(--am--secondary-white-transparent);
}

/* Context Menu */
.am-context-menu {
  position: fixed;
  display: none;
  background: rgba(251, 250, 249, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.65rem;
  padding: 0.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  min-width: 200px;
}

.am-context-clipboard-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--am--primary-dark);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2100;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.am-home-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.am-home-hero-content-top {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.am-home-hero-heading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form Styles */
.am-form-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 0.65rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.am-form-wrapper:focus-within {
  border-color: var(--am--primary-dark);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.am-form-email {
  flex: 1;
  font-size: 0.95rem;
  background: transparent;
  color: var(--am--primary-dark);
}

.am-form-email::placeholder {
  color: rgba(17, 17, 17, 0.4);
}

.am-form-email.has-error {
  color: #e8400d;
}

.no-pea-message {
  display: none;
  font-size: 0.8125rem;
  color: #e8400d;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Hero Visual Canvas / Product Display */
.am-hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin-top: 3rem;
  border-radius: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.am-hero-visual-inner {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #0f1117;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-hero-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-hero-play-trigger {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.am-hero-play-trigger:hover {
  transform: scale(1.05);
  background: rgba(232, 64, 13, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.am-hero-play-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   SOCIAL PROOF & LOGOS MARQUEE
   ========================================================================== */

.am-social-proof-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.am-logos-stripe-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.am-logos-stripe {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marqueeLeft 30s linear infinite;
}

.am-logos-stripe:hover {
  animation-play-state: paused;
}

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

.am-logo-item {
  height: 32px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.am-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Pull Quote Testimonial */
.am-testimonial-card-banner {
  width: 100%;
  max-width: 820px;
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.am-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.am-testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.am-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================================================
   DUO AI SALES COPILOT SECTION (DARK IMMERSION)
   ========================================================================== */

.am-duo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.am-duo-hero-text {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Central Product Showcase with Floating Cards */
.am-duo-dashboard-container {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-bottom: 5rem;
}

.am-duo-main-screen {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--am--border-white);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  background: #18181b;
}

/* Floating Signal Cards */
.am-floating-signal-badge {
  position: absolute;
  background: rgba(39, 38, 37, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--am--border-white);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  animation: floatSlow 6s ease-in-out infinite;
  z-index: 10;
}

.am-floating-signal-badge.badge-1 {
  top: 15%;
  left: -2rem;
  animation-delay: 0s;
}

.am-floating-signal-badge.badge-2 {
  bottom: 20%;
  right: -2rem;
  animation-delay: 2s;
}

.am-floating-signal-badge.badge-3 {
  top: 60%;
  left: 5%;
  animation-delay: 4s;
}

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

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

/* Dual Direction Live Signal Ticker */
.am-duo-signals-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.am-signals-row {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.am-duo-signal-card {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  background: var(--am--secondary-dark);
  border: 1px solid var(--am--border-white);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--am--secondary-white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.am-duo-signal-card:hover {
  background-color: var(--am--neutral-dark-02);
  transform: scale(1.03);
}

/* ==========================================================================
   4 PRODUCT PILLARS BENTO GRID
   ========================================================================== */

.am-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 3rem;
}

.am-pillar-card {
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.am-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(17, 17, 17, 0.16);
}

.am-pillar-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.am-pillar-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(232, 64, 13, 0.1);
  color: #e8400d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.am-pillar-card-graphic {
  width: 100%;
  height: 220px;
  border-radius: 0.75rem;
  background: #f4f2ef;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   PERSONA SOLUTION SWITCHER TABS
   ========================================================================== */

.am-personas-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.am-persona-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 17, 17, 0.04);
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--am--border-dark);
  flex-wrap: wrap;
  justify-content: center;
}

.am-persona-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--am--primary-dark-transparent);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.am-persona-tab-btn.is-active {
  background: white;
  color: var(--am--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.am-persona-tab-pane {
  display: none;
  width: 100%;
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.am-persona-tab-pane.is-active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.am-persona-tab-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.am-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-left: 2px solid #e8400d;
  padding-left: 1rem;
}

/* ==========================================================================
   3D FLIPPABLE CUSTOMER STORIES (ROI CARDS)
   ========================================================================== */

.am-customer-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 3rem;
}

.am-3d-card-wrapper {
  perspective: 1000px;
  height: 260px;
}

.am-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.am-3d-card-wrapper:hover .am-card-inner {
  transform: rotateY(180deg);
}

.am-card-front, .am-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.am-card-front.is-yellow { background-color: var(--card-yellow); }
.am-card-front.is-green  { background-color: var(--card-green); }
.am-card-front.is-pink   { background-color: var(--card-pink); }
.am-card-front.is-violet { background-color: var(--card-violet); }
.am-card-front.is-blue   { background-color: var(--card-blue); }

.am-card-back {
  background-color: var(--am--primary-dark);
  color: white;
  transform: rotateY(180deg);
  justify-content: center;
  gap: 1rem;
}

.am-card-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.am-card-stat-label {
  font-size: 1.15rem;
  font-weight: 600;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */

.am-faq-container {
  max-width: 780px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.am-faq-item {
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.am-faq-item.is-open {
  border-color: rgba(17, 17, 17, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.am-faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.am-faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

.am-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--am--primary-dark-transparent);
}

.am-faq-item.is-open .am-faq-content {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   GLOBAL CALL TO ACTION BANNER
   ========================================================================== */

.am-cta-banner {
  background: var(--am--primary-dark);
  color: white;
  border-radius: 1.5rem;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
}

.am-cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 64, 13, 0.25) 0%, rgba(208, 178, 255, 0.1) 50%, transparent 70%);
  top: -200px;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.am-footer {
  background: var(--am--primary-light);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 5rem 1.5rem 2.5rem;
}

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

.am-footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.am-footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--am--primary-dark);
}

.am-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.am-footer-link {
  font-size: 0.9rem;
  color: var(--am--primary-dark-transparent);
  transition: var(--transition-smooth);
}

.am-footer-link:hover {
  color: var(--am--primary-dark);
  transform: translateX(2px);
}

.am-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 0.8125rem;
  color: var(--am--primary-dark-transparent);
}

/* ==========================================================================
   VIDEO DEMO MODAL
   ========================================================================== */

.am-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(20px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.am-video-modal.is-open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.am-video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  aspect-ratio: 16 / 9;
}

.am-modal-close-btn {
  position: absolute;
  top: -3rem;
  right: 0;
  color: white;
  font-size: 1.75rem;
  background: transparent;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 991px) {
  .am-nav-content-links { display: none; }
  .am-pillars-grid { grid-template-columns: 1fr; }
  .am-persona-tab-pane { grid-template-columns: 1fr; padding: 2rem; }
  .am-customer-stories-grid { grid-template-columns: repeat(2, 1fr); }
  .am-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .am-floating-signal-badge { display: none; }
}

@media (max-width: 640px) {
  .am-customer-stories-grid { grid-template-columns: 1fr; }
  .am-footer-grid { grid-template-columns: 1fr; }
  .am-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .am-form-wrapper { flex-direction: column; gap: 0.5rem; padding: 0.5rem; }
  .am-form-email { width: 100%; padding: 0.5rem; }
  .am-form-wrapper .am-nav-btn { width: 100%; }
}
