/* Home page styles extracted from inline blocks. */

/* CTA buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  box-shadow: 0 10px 25px rgba(255, 122, 24, 0.4);
  transition: all 0.35s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 122, 24, 0.6);
  background: linear-gradient(135deg, #ff512f, #ff9966);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #007cf0, #00dfd8);
  box-shadow: 0 10px 25px rgba(0, 124, 240, 0.4);
  transition: all 0.35s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 124, 240, 0.6);
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* Segment grid */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  padding-top: 10px;
}

.segment-box {
  position: relative;
  padding: 16px 14px;
  border-radius: 14px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: 0.35s;
  transform: translateY(30px);
  opacity: 0;
  animation: popCard 0.8s forwards;
}

.segment-box:nth-child(1) {
  animation-delay: 0.2s;
}
.segment-box:nth-child(2) {
  animation-delay: 0.5s;
}
.segment-box:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes popCard {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.seg1 {
  background: linear-gradient(135deg, #ff6a00, #ff9a44);
}
.seg2 {
  background: linear-gradient(135deg, #007cf0, #00dfd8);
}
.seg3 {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}

.segment-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
}

.segment-box strong {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  padding: 3px 6px;
  border-radius: 6px;
}

.segment-box p {
  font-size: 12px;
  margin: 4px 0;
  font-weight: 600;
}

.segment-box:hover {
  transform: translateY(-7px) scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.segment-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-25deg);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}

@media (max-width: 700px) {
  .segment-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  padding: 20px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff, #ecfdf5);
  background-size: 300% 300%;
  animation: bgFlow 12s ease infinite;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

@keyframes bgFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.45;
  animation: floatBubble 10s infinite ease-in-out;
}

.hero-visual::before {
  width: 140px;
  height: 140px;
  background: #38bdf8;
  top: -40px;
  right: -30px;
}

.hero-visual::after {
  width: 160px;
  height: 160px;
  background: #34d399;
  bottom: -60px;
  left: -40px;
  animation-duration: 14s;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-card {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-animated-text-wrap {
  text-align: center;
  margin-top: 25px;
}

.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0284c7;
}

.hero-sub {
  font-size: 12px;
  color: #475569;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.hero-badge span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.product-text {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-top: 20px;
  transition: 0.6s;
  letter-spacing: 0.5px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.info-card {
  border-radius: 14px;
  padding: 10px;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: 0.35s;
}

.info1 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.info2 {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
}
.info3 {
  background: linear-gradient(135deg, #e0f2fe, #7dd3fc);
}

.info-card strong {
  display: block;
  font-size: 12px;
  color: #0f172a;
  margin-bottom: 2px;
}

.info-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

/* Reviews mini-carousel */
.xacto-review-wrapper {
  padding: 0px 30px 80px 30px;
  font-family: sans-serif;
  text-align: center;
}

.xacto-review-container {
  position: relative;
  max-width: 650px;
  margin: auto;
  height: 170px;
}

.xacto-review {
  position: absolute;
  width: 100%;
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.6s ease;
}

.xacto-review.active {
  opacity: 1;
  transform: scale(1);
}

.xacto-review.explode {
  animation: xacto-explode 0.6s forwards;
}

.xacto-stars {
  font-size: 24px;
  color: #ffd700;
  margin-bottom: 10px;
}

.xacto-text {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

.xacto-author {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
}

.xacto-author span {
  color: #4285f4;
  margin-left: 6px;
  font-size: 12px;
}

@keyframes xacto-explode {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.4) rotate(6deg);
  }
  100% {
    transform: scale(0.1) rotate(20deg);
    opacity: 0;
  }
}

/* About features + stats */
.features {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.feature-card {
  position: relative;
  padding: 12px 10px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: 0.35s;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature1 {
  border: 2px solid #ff5722;
}
.feature2 {
  border: 2px solid #2196f3;
}
.feature3 {
  border: 2px solid #00c853;
}
.feature4 {
  border: 2px solid #ff00aa;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.feature-card h4 {
  margin: 3px 0;
  font-size: 13px;
  font-weight: 700;
}

.feature-card p {
  font-size: 10px;
  color: #555;
  line-height: 1.3;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  background-size: 200% 200%;
  animation: shine2 5s linear infinite;
}

@keyframes shine2 {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.stat-box {
  position: relative;
  width: 120px;
  padding: 10px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.stat-box:hover {
  transform: scale(1.06);
}

.stat-box h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.stat-box p {
  font-size: 10px;
  margin-top: 3px;
  color: #555;
}

.stat-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background-size: 300% 300%;
  z-index: -1;
  animation: borderMove 4s linear infinite;
}

.stat1::before {
  background: linear-gradient(90deg, #ff512f, #ff9966, #ff512f);
}
.stat2::before {
  background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
}
.stat3::before {
  background: linear-gradient(90deg, #00ff87, #60efff, #00ff87);
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box {
    width: 30%;
    min-width: 90px;
  }
}

/* Ecosystem canvas scene */
.ecosystem {
  position: relative;
  width: 95%;
  max-width: 1000px;
  aspect-ratio: 1/1;
  margin: auto;
  border-radius: 25px;
  overflow: hidden;
}

.center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
}

.star {
  font-size: clamp(100px, 15vw, 160px);
  color: #ffd84d;
  display: block;
  animation: spin 10s linear infinite;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(630deg);
  }
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(22px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: clamp(3px, 1vw, 8px);
  color: #111;
}

.block {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: clamp(8px, 1.2vw, 14px) clamp(12px, 2vw, 22px);
  border-radius: 14px;
  font-weight: 600;
  font-size: clamp(11px, 1.3vw, 14px);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.b1 {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}
.b2 {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}
.b3 {
  background: linear-gradient(135deg, #f97316, #fb923c);
}
.b4 {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
}
.b5 {
  background: linear-gradient(135deg, #a855f7, #c084fc);
}
.b6 {
  background: linear-gradient(135deg, #ef4444, #f87171);
}
.b7 {
  background: linear-gradient(135deg, #10b981, #34d399);
}
.b8 {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

@keyframes shake {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  25% {
    transform: translate(-50%, -50%) rotate(3deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(3deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0);
  }
}

.shake {
  animation: shake 0.18s infinite;
}

@keyframes pop {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  40% {
    transform: translate(-50%, -50%) scale(1.9);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.pop {
  animation: pop 0.6s ease;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Home: product showcase section (xpro) */
.xpro-section {
  padding: 110px 20px;
  background: linear-gradient(135deg, #02142a, #041c3a, #000814);
  color: white;
  font-family: Inter, system-ui;
}

.xpro-container {
  max-width: 1200px;
  margin: auto;
}

.xpro-header {
  text-align: center;
  margin-bottom: 70px;
}

.xpro-subtitle {
  letter-spacing: 3px;
  font-size: 13px;
  color: #60a5fa;
  margin-bottom: 15px;
}

.xpro-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.xpro-title span {
  color: #93c5fd;
}

.xpro-desc {
  color: #9ca3af;
  max-width: 600px;
  margin: auto;
}

.xpro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.xpro-card {
  position: relative;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(#020617, #020617) padding-box,
    linear-gradient(135deg, #00f0ff, #ff7a18, #00ff9d) border-box;
  border: 1px solid transparent;
  transition: all 0.35s ease;
  overflow: hidden;
}

.xpro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 200, 0.2);
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.green {
  background: #10b981;
}
.blue {
  background: #3b82f6;
}
.cyan {
  background: #06b6d4;
}
.orange {
  background: #fb923c;
}
.red {
  background: #ef4444;
}

.xpro-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.xpro-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 18px;
}

.xpro-btn {
  display: inline-block;
  font-size: 14px;
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.xpro-btn:hover {
  color: white;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .xpro-title {
    font-size: 32px;
  }
  .xpro-section {
    padding: 80px 18px;
  }
}

/* Home: brand story videos row */
.video-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 20px;
}

.video-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #ff7a00;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: #000;
  display: flex;
  flex-direction: column;
}

.video-box video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
}

.play-btn:hover {
  background: #ff7a00;
}

.scene-title {
  text-align: center;
  padding: 20px 10px;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.title1 {
  background: linear-gradient(45deg, #ff7a00, #ff3c00);
}
.title2 {
  background: linear-gradient(45deg, #e91e63, #ff0080);
}
.title3 {
  background: linear-gradient(45deg, #007bff, #00c6ff);
}
.title4 {
  background: linear-gradient(45deg, #00b894, #00e676);
}
.title5 {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
}

@media (max-width: 1000px) {
  .video-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .video-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

