/*
 * Stylesheet for SmartyReviews AI landing page.
 *
 * This file defines a modern, futuristic aesthetic inspired by SaaS
 * applications. Colours are electric blues and violets, mixed with dark
 * backgrounds for contrast. Glassmorphism and subtle 3D effects are used
 * throughout, along with animations for a dynamic experience.
 */

/* CSS variables for quick colour/theme adjustments */
:root {
  /*
   * Updated colour palette for a dark/yellow theme. We replace the previous
   * electric blue and violet tones with warm yellows and deep greys. These
   * variables drive the entire site theme.
   */
  --primary-color: #f5c914; /* warm yellow for buttons and highlights */
  --secondary-color: #2c2c2c; /* dark grey gradient start */
  --secondary-color-end: #1a1a1a; /* darker grey gradient end */
  --accent-color: #ffd966; /* pale yellow accent */
  --background-color: #000000; /* pure black background */
  --card-bg: rgba(255, 255, 255, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --border-radius: 1rem;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.6);

  /* Colour used for the rotating logo approximation */
  --logo-color: #f5c914;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar at the top for section navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.8rem 2rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  margin: 0;
}
.nav-list a {
  color: #e6e6e6;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-list a:hover {
  color: var(--primary-color);
}

/* Container for additional icons in the navbar */
.nav-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Generic nav icon styles */
.nav-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  position: relative;
  transform-style: preserve-3d;
}

/* QR icon: darkened and rotates around the Y axis */
.qr-icon {
  filter: grayscale(100%) brightness(0.6);
  animation: rotateQR 12s linear infinite;
  object-fit: contain;
}

@keyframes rotateQR {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Star icon: custom CSS shape rotating in 3D */
.star-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: rotateStar 18s linear infinite;
}

@keyframes rotateStar {
  from {
    transform: rotateY(0deg) rotateX(0deg);
  }
  to {
    transform: rotateY(360deg) rotateX(360deg);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #aaaaaa;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.emoji {
  font-size: 1.8rem;
  display: inline-block;
  animation: floatEmoji 4s ease-in-out infinite;
}

@keyframes floatEmoji {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 2rem 2rem; /* top padding to avoid navbar overlap */
  overflow: hidden;
  gap: 1rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Moving gradient background – subtle yellow on dark */
  background: linear-gradient(
    130deg,
    rgba(245, 201, 20, 0.1),
    rgba(0, 0, 0, 0.1)
  );
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
  opacity: 0.12;
  z-index: 1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  /* Center hero content horizontally and align text centrally */
  margin: 0 auto;
  text-align: center;
}

/* Tagline below hero subtitle */
.hero-tagline {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.primary-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 4px 12px rgba(245, 201, 20, 0.5);
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Rotating cube */
.cube-wrapper {
  position: absolute;
  right: 8%;
  bottom: 15%;
  width: 240px;
  height: 240px;
  perspective: 800px;
  z-index: 1;
}

/* Rotating 3D text for SmartyReviews */
/* Rotating 3D title: extruded text that spins slowly */
.rotating-title {
  position: absolute;
  right: 5%;
  top: 40%;
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: rotateTitle 20s linear infinite;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3), 0 0 14px rgba(245, 201, 20, 0.2);
  white-space: nowrap;
  z-index: 2;
}
.rotating-title span {
  background: linear-gradient(45deg, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes rotateTitle {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Floating decorative shapes */
.decor-shapes {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}
.decor-shapes .shape {
  position: absolute;
  opacity: 0.7;
  animation: floatShape 20s ease-in-out infinite;
}
.decor-shapes .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 201, 20, 0.08);
  border: 1px solid rgba(245, 201, 20, 0.3);
  top: -40px;
  left: -40px;
  animation-duration: 25s;
}
.decor-shapes .square {
  width: 60px;
  height: 60px;
  background: rgba(245, 201, 20, 0.05);
  border: 1px solid rgba(245, 201, 20, 0.25);
  top: 80px;
  left: -30px;
  animation-duration: 18s;
}
.decor-shapes .triangle {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(245, 201, 20, 0.07);
  position: absolute;
  top: 160px;
  left: 20px;
  animation-duration: 22s;
}

/* Star shape using clip-path for a five‑pointed star */
.decor-shapes .star {
  width: 70px;
  height: 70px;
  background: rgba(245, 201, 20, 0.05);
  border: 1px solid rgba(245, 201, 20, 0.25);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  top: 230px;
  left: -20px;
  animation-duration: 26s;
}

@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Hero illustration container */
.hero-illustration {
  position: absolute;
  bottom: 10%;
  right: 2%;
  width: 300px;
  max-width: 40%;
  z-index: 2;
  animation: floatDemo 8s ease-in-out infinite;
}
.hero-illustration img {
  width: 100%;
  height: auto;
}

/* Rotating logo shape inspired by SmartyReviews */
/*
 * Rotating logo shape inspired by SmartyReviews.
 * Position it in the top right of the hero instead of the left. On
 * mobile screens the logo stays smaller and keeps its position.
 */
.logo-shape {
  position: absolute;
  top: 10%;
  right: 2%;
  left: auto;
  width: 80px;
  height: 80px;
  background-color: var(--logo-color);
  clip-path: polygon(
    25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%
  );
  box-shadow: 0 4px 12px rgba(245, 201, 20, 0.4);
  animation: spinLogo 12s linear infinite;
  z-index: 3;
}


@keyframes spinLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hero-illustration img {
  width: 100%;
  height: auto;
}

/* Add a subtle hover effect on the dashboard screenshot: it lifts and
 * casts a shadow when hovered. The transition keeps the motion smooth. */
.dashboard-image {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  border-radius: 12px;
  overflow: hidden;
}

.dashboard-image:hover {
  transform: translateY(-8px) scale(1.04) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Additional decorative shapes for the dashboard section. A triangle and
 * star gently float near the chart to reinforce the 3D aesthetic. */
.dashboard-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.dashboard-triangle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: floatTriangle 16s ease-in-out infinite;
}

.dashboard-star {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
    50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  animation: floatStar 20s ease-in-out infinite;
}

@keyframes floatTriangle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, -20px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes floatStar {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-30px, 20px) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) rotate(-360deg);
  }
}

