/* ==========================================================================
   AriaNova Performance Violet
   Design tokens and component styles for the AriaNova Impex site.
   Applied to Elementor elements via the native "CSS Classes" field.
   ========================================================================== */

:root {
  --an-purple: #7C3AED;
  --an-purple-deep: #5B21B6;
  --an-purple-light: #A78BFA;
  --an-purple-glow: rgba(124, 58, 237, 0.15);
  --an-ink: #0A0A0F;
  --an-dark: #111118;
  --an-dark-card: #18181F;
  --an-muted: #3F3F50;
  --an-subtle: #9CA3AF;
  --an-hairline: #E5E7EB;
  --an-surface: #F9FAFB;
  --an-white: #FFFFFF;
  --an-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #7C3AED 100%);
  --an-r-sm: 8px;
  --an-r-md: 14px;
  --an-r-lg: 20px;
  --an-r-pill: 100px;
  --an-shadow-lift: 0 16px 40px rgba(124, 58, 237, 0.16);
}

/* 1. Base typography ------------------------------------------------------ */

body {
  font-family: 'Inter', sans-serif;
  color: var(--an-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Gradient word inside a headline. The bottom padding keeps descenders from
   clipping against the tight display line-height. */
.an-hl {
  background: var(--an-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-bottom: 0.06em;
  display: inline-block;
}

/* 2. Eyebrow label -------------------------------------------------------- */

.an-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--an-purple);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.an-eyebrow .elementor-heading-title::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--an-purple);
  border-radius: 1px;
  flex: none;
}

.an-eyebrow-center .elementor-heading-title {
  justify-content: center;
}

.an-eyebrow-center .elementor-heading-title::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--an-purple);
  border-radius: 1px;
  flex: none;
}

.an-on-dark .an-eyebrow .elementor-heading-title {
  color: var(--an-purple-light);
}

.an-on-dark .an-eyebrow .elementor-heading-title::before,
.an-on-dark .an-eyebrow .elementor-heading-title::after {
  background: var(--an-purple-light);
}

/* 3. Buttons -------------------------------------------------------------- */

.an-btn-primary .elementor-button {
  background: var(--an-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.an-btn-primary .elementor-button:hover,
.an-btn-primary .elementor-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
  color: #fff;
}

.an-btn-secondary .elementor-button {
  background: var(--an-white);
  color: var(--an-ink);
  border: 1.5px solid var(--an-hairline);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.an-btn-secondary .elementor-button:hover,
.an-btn-secondary .elementor-button:focus-visible {
  border-color: var(--an-purple);
  color: var(--an-purple);
}

.an-on-dark .an-btn-secondary .elementor-button {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.an-on-dark .an-btn-secondary .elementor-button:hover {
  border-color: var(--an-purple-light);
  color: var(--an-purple-light);
}

/* 4. Hero ----------------------------------------------------------------- */

.an-hero {
  background: linear-gradient(160deg, #F5F0FF 0%, #FFFFFF 40%, #F0EBFF 100%);
  position: relative;
  overflow: hidden;
}

.an-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.an-badge .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--an-r-pill);
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--an-purple);
  letter-spacing: 0;
}

.an-badge .elementor-heading-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--an-purple);
  border-radius: 50%;
  flex: none;
}

.an-hero-media img {
  border-radius: var(--an-r-lg);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.14);
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Floating stat cards that break the hero image frame. */
.an-float-card {
  background: var(--an-white);
  border-radius: var(--an-r-md);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(10, 10, 15, 0.10);
  position: absolute;
  z-index: 3;
  width: auto;
}

.an-float-left {
  bottom: 40px;
  left: -32px;
}

.an-float-right {
  top: 40px;
  right: -32px;
}

.an-float-card .an-float-label {
  font-size: 12px;
  color: var(--an-subtle);
  line-height: 1.3;
  display: block;
}

.an-float-card .an-float-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--an-ink);
  line-height: 1.3;
  display: block;
}

/* 5. Statistics ----------------------------------------------------------- */

.an-stats {
  border-top: 1px solid rgba(10, 10, 15, 0.08);
}

.an-stat .elementor-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.an-stat .elementor-counter-number-wrapper {
  order: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--an-purple);
  line-height: 1.1;
  justify-content: center;
}

