/* ==========================================================================
   THEAUTOPOST — PIXEL-PERFECT WARM CREATOR STUDIO SYSTEM
   Based on official design tokens:
   - Primary Accent: #FF5A1F (Dark: #E9470B, Glow: #FF8A3D, Light: #FFF0E7)
   - Canvas: #FFFDF9 (Warm Surface: #FFFAF5, Border: #F0E3D9)
   - Typography: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root {
  /* Official Design Tokens */
  --orange: #FF5A1F;
  --orange-dark: #E9470B;
  --orange-light: #FFF0E7;
  --orange-glow: #FF8A3D;
  --cream: #FFFDF9;
  --white: #FFFFFF;
  --navy: #101B2B;
  --navy-soft: #243247;
  --text: #344256;
  --muted: #6B7788;
  --border: #F0E3D9;
  --surface-warm: #FFFAF5;
  --green: #17A66A;
  --blue: #2878FF;
  --purple: #7757E8;

  /* Aliases */
  --tap-bg: var(--cream);
  --tap-bg-card: var(--white);
  --tap-bg-soft: var(--surface-warm);
  --tap-border: var(--border);
  --tap-border-soft: #F5EAE1;
  --tap-orange: var(--orange);
  --tap-orange-deep: var(--orange-dark);
  --tap-orange-glow: rgba(255, 90, 31, 0.25);
  --tap-orange-light: var(--orange-light);
  --tap-text: var(--navy);
  --tap-text-muted: var(--muted);
  --tap-font: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tap-font-cursive: 'Caveat', cursive, sans-serif;

  /* Elevation Shadows */
  --shadow-card: 0 12px 36px rgba(16, 27, 43, 0.07);
  --shadow-orange: 0 12px 28px rgba(255, 90, 31, 0.22);
  --shadow-float: 0 20px 60px rgba(38, 28, 18, 0.14);
  --shadow-window: 0 25px 70px rgba(16, 27, 43, 0.12);

  /* Geometry */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --max-width: 1280px;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--tap-font);
  background-color: var(--tap-bg);
  color: var(--tap-text);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--tap-bg);
  color: var(--tap-text);
  overflow-x: hidden;
}

/* React Suppression when landing is active */
body.theautopost-landing-active #root {
  display: none !important;
}

#theautopost-landing-layer {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at 76% 25%, #FFE7D4 0%, transparent 48%),
              radial-gradient(ellipse at 15% 70%, #FFF0E5 0%, transparent 40%),
              linear-gradient(110deg, #FFFDF9 0%, #FFF9F2 100%);
  overflow-x: hidden;
}

/* Ambient Flares */
.tap-ambient-flare {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
}

.tap-flare-top-right {
  top: -80px;
  right: -80px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.14) 0%, rgba(255, 138, 61, 0.05) 50%, transparent 70%);
}

.tap-flare-left {
  top: 450px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 226, 202, 0.45) 0%, transparent 70%);
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.tap-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tap-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.tap-nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tap-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.tap-brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.tap-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tap-nav-link {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.18s ease;
}

.tap-nav-link:hover {
  color: var(--tap-orange);
}

.tap-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tap-btn-signin {
  background: var(--white);
  border: 1px solid var(--tap-border);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 750;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tap-btn-signin:hover {
  background: var(--tap-bg-soft);
  border-color: #E2D3C7;
}

.tap-btn-getstarted {
  background: var(--tap-orange);
  border: none;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 750;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tap-btn-getstarted:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 90, 31, 0.32);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.tap-hero-section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  z-index: 10;
}

.tap-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.tap-badge-peach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  border: 1px solid #FFD7C3;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.tap-hero-title {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.01;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px 0;
}

.tap-hero-title .highlight-orange {
  color: var(--tap-orange);
  display: inline-block;
}

.tap-hero-subtitle {
  max-width: 530px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 28px 0;
  font-weight: 450;
}

