:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --accent: #0071e3;
  --font-main: 'Poppins', sans-serif;
}
.page-wrapper {
  max-width: 2560px;
  margin-left: auto;
  margin-right: auto;
/*  background-color: #1d1d1f;*/
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: #f5f5f7;
  color: var(--text);
}
@media (max-width: 768px) {
    .speed_d_none{
      display: none !important;
    }
}
.text-decoration-none { text-decoration: none !important; }

.text-start   { text-align: left !important; }
.text-center  { text-align: center !important; }
.text-end     { text-align: right !important; }
.text-justify { text-align: justify !important; }
.text-black{ color:#000 }


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header-area {
/*  position: relative; /* Not sticky here */
/*  z-index: 1000;*/
  position: fixed;
  z-index: 1000;
  width: 100%;

}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  padding: 16px 0;
  background: var(--bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}


.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo img {
  width: 40px;
  height: auto;
  padding-top: 6px;
}

/* Burger */
.burger {
  position: relative;
  width: 24px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.burger span:not(:last-child) {
  margin-bottom: 4px;
}

/* Nav */
.main-nav {
  display: flex;
}

.main-nav .nav_ul {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
/*  padding: 6px 0;*/
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent);
}



h3 {
  font-size: 1.40rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--text);
/*  color: #1a73e8;*/
}


.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  padding: 7px 14px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid var(--accent);
  background-color: #fff;
  color: var(--accent);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn.learn-more {
  background-color: var(--accent);
  color: #fff;
}

.btn.learn-more:hover {
  background-color: #0056b3;
}

.btn.buy:hover {
  background-color: #e7f3ff;
}

.product-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Tablet */
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 16px;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-top: 16px;
  }

  .main-nav.show {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-container {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 8px !important;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 16px !important;
    padding: 0 12px;
  }

  .hero-image {
    font-size: 1.2rem;
    padding: 100px 0;
    margin-bottom: 12px !important;
  }

  .products,
  .product-container,
  .product-section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .product-container {
    gap: 10px !important;
  }

  .product-section {
    padding: 16px 0 !important;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }

  .products {
    padding-top: 0 !important;
  }

  .product-section:first-child {
    margin-top: 0 !important;
    padding-top: 8px !important;
  }

  .product-section {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}
@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr; /* 1 per row on mobile */
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* Target the 4th product section: White Cards */
.product-container .product-section:nth-of-type(4) {
  background-color: #000;
  color: #fff;
}

.product-container .product-section:nth-of-type(4) h1,
.product-container .product-section:nth-of-type(4) p {
  color: #fff;
}


.dropdown_panel {
  max-width: 90%;
  margin: 0 auto;
  color: #fff;
  clip-path: polygon(10% 0, 15% 5%, 100% 5%, 100% 100%, 0 100%, 0 5%, 5% 5%);
  padding: 30px 0 10px;
  position: absolute;
  width: 285px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 101;
}

.dropdown_panel.show { /* ✅ Add this too */
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

.dropdown_panel a:hover {
  color: #000;
  background-color: #ccc;
}

.dropdown_panel h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-left:1rem;
}

.dropdown_panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown_panel ul li a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 6px 1rem;
}
.dropdown_panel ul li a:hover {
  color: #000;
  background-color: #FFF;
}



.menu-wrapper {
  position: relative;
  z-index: 100;
  padding-top: 60px;
}
/* Overlay that starts below the header */
#hover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#hover-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ensure header stays above */
.menu-wrapper {
  position: relative;
  z-index: 100; /* Ensure it stays above overlay */
}

/* Hover panel z-index should be even higher */
#hover-panel,
#hover-panel-cards {
  z-index: 101;
}
/* Add left padding to items under "Eylet Teams" panel */
#hover-panel ul li a {
  padding-left: 0px;
  display: block; /* Ensures padding applies to the entire clickable area */
}
/* ===== App-Key-Points section ===== */
.appkeypoints-section {
  background: #1d1d1f;
  padding: 80px 0;
  overflow: hidden;
}

/* Inner container */
.appkeypoints-inner {
  --radius: 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 60px;
  background: #202020;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.appkeypoints-section.show .appkeypoints-inner {
  opacity: 1;
  transform: none;
}

/* Left column (card + phone) */
.appkeypoints-images {
  position: relative;
  flex: 0 0 42%;
  min-width: 260px;
  align-self: flex-start;
}

/* Back card */
.card-img {
  width: 100%;
  display: block;
/*  filter: brightness(0.6);*/
/*  margin-top: -30px;*/
}

/* Phone on front */
.phone-img {
  position: absolute;
/*  bottom: -60px;*/
  top: 40%;
  left: 50%;
  width: 65%;
  transform: translateX(-50%);
  border-radius: 12px;
}

/* Right column (text) */
.appkeypoints-copy {
  flex: 1;
  color: #e5e5e5;
  font-size: 15px;
  line-height: 1.6;
  align-self: flex-start;
}

.appkeypoints-copy h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.appkeypoints-copy ul {
  list-style: none;
  padding-left: 0;
}

.appkeypoints-copy li {
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 752px) {
  .appkeypoints-inner {
    flex-direction: column;
    gap: 40px;
    padding: 48px;
  }
  .phone-img {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .appkeypoints-inner {
    padding: 36px 24px;
  }

  .appkeypoints-images {
    width: 100%;
  }

  .phone-img {
    width: 76%;
  }

  .appkeypoints-copy h2 {
    font-size: 1.6rem;
  }
  .appkeypoints-copy {
    margin-top: 40px; /* Adjust as needed */
  }

  .phone-img {
    margin-top: 40px;
  }
}

/* === Eylet Peek Slider === */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 10px 10px 10px; /* desktop: 10px left & right */
  background-color: #1d1d1f;
}
  .slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 12px; /* ✅ much tighter */
  scrollbar-width: none;
}

    .slider::-webkit-scrollbar {
      display: none;
    }

    .slide {
      flex: 0 0 auto;
      width: 405px;
      height: 740px;
      border-radius: 24px;
      scroll-snap-align: center;
      display: flex;
      flex-direction: column;
      padding: 24px;
      justify-content: flex-start;
    }

