/* ==========================================================================
   AA CAST AUTO - DEDICATED LANDING PAGE STYLES (SCOPED TO .aa-auto-page)
   ========================================================================== */

body.aa-auto-page {
  --aa-bg: #050b16;
  --aa-bg-elevated: rgba(12, 22, 42, 0.72);
  --aa-bg-card: rgba(14, 26, 50, 0.68);
  --aa-bg-card-hover: rgba(18, 34, 64, 0.86);
  --aa-border: rgba(56, 189, 248, 0.16);
  --aa-border-strong: rgba(56, 189, 248, 0.42);
  --aa-text: #f8fafc;
  --aa-text-soft: #cbd5e1;
  --aa-text-muted: #94a3b8;
  --aa-blue: #2563eb;
  --aa-cyan: #06b6d4;
  --aa-sky: #38bdf8;
  --aa-glow-blue: rgba(37, 99, 235, 0.34);
  --aa-glow-cyan: rgba(6, 182, 212, 0.28);
  --aa-shadow-card: 0 20px 50px rgba(2, 6, 23, 0.55);
  --aa-bezel-bg: linear-gradient(155deg, rgba(15, 29, 56, 0.92), rgba(5, 11, 22, 0.96));
  --aa-chip-bg: rgba(14, 165, 233, 0.1);
  --aa-chip-border: rgba(56, 189, 248, 0.28);

  background: var(--aa-bg);
  color: var(--aa-text);
  overflow-x: hidden;
}

body.aa-auto-page[data-theme="light"] {
  --aa-bg: #f3f7ff;
  --aa-bg-elevated: rgba(255, 255, 255, 0.88);
  --aa-bg-card: rgba(255, 255, 255, 0.92);
  --aa-bg-card-hover: #ffffff;
  --aa-border: rgba(37, 99, 235, 0.14);
  --aa-border-strong: rgba(2, 132, 199, 0.42);
  --aa-text: #0f172a;
  --aa-text-soft: #334155;
  --aa-text-muted: #475569;
  --aa-blue: #1d4ed8;
  --aa-cyan: #0891b2;
  --aa-sky: #0284c7;
  --aa-glow-blue: rgba(37, 99, 235, 0.15);
  --aa-glow-cyan: rgba(6, 182, 212, 0.16);
  --aa-shadow-card: 0 18px 42px rgba(15, 23, 42, 0.08);
  --aa-bezel-bg: linear-gradient(155deg, #0f172a, #1e293b);
  --aa-chip-bg: rgba(14, 165, 233, 0.1);
  --aa-chip-border: rgba(2, 132, 199, 0.25);

  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 40%, #f0f9ff 100%) !important;
  color: var(--aa-text) !important;
}

/* Ambient Backdrop & Subtle Automotive Grid */
.aa-auto-page .aa-auto-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aa-auto-page .aa-auto-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.7;
  will-change: transform;
}

.aa-auto-page .aa-auto-orb-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, var(--aa-glow-blue) 0%, transparent 70%);
  animation: aa-orb-drift 16s ease-in-out infinite alternate;
}

.aa-auto-page .aa-auto-orb-2 {
  width: 520px;
  height: 520px;
  top: 220px;
  right: -140px;
  background: radial-gradient(circle, var(--aa-glow-cyan) 0%, transparent 70%);
  animation: aa-orb-drift 20s ease-in-out infinite alternate-reverse;
}

.aa-auto-page .aa-auto-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 100%);
}

body.aa-auto-page[data-theme="light"] .aa-auto-grid-overlay {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
}

/* Main Wrapper & Section Rhythm */
.aa-auto-main {
  position: relative;
  z-index: 1;
  width: 100%;
}

.aa-auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.aa-auto-section {
  padding: 4.5rem 0;
  position: relative;
}

.aa-auto-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.aa-auto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  background: var(--aa-chip-bg);
  border: 1px solid var(--aa-chip-border);
  color: var(--aa-sky);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.aa-auto-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.9);
}

.aa-auto-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--aa-text);
  margin-bottom: 0.9rem;
}

.aa-auto-section-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--aa-text-soft);
}

/* Brand Logo Override for Header & Drawer */
.aa-auto-brand-logo {
  background: transparent;
  border-color: rgba(56, 189, 248, 0.35);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.aa-auto-hero {
  padding: 3.75rem 0 4.25rem;
}

.aa-auto-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 3rem;
  align-items: center;
}

