:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --text: #fff;
  --muted: #94a3b8;
  --bg: #0a0a0a;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}
.hero {
  padding: 8rem 10rem 6rem;
  min-height: 66vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.hero-slide {
  display: none;
  animation: fade 0.5s ease;
}
.hero-slide.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font: 700 4rem/1.1 ui-sans-serif, -apple-system, Segoe UI, Roboto, Inter,
    Arial;
  letter-spacing: -0.5px;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 620px;
  color: var(--muted);
  font: 400 1.1rem/1.6 ui-sans-serif, -apple-system, Segoe UI, Roboto, Inter,
    Arial;
  margin: 0 0 2rem;
}

.cta-group {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.cta-button,
.cta-button-secondary {
  display: inline-block;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: 0.25s;
}
.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}
.cta-button:hover,
.cta-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(99, 102, 241, 0.12);
}
.cta-button-secondary {
  background: transparent;
}

.stats-container {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-number {
  font: 700 2rem/1 ui-sans-serif, -apple-system, Segoe UI, Roboto, Inter, Arial;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  color: var(--muted);
  font-weight: 500;
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.hero-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
}
.hero-dots .dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-graphics {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
  pointer-events: none;
}
.gradient-orb {
  position: absolute;
  width: 820px;
  height: 820px;
  right: -220px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.16) 0%,
    rgba(99, 102, 241, 0.1) 25%,
    rgba(99, 102, 241, 0) 70%
  );
  border-radius: 50%;
  filter: blur(40px);
}
.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}
.card {
  position: absolute;
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.card-1 {
  width: 300px;
  height: 200px;
  top: 20%;
  right: 20%;
  --r: -12deg;
  transform: rotate(var(--r));
  animation: float 6s ease-in-out infinite;
}
.card-2 {
  width: 250px;
  height: 150px;
  top: 42%;
  right: 42%;
  --r: 9deg;
  transform: rotate(var(--r));
  animation: float 8s ease-in-out infinite;
}
.card-3 {
  width: 200px;
  height: 120px;
  top: 64%;
  right: 30%;
  --r: -5deg;
  transform: rotate(var(--r));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r));
  }
  50% {
    transform: translateY(-14px) rotate(var(--r));
  }
}