.tap-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  position: relative;
}

.tap-btn-hero-start {
  background: var(--tap-orange);
  color: #FFFFFF;
  border: none;
  font-size: 14.5px;
  font-weight: 750;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tap-btn-hero-start:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 90, 31, 0.35);
}

.tap-btn-watch-demo {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--tap-border);
  font-size: 14.5px;
  font-weight: 750;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tap-btn-watch-demo:hover {
  background: var(--tap-bg-soft);
  border-color: #E2D3C7;
}

/* Handwritten Cursive Note beside Watch Demo */
.tap-see-how {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tap-font-cursive);
  font-size: 18px;
  font-weight: 700;
  color: var(--tap-orange);
  transform: rotate(-3deg);
  margin-left: 6px;
}

.tap-see-how svg {
  color: var(--tap-orange);
  stroke: var(--tap-orange);
}

/* 4 Trust Ribbon Micro-features */
.tap-trust-ribbon {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.tap-trust-col {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.tap-trust-col img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ==========================================================================
   HERO ART: 3D ROBOT AT CREATOR DESK + CONNECTED PIPELINE CARDS
   ========================================================================== */
.tap-hero-robot-scene {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tap-scene-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Google Drive Stack on Left */
.tap-drive-stack-card {
  position: absolute;
  left: 0;
  top: 48px;
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 8;
  animation: float 6s ease-in-out infinite;
}

.tap-drive-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tap-drive-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
}

.tap-drive-card-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Mini Video Strips stacked below Drive */
.tap-video-mini-stack {
  position: absolute;
  left: 10px;
  top: 165px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 8;
  animation: float 6s ease-in-out infinite 0.4s;
}

.tap-video-strip-item {
  width: 68px;
  height: 40px;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 27, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tap-strip-play {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 27, 43, 0.65);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
}

.tap-strip-play svg {
  margin-left: 1px;
}

/* 3D Robot At Desk (Center) */
.tap-robot-desk-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tap-robot-desk-wrapper:hover {
  transform: scale(1.025);
}

.tap-robot-desk-photo {
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 18px 45px rgba(255, 90, 31, 0.18));
  display: block;
}

.tap-desk-ambient-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.25) 0%, rgba(255, 138, 61, 0.08) 50%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

/* Floating Platform Cards on Right */
.tap-platform-cards-stack {
  position: absolute;
  right: 0;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 8;
}

.tap-platform-card {
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 175px;
  animation: float 5.5s ease-in-out infinite;
}

.tap-platform-card:nth-child(2) {
  animation-delay: 0.35s;
  margin-left: 10px;
}

.tap-platform-card:nth-child(3) {
  animation-delay: 0.7s;
}

.tap-plat-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tap-plat-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.tap-plat-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

