/* Flexiqo landing — dark hero, violet/cyan system, elevated cards */

.az-main {
  overflow-x: hidden;
}

.az-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  position: relative;
}

.az-section--stats {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
  margin-top: -2.5rem;
}

.az-section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(245, 243, 255, 0.95) 100%);
  border-block: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.az-wrap {
  max-width: var(--az-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* Hero — full-bleed dark band */
.az-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 5rem);
  color: #e2e8f0;
}

.az-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 90% 70% at 85% 15%, rgba(124, 58, 237, 0.55), transparent 52%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(6, 182, 212, 0.35), transparent 50%),
    linear-gradient(165deg, #07030f 0%, #12081f 38%, #0c1628 100%);
}

.az-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.az-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .az-hero-grid {
    grid-template-columns: 1.05fr minmax(300px, 0.92fr);
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.az-hero-copy {
  max-width: 38rem;
}

.az-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(232, 121, 249, 0.35);
  margin: 0 0 1.1rem;
  backdrop-filter: blur(8px);
}

.az-hero-title,
.az-hero h1 {
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #f8fafc;
}

.az-hero-accent {
  display: inline;
  background: linear-gradient(105deg, #f0abfc 0%, #67e8f9 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.az-hero-lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
  max-width: 36rem;
}

.az-hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.az-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.az-hero-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
  max-width: 34rem;
}

.az-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-family: var(--az-font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.az-btn:active {
  transform: scale(0.98);
}

.az-btn--primary {
  background: linear-gradient(105deg, #a855f7 0%, #7c3aed 40%, #0891b2 100%);
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.45), 0 2px 8px rgba(6, 182, 212, 0.25);
}

.az-btn--primary:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.az-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.az-btn--ghost:hover {
  border-color: rgba(103, 232, 249, 0.5);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

.az-btn--on-dark.az-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.az-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
}

.az-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.az-hero-visual {
  position: relative;
}

.az-hero-card {
  position: relative;
  background: rgba(15, 23, 42, 0.5);
  border-radius: calc(var(--az-radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--az-shadow-lg), 0 0 0 1px rgba(124, 58, 237, 0.15);
  overflow: hidden;
}

.az-hero-card-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 200deg at 50% 50%, rgba(124, 58, 237, 0.35), rgba(6, 182, 212, 0.25), rgba(192, 132, 252, 0.3), rgba(124, 58, 237, 0.35));
  animation: az-spin-glow 14s linear infinite;
  opacity: 0.65;
  pointer-events: none;
}

@keyframes az-spin-glow {
  to {
    transform: rotate(360deg);
  }
}

.az-hero-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.az-hero-card-cap {
  position: relative;
  z-index: 1;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: var(--az-muted);
  border-top: 1px solid var(--az-line);
  background: var(--az-surface-2);
}

/* Stats — floating panel */
.az-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 720px) {
  .az-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.az-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1rem 0.85rem;
  text-align: center;
  background: var(--az-surface);
  border-radius: var(--az-radius);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: var(--az-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--az-shadow-lg);
}

.az-stat-val {
  display: block;
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  line-height: 1.15;
  background: linear-gradient(120deg, var(--az-accent) 0%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.az-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--az-muted);
  line-height: 1.35;
  max-width: 11rem;
}

/* Section titles */
.az-sec-head {
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
}

.az-sec-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--az-accent);
  margin: 0 0 0.4rem;
}

.az-sec-title {
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--az-text);
}

.az-sec-desc {
  margin: 0.6rem 0 0;
  max-width: 40rem;
  color: var(--az-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Feature grid — gradient frame */
.az-feat-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .az-feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.az-feat {
  position: relative;
  border-radius: var(--az-radius);
  padding: 1.25rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(var(--az-surface), var(--az-surface)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(6, 182, 212, 0.35)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--az-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-feat:hover {
  transform: translateY(-2px);
  box-shadow: var(--az-shadow-lg);
}

.az-feat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.12));
  color: var(--az-accent);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.az-feat h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--az-font-sans);
  color: var(--az-text);
}

.az-feat p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--az-muted);
  line-height: 1.58;
}

/* Gallery */
.az-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .az-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

.az-gallery-item {
  position: relative;
  border-radius: calc(var(--az-radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.12);
  background: var(--az-surface);
  aspect-ratio: 4 / 3;
  box-shadow: var(--az-shadow);
}

.az-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.az-gallery-item:hover img {
  transform: scale(1.045);
}

.az-gallery-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (min-width: 560px) {
  .az-gallery-item--wide {
    grid-column: span 2;
  }
}

/* Split */
.az-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .az-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.az-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.az-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--az-surface);
  border-radius: var(--az-radius-sm);
  font-size: 0.9rem;
  border: 1px solid var(--az-line);
  box-shadow: 0 1px 2px rgba(76, 29, 149, 0.04);
}

.az-spec-item strong {
  color: var(--az-text);
  min-width: 7.5rem;
  font-weight: 600;
}

.az-spec-item span {
  color: var(--az-muted);
}

.az-split-visual {
  border-radius: calc(var(--az-radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: var(--az-shadow-lg);
  transform: rotate(1deg);
}

@media (max-width: 859px) {
  .az-split-visual {
    transform: none;
  }
}

.az-split-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* CTA */
.az-cta {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.az-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--az-radius) + 6px);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: #f8fafc;
  background: linear-gradient(125deg, #4c1d95 0%, #7c3aed 35%, #0e7490 92%);
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.35), 0 8px 24px rgba(8, 145, 176, 0.2);
}

.az-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 120%, rgba(244, 114, 182, 0.35), transparent 45%),
    radial-gradient(circle at 90% -20%, rgba(34, 211, 238, 0.4), transparent 40%);
  pointer-events: none;
}

.az-cta-inner h2,
.az-cta-inner p,
.az-cta-inner .az-btn {
  position: relative;
  z-index: 1;
}

.az-cta-inner h2 {
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.az-cta-inner p {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  opacity: 0.94;
  font-size: 0.98rem;
  line-height: 1.55;
}

.az-cta .az-btn--primary {
  background: #fff;
  color: #5b21b6 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.az-cta .az-btn--primary:hover {
  background: #fae8ff;
  color: #4c1d95 !important;
  filter: none;
}

.az-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--az-muted);
  margin-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.az-trust strong {
  color: var(--az-text);
}

@media (prefers-reduced-motion: reduce) {
  .az-hero-card-glow {
    animation: none;
  }

  .az-stat:hover,
  .az-feat:hover,
  .az-gallery-item:hover img {
    transform: none;
  }
}