/* Responsive adjustments: stack the dashboard image and chart on small
 * screens and reduce decorative shape sizes. */
@media (max-width: 768px) {
  .dashboard-wrapper,
  .interactive-chart {
    width: 100%;
  }
  .dashboard-image {
    max-width: 100%;
  }
  .chart-buttons {
    justify-content: center;
  }
  .dashboard-triangle,
  .dashboard-star {
    width: 40px;
    height: 40px;
  }
  .logo-shape {
    top: 5%;
    right: 5%;
    width: 60px;
    height: 60px;
  }
}

/* ================== New Layouts and Components =================== */

/* Filter section grid layout */
.filter-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-step {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  flex: 1 1 250px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.filter-step:hover {
  transform: translateY(-6px) scale(1.02);
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.95rem;
  color: #cccccc;
}

/* Progress bars in filter section */
.filter-progress {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.progress-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.progress-label {
  flex: 0 0 200px;
  font-weight: 500;
}
.progress-bar {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--percentage) * 1%);
  background: var(--primary-color);
  box-shadow: 0 0 12px rgba(245, 201, 20, 0.5);
  animation: growBar 2s ease-out forwards;
}
.progress-value {
  margin-left: 0.5rem;
  font-weight: 600;
}
@keyframes growBar {
  from {
    width: 0;
  }
  to {
    width: calc(var(--percentage) * 1%);
  }
}

/* Decorative shapes for filtrage section */
.filtrage-decor {
  position: relative;
  width: 100%;
  height: 100px;
  margin-top: 3rem;
  pointer-events: none;
}
.decor-cylinder {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(245, 201, 20, 0.2);
  top: 0;
  left: 20%;
  animation: rotateCircle 18s linear infinite;
}
.decor-pentagon {
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(245, 201, 20, 0.05);
  border: 1px solid rgba(245, 201, 20, 0.15);
  clip-path: polygon(50% 0%, 95% 38%, 78% 94%, 22% 94%, 5% 38%);
  top: 15px;
  left: 45%;
  animation: floatPentagon 22s ease-in-out infinite;
}
.decor-diamond {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(245, 201, 20, 0.04);
  border: 1px solid rgba(245, 201, 20, 0.15);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  top: -10px;
  left: 70%;
  animation: floatDiamond 20s ease-in-out infinite;
}
@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes floatPentagon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}
@keyframes floatDiamond {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(25px) rotate(180deg);
  }
}