.slide:nth-child(1) {
  background: linear-gradient(135deg, #c9a8fd, #5ecafc, #3acde2, #6aeec5);
}
.slide:nth-child(2) { background: #ffffff; }
.slide:nth-child(3) { background: #e5f8d5; }
.slide:nth-child(4) { background: #e7fbd3; }
.slide:nth-child(5) { background: #239cf4; }
.slide:nth-child(6) { background: #c8e4b6; }
.slide:nth-child(7) { background: #ffffff; }
.slide:nth-child(8) { background: #dfd9fd; }
.slide:nth-child(9) { background: #ffffff; }
.slide:nth-child(10) { background: #dbecfc;}
.slider .slide:first-child .image-placeholder {
  background-color: transparent;
}


    .circle {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: #ffffff;
      margin-bottom: 8px;
    }

    .slide h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .slide p {
      font-size: 14px;
      line-height: 1.4;
      margin-bottom: 12px;
    }

.image-placeholder {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  object-fit: contain; /* 👈 Prevents cropping */
  display: block;
  margin-top: 0px;
}
.slide .image-placeholder {
  padding: 0 !important;
}

    .slider-dots {
  position: relative;
  text-align: center;
  margin-top: 4px;   /* ✅ tighter above spacing */
  margin-bottom: 0;  /* ✅ ensure no space below */
  padding-bottom: 0;
}

    .slider-dots {
  position: relative;
  text-align: center;
  margin-top: 12px; /* Reduced space between slider and dots */
}

.slider-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px; /* tighter spacing between dots */
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots .active {
  background: #333;
}

    @media (max-width: 1024px) {
      .slide {
        width: 80vw;
        height: calc(80vw * 740 / 405);
      }
    }

@media (max-width: 480px) {
  .slider-wrapper {
    width: 100vw;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    padding: 0 0px 0;
    overflow-x: hidden;
    padding: 10px 0 10px; /* mobile: no side padding */
  }

  .slider {
    display: flex;
    gap: 4px;
    padding: 0;
    margin-bottom: 0; /* ✅ remove vertical space below slides */
  }

  .slide {
    flex: 0 0 auto;         /* ✅ prevent flex-stretch */
    width: 79vw;
    height: calc((95vw * 0.9 * 740 / 405) - 10px); /* ✅ shorter */
    transform: scale(0.94);
    transform-origin: top center;
    margin-bottom: 0 !important; /* ✅ override any residual margin */
  }
   .slide {
    transition: filter 0.3s ease, transform 0.3s ease;
/*    filter: blur(3px); /* default blur for all */*/
  }

  .slide.active {
    filter: none; /* active one is sharp */
  }

  .image-placeholder {
    flex-grow: 0;            /* ✅ prevent expansion */
    margin-bottom: 0;
    min-height: 280px; /* ✅ You can adjust as needed */
/*    margin-top: -5px;*/
  }

  .slider-dots {
    position: relative;
    margin-top: 4px;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
  }
   .circle {
    margin-bottom: 0px;
  }

  .slide h3 {
    margin-bottom: 2px;
  }

  .slide p {
    margin-bottom: 8px;
  }
}
.swipe-hint {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 8px 0;
}
.slide.light h3,
.slide.light p {
  color: #000;
}

.slide.dark h3,
.slide.dark p {
  color: #fff;
}


@media (min-width: 769px) {
  .swipe-hint {
    display: none;
  }
}
.theme-builder {
  color: #fff;
  text-align: center;
  padding-top: 20px;
}

.theme-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.theme-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.theme-subheading {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 16px;
}

.theme-tools img {
  width: 36px;
  margin: 6px;
}

.theme-card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.theme-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  width: 120px;
  text-align: center;
  color: #000;
}

.theme-card .memoji {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.card-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
/* === Login Section Enhancements === */
/* === Login Section Enhancements === */
.language-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 2px solid #333;
  padding: 8px 0;
  max-width: 260px;
  margin: 24px auto;
  position: relative;
}

.language-selector img {
  width: 32px;
  height: auto;
}

.language-selector span {
  font-weight: 500;
}

.language-selector .dropdown-arrow {
  font-size: 16px;
  color: #666;
  margin-left: 8px;
}

/* Dropdown */
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%; /* Center it */
  transform: translateX(-50%); /* Perfect center */
  width: 360px; /* 👈 Increase width as needed */
  background: #fff;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  max-height: 320px;
  overflow-y: auto;
}

/* Language Grid */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
}
.lang-grid a {
  text-decoration: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
  border: none;           /* ✅ remove border */
  background: none;
  color:#000;
  border-radius: 6px;
  background: #fafafa;
}

.lang-option:hover {
  background: #dbdbdb;
}

.lang-option.active {
  background: #000;
  color: #fff;
}

/* Login & Signup buttons */
.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  margin: 32px auto 0;
}

.login-buttons .login {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}

.login-buttons .signup {
  background: #0066ff;
  color: #fff;
  border: none;
}

.login-buttons .btn {
  padding: 14px 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

/* Hover for Login Button */
.login-buttons .login:hover {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  transition: all 0.2s ease;
}

/* Hover for Sign Up Button */
.login-buttons .signup:hover {
  background: #0051cc;
  transition: all 0.2s ease;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
}
.site-footer {
  background-color: #000; /* Dark background */
  color: #ccc;            /* Soft light text */
  font-size: 14px;
  padding: 40px 24px;
  line-height: 1.6;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-description {
  margin-bottom: 32px;
  max-width: 800px;
  color: #aaa; /* Slightly lighter text */
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}


.footer-column ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 16px;
  font-size: 13px;
  color: #888;
}

.footer-bottom p {
  margin: 4px 0;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 24px;
  }
}


.header-language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0px 8px;
  border-radius: 8px;
  font-weight: 300;
  position: relative; /* ✅ Needed for absolute child */
}

.header-language-selector span {
  font-size: 13px;
  line-height: 1;
}

.header-language-selector:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.header-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px); /* Just below the text */
  right: 0;              /* Aligns to the right edge of the parent */
  transform: none;       /* Remove the center shift */
  width: 450px;
  background: #fff;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  max-height: 520px;
  overflow-y: auto;
}

#header-lang-dropdown .lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

#header-lang-dropdown .lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: none;
}

#header-lang-dropdown .lang-option:hover {
  background: #f3f3f3;
  border-radius: 6px;
}

#header-lang-dropdown .lang-option.active {
  background: #000;
  color: #fff;
}
/* Only show based on screen width */
.mobile-only {
  display: none;
}
.desktop-only {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-only {
    display: flex;
  }
}

@media (max-width: 1150px) {
  .header-lang-dropdown {
    width: 60vw;
    left: 50%;
    right: auto;
    transform: none;
  }
}

@media (max-width: 600px) {
  .header-lang-dropdown {
    width: 90vw !important; 
    left: 0%;
  }
}
/*@media (max-width: 480px) {
  .header-lang-dropdown {
    width: calc(100vw - 32px);
    left: 0px;
    transform: none;
  }
}*/
/* 👉 Paste the fix below */

@media (min-width: 1025px) {
  .desktop-only {
    display: flex;
  }
}

