/* ==========================================================================
   AstitvaHub Premium Dark SaaS Landing Page - Hero & Showcase Styles
   Direction: Deep Black (#050708) | Electric Lime (#B6FF4A) | Glassmorphism
   ========================================================================== */

:root {
  --hero-bg: #050708;
  --hero-card-bg: rgba(10, 15, 20, 0.94);
  --hero-glass-border: rgba(255, 255, 255, 0.12);
  --hero-glass-border-subtle: rgba(255, 255, 255, 0.08);
  --hero-text-primary: #ffffff;
  --hero-text-muted: rgba(226, 232, 240, 0.72);
  --hero-text-dim: rgba(255, 255, 255, 0.45);
  
  /* Dynamic Theme Accents (default: Electric Lime) */
  --hero-accent: #B6FF4A;
  --hero-accent-secondary: #00F0FF;
  --hero-accent-rgb: 182, 255, 74;
  --hero-accent-glow: rgba(182, 255, 74, 0.35);
  --hero-accent-soft: rgba(182, 255, 74, 0.12);
}

/* Theme Variances */
[data-hero-theme="lime"] {
  --hero-accent: #B6FF4A;
  --hero-accent-secondary: #00F0FF;
  --hero-accent-rgb: 182, 255, 74;
  --hero-accent-glow: rgba(182, 255, 74, 0.35);
  --hero-accent-soft: rgba(182, 255, 74, 0.12);
}

[data-hero-theme="cyan"] {
  --hero-accent: #00F0FF;
  --hero-accent-secondary: #B6FF4A;
  --hero-accent-rgb: 0, 240, 255;
  --hero-accent-glow: rgba(0, 240, 255, 0.35);
  --hero-accent-soft: rgba(0, 240, 255, 0.12);
}

[data-hero-theme="orange"] {
  --hero-accent: #FF7A3D;
  --hero-accent-secondary: #FFB800;
  --hero-accent-rgb: 255, 122, 61;
  --hero-accent-glow: rgba(255, 122, 61, 0.38);
  --hero-accent-soft: rgba(255, 122, 61, 0.14);
}

[data-hero-theme="violet"] {
  --hero-accent: #A855F7;
  --hero-accent-secondary: #EC4899;
  --hero-accent-rgb: 168, 85, 247;
  --hero-accent-glow: rgba(168, 85, 247, 0.38);
  --hero-accent-soft: rgba(168, 85, 247, 0.14);
}

/* Hero Main Section Container */
.ast-hero-section {
  position: relative;
  background-color: var(--hero-bg);
  background-image: 
    radial-gradient(circle at 75% 28%, rgba(var(--hero-accent-rgb), 0.12) 0%, rgba(0, 240, 255, 0.06) 35%, transparent 65%),
    radial-gradient(circle at 15% 82%, rgba(var(--hero-accent-rgb), 0.08) 0%, transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 80%);
  color: var(--hero-text-primary);
  padding-top: clamp(1.5rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  transition: background-image 0.5s ease;
}

/* Subtle grid overlay */
.ast-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.7;
}

/* Ambient glow blobs */
.ast-hero-glow-blob-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-accent-rgb), 0.16) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.6s ease;
}

.ast-hero-glow-blob-2 {
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-accent-rgb), 0.1) 0%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.6s ease;
}

.ast-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  /* Keep the hero close to the viewport edges on phones and desktops. */
  padding-inline: clamp(0.75rem, 2vw, 2.25rem);
  box-sizing: border-box;
}

.ast-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  /* Gap also scales with viewport width */
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
}


/* --------------------------------------------------------------------------
   Top Bar / Hero Header Bar (Brand Identity + Category & Theme Switchers)
   -------------------------------------------------------------------------- */
.ast-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  background: rgba(14, 20, 26, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hero-glass-border-subtle);
  border-radius: 9999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.ast-hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.ast-brand-logo-wrap {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--hero-accent-rgb), 0.12);
  border: 1px solid rgba(var(--hero-accent-rgb), 0.25);
  box-shadow: 0 0 15px rgba(var(--hero-accent-rgb), 0.2);
  transition: all 0.3s ease;
}

.app-nav .brand-logo {
  width: 34px !important;
  height: 34px !important;
  max-height: 34px !important;
  object-fit: contain;
}