.aa-auto-hero-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.aa-auto-hero-logo-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.7), rgba(37, 99, 235, 0.7));
  box-shadow: 0 14px 34px rgba(6, 182, 212, 0.32), 0 0 28px rgba(37, 99, 235, 0.25);
  animation: aa-logo-float 4.5s ease-in-out infinite;
  flex-shrink: 0;
}

.aa-auto-hero-logo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.aa-auto-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.aa-auto-page[data-theme="light"] .aa-auto-hero-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(2, 132, 199, 0.32);
  color: #0369a1;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
}

.aa-auto-hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  background: linear-gradient(120deg, #ffffff 10%, #7dd3fc 52%, #22d3ee 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.aa-auto-page[data-theme="light"] .aa-auto-hero-title {
  background: linear-gradient(120deg, #0f172a 10%, #1d4ed8 55%, #0891b2 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aa-auto-hero-subtitle {
  font-size: clamp(1.25rem, 2.3vw, 1.72rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--aa-text);
  margin-bottom: 1.15rem;
}

.aa-auto-hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--aa-text-soft);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.aa-auto-hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.aa-auto-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.85rem;
  border-radius: 12px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aa-text);
}

.aa-auto-highlight-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(6, 182, 212, 0.16);
  color: var(--aa-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aa-auto-hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Primary & Secondary CTA Buttons */
.aa-auto-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 52%, #06b6d4 100%);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.38), 0 0 24px rgba(6, 182, 212, 0.28);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
  text-decoration: none;
}

.aa-auto-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.48), 0 0 34px rgba(6, 182, 212, 0.42);
  filter: brightness(1.06);
  color: #ffffff !important;
}

.aa-auto-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.aa-auto-btn-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.aa-auto-btn-primary:hover .aa-auto-btn-arrow {
  transform: translateX(4px);
}

.aa-auto-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.45rem;
  border-radius: 14px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--aa-text) !important;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.aa-auto-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--aa-sky);
  background: var(--aa-bg-card-hover);
}

.aa-auto-btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.aa-auto-hero-sublink-row {
  margin-top: 0.95rem;
}

.aa-auto-link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aa-sky);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.aa-auto-link-subtle:hover {
  color: #22d3ee;
  gap: 0.6rem;
}

/* Hero Visual Stage (3:4 Portrait Showcase) */
.aa-auto-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.aa-auto-stage-glow {
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 45%, rgba(6, 182, 212, 0.34), rgba(37, 99, 235, 0.24) 45%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.aa-auto-device-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 396px;
  padding: 0.75rem;
  border-radius: 26px;
  background: var(--aa-bezel-bg);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 24px 60px rgba(2, 6, 23, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 42px rgba(6, 182, 212, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.aa-auto-device-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(2, 6, 23, 0.72),
    0 0 54px rgba(6, 182, 212, 0.3);
}

.aa-auto-device-screen {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #040812;
}

.aa-auto-device-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.aa-auto-stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.45rem 0.2rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
}

.aa-auto-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7dd3fc;
}

.aa-auto-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
  animation: aa-pulse-dot 2s ease-in-out infinite;
}

/* ==========================================================================
   SECTION 2: 5 FEATURE CARDS (2 + 3 BENTO GRID)
   ========================================================================== */
.aa-auto-features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
}

.aa-auto-feature-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--aa-shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, background 0.28s ease;
  overflow: hidden;
}

.aa-auto-feature-card.is-featured {
  grid-column: span 3;
  background: linear-gradient(155deg, rgba(20, 38, 72, 0.82), rgba(10, 20, 40, 0.85));
  border-color: rgba(56, 189, 248, 0.26);
}

body.aa-auto-page[data-theme="light"] .aa-auto-feature-card.is-featured {
  background: linear-gradient(155deg, #ffffff, #eff6ff);
  border-color: rgba(37, 99, 235, 0.24);
}

.aa-auto-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--aa-border-strong);
  background: var(--aa-bg-card-hover);
}

.aa-auto-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.aa-auto-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(6, 182, 212, 0.24));
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.16);
}

body.aa-auto-page[data-theme="light"] .aa-auto-feature-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.14));
  color: #0284c7;
}

.aa-auto-feature-index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--aa-sky);
  opacity: 0.85;
}

.aa-auto-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--aa-text);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.aa-auto-feature-card p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--aa-text-soft);
}

/* ==========================================================================
   SECTION 3: SPLIT SCREEN EXPERIENCE (ALTERNATING ZIG-ZAG)
   ========================================================================== */