/* Dashboard container layout */
.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 3rem;
}
.dashboard-screenshot {
  flex: 1 1 380px;
  max-width: 420px;
  position: relative;
  perspective: 800px;
}
.dashboard-metrics {
  flex: 1 1 280px;
  max-width: 340px;
  display: grid;
  gap: 1.2rem;
}
.metric-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.metric-card:hover {
  transform: translateY(-5px) scale(1.02);
}
.metric-icon {
  font-size: 1.8rem;
}
.metric-info {
  display: flex;
  flex-direction: column;
}
.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}
.metric-label {
  font-size: 0.9rem;
  color: #cccccc;
}
.chart-container {
  position: relative;
  width: 100%;
  height: 320px;
  margin-top: 1rem;
}

/* Additional dashboard shape: sphere */
.dashboard-sphere {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  animation: floatSphere 18s linear infinite;
}
@keyframes floatSphere {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -25px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Page-wide decorative shapes */
.page-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.page-shape {
  position: absolute;
  opacity: 0.07;
  animation: rotateSlow 30s linear infinite;
}
.page-shape.pentagon {
  width: 150px;
  height: 150px;
  background: rgba(245, 201, 20, 0.03);
  border: 1px solid rgba(245, 201, 20, 0.1);
  clip-path: polygon(50% 0%, 95% 38%, 78% 94%, 22% 94%, 5% 38%);
  top: 20%;
  left: 10%;
  animation-duration: 36s;
}
.page-shape.diamond {
  width: 120px;
  height: 120px;
  background: rgba(245, 201, 20, 0.025);
  border: 1px solid rgba(245, 201, 20, 0.1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  top: 60%;
  left: 70%;
  animation-duration: 40s;
}
.page-shape.cone {
  width: 100px;
  height: 100px;
  background: rgba(245, 201, 20, 0.03);
  border: 1px solid rgba(245, 201, 20, 0.09);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  top: 80%;
  left: 30%;
  animation-duration: 32s;
}
@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Cursor glow effect */
#cursor-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 201, 20, 0.2) 0%, rgba(245, 201, 20, 0) 70%);
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%);
  z-index: 200;
  opacity: 0.5;
  transition: transform 0.1s ease-out;
}

/* Navbar left‑aligned list spacing for improved readability */
.nav-list {
  flex: 1;
  justify-content: flex-start;
}

/* Chart buttons improvements */
.chart-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.chart-btn {
  background: var(--secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: #e6e6e6;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.chart-btn:hover {
  background: var(--logo-color);
  transform: translateY(-3px);
}
.chart-btn.active {
  background: var(--primary-color);
  color: #000;
  font-weight: 600;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 25s linear infinite;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.face-front {
  transform: translateZ(120px);
}
.face-back {
  transform: rotateY(180deg) translateZ(120px);
}
.face-top {
  transform: rotateX(90deg) translateZ(120px);
}
.face-bottom {
  transform: rotateX(-90deg) translateZ(120px);
}
.face-left {
  transform: rotateY(-90deg) translateZ(120px);
}
.face-right {
  transform: rotateY(90deg) translateZ(120px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* =============== Hero Brand Highlight =============== */
.hero-brand {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 1rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  animation: floatBrand 6s ease-in-out infinite;
}
.brand-highlight {
  color: var(--primary-color);
}
@keyframes floatBrand {
  0%, 100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-6px) rotateY(5deg);
  }
}

/* =============== Trust Section Styles =============== */
.trust {
  background: linear-gradient(
    135deg,
    rgba(245, 201, 20, 0.04),
    rgba(0, 0, 0, 0.02)
  );
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.trust-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  min-width: 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.trust-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}
.trust-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  animation: pulse 3s ease-in-out infinite;
}
.trust-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}
.trust-label {
  font-size: 0.9rem;
  color: #cccccc;
}