.ast-hero-brand:hover .ast-brand-logo-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(var(--hero-accent-rgb), 0.35);
}

.ast-brand-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.ast-brand-text {
  display: flex;
  flex-direction: column;
}

.ast-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}

.ast-brand-title span {
  color: var(--hero-accent);
  transition: color 0.3s ease;
}

.ast-brand-tagline {
  font-size: 0.72rem;
  color: var(--hero-text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ast-header-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Category Switcher Pills */
.ast-category-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(5, 8, 12, 0.6);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--hero-glass-border-subtle);
}

.ast-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ast-cat-tab svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  transition: transform 0.2s ease, stroke 0.25s ease;
}

.ast-cat-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.ast-cat-tab:hover svg {
  transform: translateY(-1px);
}

.ast-cat-tab.active {
  background: rgba(14, 22, 16, 0.9);
  color: var(--hero-accent);
  border-color: var(--hero-accent);
  box-shadow: 0 0 16px rgba(var(--hero-accent-rgb), 0.25);
}

.ast-cat-tab.active svg {
  stroke: var(--hero-accent);
}

/* Theme Swatches (4 Color Circles) */
.ast-theme-swatches {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 4px 8px;
  background: rgba(5, 8, 12, 0.6);
  border-radius: 9999px;
  border: 1px solid var(--hero-glass-border-subtle);
}

.ast-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--swatch-color);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.ast-swatch:hover {
  transform: scale(1.22);
}

.ast-swatch.active {
  box-shadow: 
    0 0 0 2px #050708, 
    0 0 0 4px var(--swatch-color), 
    0 0 14px var(--swatch-color);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Left Column — Headline & Profile Creation CTA
   -------------------------------------------------------------------------- */
.ast-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.ast-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-accent);
  margin-bottom: 0.85rem;
  transition: color 0.3s ease;
}