.hero-visual {
  position: relative;
  width: 456px;
  max-width: 46vw;
  margin: 0 2rem;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin: -40px 0 0 -40px;
  background: var(--primary);
  width: 80px;
  height: 80px;
  border-radius: 80px;
  filter: blur(40px);
  opacity: 0;
  transition: 600ms cubic-bezier(0.5, 0.01, 0.14, 0.99);
}
.ring {
  display: block;
  margin: 0 auto;
}
.ellipse {
  stroke: hsl(243, 85%, 70%);
  stroke-width: 1;
  transform-origin: center;
  transition: 6s cubic-bezier(0.5, 0.01, 0.14, 0.99);
  opacity: 0;
}
.hero__center {
  height: 60px;
  width: 152px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 50%;
  left: 50%;
  z-index: 3;
  margin: -30px 0 0 -76px;
}
.hero__center__appicon-left,
.hero__center__appicon-right {
  height: 60px;
  width: 60px;
  border-radius: 20px;
  background: #fff;
  background-size: 60% auto;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(40px);
  opacity: 0;
  transition: 1s cubic-bezier(1, 0, 0.46, 1);
}
.hero__center__appicon-left {
  background-image: url("/assets/img/react.svg");
}
.hero__center__appicon-right {
  background-image: url("/assets/img/expo.svg");
  background-size: 40% auto;
}
.hero__center__plus {
  fill: #fff;
  transform: rotate(0);
  transform-origin: center;
  opacity: 0;
  transition: 1s cubic-bezier(1, 0, 0.46, 1);
}
.spin {
  animation: spin 150s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* trigger sequence */
.loading-done .hero-visual::before {
  opacity: 1;
}
.loading-done .hero__center__appicon-left,
.loading-done .hero__center__appicon-right {
  transform: translateY(0);
  opacity: 1;
}
.loading-done .hero__center__plus {
  transform: rotate(45deg);
  opacity: 1;
}
.loading-done .e-1 {
  transform: rotate(165deg);
  opacity: 1;
}
.loading-done .e-2 {
  transform: rotate(150deg);
  opacity: 0.9;
}
.loading-done .e-3 {
  transform: rotate(135deg);
  opacity: 0.8;
}
.loading-done .e-4 {
  transform: rotate(120deg);
  opacity: 0.7;
}
.loading-done .e-5 {
  transform: rotate(105deg);
  opacity: 0.6;
}
.loading-done .e-6 {
  transform: rotate(90deg);
  opacity: 0.5;
}
.loading-done .e-7 {
  transform: rotate(75deg);
  opacity: 0.4;
}
.loading-done .e-8 {
  transform: rotate(60deg);
  opacity: 0.3;
}
.loading-done .e-9 {
  transform: rotate(45deg);
  opacity: 0.2;
}
.loading-done .e-10 {
  transform: rotate(30deg);
  opacity: 0.12;
}
.loading-done .e-11 {
  transform: rotate(15deg);
  opacity: 0.08;
}
.loading-done .e-12 {
  transform: rotate(0);
  opacity: 0.05;
}

/* responsive */
@media (max-width: 1100px) {
  .hero {
    padding: 7rem 1.5rem 5rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-graphics {
    opacity: 0.65;
    width: 48%;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 7rem 1rem 4rem;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-content {
    max-width: 800px;
  }
  .hero-graphics {
    position: relative;
    transform: none;
    top: auto;
    right: auto;
    width: 100%;
    height: 360px;
  }
  .cta-group {
    justify-content: center;
  }
}

/* End of hero.css */

:root {
  --brand: hsl(213, 100%, 66%);
  --bg-primary: hsl(0, 0%, 100%);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 456px;
  margin: 0 auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin-top: -40px;
  margin-left: -40px;
  background: var(--brand);
  width: 80px;
  height: 80px;
  border-radius: 80px;
  filter: blur(40px);
  opacity: 0;
  transition: all cubic-bezier(0.5, 0.01, 0.14, 0.99) 600ms;
}
.hero__center {
  height: 60px;
  width: 152px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 50%;
  left: 50%;
  z-index: 3;
  margin-top: -30px;
  margin-left: -76px;
}
.hero__center__appicon-left {
  height: 60px;
  width: 60px;
  border-radius: 20px;
  background: var(--bg-primary);
  background-image: url("https://www.svgrepo.com/show/327388/logo-react.svg");
  background-size: 60% auto;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(40px);
  opacity: 0;
  transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.hero__center__appicon-right {
  height: 60px;
  width: 60px;
  border-radius: 20px;
  background: var(--bg-primary);
  background-image: url("https://www.svgrepo.com/show/353723/expo-icon.svg");
  background-size: 40% auto;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-40px);
  opacity: 0;
  transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.hero__center__plus {
  fill: var(--bg-primary);
  transform: rotate(0);
  transform-origin: center;
  opacity: 0;
  transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.ring {
  margin: 0 auto;
  display: block;
}
.ellipse {
  stroke: var(--brand);
  stroke-width: 1;
  transform-origin: center;
  transition: all cubic-bezier(0.5, 0.01, 0.14, 0.99) 6s;
  transform: rotate(0);
  opacity: 0;
}
.loading-done {
  .hero-visual::before {
    opacity: 1;
  }
  .hero__center__appicon-left {
    transform: translateY(0);
    opacity: 1;
  }
  .hero__center__appicon-right {
    transform: translateY(0);
    opacity: 1;
  }
  .hero__center__plus {
    transform: rotate(45deg);
    opacity: 1;
  }
  .e-1 {
    transform: rotate(165deg);
    opacity: 1;
  }
  .e-2 {
    transform: rotate(150deg);
    opacity: 0.9;
  }
  .e-3 {
    transform: rotate(135deg);
    opacity: 0.8;
  }
  .e-4 {
    transform: rotate(120deg);
    opacity: 0.7;
  }
  .e-5 {
    transform: rotate(105deg);
    opacity: 0.6;
  }
  .e-6 {
    transform: rotate(90deg);
    opacity: 0.5;
  }
  .e-7 {
    transform: rotate(75deg);
    opacity: 0.4;
  }
  .e-8 {
    transform: rotate(60deg);
    opacity: 0.3;
  }
  .e-9 {
    transform: rotate(45deg);
    opacity: 0.2;
  }
  .e-10 {
    transform: rotate(30deg);
    opacity: 0.1;
  }
  .e-11 {
    transform: rotate(15deg);
    opacity: 0.06;
  }
  .e-12 {
    transform: rotate(0deg);
    opacity: 0.03;
  }
}

.spin {
  animation: spin 30s linear infinite;
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* End of hero.css */

  /* Hide overflow so only full slides (3/2/1) are visible */
  .editors-swiper { overflow: hidden !important; }

  /* Keep arrows top-right above the slider */
  .editors-block { padding-top: 2.75rem; }
  .editors-nav {
    position: absolute; top: 0; right: 0;
    display: inline-flex; gap: .6rem; z-index: 3;
  }

  /* Fancy gradient pill buttons */
  .editors-btn{
    --c1:#0d6efd; --c2:#06b6d4;
    width: 48px; height: 48px; border-radius: 14px;
    background:
      linear-gradient(#ffffff,#ffffff) padding-box,
      linear-gradient(135deg,var(--c1),var(--c2)) border-box;
    border: 2px solid transparent;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(13,110,253,.15), inset 0 1px 0 rgba(255,255,255,.65);
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
    position: relative; overflow: hidden;
  }
  /* soft halo */
  .editors-btn::after{
    content:""; position:absolute; inset:-4px; border-radius:16px;
    background: radial-gradient(120% 120% at 50% 0%, rgba(13,110,253,.20), transparent 55%);
    opacity:0; transition: opacity .25s ease;
  }
  .editors-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(13,110,253,.25), inset 0 1px 0 rgba(255,255,255,.7);
  }
  .editors-btn:hover::after{ opacity:1; }
  .editors-btn:active{ transform: translateY(0); }

  /* ensure SVG sits crisp */
  .editors-btn svg{ display:block; }

  /* spacing between slides (backup to JS spaceBetween) */
  .editors-swiper .swiper-wrapper{ align-items: stretch; }
  .editors-swiper .swiper-slide{ height:auto; display:flex; }
  .editors-swiper .entry{ width:100%; }


  .faq-image-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq-image-wrapper img {
  margin-top: auto;   /* pushes image down */
  margin-bottom: auto; /* pushes image up */
}


/* Footer tree readability */
.footer-tree .widget_links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-tree .widget_links li {
  margin: 0.35rem 0;
  line-height: 1.45;
}

.footer-tree .ft-link {
  display: inline-block;
  text-decoration: none;
  color: var(--cnvs-contrast-900, rgba(0,0,0,.85));
  transition: color .15s ease, text-underline-offset .15s ease;
  text-underline-offset: 3px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; /* long labels behave nicely */
}

/* Parent rows: slightly larger, bolder */
.footer-tree .ft-parent > .ft-link {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: .1px;
}

/* Child rows: smaller, muted, indented with a neat caret */
.footer-tree .ft-child {
  padding-left: 0;           /* reset */
  margin-left: 0;            /* reset */
  position: relative;
}

.footer-tree .ft-child::before {
  content: "›";              /* simple caret */
  position: relative;
  left: 0;
  margin-right: .45rem;
  opacity: .55;
  font-size: .9rem;
}

.footer-tree .ft-child > .ft-link {
  font-size: 0.92rem;
  color: var(--cnvs-contrast-700, rgba(0,0,0,.65));
}

/* Hover & focus states: clear but not shouty */
.footer-tree .ft-link:hover,
.footer-tree .ft-link:focus {
  color: var(--cnvs-primary, #3e45eb);
  text-decoration: underline;
}

/* Tighten vertical rhythm under headings */
.footer-tree .widget_links h4 {
  margin-bottom: .75rem !important;
  letter-spacing: .4px;
}

/* Compact the list slightly on small screens */
@media (max-width: 991.98px) {
  .footer-tree .widget_links li { margin: 0.3rem 0; }
  .footer-tree .ft-parent > .ft-link { font-size: .96rem; }
  .footer-tree .ft-child  > .ft-link { font-size: .9rem;  }
}

/* Dark backgrounds: ensure contrast (Canvas friendly) */
[data-bs-theme="dark"] .footer-tree .ft-link {
  color: rgba(255,255,255,.85);
}
[data-bs-theme="dark"] .footer-tree .ft-child > .ft-link {
  color: rgba(255,255,255,.70);
}

.footer-help .noselect,
.footer-help .obf {
  user-select: none;           /* no mouse drag selection */
  -webkit-user-select: none;
  -ms-user-select: none;
}

.footer-help .contact-link {
  text-decoration: none;
}
.footer-help .contact-link:hover {
  text-decoration: underline;
}

.footer-help .footer-badge {
  height: 28px;                /* tidy line height for badges */
  width: auto;
  filter: saturate(1.05);
  opacity: .95;
}

[data-bs-theme="dark"] .footer-help .footer-badge {
  opacity: .9;
}