@media (max-width: 768px) {
  .slider-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
.burger {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 8px;
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
  top: 8px;
}
/* Hide by default on desktop */
@media (min-width: 1025px) {
  .burger {
    display: none !important;
  }
}

/* Show only on tablet and below */
@media (max-width: 1024px) {
  .burger {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .slider-wrapper {
    padding-top: 40px; 
    padding-bottom: 40px;
  }
}

.slider-controls {
  text-align: center;
  margin-top: 8px;
}

.slider-btn {
  padding: 6px 16px;
  background-color: #0071e3;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.slider-btn:hover {
  background-color: #005bb5;
}

@media (max-width: 400px) {
  .slider-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
}



/* === Eylet Homepage Hero === */
/* === Eylet Hero ===================================================== */
/* === Eylet Hero with Aurora Background ================================= */
/* === Eylet Hero with Aurora Background ================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #f5f5f7;            /* stays as fallback grey */
  color: #1d1d1f;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 16px;
  box-sizing: border-box;
}

/* ðŸŒŒ Aurora layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    60deg,
    #c9a8fd 0%,
    #5ecafc 25%,
    #3acde2 50%,
    #6aeec5 75%,
    #c9a8fd 100%
  );
  background-size: 400% 400%;
  animation: auroraShift 30s ease-in-out infinite;
  opacity: 0.35;
  filter: blur(80px);
  z-index: 0;                       /* â† now above the plain grey */
}


@keyframes auroraShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Content wrapper (kept above glow) */
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;                       /* â† content always on top   */
}

/* Headline & sub-text --------------------------------------------------- */
.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 16px 0 24px;
  color: var(--text);
}

/* Card visual ----------------------------------------------------------- */
.hero-banner {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto 40px;
  animation: floatCard 6s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.1));
}

/* CTA buttons ----------------------------------------------------------- */
.hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hero-buttons .btn {
  width: auto;
  min-width: 160px;
}

/* Floating card animation ---------------------------------------------- */
@keyframes floatCard {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Tablets (â‰¤1024px) ----------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { padding: 48px 16px; }

  .hero h1 { font-size: 2rem; }
  .hero h3 { font-size: 1.1rem; }

  .hero-banner { max-width: 95%; margin-bottom: 32px; }
}

/* Mobile (â‰¤768px) ------------------------------------------------------- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    display: block;
    padding: 40px 12px 60px;
  }

  .hero h1 { font-size: 1.7rem; }
  .hero h3 { font-size: 1.05rem; }

  .hero-banner { max-width: 100%; margin-bottom: 24px; }

  .hero-buttons { gap: 12px; }
}


:root {
  --rc-count:        4;      /* how many cards */
  --rc-card-height:  700px;  /* desktop card height */
  --rc-card-gap:     120px;  /* vertical gap BETWEEN cards */
  --rc-card-offset:   70px;  /* how much lower each next card starts */
}

/* section wrapper just for top / bottom spacing */
.reveal-cards {
  padding: 80px 0;
  background: #1d1d1f;
}

/* UL that holds the stack */
#cards {
  --cards:          var(--rc-count);
  --cardHeight:     var(--rc-card-height);
  --cardMargin:     var(--rc-card-gap);
  --cardTopPadding: var(--rc-card-offset);

  list-style: none;
  margin: 0;
  padding: 0;

  /* full-width but centre the children inside */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(var(--cards), var(--cardHeight));
  gap: var(--cardMargin);

  /* allow last card to scroll off smoothly */
  padding-bottom: calc(var(--cards) * var(--cardTopPadding));
}

/* cascade the offset */
#card1 { --index: 1; }
#card2 { --index: 2; }
#card3 { --index: 3; }
#card4 { --index: 4; }

.card {
  position: sticky;
  top: 0;
  padding-top: calc(var(--index) * var(--cardTopPadding));
}

/* ----------  Common card body look  ---------- */
.card-body {
  /* STRETCH across the viewport but stop at 1200 px */
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;           /* centre */
  height: var(--cardHeight);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* alternating grey / black palette */
#card1 .card-body,
#card3 .card-body { background: #000;   }  /* black */
#card2 .card-body,
#card4 .card-body { background: #1a1a1a;} /* dark grey */

/* hover lift (optional) */
.card:hover .card-body{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
}

/* ----------  Card-1 specific (chip showcase) ---------- */
.card-chip            { display: flex; gap: 40px; padding: 60px; }
.card-chip-text       { flex: 1; }
.card-chip-text h2    { font-size: 1.8rem; margin-bottom: 1rem; }
.card-chip-text p     { font-size: 1rem; line-height: 1.6; color: #ccc; max-width: 500px; }

.card-chip-image      { flex: 1; position: relative; display: flex; justify-content: center;overflow:hidden; }
.card-chip-image img  { width: 100%; max-width: 800px; border-radius: 20px; z-index: 1; }

/* blue glow */
.card-chip-image::before{
  content:"";
  position:absolute;
/*  inset:-20% -20%;*/
  background: radial-gradient(circle, rgba(0,153,255,.4), transparent 70%);
  filter: blur(60px);
  z-index:0;
  pointer-events:none;
}

/* ========== MOBILE tweaks ====================================== */
@media (max-width: 600px) {
  :root {
    --rc-card-height: 320px;
    --rc-card-gap: 80px;
    --rc-card-offset: 60px;
  }
}

@media (max-width: 768px) {
  .card-body {
    height: auto;             /* grow with content */
    padding: 40px 24px;
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .card-chip {
    flex-direction: column;
    gap: 32px;
  }

  .card-chip-text p {
    max-width: 100%;
  }

  .card-chip-image img {
    width: 100%;              /* ✅ fix horizontal overflow */
    max-width: 360px;
  }

  /* Ensure space below last card */
  #cards::after {
    content: "";
    display: block;
    height: calc(var(--rc-card-height) + var(--rc-card-offset) + 40px);
  }

  .reveal-cards {
    position: relative;
    z-index: 2;
    padding-top: 20px;        /* reduce top gap */
  }

  .slider-wrapper {
    position: relative;
    z-index: 1;
  }

  .hero {
    padding-bottom: 40px;     /* reduce if larger */
  }

  .hero::after {
    height: 60px;             /* softer fade */
  }
}

/* Always apply below the card stack */
.reveal-wrapper {
  position: relative;
  z-index: 2;
  background: #1d1d1f;
  padding-bottom: 140px;      /* prevents slider from climbing under last card */
}

.slider-wrapper {
  position: relative;
  z-index: 1;
}
#card3 .card-chip-image::before {
  background: radial-gradient(circle, rgba(255, 0, 128, 0.4), transparent 70%);
  filter: blur(80px);
}
  
  
/* === End of Main Styles === */

/* 🔍 Debug overflow layout issues */
* {
  outline: 0px solid rgba(255, 0, 0, 0.2); /* Debug layout */
}
/* ==========================================================================
   TOKENS / GLOBAL
   ========================================================================== */
:root{
  --page-bg: #efeff1;
  --text: #0a0a0b;
  --muted: rgba(10,10,11,.72);
  --accent: #2563eb;
  --radius: 28px;
  --maxw: 1200px;
  --gutter: clamp(16px, 3.2vw, 28px);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.18);
  --shadow-md: 0 14px 36px rgba(0,0,0,.12);
}