/* ================== Integrations Section =================== */
.integrations {
  background: linear-gradient(
    135deg,
    rgba(245, 201, 20, 0.04),
    rgba(0, 0, 0, 0.02)
  );
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
}
.integration-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.integration-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}
.integration-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  /* Add a subtle light background behind logos to ensure visibility */
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 12px;
}
.integration-name {
  font-weight: 500;
  margin-top: 0.3rem;
  color: #e6e6e6;
}
.social-note {
  text-align: center;
  font-size: 0.9rem;
  color: #aaaaaa;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

/* Language switcher styling */
.lang-switch {
  margin-left: 1rem;
}
.lang-switch .lang-link {
  color: #e6e6e6;
  border: 1px solid var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.lang-switch .lang-link:hover {
  background-color: var(--primary-color);
  color: #000000;
}

/* Social networks section */
.social {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
}
.social-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.social-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}
.social-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 14px;
}
.social-name {
  font-weight: 500;
  margin-top: 0.3rem;
  color: #e6e6e6;
}

/* Style for English page language switch (list item) */
.language-switch a {
  color: #e6e6e6;
  border: 1px solid var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.language-switch a:hover {
  background-color: var(--primary-color);
  color: #000000;
}

/* ================== Campaigns Section =================== */
.campaigns {
  /* Use a uniform dark gradient similar to other sections */
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  padding: 4rem 2rem;
  position: relative;
}
.campaigns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.campaign-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.campaign-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}
.campaign-icon {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
  animation: pulse 3s ease-in-out infinite;
  color: var(--accent-color);
}
.campaign-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.campaign-text {
  font-size: 1rem;
  color: #cccccc;
}
.campaign-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}
.decor-envelope {
  position: absolute;
  width: 80px;
  height: 60px;
  border: 1px solid rgba(245, 201, 20, 0.15);
  background: rgba(245, 201, 20, 0.05);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  top: 10px;
  left: 20%;
  animation: floatEnvelope 24s ease-in-out infinite;
}
.decor-bubble {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(245, 201, 20, 0.15);
  background: rgba(245, 201, 20, 0.04);
  top: 40px;
  left: 70%;
  animation: floatBubble 28s ease-in-out infinite;
}
@keyframes floatEnvelope {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}
@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

/* Features section */
.features {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  /* Add subtle pulsing to icons */
  animation: pulse 3s ease-in-out infinite;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-description {
  font-size: 1rem;
  color: #cccccc;
}

/* Demo section */
.demo {
  /* Darker background for demo with a hint of yellow */
  background: linear-gradient(
    120deg,
    rgba(245, 201, 20, 0.05),
    rgba(40, 40, 40, 0.05)
  );
}

.demo-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  perspective: 1000px;
}

.demo-image {
  width: 100%;
  display: block;
  animation: floatDemo 8s ease-in-out infinite;
}

@keyframes floatDemo {
  0%, 100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateY(5deg);
  }
}

/* Testimonials */
.testimonials {
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  overflow: hidden;
}

.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: slideCarousel 30s linear infinite;
}

.carousel-item {
  min-width: 300px;
  max-width: 300px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  border: 2px solid var(--primary-color);
}

.testimonial-text {
  font-size: 0.95rem;
  color: #dddddd;
  margin-bottom: 0.8rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.9rem;
}

@keyframes slideCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pricing */
.pricing {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(0, 0, 0, 0) 80%
  );
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 280px;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: pulseCard 6s ease-in-out infinite;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}

.highlight-card {
  border: 2px solid var(--accent-color);
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
  /* lighten the list colour by default */
  color: #cccccc;
}

.pricing-features li {
  margin-bottom: 0.5rem;
}

.pricing-btn {
  display: inline-block;
  margin-top: auto;
  background: linear-gradient(
    45deg,
    var(--accent-color),
    var(--primary-color)
  );
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.6rem 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Contact */
.contact {
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.03),
    rgba(0, 0, 0, 0) 70%
  );
}

/*
 * Integration icons
 *
 * We keep a small custom size for the social network icons used
 * alongside the integration lists. These are unaffected by the
 * general card styling and will always display at 20px.
 */
.integration-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
  transition: transform 0.3s ease;
}

/* Simple hover animation for integration icons */
.pricing-features li:hover .integration-icon {
  transform: scale(1.15) rotate(6deg);
}

