:root {
    --color-primary: 124 58 237;
    --color-accent: 20 184 166;
    --color-background: 248 250 252;
    --color-foreground: 15 23 42;
    --color-muted: 100 116 139;
    --spacing-section: 6rem;
    --spacing-section-mobile: 4rem;
}

.text-gradient {
    background: linear-gradient(135deg, rgb(var(--color-primary)) 0%, rgb(var(--color-accent)) 100%);
    /* background: linear-gradient(90deg,rgba(14, 165, 233, 1) 0%, rgba(255, 26, 117, 1) 100%); */
    /* background: rgba(14, 165, 233, 1); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: white;
}

.section-name {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-weight: 800;
    font-size: 1.15rem;
}

.footer {
  background-color: #0f172a; /* dark slate */
  color: #cbd5e1;
  padding: 60px 20px 30px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  height: fit-content;
}

.footer-brand h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-brand p {
  line-height: 1.6;
  color: #94a3b8;
}

.footer-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  text-decoration: none;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }
}

.cta-container {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    gap: 2rem;
}

.cta-action-outlined {
    border: 1px solid rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.main-cta-actions {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #cbd5e1;
}

/* animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);   /* start slightly down */
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

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

.cross-platform-container {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.platform {
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.features-container {
  flex-direction: column;
}

.features-container > div {
  box-sizing: border-box;
}

.features-container > div > div {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

.features-card-container {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  box-sizing: border-box;
  padding: 4rem 4rem;
  height: fit-content;
}

.feature-card-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
}

.feature-card-content.fade-out {
  opacity: 0;
  /* transform: translateY(10px); */
}

.feature-card-content.fade-in {
  opacity: 1;
  /* transform: translateY(0); */
}

.feature-cover {
  width: 100%;
  height: 320px;
  background-image: url(https://ide.droidscript.cloud/node-studio-all-in-one.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

.feature-learn-more {
  font-size: 2rem;;
}

.box-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.8)
  );
  /* transition: opacity 0.3s ease; */
}

.zindex-1 {
  z-index: 1;
}

.text-white-600 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-500 {
  color: rgba(255, 255, 255, 0.6);
}

.tier-container {
    padding-left: 2rem;
    padding-right: 2rem;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.tier-container .tier {
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* height: fit-content; */
}

.footer-logo {
  width: 5rem;
}

.ns-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-main .main-section {
  background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}