html, body { height: 100%; }
body{
  margin:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color:var(--text);
  background:var(--page-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ==========================================================================
   HERO (eylet NFC Digital Business Card)
   ========================================================================== */
.gs-hero{ padding: clamp(28px, 4vw, 46px); }
.gs-wrap{
  max-width:var(--maxw);
  margin:0 auto;
/*  min-height:700px;*/
  max-height:800px;
}
.gs-panel{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:clamp(420px, 52vw, 600px);
  display:grid;
  place-items:stretch;
  isolation:isolate;
}
.gs-panel::before{
  content:"";
  position:absolute; inset:0;
  background:url('https://thunderous-mermaid-f959f8.netlify.app/getting_started_prism_bg.webp') center/cover no-repeat;
  z-index:-1;
}
.gs-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;                           /* text | visuals */
  gap:clamp(18px, 3.2vw, 36px);
  align-items:center;
  padding:clamp(22px, 3.6vw, 38px);
}

/* Left column (copy) */
.gs-copy{ padding:clamp(8px, 1.2vw, 14px); }
.gs-title{
  margin:0 0 clamp(12px, 1.4vw, 16px);
  font-weight:600;
  font-size:clamp(28px, 5.2vw, 54px);
  letter-spacing:-.02em;
  line-height:1.05;
}
.gs-sub{
  margin:0 0 clamp(18px, 2.2vw, 22px);
  color:var(--muted);
  font-size:clamp(14px, 1.6vw, 18px);
  line-height:1.55;
}
.gs-loginbar{ display:inline-block; overflow:hidden; }
.gs-loginbar img{ display:block; height:58px; width:auto; max-width:100%; }
.gs-note{
  margin:clamp(18px, 2.2vw, 22px) 0 0;
  color:var(--muted);
  font-size:clamp(13px, 1.5vw, 16px);
  line-height:1.55;
}
.gs-qrbox{ margin-top:clamp(18px, 3.6vw, 26px); display:inline-block; }
.gs-qrbox img{ display:block; height:100px; width:auto; }

/* Right column (visual stack) */
.gs-visual{ position:relative; min-height:clamp(360px, 44vw, 560px); }
.card{ position:absolute; overflow:hidden; }
.card img{ width:100%; height:100%; object-fit:contain; display:block; }
.card--small{ z-index:1; }
.card--glass{ z-index:2; }
.card--main { z-index:3; }

/* Tuned positions */
.card--main{
  right:60%; bottom:0%;
  width:min(320px, 40vw);
  aspect-ratio:9/16;
  opacity:.9;
}
.card--small{
  left:69%; top:2%;
  width:min(260px, 28vw);
  aspect-ratio:9/16;
  transform:translate(-36%, 0);
}
.card--glass{
  right:30%; top:-10%;
  width:min(240px, 37vw);
  aspect-ratio:9/16;
}
.theme-row{
  position:absolute; right:6%; bottom:2%;
  width:min(280px, 37vw);
  z-index:1; pointer-events:none;
}
.theme-row img{
  width:100%; height:auto; display:block;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.12));
}

/* --- HERO responsive --- */
@media (max-width:980px){
  .gs-grid{ grid-template-columns:1fr; }
  .card--main { right:10%; width:min(360px, 66vw); }
  .card--small{ left:62%;  width:min(260px, 48vw); }
  .card--glass{ right:6%;   width:min(340px, 60vw); }
  .theme-row  { right:8%;   width:min(340px, 60vw); bottom:10%; }
}
@media (max-width:768px){
  .gs-visual{ display:none; }
  .gs-grid{ grid-template-columns:1fr; }
  .gs-wrap{ max-height:none; /*min-height:560px; */}
}
/* Fix the mobile gap + match card width */
@media (max-width:768px){
  .gs-hero{ padding-inline:16px !important; padding-bottom:8px; }
  .gs-wrap{ min-height:0 !important; }
  .gs-panel{ min-height:360px !important; }
}
@media (max-width:420px){
  .gs-panel{ min-height:340px !important; }
}

/* ==========================================================================
   TEAMS – Getting Started (Steps 1–3)
   ========================================================================== */
.eylet-teams-started{ padding:0 16px clamp(20px, 4vw, 36px); }
.ets-container{ max-width:1180px; margin:0 auto; }

.ets-title{
  margin:0 0 18px;
  padding-bottom:4px;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.2;
  font-size:clamp(28px, 3.1vw, 44px);
  background:linear-gradient(90deg, #0071e3, #a246ef, #ff4aa2, #f80);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  display:inline-block;
}
.ets-intro{ max-width:860px; color:#1a1a1a; font-size:clamp(14px, 1.08vw, 16px); }
.ets-intro p{ margin:0 0 12px; line-height:1.7; }
.ets-intro p:last-child{ margin-bottom:22px; }

.ets-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:960px){ .ets-grid{ grid-template-columns:1fr; gap:16px; } }

.ets-card{
  position:relative;
  background:#fff;
  border-radius:22px;
  padding:18px 18px 22px;
  display:flex; flex-direction:column; justify-content:space-between;
  min-height:800px;
  overflow:hidden;
}
.ets-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.06); pointer-events:none;
}