/* Handwritten Cursive Note for Platforms */
.tap-platform-cursive-note {
  position: absolute;
  right: -25px;
  top: 215px;
  font-family: var(--tap-font-cursive);
  font-size: 19px;
  font-weight: 700;
  color: var(--tap-orange);
  line-height: 1.25;
  text-align: left;
  transform: rotate(2deg);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tap-platform-cursive-note svg {
  color: var(--tap-orange);
  stroke: var(--tap-orange);
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCT DASHBOARD PREVIEW
   ========================================================================== */
.tap-dashboard-preview-section {
  max-width: var(--max-width);
  margin: 10px auto 70px;
  padding: 0 32px;
  position: relative;
  z-index: 15;
}

.tap-dashboard-window-light {
  background: #FFFFFF;
  border: 1px solid var(--tap-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
}

/* Dashboard Sidebar */
.tap-dash-sidebar-light {
  background: #FAFAFC;
  border-right: 1px solid var(--tap-border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tap-dash-sidebar-logo {
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--tap-border-soft);
}

.tap-dash-sidebar-logo img {
  height: 24px;
  width: auto;
}

.tap-dash-item-light {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tap-dash-item-light:hover {
  background: #F1F4F9;
  color: var(--navy);
}

.tap-dash-item-light.active {
  background: var(--tap-orange);
  color: #FFFFFF;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.22);
}

.tap-dash-item-light img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

/* Main Dashboard Panel */
.tap-dash-main-light {
  display: flex;
  flex-direction: column;
}

.tap-dash-topbar-light {
  height: 60px;
  padding: 0 24px;
  border-bottom: 1px solid var(--tap-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #FFFFFF;
}

.tap-dash-search-light {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
  width: 280px;
}

.tap-dash-user-light {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tap-user-pill-light {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.tap-user-avatar-photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

/* Dashboard Body */
.tap-dash-body-light {
  padding: 22px 24px;
  background: #FFFFFF;
}

.tap-dash-header-light {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tap-dash-header-light h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.tap-dash-header-light p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}

.tap-date-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  padding: 6px 12px;
  border: 1px solid var(--tap-border);
  border-radius: var(--radius-sm);
  background: #FAFAFC;
}

/* 4 Metrics Badges Grid */
.tap-metrics-grid-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.tap-metric-card-light {
  background: #FAFAFC;
  border: 1px solid var(--tap-border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tap-metric-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.tap-metric-icon-wrap img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tap-metric-value {
  font-size: 22px;
  font-weight: 850;
  color: var(--navy);
  line-height: 1;
}

.tap-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

/* Dashboard Columns: Upcoming Schedule, Recent Activity, Featured Short */
.tap-dash-columns-3 {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr;
  gap: 16px;
}

.tap-dash-card-box {
  background: #FAFAFC;
  border: 1px solid var(--tap-border);
  border-radius: 14px;
  padding: 16px;
}

.tap-dash-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tap-dash-box-head span {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
}

.tap-dash-box-head a {
  font-size: 11px;
  font-weight: 700;
  color: var(--tap-orange);
  text-decoration: none;
}

.tap-schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #F1EAE2;
  gap: 10px;
}

.tap-schedule-row:last-child {
  border-bottom: none;
}

.tap-sched-thumb {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.tap-sched-info {
  flex: 1;
}

.tap-sched-title {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--navy);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tap-sched-title img {
  width: 12px;
  height: 12px;
}

.tap-sched-time {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.tap-badge-scheduled {
  font-size: 9.5px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #E8F8EF;
  color: #16834E;
}

.tap-badge-queue {
  font-size: 9.5px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #EBF5FF;
  color: #1E40AF;
}

/* Activity Items */
.tap-activity-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #F1EAE2;
}

.tap-activity-row:last-child {
  border-bottom: none;
}

.tap-activity-row img {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.tap-activity-text {
  font-size: 11px;
  color: var(--text);
  line-height: 1.35;
}

.tap-activity-time {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Featured 9:16 Video Short Preview */
.tap-short-preview-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.tap-short-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 27, 43, 0.6);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  margin: auto;
}

.tap-short-badge-ready {
  background: rgba(16, 27, 43, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   SECTION: HOW IT WORKS
   ========================================================================== */
.tap-howitworks-section {
  max-width: var(--max-width);
  margin: 0 auto 74px;
  padding: 0 32px;
  text-align: center;
}

.tap-section-badge-orange {
  display: inline-block;
  background: var(--orange-light);
  border: 1px solid #FFD7C3;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.tap-section-title-dark {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: var(--navy);
  margin: 0 0 10px;
}

.tap-section-sub-dark {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 36px;
}

.tap-steps-row-numbered {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.tap-step-card-numbered {
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tap-step-card-numbered:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 27, 43, 0.1);
}

.tap-step-num-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--tap-orange);
  font-size: 15px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tap-step-icon-large {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-warm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tap-step-icon-large img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tap-step-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}

.tap-step-content p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.tap-step-arrow {
  color: #CBD5E1;
  font-size: 22px;
  font-weight: 700;
}

/* ==========================================================================
   SECTION: 5 CORE AUTOMATION CAPABILITIES
   ========================================================================== */
.tap-capabilities-section {
  max-width: var(--max-width);
  margin: 0 auto 74px;
  padding: 0 32px;
}

.tap-cap-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}

.tap-agency-tag-orange {
  display: inline-block;
  background: var(--orange-light);
  border: 1px solid #FFD7C3;
  color: var(--tap-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-left: 12px;
}

.tap-cap-grid-light {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tap-cap-card-light {
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tap-cap-card-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 27, 43, 0.1);
}

.tap-cap-icon-box-light {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.tap-cap-icon-box-light img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tap-cap-card-light h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.tap-cap-card-light p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION: VISUAL WORKFLOW
   ========================================================================== */
.tap-workflow-section {
  max-width: var(--max-width);
  margin: 0 auto 74px;
  padding: 0 32px;
}

.tap-workflow-strip-light {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.25fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.tap-wf-node-light {
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tap-wf-node-light img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.tap-wf-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.tap-wf-sub {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION: PRICING & GROWTH CARD
   ========================================================================== */
.tap-pricing-section {
  max-width: var(--max-width);
  margin: 0 auto 80px;
  padding: 0 32px;
}

.tap-pricing-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}

.tap-pricing-card-white {
  background: var(--white);
  border: 1px solid var(--tap-border);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tap-pro-highlight-card {
  border: 2px solid var(--tap-orange);
  box-shadow: 0 16px 40px rgba(255, 90, 31, 0.14);
}

.tap-pro-badge-pill {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--tap-orange);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.tap-price-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tap-price-amount {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--navy);
  line-height: 1;
}

.tap-price-period {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.tap-btn-pro-choose {
  width: 100%;
  padding: 13px;
  background: var(--tap-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  margin-top: 24px;
  transition: all 0.2s ease;
}

.tap-btn-pro-choose:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.tap-footer {
  border-top: 1px solid var(--tap-border);
  background: #FFFFFF;
  padding: 34px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.tap-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tap-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tap-footer-brand img {
  height: 28px;
  width: auto;
}

.tap-footer-tagline {
  font-size: 12px;
  color: var(--muted);
}

.tap-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tap-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.15s ease;
}

.tap-footer-links a:hover {
  color: var(--tap-orange);
}

.tap-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tap-footer-socials a img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.tap-footer-socials a:hover img {
  opacity: 1;
}

/* ==========================================================================
   AUTH MODAL (LOGIN & REGISTER)
   ========================================================================== */
.tap-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 43, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tap-modal-backdrop.open {
  display: flex;
}

.tap-modal-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--tap-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(16, 27, 43, 0.25);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.tap-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
  transition: background 0.15s ease;
}

.tap-modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--navy);
}

.tap-auth-input {
  width: 100%;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  margin-top: 6px;
  outline: none;
  transition: border-color 0.18s ease;
}

.tap-auth-input:focus {
  border-color: var(--tap-orange);
  background: #FFFFFF;
}

.tap-btn-submit-auth {
  width: 100%;
  padding: 13px;
  background: var(--tap-orange);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  margin-top: 20px;
  transition: background 0.18s ease;
}

.tap-btn-submit-auth:hover {
  background: var(--orange-dark);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .tap-hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
  }
  .tap-dashboard-window-light {
    grid-template-columns: 1fr;
  }
  .tap-dash-sidebar-light {
    display: none;
  }
  .tap-cap-grid-light {
    grid-template-columns: repeat(3, 1fr);
  }
  .tap-pricing-grid-3col {
    grid-template-columns: 1fr;
  }
  .tap-workflow-strip-light {
    grid-template-columns: 1fr;
  }
  .tap-steps-row-numbered {
    grid-template-columns: 1fr;
  }
  .tap-step-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .tap-nav-links {
    display: none;
  }
  .tap-cap-grid-light {
    grid-template-columns: 1fr;
  }
  .tap-metrics-grid-light {
    grid-template-columns: repeat(2, 1fr);
  }
  .tap-dash-columns-3 {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   GROWTH CARD — DEDICATED WEBGL 3D ROBOT MASCOT STAGE
   ========================================================================== */
.tap-growth-cta-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF9F3 50%, #FFF2E7 100%);
  border: 1px solid var(--tap-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: visible !important; /* CRITICAL: NEVER CLIP THE 3D MASCOT */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tap-growth-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(255, 90, 31, 0.12);
}

.tap-growth-top-content {
  position: relative;
  z-index: 5;
}

.tap-growth-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tap-growth-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-light);
  border: 1px solid #FFD7C3;
  color: var(--tap-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tap-growth-cta-title {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.25;
}

.tap-growth-cta-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.45;
}

/* Upward Bars Graphic & Reach Metric */
.tap-growth-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(240, 227, 217, 0.8);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.tap-growth-bars-wrap {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px;
}

.tap-growth-bar {
  width: 8px;
  border-radius: 4px;
  background: var(--tap-orange);
}

.tap-growth-bar:nth-child(1) { height: 14px; background: #FFB38A; }
.tap-growth-bar:nth-child(2) { height: 22px; background: #FF8F54; }
.tap-growth-bar:nth-child(3) { height: 30px; background: #FF6D2C; }
.tap-growth-bar:nth-child(4) { height: 38px; background: #FF5A1F; box-shadow: 0 4px 10px rgba(255, 90, 31, 0.3); }

.tap-growth-stat-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tap-growth-stat-val {
  font-size: 18px;
  font-weight: 850;
  color: var(--tap-orange);
  line-height: 1;
}

.tap-growth-stat-lbl {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
  margin-top: 2px;
}

/* Dedicated WebGL 3D Robot Mascot Stage */
.tap-growth-robot-stage {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 16px;
  z-index: 6;
  cursor: grab;
  background: radial-gradient(circle at center, rgba(255, 90, 31, 0.12) 0%, rgba(255, 138, 61, 0.03) 60%, transparent 75%);
  border-radius: 18px;
}

.tap-growth-robot-stage:active {
  cursor: grabbing;
}

.tap-growth-webgl-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

.tap-robot-interactive-hint {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  font-weight: 750;
  color: var(--tap-orange);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #FFD7C3;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tap-btn-growth-cta {
  width: 100%;
  padding: 13px 22px;
  background: var(--tap-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  z-index: 5;
}

.tap-btn-growth-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.35);
}


/* ==========================================================================
   AUTO-GENERATED UPI QR CODE PAYMENT MODAL
   UPI ID: 7404999301@ybl
   ========================================================================== */
.tap-pay-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.tap-pay-modal-backdrop.open {
  display: flex;
}

.tap-pay-modal-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border: 1px solid var(--tap-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(16, 27, 43, 0.25);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.tap-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAFAFC;
  border: 1px solid var(--tap-border);
  border-radius: 18px;
  padding: 16px 14px;
  margin: 14px 0;
  text-align: center;
}

.tap-qr-image-wrap {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(16, 27, 43, 0.08);
  border: 1px solid #E2E8F0;
  display: inline-block;
  margin-bottom: 10px;
}

.tap-qr-image {
  width: 160px;
  height: 160px;
  display: block;
}

.tap-upi-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1EB;
  border: 1px solid #FFD7C3;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 750;
  color: var(--tap-orange);
  margin-bottom: 6px;
}

.tap-btn-copy-upi {
  background: var(--white);
  border: 1px solid #FFD7C3;
  color: var(--tap-orange);
  font-size: 11.5px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tap-btn-copy-upi:hover {
  background: var(--orange-dark);
  color: white;
}

.tap-pay-apps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