.aa-auto-split-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.aa-auto-split-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.75rem;
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--aa-shadow-card);
}

.aa-auto-split-row.is-reversed .aa-auto-split-media {
  order: 2;
}

.aa-auto-split-row.is-reversed .aa-auto-split-body {
  order: 1;
}

.aa-auto-split-media {
  display: flex;
  justify-content: center;
}

.aa-auto-media-card {
  position: relative;
  width: 100%;
  max-width: 368px;
  padding: 0.65rem;
  border-radius: 22px;
  background: var(--aa-bezel-bg);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.55), 0 0 36px rgba(37, 99, 235, 0.22);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aa-auto-media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.62), 0 0 44px rgba(6, 182, 212, 0.32);
}

.aa-auto-media-frame {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: #040812;
}

.aa-auto-media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.aa-auto-split-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aa-sky);
  margin-bottom: 0.65rem;
}

.aa-auto-split-body h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--aa-text);
  margin-bottom: 0.85rem;
}

.aa-auto-split-body p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--aa-text-soft);
  margin-bottom: 1.25rem;
}

.aa-auto-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.aa-auto-tag {
  padding: 0.38rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aa-sky);
  background: var(--aa-chip-bg);
  border: 1px solid var(--aa-chip-border);
}

/* ==========================================================================
   SECTION 4: PHONE APPS SPOTLIGHT (DISTINCT LAYOUT)
   ========================================================================== */
.aa-auto-apps-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(16, 33, 65, 0.86), rgba(8, 16, 34, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body.aa-auto-page[data-theme="light"] .aa-auto-apps-panel {
  background: linear-gradient(145deg, #ffffff, #e0f2fe 130%);
  border-color: rgba(2, 132, 199, 0.24);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.aa-auto-apps-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.aa-auto-apps-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

body.aa-auto-page[data-theme="light"] .aa-auto-apps-point {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(37, 99, 235, 0.14);
}

.aa-auto-apps-point-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--aa-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aa-auto-apps-point strong {
  display: block;
  font-size: 0.96rem;
  color: var(--aa-text);
  margin-bottom: 0.2rem;
}

.aa-auto-apps-point span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--aa-text-muted);
}

/* ==========================================================================
   SECTION 5: COMPATIBILITY (2 LARGE CARDS)
   ========================================================================== */
.aa-auto-compat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.aa-auto-compat-card {
  padding: 2.15rem;
  border-radius: 22px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--aa-shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aa-auto-compat-card:hover {
  transform: translateY(-4px);
  border-color: var(--aa-border-strong);
}

.aa-auto-compat-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(6, 182, 212, 0.24));
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: var(--aa-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aa-auto-compat-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--aa-text);
}

.aa-auto-compat-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--aa-text-soft);
}

/* ==========================================================================
   SECTION 6: REAL EXPERIENCE GALLERY
   ========================================================================== */
.aa-auto-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.aa-auto-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  padding: 0.65rem;
  border-radius: 20px;
  background: var(--aa-bg-card);
  border: 1px solid var(--aa-border);
  box-shadow: var(--aa-shadow-card);
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.aa-auto-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--aa-border-strong);
}

.aa-auto-gallery-card:focus-visible {
  outline: 2px solid var(--aa-sky);
  outline-offset: 3px;
}

.aa-auto-gallery-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #040812;
}

.aa-auto-gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.aa-auto-gallery-card:hover .aa-auto-gallery-thumb img {
  transform: scale(1.04);
}

.aa-auto-gallery-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(5, 11, 22, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.35);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.aa-auto-gallery-card:hover .aa-auto-gallery-zoom {
  opacity: 1;
  transform: scale(1.06);
  background: rgba(2, 132, 199, 0.9);
}

.aa-auto-gallery-caption {
  padding: 0.85rem 0.35rem 0.35rem;
}

.aa-auto-gallery-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aa-text);
  margin-bottom: 0.22rem;
}

.aa-auto-gallery-caption span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--aa-text-muted);
}

/* ==========================================================================
   SECTION 7: FINAL CTA BANNER
   ========================================================================== */
.aa-auto-cta-section {
  padding: 3rem 0 5.5rem;
}

.aa-auto-cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b1b3a 0%, #0d2b5c 48%, #0a3b5c 100%);
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.6), 0 0 60px rgba(6, 182, 212, 0.2);
}