/* Step text, list, & badges */
.ets-copy{ position:relative; padding:2px 6px 10px; padding-top:2.5rem; }
.ets-steps{ color:#222; font-size:16px; line-height:1.65; margin:0; }
.ets-steps .n{ font-weight:600; color:#111; margin-right:4px; }
.ets-link{ color:var(--accent); text-decoration:underline; }
.ets-microhead{ color:#d83b01; font-weight:600; margin:0 0 6px; font-size:14px; line-height:1.5; }

.ets-step-badge,
.step-badge{
  position:absolute; left:16px;
  background:#000; color:#fff; font-weight:600;
  padding:4px 10px; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.ets-step-badge{ top:16px; font-size:16px; border-radius:50px; }
.step-badge{ top:-12px; font-size:.85rem; }
.ets-steps-list{ list-style:none; counter-reset:step; margin:0; padding:0; margin-top:.1rem; }
.ets-steps-list li{
  counter-increment:step;
  position:relative;
  padding-left:30px;
  margin:0 0 10px;
  line-height:1.65;
  font-size:16px;
  color:#222;
}
.ets-steps-list li::before{
  content:counter(step) ".";
  position:absolute; left:0; top:0; font-weight:600; color:#222;
}

/* Step 1: login row + CTA */
.ets-lead{ margin:0 0 8px; font-weight:600; color:#1d1d1f; }
.ets-help{ margin:8px 0 12px; color:var(--muted); }
.ets-login-row{ display:flex; align-items:center; gap:12px; margin:10px 0 14px; flex-wrap:wrap; }
.ets-loginbar{ height:52px; width:auto; display:block; max-width:100%; }
.ets-qr{ height:40px; width:auto; display:block; max-width:100%; }

.ets-btn{
  display:block;
  width:min(220px, 100%);
  padding:14px 28px;
  margin:8px 0 16px;
  border-radius:999px;
  background:#0d6efd;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
}
.ets-btn:hover{ background:#0056d2; }

/* Shot area */
.ets-shot{ display:grid; place-items:end center; min-height:clamp(340px,38vw,480px); padding:10px 10px 0; }
.ets-shot img{
  --tx:80px; --ty:0px; --sc:1.44;
  width:clamp(260px, 90%, 440px);
  height:auto; display:block;
  transform:translate(var(--tx), var(--ty)) scale(var(--sc));
}
@media (max-width:960px){
  .ets-card{ min-height:520px; }
  .ets-shot{ min-height:420px; }
  .ets-shot img{ --tx:70px; --ty:110px; }
}

/* Tighten hero/steps spacing */
.gs-hero{ padding-bottom:0; }
.eylet-teams-started{ padding-top:0; }
.gs-wrap{ margin-bottom:0; }

/* ==========================================================================
   EYLET – Single Card (Avatar setup)
   ========================================================================== */
.eylet-single-card{
  padding:clamp(12px, 3vw, 28px) 16px;
  background:#efeff1;
  font-family:Poppins, system-ui, sans-serif;
}
.esc-wrap{
  max-width:1180px;
  margin:0 auto;
  border-radius:28px;
  background:linear-gradient(135deg,#00e8d3 0%,#00c2f5 42%,#0aa0ff 100%);
  position:relative; overflow:hidden;
}
.esc-wrap::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.06); pointer-events:none;
}
.esc-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(18px, 3.2vw, 44px);
  align-items:center;
  padding:clamp(28px, 5vw, 56px);
}
.esc-left .esc-art{
  display:block; width:min(420px, 100%); height:auto;
  transform-origin:center; filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
}
.esc-right .esc-collage{
  display:block; width:min(560px, 100%); height:auto;
  transform:translate(10px,0) scale(1);
  transform-origin:center; filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
}
.esc-heading{
  margin:18px 0 24px; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(28px, 2.4vw + .25rem, 44px); line-height:1.08; color:#000;
}
.esc-desc{
  margin:0; font-size:clamp(14px, 1.05vw, 18px);
  line-height:1.65; color:#0f0f10; max-width:50ch;
}

/* Single-card mobile centering + sizes */
@media (max-width:1024px){
  .esc-grid{ grid-template-columns:1fr; justify-items:center; padding:clamp(22px, 6vw, 36px) clamp(16px, 6vw, 24px); }
  .esc-left, .esc-right{ width:100%; max-width:560px; }
  .esc-heading, .esc-desc{ text-align:center; }
  .esc-left img, .esc-right img{ margin-inline:auto; }
  .esc-left .esc-art, .esc-right .esc-collage{ width:min(100%, 420px); transform:none; }
}
@media (max-width:720px){
  .esc-wrap{ border-radius:24px; }
  .esc-left .esc-art{ width:min(320px, 92vw); }
  .esc-right .esc-collage{ width:min(420px, 92vw); }
}
@media (max-width:420px){
  .esc-left .esc-art{ width:min(260px, 92vw); }
  .esc-right .esc-collage{ width:min(360px, 92vw); }
}

/* ==========================================================================
   EYLET – Add Profile Content (Two Cards)
   ========================================================================== */
.eylet-add-content{
  background:#efeff1;
  padding:clamp(14px, 3vw, 32px) 16px;
  font-family:Poppins, system-ui, sans-serif;
}

/* Top grid: purple (2 cols) + white (1 col) */
.eac-grid{
  max-width:1180px; margin:0 auto;
  display:grid; gap:clamp(16px, 3vw, 32px); align-items:stretch;
  grid-template-columns:62% 38%;
}

/* Cap heights for both cards */
.eac-left, .eac-right{
  max-height:810px; overflow:hidden; border-radius:28px;
}

/* Left/purple card */
.eac-left{
  position:relative;
  background:linear-gradient(135deg,#6c2cff 0%,#7b2dff 35%,#9a2bff 70%,#b92bff 100%);
  color:#fff; padding:clamp(20px, 3.4vw, 34px);
}
.eac-step{
  position:absolute; top:clamp(12px, 1.8vw, 18px); left:clamp(12px, 1.8vw, 18px);
  background:#26262a; color:#fff; font-weight:700; padding:10px 16px; border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.18);
  z-index:2;
}
.eac-left-grid{
  display:grid; grid-template-columns:42% 58%;
  gap:clamp(16px, 2.6vw, 36px); align-items:start;
  margin-top:clamp(28px, 6vw, 120px);
}
.eac-left-col{ display:flex; flex-direction:column; align-items:flex-start; }
.eac-panel-img{
  width:min(420px, 100%); height:auto; display:block;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.16));
  margin-bottom:clamp(12px, 1.4vw, 18px);
}
.eac-left-art{ display:grid; place-items:start center; }
.eac-icons-img{
  width:min(480px, 100%); height:auto; display:block;
  filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
  padding-right:clamp(12px, 2.5vw, 32px);
  box-sizing:border-box;
}
.eac-left-title{
  margin:8px 0 6px;
  font-size:clamp(26px, 2.2vw + .25rem, 40px);
  line-height:1.1; font-weight:600; letter-spacing:-.02em; color:#fff;
}
.eac-left-copy{
  margin:0; max-width:48ch;
  font-size:clamp(15px, 1.02vw, 18px); line-height:1.6; color:rgba(255,255,255,.95);
}

/* Right/white card */
.eac-right{ background:#fff; padding:20px 22px; }
.eac-pill{
  display:inline-block; background:#7a3cff; color:#fff; font-weight:800;
  padding:10px 18px; border-radius:999px; margin-bottom:12px; box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.eac-right-title{
  margin:6px 0 10px;
  font-size:clamp(24px, 1.2vw + 1rem, 34px);
  line-height:1.2; font-weight:600; color:#111;
}
.eac-steps{
  margin:0 0 6px 18px; padding:0; color:#111;
  font-size:clamp(15px, 1.0vw, 18px); line-height:1.0;
}
.eac-step-art{
  width:min(210px, 100%); height:auto; display:block; margin:6px 0 10px;
}
.eac-plus-inline{ width:min(130px, 24%); margin-left:8px; }

/* Make 2-card layout align with 3-card tracks on desktop */
@media (min-width:1025px){
  .eac-grid{ grid-template-columns:repeat(3, 1fr); } /* 1fr | 1fr | 1fr */
  .eac-left{ grid-column:1 / span 2; }               /* purple spans 2 */
  .eac-grid > .eac-right{ grid-column:3 / span 1; justify-self:stretch; }
}

/* Two-cards responsive */
@media (max-width:1024px){
  .eac-grid{ grid-template-columns:1fr; }
  .eac-right{ order:2; }
  .eac-left{ order:1; }
  .eac-left-grid{ grid-template-columns:1fr; margin-top:clamp(12px, 3vw, 28px); }
  .eac-left-col, .eac-left-art{ align-items:center; }
  .eac-panel-img, .eac-icons-img{ width:min(92vw, 420px); }
}
@media (max-width:768px){
  .eac-panel-img{ width:min(84vw, 340px); }
  .eac-icons-img{ width:min(82vw, 330px); }
  .eac-step-art{ width:min(88%, 360px); }
  .eac-right .eac-step-art{ width:clamp(180px, 70vw, 320px) !important; margin-inline:auto; }
  .eac-right .eac-plus-inline{ width:clamp(70px, 26vw, 120px) !important; }
}
@media (max-width:480px){
  .eac-panel-img{ width:min(72vw, 300px); }
  .eac-icons-img{ width:min(70vw, 290px); }
  .eac-step-art{ width:min(84%, 320px); }
  .eac-right{ padding:16px; }
  .eac-right .eac-step-art{ width:clamp(160px, 64vw, 260px) !important; }
  .eac-right .eac-plus-inline{ width:clamp(64px, 22vw, 100px) !important; }
  .eac-right-title{ font-size:1.25rem; }
  .eac-steps{ margin-bottom:6px; line-height:1.45; }
}
@media (max-width:360px){
  .eac-panel-img{ width:min(68vw, 280px); }
  .eac-icons-img{ width:min(66vw, 270px); }
  .eac-step-art{ width:min(82%, 300px); }
}

/* ==========================================================================
   EYLET – Three Right Cards row (re-uses .eac-right styles)
   ========================================================================== */
.eac-right-grid{
  max-width:1180px; margin:0 auto;
  display:grid; gap:clamp(16px, 3vw, 32px); align-items:stretch;
  grid-template-columns:repeat(3, 1fr);
}
.eac-right-grid .eac-right{
  max-height:810px; overflow:hidden; border-radius:28px;
  background:#fff; padding:20px 22px;
  display:flex; flex-direction:column;
}
@media (max-width:1024px){ .eac-right-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:680px){  .eac-right-grid{ grid-template-columns:1fr; } }
@media (max-width:768px){
  .eac-right-grid .eac-step-art{ width:clamp(180px, 70vw, 320px) !important; margin-inline:auto; }
  .eac-right-grid .eac-plus-inline{ width:clamp(70px, 26vw, 120px) !important; }
}
@media (max-width:480px){
  .eac-right-grid .eac-step-art{ width:clamp(160px, 64vw, 260px) !important; }
  .eac-right-grid .eac-plus-inline{ width:clamp(64px, 22vw, 100px) !important; }
}

/* ==========================================================================
   Small-screen landscape lockout (optional overlay)
   ========================================================================== */
#portrait-only{
  position:fixed; inset:0;
  display:none; align-items:center; justify-content:center;
  text-align:center; padding:24px;
  background:#fff; color:#111; z-index:9999;
  font:600 18px/1.4 'Poppins', system-ui, sans-serif;
  box-shadow:0 0 0 1px rgba(0,0,0,.06) inset;
}
#portrait-only .inner{ max-width:26rem; }

@media (max-width:900px) and (orientation:landscape){
  #portrait-only{ display:flex; }
  html, body{ height:100%; overflow:hidden; }
}
/* --- Mobile fix: keep the single avatar card centered & not cut --- */
@media (max-width: 768px){
  /* remove double padding from the page wrapper */
  .eylet-single-card{ padding-left: 0; padding-right: 0; }

  /* add a 16px gutter on both sides so rounded card doesn't touch/cut */
  .esc-wrap{
    width: calc(100% - 32px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  /* one-column layout and center everything inside the card */
  .esc-grid{
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 20px 16px;
  }

  /* keep inner columns within the card width */
  .esc-left, .esc-right{
    width: 100%;
    max-width: 560px;
  }

  /* images never overflow; remove desktop transforms */
  .esc-left .esc-art,
  .esc-right .esc-collage{
    width: min(100%, 420px);
    max-width: 100%;
    height: auto;
    transform: none;
    margin-inline: auto;
    display: block;
  }

  /* optional: center the text for a cleaner mobile look */
  .esc-heading, .esc-desc{ text-align: center; }
}
/* Add a gap between the hero and the next section on mobile */
@media (max-width: 768px){
  .gs-hero{ padding-bottom: 16px; }                  /* space inside hero */
  .gs-hero .gs-wrap{ margin-bottom: 10px; }          /* extra nudge */
  .gs-hero + .eylet-teams-started{ margin-top: 8px; }/* space before Step 1 */
}

/* ============= Step 5 – Activate NFC Card (scoped, compact) ============= */
.ey-act5{padding:clamp(14px,3vw,24px) 16px;background:#efeff1;font-family:Poppins,system-ui,sans-serif;}

.ey-act5-card{
  max-width:1180px;margin:0 auto;position:relative;background:#fff;border-radius:var(--radius,28px);
  padding:clamp(20px,3.5vw,32px);
}
.ey-act5-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;}

.ey-act5-step{
  position:absolute;top:16px;left:16px;background:#26262a;color:#fff;font-weight:700;
  padding:8px 14px;border-radius:999px;font-size:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 6px 16px rgba(0,0,0,.18);
}
.ey-act5-title{
  margin:clamp(26px,3.5vw,36px) 0 4px;font-weight:800;letter-spacing:-.02em;line-height:1.1;
  font-size:clamp(28px,2vw + 1rem,40px);color:#0a0a0b;
}
.ey-act5-lead{margin:0 0 6px;color:#1a1a1a;font-size:clamp(14px,1.05vw,18px);}

.ey-act5-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(16px,2.4vw,28px);align-items:start;}
.ey-act5-steps{margin:4px 0 10px 20px;padding:0;color:#111;font-size:clamp(15px,1vw,18px);line-height:1.55;}
.ey-act5-steps li{margin:0 0 6px;}

/* --- Images: proportional & smaller --- */
.ey-act5-shot,
.ey-act5-menu,
.ey-act5-qr,
.ey-act5-devices img,
.ey-act5-confirm img{
  display:block;max-width:100%;height:auto;object-fit:contain;
}

/* Desktop widths (reduced) */
.ey-act5-shot{width:clamp(200px,22vw,300px);margin:6px 0 10px;}
.ey-act5-menu{width:clamp(200px,21vw,290px);}
.ey-act5-devices img{width:clamp(260px,26vw,380px);filter:drop-shadow(0 18px 42px rgba(0,0,0,.12));margin-top:8px;}
.ey-act5-qr{width:clamp(200px,22vw,300px);margin-inline:auto;}
.ey-act5-confirm{text-align:center;margin-top:100px;}
.ey-act5-confirm img { width: clamp(80px, 6vw, 120px);margin:0 auto 4px;}
.ey-act5-note{margin:0;color:#222;font-size:clamp(14px,1vw,16px);}

/* Tablet & down */
@media (max-width:1024px){
  .ey-act5-grid{grid-template-columns:1fr;}
  .ey-act5-card{padding:clamp(18px,4vw,26px);}
  .ey-act5-title{margin-top:clamp(44px,4vw,36px);}
  .ey-act5-shot,.ey-act5-menu,.ey-act5-qr,.ey-act5-devices img{width:min(80vw,420px);margin-inline:auto;}
  .ey-act5-confirm img{width:min(38vw,160px);}
  .ey-act5-steps{margin-left:18px;}
}

/* Small phones */
@media (max-width:480px){
  .ey-act5-card{border-radius:24px;}
  .ey-act5-step{top:12px;left:12px;}
  .ey-act5-title{font-size:clamp(24px,6vw,30px);}
}
/* Make Step 5 card width match other sections */
.ey-act5-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;      /* keep the cap */
  box-sizing: border-box; /* include internal padding in that width */
}

/* ================== Test NFC (after Step 5) ================== */
.ey-test-nfc{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: #efeff1;
  font-family: Poppins, system-ui, sans-serif;
}

/* card shell (same width as other sections) */
.ey-test-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius, 28px);
  padding: clamp(24px, 3.6vw, 40px);
  position: relative;
}
.ey-test-card::after{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events: none;
}

/* title */
.ey-test-title{
  margin: 0 0 clamp(6px, .8vw, 10px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(28px, 2.1vw + 1rem, 44px);
  color: #0a0a0b;
}

/* grid: left copy | right artwork */
.ey-test-grid{
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(18px, 3.2vw, 40px);
  align-items: center;                    /* ⬅ center row vertically on desktop */
}

/* left column – center the whole stack vertically */
.ey-test-left{
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;                /* ⬅ centers heading + paras */
  gap: clamp(8px, 1vw, 14px);
  min-height: clamp(260px, 34vw, 520px);  /* match art’s height for true centering */
}
.ey-test-lead,
.ey-test-copy{
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.55;
  max-width: 50ch;
}

/* right artwork */
.ey-test-art{
  position: relative;
  display: grid;
  place-items: end center;
  min-height: clamp(260px, 34vw, 520px);
}
.ey-test-art::before{
  content: "";
  position: absolute;
  top: 0; left: 10%;
  width: clamp(300px, 46vw, 640px);
  height: clamp(180px, 26vw, 360px);
}
.ey-test-phone{
  position: relative;
  z-index: 1;
  width: clamp(320px, 44vw, 560px);
  height: auto;
  display: block;
}

/* responsive */
@media (max-width: 1024px){
  .ey-test-grid{ grid-template-columns: 1fr; align-items: start; } /* top-align on mobile */
  .ey-test-left{ justify-content: flex-start; min-height: auto; }
  .ey-test-art{ place-items: center; min-height: auto; }
  .ey-test-art::before{
    left: 50%;
    transform: translateX(-50%) scale(.92);
    width: min(92vw, 620px);
    height: clamp(160px, 36vw, 320px);
    opacity: .8;
  }
  .ey-test-phone{ width: min(92vw, 520px); }
}
@media (max-width: 480px){
  .ey-test-card{ border-radius: 24px; padding: clamp(18px, 4vw, 28px); }
  .ey-test-art::before{ opacity: .6; }
}
/* Make the NFC test card the exact same width as the other cards */
.ey-test-nfc { padding: clamp(14px, 3vw, 32px) 16px; } /* same section gutters */

.ey-test-card{
  width: min(var(--maxw, 1180px), calc(100% - 32px)); /* match global cap + gutters */
  max-width: var(--maxw, 1180px);
  margin: 0 auto;
  box-sizing: border-box;  /* include padding inside that width */
}
/* ================== Privacy (gs-privacy) ================== */
.gs-privacy{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: #efeff1;
  font-family: Poppins, system-ui, sans-serif;
}

/* Match width/feel of your other cards */
.gsp-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius, 28px);
  padding: clamp(24px, 3.6vw, 40px);
  position: relative;
}
.gsp-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events:none;
}

.gsp-title{
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-size: clamp(28px, 2.1vw + 1rem, 44px);
  color:#0a0a0b;
}

/* Two-column grid (like your red guide) */
.gsp-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.2vw, 40px);
  align-items: start;
}
.gsp-left, .gsp-right{ min-width:0; }

.gsp-subtitle{
  margin: 0 0 clamp(8px, 1vw, 12px);
  font-weight: 700;
  font-size: clamp(18px, 1.1vw, 22px);
  line-height: 1.35;
}

.gsp-p{
  margin: 0 0 12px;
  color:#1a1a1a;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.65;
}

/* Images (proportional; sized by width only) */
.gsp-figure{ margin: 0 0 clamp(16px, 2vw, 24px); display:grid; place-items:center; }
.gsp-img{ max-width:100%; height:auto; display:block; filter: drop-shadow(0 12px 28px rgba(0,0,0,.10)); }
.gsp-img--pin{ width: clamp(280px, 38vw, 420px); }
.gsp-img--ui{  width: clamp(320px, 40vw, 520px); }
.gsp-figure--ui{ margin-top: clamp(12px, 2vw, 20px); }

/* Responsive */
@media (max-width: 1024px){
  .gsp-card{ border-radius:24px; padding: clamp(18px, 4vw, 28px); }
  .gsp-grid{ grid-template-columns: 1fr; gap: 16px; }
  .gsp-img--pin, .gsp-img--ui{ width: min(92vw, 520px); }
}
/* Shrink Privacy images slightly */
.gs-privacy .gsp-img--pin{ width: clamp(240px, 32vw, 360px); }
.gs-privacy .gsp-img--ui{  width: clamp(280px, 34vw, 440px); }

@media (max-width: 1024px){
  .gs-privacy .gsp-img--pin,
  .gs-privacy .gsp-img--ui{
    width: min(88vw, 460px);
  }
}
/* 1) Clip anything that tries to spill outside the rounded card */
.ey-act5-card,
.ey-test-card,
.gsp-card {
  overflow: hidden;
  box-sizing: border-box;
}

/* 2) Step 5 (mobile): size to the card, not the viewport */
@media (max-width: 1024px){
  .ey-act5-shot,
  .ey-act5-menu,
  .ey-act5-qr,
  .ey-act5-devices img{
    width: min(100%, 420px);       /* was 80vw */
    max-width: 420px;
    height: auto;
  }
}

/* 3) Test NFC (mobile): phone + glow sized to card width */
@media (max-width: 1024px){
  .ey-test-phone{
    width: min(100%, 520px);       /* was 92vw */
    height: auto;
  }
  .ey-test-art::before{
    width: min(100%, 620px);       /* was min(92vw, 620px) */
    max-width: 620px;
  }
}

/* 4) Privacy (mobile): images sized to the card */
@media (max-width: 1024px){
  .gsp-img--pin,
  .gsp-img--ui{
    width: min(100%, 520px);       /* was 92vw */
    height: auto;
  }
}

/* (optional) keep comfy inner gutters on tiny screens */
.ey-act5-card,
.ey-test-card,
.gsp-card{
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}
/* --- STEP 5 (mobile): keep all images inside the white card --- */
@media (max-width: 768px){
  /* Make the card’s box the sizing context & stop any bleed */
  .ey-act5-card{
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 18px 16px;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;               /* prevents eclipse/cutting outside */
  }

  /* Grid + children shouldn’t force horizontal growth */
  .ey-act5-grid{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ey-act5-grid > *{ min-width: 0; }

  /* Size images by the card’s content width (not vw) */
  .ey-act5 .ey-act5-shot,
  .ey-act5 .ey-act5-menu,
  .ey-act5 .ey-act5-qr,
  .ey-act5 .ey-act5-devices img{
    display: block;
    width: 100%;
    max-width: 420px;               /* smaller on phones */
    height: auto !important;
    margin: 8px auto 12px;
    object-fit: contain;
  }

  /* That big gap before the green check was pushing content down */
  .ey-act5-confirm{ margin-top: 16px; }
}
/* === Fix: make the last three white cards the same width on mobile === */
@media (max-width: 768px){
  .ey-act5-card,
  .ey-test-card,
  .gsp-card{
    width: 100% !important;       /* fill the section's content width */
    max-width: none !important;    /* let 100% apply cleanly */
    margin-inline: auto;           /* stay centered */
  }
}
/* Hide the left artwork on mobile and collapse the grid */
@media (max-width: 768px){
  .eac-left-art{ display: none !important; }
  .eac-left-grid{ grid-template-columns: 1fr !important; }
}

/* Fade only: no translate/scale so layout never moves */
img[data-fade]{
  opacity: 0;
  transition: opacity .6s ease-out;
  will-change: opacity;
}

/* becomes visible when JS adds this class */
img[data-fade].is-visible{
  opacity: 1;
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  img[data-fade]{ transition: none; }
}
/* ================== Video Section ================== */
.ey-video{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: var(--page-bg, #efeff1);
  font-family: Poppins, system-ui, sans-serif;
}

.eyv-card{
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: #f4f5f7;                 /* soft grey wrapper (like screenshot) */
  border-radius: var(--radius, 28px);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.eyv-frame{
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;                /* keeps the video box proportional */
  background: #fff;
  border-radius: calc(var(--radius, 28px) - 8px);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
}

.eyv-placeholder{
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 36px);
  color: #0a0a0b;
  line-height: 1;
  text-align: center;
  user-select: none;
}

/* Embedded media fills the rounded frame */
.eyv-embed{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;                    /* helps during load */
}

/* If you keep the placeholder in DOM, hide it when an embed is present */
.eyv-frame:has(.eyv-embed) .eyv-placeholder{ display: none; }

/* Fallback if :has() isn’t available: add .has-embed to .eyv-frame manually */
.eyv-frame.has-embed .eyv-placeholder{ display: none; }

/* ================== Wristband (compact) ================== */
.ey-wristband{
  padding: clamp(14px, 3vw, 32px) 16px;
  background:#efeff1;
  font-family:Poppins, system-ui, sans-serif;
}

/* card shell — same width rules as other white boxes */
.ey-wb-card{
  width: min(var(--maxw, 1180px), calc(100% - 32px));
  margin: 0 auto;
  background:#fff;
  border-radius: var(--radius, 28px);
  padding: clamp(18px, 3vw, 28px);           /* ↓ tighter vertical padding */
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.ey-wb-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events:none;
}

/* layout */
.ey-wb-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;            /* left | right */
  gap: clamp(14px, 2.4vw, 28px);             /* ↓ smaller gap */
  align-items:center;
}

/* left column */
.ey-wb-title{
  margin: 0 0 clamp(10px, 1.6vw, 16px);      /* ↓ tighter title spacing */
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.1;
  font-size: clamp(26px, 2vw + 1rem, 38px);  /* ↓ slightly smaller */
  color:#0a0a0b;
}
.ey-wb-product{
  display:block;
  width: clamp(200px, 28vw, 340px);          /* ↓ smaller image = less height */
  height:auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.10));
}

/* right column */
.ey-wb-right{
  border-left: 1px solid rgba(0,0,0,.08);    /* slim divider */
  padding-left: clamp(14px, 2vw, 22px);
  min-width:0;
}
.ey-wb-steps{
  display:block;
  width: clamp(380px, 52vw, 640px);          /* capped so the row stays short */
  max-width:100%;
  height:auto;
}

/* responsive */
@media (max-width:1024px){
  .ey-wb-grid{ grid-template-columns:1fr; gap:12px; }
  .ey-wb-left, .ey-wb-right{ text-align:center; }
  .ey-wb-right{
    border-left:0;
    padding-left:0;
    border-top:1px solid rgba(0,0,0,.08);
    padding-top: clamp(12px, 2.4vw, 18px);
  }
  .ey-wb-product{ margin-inline:auto; width: min(64vw, 360px); }
  .ey-wb-steps{ width: min(86vw, 720px); margin-inline:auto; }
  .ey-wb-title{ font-size: clamp(22px, 5vw, 28px); }
}