.ast-main-headline {
  font-size: clamp(3rem, 5.5vw, 4.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.ast-hub-glow {
  color: var(--hero-accent);
  transition: color 0.3s ease;
  display: inline-block;
  text-shadow: 0 0 40px rgba(var(--hero-accent-rgb), 0.35);
}

.ast-sub-headline {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.ast-lead-text {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.62;
  color: var(--hero-text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* URL Input & CTA Form */
.ast-url-input-form {
  max-width: 530px;
  margin-bottom: 2.25rem;
}

.ast-input-pill {
  display: flex;
  align-items: center;
  background: rgba(14, 20, 27, 0.9);
  border: 1px solid var(--hero-glass-border);
  border-radius: 9999px;
  padding: 6px 6px 6px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.28s ease;
  position: relative;
}

.ast-input-pill:focus-within {
  border-color: var(--hero-accent);
  box-shadow: 
    0 0 0 1px var(--hero-accent), 
    0 14px 40px rgba(0, 0, 0, 0.5), 
    0 0 25px rgba(var(--hero-accent-rgb), 0.25);
}

.ast-input-icon {
  display: flex;
  align-items: center;
  color: var(--hero-text-dim);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.ast-input-icon svg {
  width: 17px;
  height: 17px;
}

.ast-url-prefix {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hero-text-dim);
  white-space: nowrap;
  user-select: none;
}

.ast-username-field {
  flex: 1;
  min-width: 90px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.35rem 0.25rem;
}

.ast-username-field::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.ast-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.45rem;
  border-radius: 9999px;
  border: none;
  background-color: var(--hero-accent);
  color: #050708;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(var(--hero-accent-rgb), 0.35);
}

.ast-cta-btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.ast-cta-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 26px rgba(var(--hero-accent-rgb), 0.45);
}

.ast-cta-btn:hover svg {
  transform: translateX(2px);
}

.ast-cta-btn:active {
  transform: translateY(0) scale(0.99);
}

/* Inline Username Validation Message */
.ast-feedback-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.6rem;
  padding-left: 1.25rem;
  transition: all 0.2s ease;
  min-height: 20px;
}

.ast-feedback-msg svg {
  width: 14px;
  height: 14px;
}

.ast-feedback-msg.is-available {
  color: var(--hero-accent);
}

.ast-feedback-msg.is-checking {
  color: #38bdf8;
}

.ast-feedback-msg.is-taken,
.ast-feedback-msg.is-invalid {
  color: #f87171;
}

/* Feature Indicators (3 Cards) */
.ast-feature-indicators {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 530px;
  flex-wrap: wrap;
}

.ast-indicator-card {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  background: rgba(14, 20, 27, 0.55);
  border: 1px solid var(--hero-glass-border-subtle);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.ast-indicator-card:hover {
  background: rgba(18, 25, 34, 0.8);
  border-color: rgba(var(--hero-accent-rgb), 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ast-indicator-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--hero-accent-rgb), 0.1);
  border: 1px solid rgba(var(--hero-accent-rgb), 0.2);
  color: var(--hero-accent);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.ast-indicator-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.ast-indicator-info {
  display: flex;
  flex-direction: column;
}

.ast-indicator-info strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.ast-indicator-info span {
  font-size: 0.72rem;
  color: var(--hero-text-dim);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Right Column — Interactive 3D Product Showcase
   -------------------------------------------------------------------------- */
.ast-hero-right {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ast-showcase-stage {
  position: relative;
  width: 100%;
  max-width: 530px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ast-showcase-composition {
  position: relative;
  width: 100%;
  height: 485px;
  perspective: 1200px;
}

/* Floating Callouts (3 Cards Stacked on Left Edge) */
.ast-floating-callouts {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 6;
}

.ast-floating-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  background: rgba(10, 16, 22, 0.88);
  border: 1px solid var(--hero-glass-border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.ast-floating-card:hover {
  transform: translateX(-4px) scale(1.02);
  border-color: rgba(var(--hero-accent-rgb), 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--hero-accent-rgb), 0.15);
}

.ast-callout-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--hero-accent-rgb), 0.1);
  border: 1px solid rgba(var(--hero-accent-rgb), 0.22);
  color: var(--hero-accent);
  transition: all 0.25s ease;
}

.ast-callout-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.ast-callout-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ast-callout-text span {
  font-size: 0.72rem;
  color: var(--hero-text-muted);
}

.ast-callout-text strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

/* Handwritten Annotation & Curved Arrow */
.ast-annotation-wrap {
  position: absolute;
  top: -12px;
  right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  transform: rotate(-3deg);
}

.ast-annotation-text {
  font-family: 'Caveat', cursive;
  font-size: 1.32rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.ast-curved-arrow {
  margin-top: -2px;
  margin-left: 20px;
  filter: drop-shadow(0 0 6px rgba(var(--hero-accent-rgb), 0.4));
  transition: stroke 0.3s ease;
}

/* Main Digital Profile Card Outer Wrapper (Tilted 3D) */
.ast-card-tilted-wrapper {
  position: absolute;
  left: 20px;
  top: 25px;
  width: calc(100% - 130px);
  max-width: 395px;
  z-index: 3;
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ast-card-tilted-wrapper:hover {
  transform: perspective(1200px) rotateY(-1.5deg) rotateX(1deg) translateY(-4px);
}

/* Dual Glowing Border (Lime-to-Cyan Gradient) */
.ast-card-neon-border {
  padding: 2.5px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--hero-accent) 0%, var(--hero-accent-secondary) 100%);
  box-shadow: 
    0 0 35px -5px rgba(var(--hero-accent-rgb), 0.35),
    0 25px 60px rgba(0, 0, 0, 0.75);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Inner Profile Card Surface */
.ast-profile-card {
  background: rgba(9, 14, 19, 0.96);
  border-radius: 24px;
  padding: 22px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  position: relative;
}

/* Card Header (Status dot & Share button) */
.ast-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.ast-card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hero-text-muted);
}

.ast-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--hero-accent);
  box-shadow: 0 0 10px var(--hero-accent);
  animation: ast-pulse 2s infinite ease-in-out;
}

@keyframes ast-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ast-card-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hero-glass-border);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ast-card-share-btn svg {
  width: 13px;
  height: 13px;
}

.ast-card-share-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Identity Row (Avatar + Name + Role + Socials) */
.ast-identity-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.ast-avatar-container {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ast-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hero-accent);
  box-shadow: 0 0 18px rgba(var(--hero-accent-rgb), 0.3);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ast-avatar-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-accent-rgb), 0.4) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 0;
}

.ast-identity-meta {
  display: flex;
  flex-direction: column;
}

