/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: #ffffff;
  color: #050816;
  overflow-x: hidden;
}

/* Background bubbles (hero only feeling) */
.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.35s ease-out;
}

.bubble-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, #00ffb0, #0080ff);
  top: -120px;
  left: -80px;
}

.bubble-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 60% 30%, #00ff6a, #32a6ff);
  bottom: -140px;
  right: -60px;
}

.bubble-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 40% 60%, #7dffda, #0090ff);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

/* Glass navbar */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.nav-glass {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  max-width: 960px;
  width: min(960px, 90vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

/* Navbar content */
.logo {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
  margin-right: 8px;
}

.brand-name {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #0f172a;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.rotating-word {
  display: inline-block;
  margin-left: 8px;
  color: #00d46f;
  position: relative;
  min-width: 6ch;
  text-align: left;
  transition: color 0.3s ease;
}

/* Word fade animation */
.rotating-word.fade-out {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rotating-word.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto 28px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

/* Whitepaper button with smooth stretch hover */
.btn-whitepaper {
  position: relative;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 999px;
  padding: 0;
  background: linear-gradient(120deg, #1d4ed8, #2563eb, #38bdf8);
  transform-origin: center;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-inner {
  display: inline-block;
  padding: 11px 30px;
  font-size: 0.96rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.btn-whitepaper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease-out;
  opacity: 0.12;
}

.btn-whitepaper:hover {
  transform: scaleX(1.06);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-whitepaper:hover::before {
  transform: scaleX(1);
}

/* SECTION 2: How it works */

.how-it-works {
  position: relative;
  background: #ffffff; /* plain white */
}

.how-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 16px 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

/* Left side: icon network */
.how-left {
  flex: 0 0 40%;
}

.icon-network {
  position: relative;
  width: 320px;
  height: 360px;
  margin: 0 auto 18px;
  border-radius: 32px;
  background: radial-gradient(circle at 10% 0%, #f9fafb, #e5f2ff);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.icon-lines {
  position: absolute;
  inset: 0;
}

.icon-lines path {
  stroke: #cbd5ff;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: line-dash 10s linear infinite;
}

@keyframes line-dash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -260;
  }
}

.icon-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease;
  animation: float 6s ease-in-out infinite;
}

.icon-node-1 {
  top: 40px;
  left: 36px;
  animation-delay: 0s;
}

.icon-node-2 {
  top: 160px;
  left: 6px;
  animation-delay: 0.4s;
}

.icon-node-3 {
  top: 100px;
  right: 18px;
  animation-delay: 0.8s;
}

.icon-node-4 {
  bottom: 38px;
  right: 52px;
  animation-delay: 1.2s;
}

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

.icon-node:hover,
.icon-node.active {
  background: #1d4ed8;
  color: #ffffff;
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.how-left-caption {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 320px;
  text-align: center;
  margin: 0 auto;
}

/* Right side: cards */
.how-right {
  flex: 0 0 52%;
}

.how-title {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.how-intro {
  font-size: 0.98rem;
  color: #6b7280;
  max-width: 440px;
  margin-bottom: 24px;
}

.how-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-card {
  position: relative;
  padding: 16px 18px 16px 22px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease, background 0.2s ease;
  cursor: default;
}

.how-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #22c55e, #0ea5e9);
  opacity: 0;
  transform: scaleY(0.3);
  transform-origin: top;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.how-card:hover,
.how-card.active {
  border-color: rgba(59, 130, 246, 0.7);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.how-card:hover::before,
.how-card.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.how-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  display: block;
  margin-bottom: 4px;
}

.how-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.how-card-text {
  font-size: 0.93rem;
  color: #6b7280;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
  .how-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .how-left,
  .how-right {
    flex: 1 1 auto;
  }

  .icon-network {
    width: 280px;
    height: 320px;
  }
}

@media (max-width: 640px) {
  .nav-glass {
    padding-inline: 16px;
  }

  .nav-right {
    gap: 10px;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .how-inner {
    padding-inline: 18px;
  }
}
/* SECTION 3: Tools */

.tools {
  background: #ffffff;
}

.tools-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 16px 96px;
}

.tools-header {
  text-align: center;
  margin-bottom: 32px;
}

.tools-title {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.tools-subtitle {
  font-size: 0.96rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
}

.tools-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  height: 80px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease, background 0.2s ease;
  cursor: default;
}

.tool-card i {
  font-size: 1.7rem;
  color: #111827; /* black-ish default */
  transition: color 0.2s ease, transform 0.2s ease;
}

.tool-card:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
  transform: translateY(-3px);
}

.tool-card:hover i {
  color: #2563eb; /* blue on hover */
  transform: scale(1.08);
}

/* Responsive layout for tools grid */
@media (max-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card {
    height: 76px;
  }
}
/* SECTION 4: Features */

.features {
  background: #ffffff;
}

.features-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 16px 96px;
}

.features-header {
  text-align: center;
  margin-bottom: 32px;
}

.features-title {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.features-subtitle {
  font-size: 0.96rem;
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
}

.features-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Feature card */

.feature-card {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 22px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease, background 0.22s ease;
}

/* Blue shadow at bottom, inside card */
.feature-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -22px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0, rgba(37, 99, 235, 0.7), transparent 70%);
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.14);
}

.feature-card:hover::after {
  opacity: 1;
  transform: translateY(-8px);
}

/* Icon + text */

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-icon i {
  font-size: 1.4rem;
  color: #111827; /* black icon */
}

.feature-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 0.94rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive for features grid */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
/* SECTION 5: Why MORP OS (full-screen animated text with typing effect) */

.why-morp {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
}

/* Soft blue / green glows on left & right */
.why-morp::before,
.why-morp::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.why-morp::before {
  left: -140px;
  top: 8%;
  background: radial-gradient(circle at 40% 40%, #2563eb, transparent 65%);
  animation: why-orbit-left 18s ease-in-out infinite;
}

.why-morp::after {
  right: -160px;
  bottom: -80px;
  background: radial-gradient(circle at 60% 40%, #22c55e, transparent 70%);
  animation: why-orbit-right 22s ease-in-out infinite;
}

.why-full {
  position: relative;
  max-width: 780px;
  padding: 96px 16px 110px;
  text-align: center;
  z-index: 1;
  animation: why-fade-up 0.9s ease-out both;
}

.why-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 18px;
}

.why-bigline {
  font-size: clamp(2.3rem, 3.8vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #020617;
  margin-bottom: 18px;
}

/* Highlighted typed text */
.why-highlight {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding-inline: 4px;
  background-image: linear-gradient(120deg, #2563eb, #22c55e, #38bdf8);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: why-highlight-glow 6s ease-in-out infinite;
}

.why-typed {
  font: inherit;
  white-space: nowrap;
}

.why-cursor {
  font: inherit;
  opacity: 1;
  animation: why-cursor-blink 1s steps(2, start) infinite;
}

.why-big-sub {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
}

/* Animations */

@keyframes why-fade-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes why-highlight-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes why-orbit-left {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, 40px, 0);
  }
}

@keyframes why-orbit-right {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-30px, -30px, 0);
  }
}

@keyframes why-cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

/* Responsive tweaks */

@media (max-width: 640px) {
  .why-full {
    padding-inline: 24px;
  }

  .why-big-sub {
    font-size: 0.95rem;
  }
}
/* SECTION 6: Roadmap (full-screen vertical timeline) */

.roadmap {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.roadmap-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 16px 96px;
}

.roadmap-header {
  text-align: center;
  margin-bottom: 40px;
}

.roadmap-title {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.roadmap-subtitle {
  font-size: 0.96rem;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
}

/* Timeline container */

.roadmap-timeline {
  position: relative;
  max-width: 920px;
  margin: 40px auto 0;
  padding: 10px 0 20px;
}

/* Blue vertical line in center */
.roadmap-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.2),
    rgba(37, 99, 235, 0.9),
    rgba(37, 99, 235, 0.2)
  );
  border-radius: 999px;
}

