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

html {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 60px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f7f5ff;
  color: #242c51;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== Utility ===== */
.glass-panel {
  background: rgba(247, 245, 255, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(163, 171, 215, 0.15);
  border-radius: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #0057bd 0%, #6e9fff 50%, #893c92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #0057bd;
  color: #f0f2ff;
  padding: 12px 28px;
}

.btn-primary:hover {
  background: #004ca6;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-light {
  background: #ffffff;
  color: #0057bd;
  padding: 14px 32px;
  font-weight: 700;
}

.btn-light:hover {
  background: #efefff;
}

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(163, 171, 215, 0.12);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #0057bd;
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #242c51;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #515981;
  max-width: 480px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-subtitle > div {
  margin: 8px 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #6c759e;
}

.hero-badge .material-symbols-outlined {
  font-size: 18px;
  color: #0057bd;
}

/* Hero Preview Card */
.preview-card {
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 87, 189, 0.08);
}

.preview-image {
  position: relative;
  height: 320px;
}

.preview-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  animation: preview-crossfade 6s infinite;
}

.preview-image img:nth-child(2) {
  animation-delay: -3s;
}

@keyframes preview-crossfade {
  0%,
  33% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  83% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #242c51;
}

.preview-status .material-symbols-outlined {
  font-size: 20px;
  color: #0057bd;
}

.status-count-wrapper {
  margin-left: auto;
  display: grid;
}

.status-count {
  grid-area: 1 / 1;
  color: #6c759e;
  font-weight: 400;
  font-size: 0.8rem;
  animation: preview-crossfade 6s infinite;
}

.status-count:nth-child(2) {
  animation-delay: -3s;
}

/* ===== How It Works ===== */
.how-it-works {
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.how-it-works-heading {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #242c51;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}


.step-card {
  padding: 18px 28px;
  border-radius: 12px;
  background: #efefff;
  animation: step-card-glow 9s ease-in-out infinite;
}

.step-card:nth-child(2) {
  animation-delay: -6s;
}
.step-card:nth-child(3) {
  animation-delay: -3s;
}

.step-card:nth-child(2) .step-number { animation-delay: -6s; }
.step-card:nth-child(3) .step-number { animation-delay: -3s; }

@keyframes step-card-glow {
  0%, 22%    { box-shadow: 0 6px 28px rgba(0, 87, 189, 0.2); }
  33%, 89%   { box-shadow: none; }
  100%       { box-shadow: 0 6px 28px rgba(0, 87, 189, 0.2); }
}

.step-number {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: rgba(0, 87, 189, 0.15);
  display: block;
  margin-bottom: 12px;
  animation: step-number-glow 9s ease-in-out infinite;
}

@keyframes step-number-glow {
  0%, 22%    { color: #0057bd; }
  33%, 89%   { color: rgba(0, 87, 189, 0.15); }
  100%       { color: #0057bd; }
}

.step-card h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #242c51;
}

.step-card p {
  font-size: 0.9rem;
  color: #515981;
  line-height: 1.6;
}

/* Mosaic Preview */
.mosaic-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0, 87, 189, 0.06);
}

.mosaic-image {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.mosaic-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: step-show 9s ease-in-out infinite;
}

.mosaic-image img:nth-child(2) {
  animation-delay: -6s;
}
.mosaic-image img:nth-child(3) {
  animation-delay: -3s;
}

@keyframes step-show {
  0%, 22%    { opacity: 1; }
  33%, 89%   { opacity: 0; }
  100%       { opacity: 1; }
}

.steps-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  overflow-y: auto;
}

/* ===== CTA ===== */
.cta {
  height: 100vh;
  scroll-snap-align: start;
  background: linear-gradient(135deg, #0057bd 0%, #4647d3 50%, #6e9fff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-inner {
  padding: 40px;
  text-align: center;
  color: #f0f2ff;
}

.cta-inner h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.2;
  color: #ffffff;
}

.cta-inner > p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-inner > .cta-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.cta-platforms .material-symbols-outlined {
  font-size: 18px;
}

.separator {
  margin: 0 6px;
  opacity: 0.5;
}

/* ===== Footer ===== */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .mosaic-preview {
    grid-template-columns: 1fr;
  }

  .cta-inner h2 {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
