* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: linear-gradient(135deg, #e8e9ff 0%, #f0f1ff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

article {
  color: #666;
}

.header {
  font-size: 12px;
  display: flex;
  width: 100%;
  color: #666;
  flex-direction: row;
  align-items: flex-end;
}

.docs {
  flex-direction: column;
  justify-content: flex-start;
}

.docs-container {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}

.footer {
  font-size: 12px;
  display: flex;
  height: 100px;
  width: 100%;
  color: #666;
  flex-direction: row;
  align-items: flex-end;
}

.footer .right {
  display: flex;
}

.footer .left {
  display: flex;
  flex-direction: column;
}

.footer .spacer {
  display: flex;
  flex: 1;
}

.footer a {
  font-size: 12px;
  text-decoration: none;
  color: #666;
  font-weight: 600;
}

article {
  line-height: 1.6;
}

article h1 {
  margin-top: 10px;
  margin-bottom: 10px;
}

article h2 {
  margin-top: 20px;
}

article ol, ul {
  margin-left: 30px;
}

article img {
  margin: 0 auto;
  text-align: center;
}

article .screnshots {
  display: flex;
  align-items: center;
  justify-content: center;
}
.container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}

.pass-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 1200px;
  width: 100%;
}

.pass-container .qr {
  width: 256px;
  margin-bottom: 20px;
}

.pass-container a {
  font-size: 1.2rem;
  color: #2196f3;
  line-height: 1.6;
}

.pass-container .text {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.phone-mockup {
  position: relative;
  width: 290px;
  height: 570px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  border-radius: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen {
  position: relative;
  overflow: hidden; /* Important for the slide effect */
}

.phone-screen img {
  position: absolute;
  top: 0;
  left: 0;
  height: 490px;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100%);
  animation: slideAnimation 4s ease-in-out infinite;
}

.phone-screen img:nth-child(2) {
  animation-delay: 2s; /* Second image starts 2s after first */
}

@keyframes slideAnimation {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  10% {
    opacity: 1;
    transform: translateX(-5%);
  } /* Bounce effect */
  15% {
    transform: translateX(0%);
  }
  40% {
    opacity: 1;
    transform: translateX(0%);
  }
  50% {
    opacity: 1;
    transform: translateX(5%);
  } /* Exit bounce */
  60% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

/* Optional: Pause on hover */
.phone-mockup:hover .phone-screen img {
  animation-play-state: paused;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.notch-inner {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.placeholder-text {
  color: #64748b;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  z-index: 5;
  margin-top: 20px;
}

.content-section {
  flex: 1;
  max-width: 600px;
}

.coming-soon {
  color: #2196f3;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.main-headline {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 30px;
}

.description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.create-pass-form {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.website-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.website-input:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.create-btn {
  padding: 15px 30px;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.create-btn:hover {
  background: #2196f3;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatars {
  display: flex;
  gap: -8px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(1) {
  background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
}
.avatar:nth-child(2) {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
}
.avatar:nth-child(3) {
  background: linear-gradient(45deg, #45b7d1, #2196f3);
}
.avatar:nth-child(4) {
  background: linear-gradient(45deg, #f9ca24, #f0932b);
}

.social-text {
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .main-headline {
    font-size: 2.5rem;
  }

  .create-pass-form {
    flex-direction: column;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }
}

.loader {
  margin-bottom: 20px;
  width: 55px;
  aspect-ratio: 1;
  --g1: conic-gradient(from 90deg at 3px 3px, #0000 90deg, #2196f3 0);
  --g2: conic-gradient(from -90deg at 22px 22px, #0000 90deg, #2196f3 0);
  background:
    var(--g1),
    var(--g1),
    var(--g1),
    var(--g2),
    var(--g2),
    var(--g2);
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: l7 1.5s infinite;
}

@keyframes l7 {
  0% {
    background-position: 0 0, 0 100%, 100% 100%;
  }
  25% {
    background-position: 100% 0, 0 100%, 100% 100%;
  }
  50% {
    background-position: 100% 0, 0 0, 100% 100%;
  }
  75% {
    background-position: 100% 0, 0 0, 0 100%;
  }
  100% {
    background-position: 100% 100%, 0 0, 0 100%;
  }
}