.an-stat .elementor-counter-title {
  order: 2;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--an-subtle);
  margin-top: 4px;
}

/* 6. Cards on light grounds ----------------------------------------------- */

.an-card {
  background: var(--an-white);
  border: 1px solid rgba(10, 10, 15, 0.07);
  border-radius: var(--an-r-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.an-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--an-shadow-lift);
  border-color: rgba(124, 58, 237, 0.25);
}

.an-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-card:hover img {
  transform: scale(1.05);
}

/* Specification chips beneath a product name. */
.an-chips .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.an-chips .elementor-icon-list-item {
  background: var(--an-purple-glow);
  border-radius: var(--an-r-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
}

.an-chips .elementor-icon-list-text {
  color: var(--an-purple);
}

/* The product title carries the real link; this stretches its hit area
   across the whole card so the entire tile is clickable. */
.an-card {
  position: relative;
}

.an-card .an-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.an-card:hover .an-card-title a {
  color: var(--an-purple);
}

.an-card .an-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* 7. Category tiles ------------------------------------------------------- */

.an-cat {
  position: relative;
  border-radius: var(--an-r-md);
  overflow: hidden;
  min-height: 320px;
}

/* Full-bleed image sitting behind the scrim, scaling on hover inside a fixed frame. */
.an-cat-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.an-cat-img img,
.an-cat-img .elementor-widget-container,
.an-cat-img figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.an-cat-img img {
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-cat:hover .an-cat-img img {
  transform: scale(1.08);
}

/* Circular arrow indicator. */
.an-cat-arrow .elementor-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.an-cat:hover .an-cat-arrow .elementor-icon {
  background: #fff;
  color: var(--an-purple);
  transform: translateX(4px);
}

.an-cat:hover .an-cat-arrow .elementor-icon svg {
  fill: var(--an-purple);
}

.an-cat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.10) 60%);
  transition: background 0.35s ease;
  z-index: 1;
}

.an-cat:hover::after {
  background: linear-gradient(to top, rgba(124, 58, 237, 0.82) 0%, rgba(124, 58, 237, 0.15) 60%);
}

.an-cat > * {
  position: relative;
  z-index: 2;
}

.an-cat .elementor-heading-title {
  color: #fff;
}

.an-cat .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* 8. Dark ground blocks --------------------------------------------------- */

.an-on-dark,
.an-on-dark .elementor-widget-text-editor {
  color: var(--an-subtle);
}

.an-on-dark h1, .an-on-dark h2, .an-on-dark h3,
.an-on-dark h4, .an-on-dark h5, .an-on-dark h6 {
  color: #fff;
}

.an-dark-card {
  background: var(--an-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--an-r-md);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.an-dark-card:hover {
  border-color: var(--an-purple);
  transform: translateY(-4px);
}

/* 9. Capability marquee (CSS only, no script) ----------------------------- */

.an-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.an-marquee .an-marquee-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: an-marquee 34s linear infinite;
}

.an-marquee p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  margin: 0;
}

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

/* 10. Numbered process timeline ------------------------------------------ */

.an-step {
  position: relative;
  padding-left: 60px;
  padding-bottom: 32px;
}

.an-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--an-gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.an-step::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--an-purple), rgba(124, 58, 237, 0.08));
}

.an-step:last-child {
  padding-bottom: 0;
}

.an-step:last-child::after {
  display: none;
}

/* 11. Closing call to action --------------------------------------------- */

.an-cta {
  background: linear-gradient(135deg, #1A0838 0%, #0F0D1A 50%, #1A0838 100%);
  position: relative;
  overflow: hidden;
}

.an-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.an-cta > * {
  position: relative;
  z-index: 1;
}

/* 12. Header and footer --------------------------------------------------- */

.an-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 10, 15, 0.06);
}

.an-nav .elementor-item {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--an-muted);
  transition: color 0.25s ease;
}

.an-nav .elementor-item:hover,
.an-nav .elementor-item.elementor-item-active {
  color: var(--an-purple);
}

.an-footer a {
  color: var(--an-subtle);
  text-decoration: none;
  transition: color 0.25s ease;
}

.an-footer a:hover {
  color: var(--an-purple-light);
}

.an-footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* 12b. Icon tiles -------------------------------------------------------- */