/* Each item (left / right) */

.roadmap-item {
  position: relative;
  width: 100%;
  margin: 26px 0;
  display: flex;
}

.roadmap-item-left {
  justify-content: flex-start;
}

.roadmap-item-right {
  justify-content: flex-end;
}

/* Dot on the line */

.roadmap-dot {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #2563eb;
  box-shadow: 0 0 0 6px rgba(191, 219, 254, 0.7);
  z-index: 2;
}

/* Card container */

.roadmap-card {
  position: relative;
  width: 46%;
  max-width: 360px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease, background 0.22s ease;
}

/* Blue glow at bottom inside card */

.roadmap-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -26px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 0,
    rgba(37, 99, 235, 0.7),
    transparent 70%
  );
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover */

.roadmap-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.7);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.18);
}

.roadmap-card:hover::after {
  opacity: 1;
  transform: translateY(-10px);
}

/* Badge + icon */

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2563eb;
  background: rgba(219, 234, 254, 0.9);
  margin-bottom: 10px;
}

.roadmap-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.roadmap-icon i {
  font-size: 1.3rem;
  color: #111827;
  transition: color 0.22s ease, transform 0.22s ease;
}

.roadmap-card:hover .roadmap-icon {
  background: #2563eb;
  transform: translateY(-2px);
}