.ast-profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.ast-profile-role {
  font-size: 0.86rem;
  color: var(--hero-text-muted);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

/* Social Icon Strip */
.ast-social-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ast-social-circle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--hero-glass-border-subtle);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ast-social-circle svg {
  width: 13px;
  height: 13px;
}

.ast-social-circle:hover {
  background: var(--hero-accent);
  color: #050708;
  border-color: var(--hero-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--hero-accent-rgb), 0.3);
}

/* Biography */
.ast-profile-bio {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--hero-text-muted);
  margin-bottom: 1.15rem;
  min-height: 40px;
}

/* Portfolio Chips */
.ast-chips-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ast-chip {
  padding: 0.32rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hero-glass-border);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  user-select: none;
}

.ast-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--hero-accent-rgb), 0.4);
  color: #ffffff;
}

/* Save Contact Button */
.ast-save-contact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: var(--hero-accent);
  color: #050708;
  border: none;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(var(--hero-accent-rgb), 0.3);
}

.ast-save-contact-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.ast-save-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--hero-accent-rgb), 0.45);
}

.ast-save-contact-btn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Realistic Smartphone Mockup (Overlapping Card on the Right)
   -------------------------------------------------------------------------- */
.ast-smartphone-wrap {
  position: absolute;
  right: -8px;
  top: 48%;
  transform: translateY(-48%) rotate(2deg);
  z-index: 5;
  width: 205px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ast-smartphone-wrap:hover {
  transform: translateY(-52%) rotate(0deg) scale(1.03);
  z-index: 7;
}

.ast-iphone-frame {
  background: #151c22;
  border: 5px solid #232c34;
  border-radius: 36px;
  padding: 8px 7px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  position: relative;
}

.ast-iphone-screen {
  background: #080b0e;
  border-radius: 28px;
  padding: 10px 10px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Dynamic Island */
.ast-dynamic-island {
  width: 62px;
  height: 16px;
  background: #000000;
  border-radius: 9999px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.ast-island-camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0c1a29;
}

/* Phone Status Bar */
.ast-phone-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 4px;
  margin-bottom: 8px;
}

.ast-status-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Phone Inner Profile Content */
.ast-phone-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ast-phone-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.ast-phone-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--hero-accent);
}

.ast-phone-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1px;
  text-align: center;
  line-height: 1.1;
}

.ast-phone-role {
  font-size: 0.65rem;
  color: var(--hero-text-muted);
  margin-bottom: 6px;
  text-align: center;
}

