: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);
}

.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 */
}