.an-feat .elementor-icon {
  background: var(--an-gradient);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-feat {
  border-radius: var(--an-r-md);
  transition: background 0.25s ease;
}

.an-feat:hover {
  background: var(--an-purple-glow);
}

.an-dark-card .elementor-icon {
  background: rgba(124, 58, 237, 0.12);
  color: var(--an-purple-light);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-cert .elementor-icon {
  background: var(--an-purple-glow);
  color: var(--an-purple);
  width: 64px;
  height: 64px;
  border-radius: var(--an-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-cat-body {
  align-self: flex-end;
  width: 100%;
}

/* 12c. Interior page components ------------------------------------------ */

.an-page-header {
  background: linear-gradient(160deg, #F5F0FF 0%, #FFFFFF 55%, #F0EBFF 100%);
  position: relative;
  overflow: hidden;
}

.an-page-header::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Comparison and specification tables. */
.an-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--an-hairline);
  border-radius: var(--an-r-md);
  overflow: hidden;
  background: var(--an-white);
  font-family: 'Inter', sans-serif;
}

.an-table th,
.an-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid var(--an-hairline);
}

.an-table thead th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--an-ink);
  background: var(--an-surface);
}

.an-table thead th.an-th-accent {
  color: var(--an-purple);
}

.an-table tbody th {
  font-weight: 600;
  color: var(--an-ink);
  width: 30%;
}

.an-table tbody td {
  color: var(--an-muted);
}

.an-table tr:last-child th,
.an-table tr:last-child td {
  border-bottom: none;
}

.an-table td.an-yes {
  color: var(--an-purple);
  font-weight: 600;
}

/* Checklist blocks. */
.an-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.an-check li {
  position: relative;
  padding-left: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--an-muted);
}

.an-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--an-gradient);
}

.an-check li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 5px;
  height: 2.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.an-on-dark .an-check li {
  color: var(--an-subtle);
}

/* Numbered process detail, a wider variant of the home page timeline. */
.an-step-lg {
  position: relative;
  padding-left: 76px;
  padding-bottom: 44px;
}

.an-step-lg::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--an-gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.an-step-lg::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--an-purple), rgba(124, 58, 237, 0.08));
}

.an-step-lg:last-child {
  padding-bottom: 0;
}

.an-step-lg:last-child::after {
  display: none;
}

.an-step-lg h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--an-ink);
  margin: 6px 0 8px;
}

.an-step-lg p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--an-muted);
  margin: 0 0 12px;
}

.an-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.an-step-meta span {
  background: var(--an-purple-glow);
  color: var(--an-purple);
  border-radius: var(--an-r-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* Large figure used on the durations strip. */
.an-figure .an-figure-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--an-purple-light);
  line-height: 1.05;
  display: block;
}

.an-figure .an-figure-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--an-subtle);
  line-height: 1.6;
  display: block;
  margin-top: 6px;
}

@media (max-width: 767px) {
  .an-step-lg {
    padding-left: 62px;
  }
  .an-table th,
  .an-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .an-figure .an-figure-num {
    font-size: 34px;
  }
}

/* Wide image band used to break up text-heavy sections. */
.an-band img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--an-r-lg);
  display: block;
}

.an-on-dark .an-band img {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.an-hdr-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--an-r-lg);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.14);
  display: block;
}

@media (max-width: 767px) {
  .an-band img {
    height: 220px;
  }
  .an-hdr-media img {
    height: 240px;
  }
}

/* 13. Responsive behaviour ------------------------------------------------ */

@media (max-width: 1024px) {
  .an-float-card {
    position: static;
    display: inline-block;
  }
  .an-hero-media img {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .an-stat .elementor-counter-number-wrapper {
    font-size: 30px;
  }
  .an-cat {
    min-height: 260px;
  }
  .an-card img {
    height: 220px;
  }
  .an-marquee p {
    font-size: 18px;
  }
  .an-step {
    padding-left: 52px;
  }
}

/* 14. Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .an-marquee .an-marquee-inner {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .an-card,
  .an-card img,
  .an-dark-card,
  .an-cat::after,
  .an-btn-primary .elementor-button {
    transition: none;
  }
  .an-card:hover,
  .an-dark-card:hover,
  .an-btn-primary .elementor-button:hover {
    transform: none;
  }
}