body.aa-auto-page[data-theme="light"] .aa-auto-cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 52%, #0891b2 100%);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 24px 56px rgba(29, 78, 216, 0.24);
}

.aa-auto-cta-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.aa-auto-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.aa-auto-cta-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.aa-auto-cta-banner h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.aa-auto-cta-banner p {
  font-size: 1.03rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.85rem;
}

.aa-auto-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.aa-auto-cta-banner .aa-auto-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.aa-auto-cta-banner .aa-auto-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

.aa-auto-safety-note {
  margin-top: 1.5rem;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  color: #cbd5e1 !important;
  opacity: 0.92;
}

body.aa-auto-page:not([data-theme="light"]) .public-footer .footer-brand p,
body.aa-auto-page:not([data-theme="light"]) .public-footer .footer-links a {
  color: #94a3b8;
}

body.aa-auto-page:not([data-theme="light"]) .public-footer .footer-links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.aa-auto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.aa-auto-lightbox[hidden] {
  display: none;
}

.aa-auto-lightbox.is-open {
  opacity: 1;
}

.aa-auto-lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.aa-auto-lightbox-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.aa-auto-lightbox-counter {
  padding: 0.32rem 0.78rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.aa-auto-lightbox-close,
.aa-auto-lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aa-auto-lightbox-close:hover,
.aa-auto-lightbox-nav:hover {
  background: rgba(2, 132, 199, 0.9);
  border-color: rgba(125, 211, 252, 0.7);
}

.aa-auto-lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.aa-auto-lightbox-figure {
  margin: 0;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: #040812;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.aa-auto-lightbox-figure img {
  max-height: 75vh;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.aa-auto-lightbox-caption {
  text-align: center;
  color: #f1f5f9;
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 560px;
}

/* ==========================================================================
   SCROLL REVEAL & MOTION
   ========================================================================== */
html.aa-js-ready .aa-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

html.aa-js-ready .aa-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes aa-orb-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(28px, 18px, 0) scale(1.06);
  }
}

@keyframes aa-pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .aa-auto-orb-1,
  .aa-auto-orb-2,
  .aa-auto-hero-logo-wrap,
  .aa-auto-live-dot {
    animation: none !important;
  }
  html.aa-js-ready .aa-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .aa-auto-btn-primary,
  .aa-auto-btn-secondary,
  .aa-auto-btn-arrow,
  .aa-auto-feature-card,
  .aa-auto-compat-card,
  .aa-auto-gallery-card,
  .aa-auto-gallery-thumb img,
  .aa-auto-device-frame,
  .aa-auto-media-card {
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px, 768px, 390px, 375px)
   ========================================================================== */
@media (max-width: 1024px) {
  .aa-auto-hero-grid,
  .aa-auto-split-row,
  .aa-auto-apps-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .aa-auto-split-row.is-reversed .aa-auto-split-media,
  .aa-auto-split-row.is-reversed .aa-auto-split-body {
    order: initial;
  }
  .aa-auto-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aa-auto-feature-card,
  .aa-auto-feature-card.is-featured {
    grid-column: span 1;
  }
  .aa-auto-feature-card:last-child {
    grid-column: 1 / -1;
  }
  .aa-auto-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .aa-auto-container {
    padding: 0 1rem;
  }
  .aa-auto-hero {
    padding: 2.25rem 0 2.75rem;
  }
  .aa-auto-section {
    padding: 3rem 0;
  }
  .aa-auto-section-head {
    margin-bottom: 2rem;
  }
  .aa-auto-hero-highlights,
  .aa-auto-features-grid,
  .aa-auto-compat-grid {
    grid-template-columns: 1fr;
  }
  .aa-auto-feature-card:last-child {
    grid-column: auto;
  }
  .aa-auto-split-row,
  .aa-auto-apps-panel {
    padding: 1.35rem;
    border-radius: 20px;
  }
  .aa-auto-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .aa-auto-btn-primary,
  .aa-auto-btn-secondary {
    width: 100%;
    text-align: center;
  }
  .aa-auto-cta-banner {
    padding: 2.4rem 1.25rem;
    border-radius: 22px;
  }
  .aa-auto-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .aa-auto-lightbox-stage {
    gap: 0.4rem;
  }
  .aa-auto-lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  .aa-auto-gallery-grid {
    grid-template-columns: 1fr;
  }
  .aa-auto-hero-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .aa-auto-hero-logo {
    border-radius: 12px;
  }
  .aa-auto-device-frame {
    max-width: 330px;
  }
}