/*
 * The pricing and QR plaque cards use the same glassy aesthetic as the rest
 * of the site. The dark background override introduced previously has been
 * removed to restore the original look and feel. The card colours and
 * typography inherit from the base `.pricing-card` rules defined earlier
 * in this file.
 */

/*
 * Prepayment forms in the pricing section
 * These forms are displayed inside each pricing card. We arrange the inputs
 * vertically with a small gap and reuse the contact input styling for a
 * consistent glassy look. The margin‑top separates the form from the list
 * of features.
 */
.pricing-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pricing-form input {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.8rem;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.pricing-form input:focus {
  border-color: var(--primary-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

/* Style call button container within contact section */
.contact-call {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.contact-call .btn {
  /* Increase font size slightly for the phone CTA */
  font-size: 1.05rem;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-input,
.contact-textarea {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.8rem;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--primary-color);
}

.chatbot {
  flex: 1 1 250px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: floatBot 6s ease-in-out infinite;
}

.chatbot-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.chatbot-text {
  font-size: 1rem;
  color: #cccccc;
}

@keyframes floatBot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
}

.footer p {
  color: #777777;
}

/* Reveal animations: hidden by default; fade/slide in when visible */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulsing animation for icons and pricing cards */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes pulseCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Glow effect for highlighted typewriter text */
@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 8px var(--accent-color);
  }
  50% {
    text-shadow: 0 0 20px var(--accent-color);
  }
}

/* Apply glow to hero highlighted text */
.hero-title .highlight {
  color: var(--accent-color);
  animation: glow 4s ease-in-out infinite;
}

/* Hide rotating cube on very small screens */
@media (max-width: 600px) {
  .cube-wrapper {
    display: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .cube-wrapper {
    width: 160px;
    height: 160px;
    right: 5%;
  }
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* FAQ cards styling for a more professional look */
.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-items details {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 1.2rem 1.4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
}

.faq-items summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  outline: none;
  position: relative;
  padding-right: 2rem;
}

.faq-items summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-items details[open] summary::after {
  content: '–';
  transform: rotate(180deg);
}

.faq-items p {
  margin-top: 0.8rem;
  color: #cccccc;
  line-height: 1.5;
}

/*
 * Additional 3D cubes for each section
 * These decorative cubes subtly float in the background of sections to
 * reinforce the immersive, futuristic theme. They reuse the cube face
 * markup but scale down in size, lighten the colour and rotate slowly.
 */
.section-cube {
  position: absolute;
  width: 140px;
  height: 140px;
  perspective: 600px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.section-cube .cube {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateCubeSmall 40s linear infinite;
}
.section-cube .face {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

/* Positioning for each section's cube */
.features-cube { top: 25%; right: 6%; }
.dashboard-cube { top: 20%; left: 4%; }
.testimonials-cube { bottom: 15%; right: 10%; }
.pricing-cube { top: 30%; left: 8%; }
.faq-cube { bottom: 20%; left: 6%; }
.contact-cube { top: 25%; right: 8%; }

@keyframes rotateCubeSmall {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* Dashboard charts section */
.dashboard-charts {
  margin: 3rem auto 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
}

.chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.chart-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.chart-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  width: 0%;
  animation: growBar 3s ease-out forwards;
}

.chart-info {
  font-size: 0.9rem;
  color: #cccccc;
}

/* Interactive chart for plan performance */
.interactive-chart {
  margin: 3rem auto;
  max-width: 800px;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.chart-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chart-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.chart-btn:hover,
.chart-btn.active {
  background: var(--primary-color);
  color: var(--background-color);
  transform: translateY(-3px);
}

/* Canvas container for performance chart using Chart.js */
#performanceChart {
  width: 100%;
  height: 280px;
  max-height: 280px;
  display: block;
  margin: 0 auto;
}

/* Remove animation-specific stroke properties from previous SVG chart */
#performance-chart path.animate {
  animation: drawLineChart 2s ease-out forwards;
}

@keyframes drawLineChart {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===================================== */
/* Professional layout for filter cards  */
/* ===================================== */

/* Layout adjustments for the filter section */
.filter-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
}

/* Container holding the three cards */
.filter-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1 1 300px;
}

/* Individual card styling */
.filter-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.filter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.6);
}

/* Icon styling within cards */
.filter-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.filter-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.filter-card-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #e0e0e0;
}