.roadmap-card:hover .roadmap-icon i {
  color: #ffffff;
  transform: scale(1.06);
}

/* Text */

.roadmap-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.roadmap-card-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive: stack cards under line */

@media (max-width: 900px) {
  .roadmap-inner {
    padding-inline: 18px;
  }

  .roadmap-timeline::before {
    left: 18px;
  }

  .roadmap-dot {
    left: 18px;
    transform: translateX(0);
  }

  .roadmap-item {
    margin: 24px 0;
    padding-left: 40px;
    justify-content: flex-start;
  }

  .roadmap-card {
    width: 100%;
    max-width: none;
  }
}
/* SECTION 7: Join the movement */

.join {
  background: #ffffff;
}

.join-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 16px 110px;
  display: flex;
  justify-content: center;
}

.join-card {
  position: relative;
  max-width: 880px;
  width: 100%;
  border-radius: 26px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* blue shadow inside card on left-bottom */
.join-card::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -30px;
  width: 260px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 0,
    rgba(37, 99, 235, 0.75),
    transparent 70%
  );
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.join-content {
  position: relative;
  padding: 30px 30px 30px;
  z-index: 1;
}

.join-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.join-title {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #020617;
}

.join-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 580px;
  margin-bottom: 22px;
}

/* Actions */

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* X button: blue */

.btn-join-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #2563eb;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease;
}

.btn-join-x i {
  font-size: 1.1rem;
}

.btn-join-x:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.55);
}

/* GitHub button: white with black line */

.btn-join-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #020617;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #020617;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease;
}

.btn-join-github i {
  font-size: 1.1rem;
}

.btn-join-github:hover {
  background: #f9fafb;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

/* Responsive */

@media (max-width: 768px) {
  .join-card {
    border-radius: 22px;
  }

  .join-content {
    padding: 24px 20px 24px;
  }

  .join-title {
    font-size: 1.5rem;
  }

  .join-text {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .join-inner {
    padding-inline: 18px;
  }

  .join-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-join-x,
  .btn-join-github {
    width: 100%;
    justify-content: center;
  }
}
/* SECTION 9: FAQ */

.faq {
  background: #ffffff;
}

.faq-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 16px 110px;
}

.faq-header {
  text-align: center;
  margin-bottom: 28px;
}

.faq-title {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.faq-subtitle {
  font-size: 0.94rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FAQ item */

.faq-item {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, transform 0.2s ease;
}

.faq-item.active {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}

/* Question row */

.faq-question-row {
  width: 100%;
  padding: 14px 18px;
  border: none;
  outline: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question {
  font-size: 0.96rem;
  font-weight: 500;
  text-align: left;
  color: #111827;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.faq-toggle-icon i {
  font-size: 0.8rem;
  color: #111827;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle-icon {
  background: #2563eb;
}

.faq-item.active .faq-toggle-icon i {
  color: #ffffff;
  transform: rotate(180deg);
}

/* Answer */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 220px; /* cukup untuk jawaban pendek */
  opacity: 1;
  padding-bottom: 12px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Small screens */

@media (max-width: 640px) {
  .faq-inner {
    padding-inline: 18px;
  }

  .faq-question {
    font-size: 0.94rem;
  }
}
/* FOOTER */

.footer {
  background: radial-gradient(circle at top left, #020617, #020617 40%, #020617);
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 28px;
}

/* top area */

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.footer-brand {
  flex: 0 0 40%;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
}

.footer-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f9fafb;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #9ca3af;
  max-width: 320px;
}

/* link columns */

.footer-links {
  flex: 0 0 52%;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}

.footer-col {
  min-width: 120px;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.82;
  margin-bottom: 6px;
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.footer-link i {
  font-size: 0.9rem;
}

.footer-link:hover {
  opacity: 1;
  color: #38bdf8;
  transform: translateY(-1px);
}

/* bottom strip */

.footer-bottom {
  padding-top: 10px;
  display: flex;
  justify-content: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}

/* responsive */

@media (max-width: 800px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    flex: 1 1 auto;
  }

  .footer-links {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    padding-inline: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-col {
    min-width: 46%;
  }

  .footer-tagline {
    max-width: 100%;
  }
}