.ast-phone-socials {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.ast-phone-socials span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.ast-phone-socials svg {
  width: 9px;
  height: 9px;
}

/* Scannable White QR Code Card */
.ast-phone-qr-card {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.ast-qr-image-box {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.ast-qr-code-img {
  width: 100%;
  height: 100%;
  display: block;
}

.ast-qr-caption {
  font-size: 0.58rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 3px;
  letter-spacing: -0.01em;
}

/* Phone Footer Brand */
.ast-phone-footer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Performance Metrics Dock (Docked Below Showcase)
   -------------------------------------------------------------------------- */
.ast-metrics-dock {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.85rem 1.65rem;
  background: rgba(10, 16, 22, 0.9);
  border: 1px solid var(--hero-glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 8;
  white-space: nowrap;
}

.ast-metric-unit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ast-metric-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(var(--hero-accent-rgb), 0.1);
  border: 1px solid rgba(var(--hero-accent-rgb), 0.22);
  color: var(--hero-accent);
}

.ast-metric-icon svg {
  width: 16px;
  height: 16px;
}

.ast-metric-data {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.ast-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.ast-metric-lbl {
  font-size: 0.76rem;
  color: var(--hero-text-muted);
  font-weight: 500;
}

.ast-metric-divider {
  width: 1px;
  height: 24px;
  background: var(--hero-glass-border-subtle);
}

/* Toast Notification for Share / Copy */
.ast-toast-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 22, 16, 0.95);
  border: 1px solid var(--hero-accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--hero-accent-rgb), 0.3);
  z-index: 9999;
  animation: ast-toast-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ast-toast-slide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   Targets: 1920px, 1440px, 1280px, 1024px, 768px, 390px, 360px
   -------------------------------------------------------------------------- */

/* Laptop & Medium Desktop (1200px to 1399.98px) */
@media (max-width: 1399.98px) {
  .ast-hero-grid {
    gap: 2.25rem;
  }
  .ast-showcase-composition {
    height: 470px;
    max-width: 495px;
  }
  .ast-card-tilted-wrapper {
    left: 15px;
    width: calc(100% - 120px);
    max-width: 375px;
  }
  .ast-smartphone-wrap {
    width: 195px;
    right: -6px;
  }
}

/* Small Laptop & Landscape Tablets (992px to 1199.98px) */
@media (max-width: 1199.98px) {
  .ast-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
    gap: 1.75rem;
  }
  .ast-main-headline {
    font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  }
  .ast-sub-headline {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  }
  .ast-lead-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .ast-url-input-form {
    margin-bottom: 1.75rem;
  }
  .ast-showcase-composition {
    height: 440px;
    max-width: 450px;
  }
  .ast-card-tilted-wrapper {
    left: 12px;
    top: 18px;
    width: calc(100% - 105px);
    max-width: 345px;
  }
  .ast-profile-card {
    padding: 18px;
  }
  .ast-profile-name {
    font-size: 1.22rem;
  }
  .ast-profile-bio {
    font-size: 0.82rem;
    min-height: 36px;
  }
  .ast-smartphone-wrap {
    width: 175px;
    right: -6px;
    top: 48%;
  }
  .ast-floating-callouts {
    left: -14px;
    gap: 0.6rem;
  }
  .ast-floating-card {
    padding: 0.45rem 0.65rem;
  }
  .ast-callout-icon {
    width: 26px;
    height: 26px;
  }
  .ast-callout-icon svg {
    width: 13px;
    height: 13px;
  }
  .ast-callout-text strong {
    font-size: 0.72rem;
  }
  .ast-callout-text span {
    font-size: 0.65rem;
  }
  .ast-annotation-wrap {
    right: 14px;
    top: -10px;
  }
  .ast-annotation-text {
    font-size: 1.18rem;
  }
  .ast-metrics-dock {
    gap: 1rem;
    padding: 0.7rem 1.25rem;
  }
  .ast-metric-val {
    font-size: 1.05rem;
  }
}

/* Tablets & Small Landscape (768px to 991.98px) */
@media (max-width: 991.98px) {
  .ast-top-bar {
    border-radius: 20px;
    padding: 1rem;
    gap: 1rem;
  }
  .ast-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .ast-hero-left {
    text-align: center;
    align-items: center;
  }
  .ast-eyebrow-badge {
    margin-inline: auto;
  }
  .ast-main-headline {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
  }
  .ast-sub-headline {
    font-size: clamp(1.65rem, 3.5vw, 2.3rem);
  }
  .ast-lead-text {
    margin-inline: auto;
    max-width: 580px;
  }
  .ast-url-input-form {
    margin-inline: auto;
    width: 100%;
    max-width: 520px;
  }
  .ast-feature-indicators {
    margin-inline: auto;
    justify-content: center;
  }
  .ast-hero-right {
    justify-content: center;
    width: 100%;
  }
  .ast-showcase-stage {
    max-width: 500px;
    margin-inline: auto;
  }
  .ast-showcase-composition {
    height: 460px;
    max-width: 480px;
    margin-inline: auto;
  }
  .ast-card-tilted-wrapper {
    left: 15px;
    width: calc(100% - 110px);
    max-width: 370px;
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  }
  .ast-floating-callouts {
    left: -15px;
  }
  .ast-smartphone-wrap {
    width: 190px;
    right: -5px;
  }
  .ast-metrics-dock {
    margin-top: 1.5rem;
  }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .ast-top-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 0.85rem;
    gap: 0.85rem;
  }
  .ast-hero-brand {
    justify-content: center;
  }
  .ast-header-controls {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .ast-category-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .ast-category-tabs::-webkit-scrollbar {
    display: none;
  }
  .ast-cat-tab {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    flex-shrink: 0;
    min-height: 40px;
  }
  .ast-theme-swatches {
    margin-inline: auto;
    padding: 5px 12px;
    gap: 0.75rem;
  }
  .ast-main-headline {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }
  .ast-sub-headline {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }
  .ast-lead-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .ast-input-pill {
    padding: 8px 8px 8px 14px;
  }

  /* Showcase mobile stacking & cohesion */
  .ast-showcase-stage {
    width: 100%;
    max-width: 100%;
  }
  .ast-showcase-composition {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    perspective: none;
  }
  .ast-floating-callouts {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
  }
  .ast-floating-card {
    padding: 0.45rem 0.75rem;
    flex: 1 1 auto;
    max-width: 150px;
    justify-content: center;
  }
  .ast-annotation-wrap {
    position: static;
    transform: none;
    margin-bottom: 0.25rem;
    text-align: center;
  }
  .ast-curved-arrow {
    display: none;
  }
  .ast-card-tilted-wrapper {
    position: static;
    width: 100%;
    max-width: 440px;
    transform: none !important;
    margin: 0;
  }
  .ast-smartphone-wrap {
    position: static;
    transform: none !important;
    width: 215px;
    margin: 0.5rem auto 0;
  }
  .ast-metrics-dock {
    position: static;
    transform: none;
    width: 100%;
    justify-content: space-around;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    margin-top: 1rem;
    gap: 0.75rem;
  }
  .ast-metric-unit {
    gap: 0.5rem;
  }
  .ast-metric-icon {
    width: 28px;
    height: 28px;
  }
  .ast-metric-icon svg {
    width: 14px;
    height: 14px;
  }
  .ast-metric-data {
    flex-direction: column;
    gap: 0;
  }
  .ast-metric-val {
    font-size: 0.95rem;
  }
  .ast-metric-lbl {
    font-size: 0.68rem;
  }
}

/* Compact Mobile (max-width: 480px - covers 390px, 360px) */
@media (max-width: 480px) {
  .ast-hero-container {
    padding-inline: 16px;
  }
  .ast-top-bar {
    padding: 0.75rem;
    border-radius: 16px;
  }
  .ast-main-headline {
    font-size: clamp(2.15rem, 8vw, 2.65rem);
  }
  .ast-sub-headline {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }
  .ast-input-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
  }
  .ast-url-prefix {
    font-size: 0.88rem;
    align-self: flex-start;
    padding-left: 2px;
  }
  .ast-username-field {
    width: 100%;
    font-size: 0.94rem;
    padding: 6px 2px;
    border-bottom: 1px solid var(--hero-glass-border-subtle);
  }
  .ast-cta-btn {
    width: 100%;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-height: 46px;
    font-size: 0.92rem;
    justify-content: center;
  }
  .ast-feature-indicators {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .ast-indicator-card {
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.85rem;
  }
  .ast-floating-callouts {
    gap: 0.4rem;
  }
  .ast-floating-card {
    padding: 0.35rem 0.55rem;
    flex: 1 1 30%;
  }
  .ast-callout-icon {
    width: 24px;
    height: 24px;
  }
  .ast-callout-icon svg {
    width: 12px;
    height: 12px;
  }
  .ast-callout-text strong {
    font-size: 0.7rem;
  }
  .ast-callout-text span {
    font-size: 0.6rem;
  }
  .ast-profile-card {
    padding: 16px;
    border-radius: 20px;
  }
  .ast-avatar-container {
    width: 64px;
    height: 64px;
  }
  .ast-profile-name {
    font-size: 1.2rem;
  }
  .ast-profile-role {
    font-size: 0.8rem;
  }
  .ast-profile-bio {
    font-size: 0.82rem;
    min-height: auto;
  }
  .ast-chips-row {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .ast-chip {
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
  }
  .ast-save-contact-btn {
    padding: 0.75rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
  .ast-smartphone-wrap {
    width: 200px;
  }
  .ast-metrics-dock {
    padding: 0.65rem 0.5rem;
    gap: 0.35rem;
    border-radius: 14px;
  }
  .ast-metric-icon {
    width: 26px;
    height: 26px;
  }
  .ast-metric-icon svg {
    width: 13px;
    height: 13px;
  }
  .ast-metric-val {
    font-size: 0.92rem;
  }
  .ast-metric-lbl {
    font-size: 0.64rem;
  }
  .ast-metric-divider {
    height: 18px;
    margin: 0 1px;
  }
}

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
  .ast-status-dot {
    animation: none !important;
  }
  .ast-card-tilted-wrapper,
  .ast-smartphone-wrap,
  .ast-cta-btn,
  .ast-floating-card {
    transition: none !important;
    transform: none !important;
  }
}