/* Container for the 3D decorative shapes within filter section */
.filter-graphic {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shapes container overlaying the cylinder */
.filter-shapes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Generic shape styling for filter shapes */
.filter-shapes .shape {
  position: absolute;
  opacity: 0.6;
  animation: floatShape 18s ease-in-out infinite;
}

/* Triangle shape inside filter section */
.filter-shapes .triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid rgba(245, 201, 20, 0.08);
  top: -60px;
  left: -50px;
  animation-duration: 20s;
}

/* Star shape inside filter section */
.filter-shapes .star {
  width: 60px;
  height: 60px;
  background: rgba(245, 201, 20, 0.05);
  border: 1px solid rgba(245, 201, 20, 0.2);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  top: 50px;
  left: 40px;
  animation-duration: 24s;
}

@keyframes growBar {
  0% { width: 0%; }
  100% { width: var(--percentage); }
}

/* Filter stats bars */
.filter-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.stat-bar .label {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.stat-bar .bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.stat-bar .fill {
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  width: 0%;
  animation: growBarFilter 3s ease-out forwards;
}

.stat-bar .value {
  font-size: 0.9rem;
  color: #cccccc;
}

@keyframes growBarFilter {
  0% { width: 0%; }
  100% { width: var(--value); }
}

/* Curve charts for performance growth */
.plan-curves {
  margin: 2rem auto;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
}

.curve-card {
  text-align: center;
  width: 200px;
}

.curve-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.curve-svg {
  width: 100%;
  height: 80px;
}

.curve-svg path {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 4s ease-out forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Small rotating cubes in hero */
.hero-cube-small-1,
.hero-cube-small-2 {
  position: absolute;
  width: 100px;
  height: 100px;
  perspective: 600px;
  z-index: 1;
}
.hero-cube-small-1 { top: 15%; left: 15%; }
.hero-cube-small-2 { bottom: 20%; right: 15%; }
.hero-cube-small-1 .cube,
.hero-cube-small-2 .cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 35s linear infinite;
}
.hero-cube-small-1 .face,
.hero-cube-small-2 .face {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Additional colored hero cubes */
.hero-cube-yellow,
.hero-cube-black {
  position: absolute;
  width: 80px;
  height: 80px;
  perspective: 600px;
  z-index: 1;
}

/* Positions for extra cubes */
.hero-cube-yellow { top: 60%; left: 8%; }
.hero-cube-black { top: 12%; right: 8%; }

.hero-cube-yellow .cube,
.hero-cube-black .cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 35s linear infinite;
}

.hero-cube-yellow .face {
  /* Yellow tinted faces with slight transparency */
  background: rgba(255, 221, 0, 0.06);
  border: 1px solid rgba(255, 221, 0, 0.1);
}
.hero-cube-black .face {
  /* Subtle dark tinted faces */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ----- Additional enhancements (shadow effects, dashboard preview, FAQ) ----- */

/* Apply consistent shadow and rounded corners to the dashboard preview */
.dashboard-image {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Style FAQ items as cards with glass effect and shadow */
.faq-items details {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-items summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-color);
}

.faq-items details[open] {
  border-color: var(--primary-color);
}

/* New pricing section layout and animations */
.pricing-section {
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.highlight-card {
  border: 2px solid #2f855a;
}
.price {
  font-size: 2rem;
  color: #2f855a;
  margin: 10px 0;
}
.price span {
  font-size: 1rem;
  color: #666;
}
.subtitle {
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark theme for pricing and QR cards
 * To maintain the glass‑like aesthetic while providing contrast, we set a
 * semi‑transparent black background and light text colours. These rules
 * target only the pricing cards within the pricing and qr‑plaque sections
 * so other cards remain unchanged. */
.pricing .pricing-card,
.qr-plaque .pricing-card {
  background: rgba(0, 0, 0, 0.7);
  color: #f5f5f5;
}

.pricing .pricing-features,
.qr-plaque .pricing-features {
  color: #e5e5e5;
}

.pricing .pricing-price,
.qr-plaque .pricing-price {
  color: var(--accent-color);
}

/* Styling for QR code icon in the plaque card */
.qr-icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 1rem;
  animation: rotateQR 6s linear infinite;
}

@keyframes rotateQR {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}