@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #1c1c1c;
  color: #fff;
}


html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================================================================================================= */

/* Smart app hero — scoped to .animated-section (avoids clashing with .content-left elsewhere) */
.animated-section {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  background: url('/assets/images/banners/smart-app-bg.png') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 6%;
  box-sizing: border-box;
}

.animated-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(10, 10, 10, 0.701),
      rgba(10, 10, 10, 0.701));
  z-index: 1;
}

.animated-section::after {
  content: "";
  position: absolute;
  width: min(58vw, 620px);
  height: min(58vw, 620px);
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(65, 134, 110, 0.22), rgba(65, 134, 110, 0));
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
}

.animated-section::after {
  content: "";
  position: absolute;
  width: min(58vw, 620px);
  height: min(58vw, 620px);
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(65, 134, 110, 0.22), rgba(65, 134, 110, 0));
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
}

.animated-section .animated-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 6%;
  gap: clamp(24px, 4vw, 48px);
}

.animated-section .content-left {
  flex: 1 1 420px;
  min-width: 0;
  color: #fff;
}

.animated-section .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8eee5;
  background: rgba(122, 201, 169, 0.12);
  border: 1px solid rgba(122, 201, 169, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.animated-section .hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ac9a9;
  box-shadow: 0 0 0 5px rgba(122, 201, 169, 0.2);
}

.animated-section .content-left h2 {
  font-size: clamp(28px, 2.8vw + 1.1rem, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.animated-section .content-left h2 span {
  background: linear-gradient(120deg, #7bd6b1, #4f9a7e, #a8e5cf);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 3s infinite linear;
}

.animated-section .content-left p {
  margin: clamp(14px, 2.2vw, 20px) 0 clamp(18px, 2.5vw, 24px);
  max-width: 36rem;
  font-size: clamp(14px, 1.1vw + 0.65rem, 16px);
  line-height: 1.65;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.animated-section .btn {
  padding: 14px clamp(24px, 4vw, 32px);
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #3a725f, #a0d8c5);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  font-size: clamp(14px, 1vw, 15px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.animated-section .hero-cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.animated-section .hero-cta-note {
  font-size: 13px;
  color: rgba(230, 240, 236, 0.84);
  letter-spacing: 0.02em;
}

.animated-section .btn:hover {
  background: linear-gradient(90deg, #a0d8c5, #3a725f);
  box-shadow: 0 10px 28px rgba(5, 151, 71, 0.25);
}

.animated-section .btn:active {
  transform: scale(0.98);
}

.animated-section .content-right {
  flex: 1 1 320px;
  min-width: 0;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.animated-section .smart-phone-visual {
  isolation: isolate;
}

.animated-section .phone-halo {
  position: absolute;
  width: min(38vw, 440px);
  height: min(38vw, 440px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 201, 169, 0.081), rgba(122, 201, 169, 0));
  filter: blur(8px);
  z-index: -1;
  animation: haloPulse 3.6s ease-in-out infinite;
}

.animated-section .floating-pill {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #d9f8eb;
  background: rgba(9, 20, 17, 0.6);
  border: 1px solid rgba(127, 214, 176, 0.32);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.animated-section .pill-top {
  top: 14%;
  right: 5%;
  animation: floatingTag 4s ease-in-out infinite;
}

.animated-section .pill-bottom {
  bottom: 10%;
  left: 8%;
  animation: floatingTag 4.6s ease-in-out infinite reverse;
}

.animated-section .content-right img {
  width: 100%;
  max-width: min(500px, 44vw);
  height: auto;
  display: block;
  animation: floatPhone 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(89, 88, 88, 0.687));
  transform: perspective(800px) rotateY(-12deg) rotateX(4deg);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.animated-section .content-right:hover img {
  transform: perspective(800px) rotateY(-7deg) rotateX(3deg) translateY(-6px) scale(1.02);
  filter: drop-shadow(0 36px 48px rgba(92, 186, 146, 0.28));
}

@media (max-width: 1100px) {
  .animated-section .content-right img {
    max-width: min(420px, 48vw);
  }
}

@media (max-width: 992px) {
  .animated-section {
    min-height: auto;
    padding: clamp(88px, 18vw, 104px) 0 clamp(36px, 6vw, 56px);
  }

  .animated-section .animated-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: clamp(20px, 4vw, 36px);
  }

  .animated-section .content-left {
    flex: 1 1 auto;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .animated-section .content-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .animated-section .content-right {
    flex: 0 0 auto;
    width: 100%;
    align-items: center;
    margin-top: 0;
  }

  .animated-section .content-right img {
    max-width: min(300px, 72vw);
    margin-top: 0;
  }

  .animated-section .hero-cta-group {
    align-items: center;
  }

  .animated-section .pill-top {
    top: 6%;
    right: 11%;
  }

  .animated-section .pill-bottom {
    bottom: 6%;
    left: 10%;
  }
}

@media (max-width: 768px) {
  .animated-section .content-right img {
    max-width: min(270px, 76vw);
    transform: perspective(800px) rotateY(-7deg) rotateX(3deg);
  }
}

@media (max-width: 576px) {
  .animated-section {
    padding: 84px 0 32px;
  }

  .animated-section .animated-container {
    padding: 0 20px;
    gap: 20px;
  }

  .animated-section .content-left h2 {
    font-size: clamp(24px, 6.2vw, 32px);
    margin-top: 16px;
  }

  .animated-section .content-left p{
    font-size: 14px;
  }

  .animated-section .content-right img {
    max-width: min(240px, 80vw);
  }

  .animated-section .btn {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }

  .animated-section .hero-kicker {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .animated-section .hero-cta-note {
    font-size: 12px;
  }

  .animated-section .floating-pill {
    font-size: 11px;
    padding: 8px 12px;
  }

  .animated-section .pill-top {
    top: 8%;
    right: 4%;
  }

  .animated-section .pill-bottom {
    bottom: 6%;
    left: 4%;
  }
}

@media (max-width: 400px) {
  .animated-section {
    padding: 100px 0 28px;
  }

  .animated-section .content-left h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .animated-section .content-right img {
    max-width: min(210px, 84vw);
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  }

  .animated-section .btn {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .animated-section .floating-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animated-section .content-left h2 span,
  .animated-section .content-right img,
  .animated-section .phone-halo,
  .animated-section .floating-pill {
    animation: none;
  }

  .animated-section .content-right img {
    transform: none;
  }

  .animated-section .btn {
    transition: none;
  }

  .animated-section .btn:active {
    transform: none;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes floatPhone {
  0%, 100% {
    transform: perspective(800px) rotateY(-12deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: perspective(800px) rotateY(-12deg) rotateX(4deg) translateY(-10px);
  }
}

@keyframes haloPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.68;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes floatingTag {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ========================================================================================================================== */

/* ================= SECTION ================= */
.smart-society-section {
  min-height: 100vh;
  background: #000;
  padding: 50px 90px 0px 0px;
  color: #fff;
  overflow: visible;
  padding-left: 6%;
  padding-bottom: 100px;
}

/* ================= CENTER HEADING ================= */
.section-heading {
  text-align: center;
  margin-bottom: 70px;
  margin-top: 30px;
}

.section-heading h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
}

.section-heading h2 span {
  background: #41866e;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= CONTENT WRAPPER ================= */
.smart-society-section .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  /* height: 100vh; */
}

/* LEFT */
.content-left {
  flex: 1;
}

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 22px 25px;
  backdrop-filter: blur(12px);
  transition: 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}

/* ICON */
.icon-wrap {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= RIGHT IMAGE ================= */
.content-right-img::before {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle,
      rgba(0, 255, 119, 0.35),
      transparent 70%);
  transform: translateX(-50%);
  filter: blur(90px);
  opacity: 0;
  z-index: 0;
}


.content-right-img {
  flex: 1;
  height: 330px;
  position: relative;
  overflow: visible;
  /* IMPORTANT: hide bottom 50% */
  display: flex;
  align-items: flex-end;
  justify-content: center;
}



/* SWITCH IMAGE */

.switch-wrap {
   position: absolute;
  bottom: -50%;

  /* 👉 FIXED */
  left: 50%;              /* center inside right container */
  transform: translateX(-50%);

  width: 100%;
  display: flex;
  justify-content: center;

  pointer-events: none;
}

.switch-img {
  width: 820px;
  max-width: 150%;
  filter: drop-shadow(0 50px 90px rgba(0, 0, 0, 0.95));
}

/* Smart society premium interactions (scoped) */
.smart-society-section .section-heading h2 span {
  background: linear-gradient(120deg, #87dcba, #4d9c7f, #b2ead1);
  background-size: 220% 220%;
  animation: gradientMove 4.6s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.smart-society-section .ss-feature-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(123, 214, 177, 0.2);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.smart-society-section .ss-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(135, 220, 186, 0.2) 46%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.smart-society-section .ss-feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(135, 220, 186, 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
}

.smart-society-section .ss-feature-card:hover::before {
  transform: translateX(120%);
}

.smart-society-section .ss-feature-card span {
  font-size: 15px;
  line-height: 1.45;
  color: #ecf7f2;
}

.smart-society-section .ss-icon-wrap {
  background: linear-gradient(180deg, #fbfffd, #d7eee4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.smart-society-section .ss-icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.smart-society-section .ss-visual {
  isolation: isolate;
}

.smart-society-section .ss-visual-glow {
  position: absolute;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 214, 177, 0.35), rgba(123, 214, 177, 0));
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  animation: haloPulse 4s ease-in-out infinite;
}

.smart-society-section .ss-pill {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #dff9ed;
  background: rgba(11, 24, 20, 0.64);
  border: 1px solid rgba(123, 214, 177, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.smart-society-section .ss-pill-top {
  right: 6%;
  top: 14%;
  animation: floatingTag 4.6s ease-in-out infinite;
}

.smart-society-section .ss-pill-bottom {
  left: 8%;
  bottom: 8%;
  animation: floatingTag 5.2s ease-in-out infinite reverse;
}

/* ================= RESPONSIVE ================= */
/* ===================== TABLET ===================== */
@media (max-width: 1024px) {

  .smart-society-section {
    padding-left: 4%;
    padding-right: 4%;
  }

  .smart-society-section .container {
    gap: 60px;
    height: auto !important;
  }

  .content-right-img {
    height: 360px;
  }

  .switch-img {
    width: 650px;
  }

}

/* ===================== SMALL TABLET ===================== */


/* ===================== MOBILE ===================== */
@media (max-width: 576px) {
  .section-heading h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 18px 20px;
  }

  .content-right-img {
    height: 380px;
  }

  .switch-wrap {
    bottom: -35%;
  }

  .switch-img {
    width: 360px;
  }

  .smart-society-section .ss-feature-card {
    padding: 16px 16px;
    border-radius: 14px;
    gap: 12px;
  }

  .smart-society-section .ss-feature-card span {
    font-size: 14px;
  }

  .smart-society-section .ss-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .smart-society-section .ss-icon-wrap img {
    width: 24px;
    height: 24px;
  }

  .smart-society-section .ss-pill {
    font-size: 11px;
    padding: 8px 12px;
  }

}

/* ===================== VERY SMALL DEVICES ===================== */
@media (max-width: 400px) {

  .switch-img {
    width: 300px;
  }

  .content-right-img {
    height: 340px;
  }

  .smart-society-section .ss-pill {
    display: none;
  }

}

/* ================= MOBILE FIX ================= */
@media (max-width: 900px) {

  .smart-society-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .smart-society-section .container {
    flex-direction: column;
    height: auto;
  }

  .content-left {
    width: 100%;
    z-index: 2;
  }

  .content-right-img {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: -10px;
    overflow: visible;
  }

  .switch-wrap {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    justify-content: center;
  }

  .switch-img {
    width: 90%;
    max-width: 420px;
  }

  .smart-society-section .ss-pill-top {
    right: 3%;
    top: 6%;
  }

  .smart-society-section .ss-pill-bottom {
    left: 4%;
    bottom: 4%;
  }
}

/* Image visibility: do not force opacity:0 here — GSAP animates on scroll; hidden-by-default broke view before scroll. */

@media (max-width: 900px) {
  .smart-society-section {
    min-height: auto;
    padding-bottom: 60px;
  }

  .mobile-carousel-section {
    margin-top: 40px;
  }
}


/* ======================================================================================================================== */
/* ================= SECTION ================= */
.mobile-carousel-section {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ================= SWIPER ================= */
.mobileSwiper {
  width: 100%;
  max-width: 1200px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ================= TITLE ================= */
.mobileSwiper h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 26px;
  color: #fff;
  letter-spacing: 1px;
}

/* ================= WRAPPER ================= */
.swiper-wrapper {
  position: relative;
  align-items: center;
  padding: 34px 0 28px;
}

.carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  top: 53%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 clamp(10px, 3.2vw, 32px);
}

.carousel-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(173, 250, 210, 0.46);
  background: rgba(7, 18, 14, 0.66);
  color: #dcfaec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(66, 146, 113, 0.3);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carousel-control-btn i {
  font-size: 22px;
  line-height: 1;
}

.carousel-control-btn:hover {
  transform: translateY(-1px);
  background: rgba(122, 201, 169, 0.24);
  box-shadow: 0 8px 20px rgba(66, 146, 113, 0.36);
}

.carousel-control-btn:active {
  transform: scale(0.96);
}


/* ================= SLIDE ================= */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease;
}

/* ================= 3D PHONE ================= */
.phone {
  width: 240px;
  height: 480px;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 20px 40px rgba(0, 255, 170, 0.185),
    inset 0 0 15px rgba(74, 72, 72, 0.332);
  transition: all 0.6s ease;
  transform-style: preserve-3d;
}

/* Camera notch */
.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 12px;
  background: #000;
  border-radius: 10px;
  z-index: 5;
}

/* ================= SCREEN ================= */
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: all 0.6s ease;
  box-shadow: 0 5px 5px rgba(158, 240, 204, 0.166);
}



/* ================= CENTER ACTIVE ================= */
.swiper-slide-active .phone {
  transform: scale(1.15) rotateY(0deg);
  box-shadow:
    0 5px 25px rgba(152, 255, 210, 0.196);
}

.swiper-slide-active .phone img {
  transform: scale(1.02);
  opacity: 1;
}

/* ================= SIDE PHONES ================= */
.swiper-slide:not(.swiper-slide-active) .phone {
  transform: scale(0.9) rotateY(25deg);
  opacity: 0.6;
}

.swiper-slide-prev .phone {
  transform: scale(0.9) rotateY(-25deg);
}

/* ================= STORE BUTTONS ================= */
.store-buttons {
  margin-top: 26px;
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.store-box {
  width: 180px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(173, 250, 210, 0.618);
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
  overflow: hidden;
}

.store-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 5px 40px rgba(127, 222, 181, 0.27);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .phone {
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .mobileSwiper {
    margin-top: 40px;
  }

  .phone {
    width: 270px;
    height: 370px;
  }

  .mobileSwiper h2 {
    font-size: 32px;
    margin-bottom: 22px;
  }

  .carousel-controls {
    left: 0;
    right: 0;
    padding: 0 clamp(8px, 2.6vw, 18px);
  }

  .carousel-control-btn {
    width: 34px;
    height: 34px;
  }

  .store-box {
    width: 150px;
    height: 50px;
  }

  .store-buttons {
    margin-top: 20px;
    padding: 0 50px;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .phone {
    width: 150px;
    height: 300px;
  }

  .mobileSwiper h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .carousel-controls {
    left: 0;
    right: 0;
    padding: 0 8px;
  }

  .carousel-control-btn {
    width: 30px;
    height: 30px;
  }

  .carousel-control-btn i {
    font-size: 18px;
  }

}

/* Mobile carousel: single centered phone, no side tilt (matches Swiper slidesPerView: 1 below 576px) */
@media (max-width: 575px) {
  .mobile-carousel-section .mobileSwiper {
    overflow: hidden;
    max-width: 100%;
    padding-inline: 12px;
    box-sizing: border-box;
  }

  .mobile-carousel-section .swiper-wrapper {
    padding: 24px 0;
  }

  .mobile-carousel-section .swiper-slide {
    justify-content: center;
  }

  .mobile-carousel-section .phone {
    width: min(220px, 78vw);
    height: auto;
    aspect-ratio: 1 / 2;
    max-height: min(440px, 68vh);
    margin-inline: auto;
  }

  .mobile-carousel-section .swiper-slide-active .phone {
    transform: scale(1.05) rotateY(0deg);
  }

  .mobile-carousel-section .swiper-slide:not(.swiper-slide-active) .phone,
  .mobile-carousel-section .swiper-slide-prev .phone {
    transform: scale(0.92) rotateY(0deg);
    opacity: 0.5;
  }
}

/* ============================================================================================================================== */

.how-it-works {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 100px 5% 110px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.how-it-works-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgb(0, 0, 0) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgb(0, 0, 0) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.how-it-works-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.how-it-works-head {
  margin-bottom: 48px;
}

.how-it-works h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.how-it-works h2 span {
  background: #41866e;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-it-works .subtitle {
  color: rgba(191, 232, 217, 0.92);
  font-size: clamp(14px, 1.8vw, 17px);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.6;
}

.how-progress {
  max-width: 420px;
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(65, 134, 110, 0.25);
}

.how-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059747, #3dd68c, #00aaff);
  box-shadow: 0 0 20px rgba(5, 151, 71, 0.45);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps-wrap {
  position: relative;
  margin-top: 8px;
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  text-align: center;
}

.how-step {
  position: relative;
  padding: 28px 18px 26px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(65, 134, 110, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  outline: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.how-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(61, 214, 140, 0.12) 0%, transparent 55%);
  transition: opacity 0.45s ease;
}

.how-step:hover::after {
  opacity: 1;
}

.how-step:hover {
  transform: translateY(-8px);
  border-color: rgba(5, 151, 71, 0.5);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(5, 151, 71, 0.18),
    0 0 48px rgba(5, 151, 71, 0.12);
}

.how-step.is-active {
  transform: translateY(-10px);
  border-color: rgba(61, 214, 140, 0.72);
  box-shadow:
    0 32px 72px rgba(5, 151, 71, 0.22),
    0 0 0 1px rgba(61, 214, 140, 0.35),
    0 0 56px rgba(61, 214, 140, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(5, 151, 71, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.how-step.is-active::after {
  opacity: 1;
}

.how-step:focus-visible {
  outline: 2px solid #3dd68c;
  outline-offset: 4px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #041a12;
  background: linear-gradient(135deg, #7ee8c7, #41866e);
  box-shadow: 0 10px 28px rgba(5, 151, 71, 0.35);
}

.step-media {
  margin-bottom: 18px;
  perspective: 900px;
}

.step-image-frame {
  width: min(200px, 85%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(65, 134, 110, 0.4);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, #161616 0%, #0c0c0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.how-step:hover .step-image-frame,
.how-step.is-active .step-image-frame {
  border-color: rgba(61, 214, 140, 0.55);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(61, 214, 140, 0.2),
    0 0 36px rgba(5, 151, 71, 0.2);
}

.step-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.how-step:hover .step-image-frame img,
.how-step.is-active .step-image-frame img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.05);
}

.step-copy h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #eafff6;
  letter-spacing: -0.01em;
}

.step-copy p {
  margin: 0;
  font-size: 14px;
  color: rgba(191, 232, 217, 0.88);
  line-height: 1.55;
}

@media (max-width: 992px) {
  .how-it-works {
    padding: 80px 5% 90px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .step-image-frame {
    width: min(180px, 90%);
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 64px 16px 72px;
  }

  .how-it-works-head {
    margin-bottom: 36px;
  }

  .how-it-works .subtitle {
    margin-bottom: 22px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 18px;
  }

  .how-step {
    padding: 24px 20px;
  }

  .step-image-frame {
    width: min(200px, 88%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-step,
  .how-step::after,
  .step-image-frame,
  .step-image-frame img,
  .how-progress-fill {
    transition: none;
  }

  .how-step:hover,
  .how-step.is-active {
    transform: none;
  }

  .how-step:hover::after,
  .how-step.is-active::after {
    opacity: 0;
  }

  .how-step:hover .step-image-frame img,
  .how-step.is-active .step-image-frame img {
    transform: none;
    filter: none;
  }
}

/* ========================================================================================================================= */
/* ============================= */
/* SECTION */
/* ============================= */
.sk-timeline {
  background: #000;
  color: #fff;
  padding: 120px 6%;
  position: relative;
  overflow: hidden;
}

/* TITLE */
.sk-timeline-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 100px;
  background: linear-gradient(90deg, #ffffff, #4dc887);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ============================= */
/* WRAPPER */
/* ============================= */
.sk-timeline-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

/* ============================= */
/* CENTER LINE */
/* ============================= */
.sk-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #ffffff, #4ade80);
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.4s ease-out;
}

/* ============================= */
/* ITEM */
/* ============================= */
.sk-item {
  position: relative;
  width: 50%;
  padding: 60px 30px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
  z-index: 2;

  display: flex;
  align-items: center;
}

/* LEFT / RIGHT */
.sk-item.left {
  left: 0;
  justify-content: flex-end;
}

.sk-item.right {
  left: 50%;
  justify-content: flex-start;
}

/* ============================= */
/* 🔥 DOT PERFECT CENTER LINE */
/* ============================= */
.sk-dot {
  position: absolute;
  top: 50%;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  z-index: 5;

  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;

   background: #000;   /* black background */
  color: #fff;        /* number white */
  border: 2px solid #9effc7; /* keep border same */
}

/* LEFT ITEM → push dot to center */
.sk-item.left .sk-dot {
  left: 100%;
}

/* RIGHT ITEM → pull dot to center */
.sk-item.right .sk-dot {
  left: 0%;
}

/* PULSE */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(158,255,199,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(158,255,199,0); }
  100% { box-shadow: 0 0 0 0 rgba(158,255,199,0); }
}

/* ============================= */
/* CONTENT CARD */
/* ============================= */
.sk-content {
  background: rgba(71, 71, 71, 0.277);
  border: 1px solid rgba(116, 116, 116, 0.512);
  padding: 35px ;
  border-radius: 15px;
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  transition: 0.4s;
  max-width: 380px;
}

/* HOVER */
.sk-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 6px rgba(179, 248, 207, 0.05); /* reduced */
}

/* ICON */
.sk-icon {
  font-size: 28px;
  color: #9effc7;
  margin-bottom: 12px;
  transition: 0.4s;
}

/* TEXT */
.sk-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.sk-content p {
  color: #aaa;
  font-size: 14px;
}

/* LEFT RIGHT spacing */
.sk-item.left .sk-content {
  margin-right: 80px;
}

.sk-item.right .sk-content {
  margin-left: 80px;
}

/* ============================= */
/* SCROLL ANIMATION */
/* ============================= */
.sk-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* ACTIVE */
.sk-item.active .sk-content {
  box-shadow: 0 0 20px rgba(171, 254, 206, 0.179); /* reduced */
  transform: scale(1.05);
}

.sk-item.active .sk-icon {
  transform: scale(1.2);
  color: #4ade80;
}

.sk-item.active .sk-dot {
  background: #000;   /* keep black */
  color: #fff;        /* keep white */
  border-color: #4ade80; /* subtle highlight */
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {

  .sk-line {
    left: 20px;
  }

  .sk-item {
    width: 100%;
    left: 0 !important;
    justify-content: flex-start;
    padding-left: 70px;
  }

  .sk-dot {
    left: 20px !important;
    transform: translate(-50%, -50%);
  }

  .sk-content {
    margin: 0 0 40px 40px !important;
  }
}

/* Premium timeline polish */
.sk-timeline {
  background:
    radial-gradient(ellipse 72% 48% at 50% -8%, rgba(65, 134, 110, 0.24), transparent 66%),
    radial-gradient(circle at 12% 22%, rgba(74, 222, 128, 0.09), transparent 38%),
    radial-gradient(circle at 86% 76%, rgba(0, 170, 255, 0.08), transparent 42%),
    #000;
}

.sk-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0));
  z-index: 0;
}

.sk-timeline-title {
  position: relative;
  z-index: 2;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 88px;
  color: #f6fffb;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: none;
  -webkit-text-fill-color: initial;
}

.sk-timeline-title span {
  background: linear-gradient(120deg, #dff5ea, #7bd6b1, #3fa57f);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s linear infinite;
}

.sk-line {
  width: 3px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88), #4ade80, rgba(0, 170, 255, 0.5));
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.25);
}

.sk-item {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.sk-dot {
  border: 2px solid rgba(158, 255, 199, 0.9);
  background: radial-gradient(circle at 30% 30%, #1f2b27, #050606 72%);
  box-shadow: 0 0 0 7px rgba(158, 255, 199, 0.08), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.sk-content {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(123, 214, 177, 0.24);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.sk-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(139, 235, 193, 0.2) 48%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.sk-content:hover {
  transform: translateY(-12px);
  border-color: rgba(123, 214, 177, 0.52);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.46), 0 0 40px rgba(74, 222, 128, 0.14);
}

.sk-content:hover::before {
  transform: translateX(130%);
}

.sk-icon {
  font-size: 30px;
  background: linear-gradient(140deg, #e9fff6, #7ad3af, #3d8f72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sk-item.active .sk-content {
  transform: translateY(-8px) scale(1.035);
  border-color: rgba(122, 201, 169, 0.62);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46), 0 0 48px rgba(74, 222, 128, 0.18);
}

.sk-item.active .sk-dot {
  border-color: #4ade80;
  box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.12), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.sk-content h3 {
  color: #f3fff9;
  letter-spacing: 0.01em;
}

.sk-content p {
  color: rgba(214, 236, 226, 0.84);
  line-height: 1.62;
}

/* =============================================================================================================================== */
/* ============================= */
/* SECTION */
/* ============================= */
.sk-app-demo {
  background: #000;
  padding: 120px 6%;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* TITLE */
.sk-demo-title {
  font-size: 38px;
  margin-bottom: 80px;
  background: linear-gradient(90deg, #ffffff, #4dc887);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================= */
/* LAYOUT */
/* ============================= */
.sk-demo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* ============================= */
/* FEATURES */
/* ============================= */
.sk-demo-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.demo-item {
  background: rgba(255, 255, 255, 0.089);
  padding: 18px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  backdrop-filter: blur(8px);
}

/* HOVER */
.demo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 10px rgba(177, 237, 199, 0.226);
}

/* ACTIVE */
.demo-item.active {
  border-color: #4ade80;
  box-shadow: 0 0 15px rgba(74,222,128,0.25);
}

/* ICON */
.demo-item i {
  font-size: 24px;
   background: linear-gradient(135deg, #DFF5EA, #71c3a2, #367861);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* TEXT */
.demo-item h4 {
  font-size: 14px;
  color: #ddd;
}

/* ============================= */
/* MOBILE FRAME */
/* ============================= */
.sk-demo-mobile {
  perspective: 1000px;
}

.mobile-frame {
  width: 285px;
  height: 575px;
  border-radius: 42px;
  background: linear-gradient(165deg, #0f1012, #1b1d20);
  border: 1px solid rgba(218, 224, 231, 0.22);

  position: relative;
  overflow: hidden;

  animation: float 4s ease-in-out infinite;
  box-shadow:
    0 28px 45px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 255, 255, 0.03),
    0 0 35px rgba(74, 222, 128, 0.12);
}

.mobile-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #0a0b0d;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.mobile-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 4;
}

/* ============================= */
/* SCREEN (IMAGE BASED) */
/* ============================= */
.screen {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 30px;
  overflow: hidden;

  opacity: 0;
  transform: scale(0.98);

  transition: all 0.5s ease;
}

/* ACTIVE SCREEN */
.screen.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}



/* IMAGE */
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Premium interactive polish for app demo (keeps black base) */
.sk-app-demo {
  background: #000;
}

.sk-app-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(74, 222, 128, 0.12), transparent 42%),
    radial-gradient(circle at 16% 76%, rgba(0, 170, 255, 0.06), transparent 36%),
    radial-gradient(circle at 84% 74%, rgba(123, 214, 177, 0.08), transparent 34%);
  z-index: 0;
}

.sk-demo-container {
  position: relative;
  z-index: 1;
}

.sk-demo-title {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 72px;
  letter-spacing: -0.01em;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.sk-demo-features {
  gap: 20px;
}

.demo-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px 22px;
  min-width: 220px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(123, 214, 177, 0.2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;

   transition: all 0.35s ease;
}

.demo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(139, 235, 193, 0.2) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.demo-item:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(123, 214, 177, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48), 0 0 32px rgba(74, 222, 128, 0.12);
}

.demo-item:hover::before {
  transform: translateX(130%);
}

.demo-item.active {
  border-color: rgba(74, 222, 128, 0.9);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 34px rgba(74, 222, 128, 0.2);
  animation: demoPulse 2.4s ease-in-out infinite;
}

.demo-item.active {
  border-color: #4ade80;
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(255,255,255,0.05));
  box-shadow:
    0 20px 40px rgba(0,0,0,0.5),
    0 0 25px rgba(74, 222, 128, 0.521),
    inset 0 0 12px rgba(74,222,128,0.15);
  transform: translateY(-6px) scale(1.05);
  z-index: 2;
}

.demo-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #4ade80, #22c55e);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.251);
}
.demo-item.active i {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.36));
  transition: 0.3s ease;
}

.demo-item h4 {
  color: #ecfff6;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.demo-item.active h4 {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.sk-demo-mobile {
  position: relative;
  isolation: isolate;
}

.sk-demo-mobile::before {
  content: "";
  position: absolute;
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0));
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  animation: haloPulse 4.2s ease-in-out infinite;
}

.mobile-frame {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mobile-frame:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 34px 55px rgba(0, 0, 0, 0.5),
    0 0 0 4px rgba(255, 255, 255, 0.03),
    0 0 45px rgba(74, 222, 128, 0.2);
}

.mobile-frame::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.screen {
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.screen.active {
  filter: saturate(1.04) brightness(1.02);
}

@keyframes demoPulse {
  0%, 100% {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 26px rgba(74, 222, 128, 0.15);
  }
  50% {
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.52), 0 0 42px rgba(74, 222, 128, 0.26);
  }
}

@keyframes activeGlow {
  0%,100% {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.362);
  }
  50% {
    box-shadow: 0 0 35px rgba(74, 222, 128, 0.379);
  }
}

.demo-item.active {
  animation: activeGlow 2s infinite ease-in-out;
}
/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {

  .sk-demo-container {
    flex-direction: column;
    gap: 40px;
  }

  .sk-demo-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .demo-item {
    width: 45%;
  }

  .mobile-frame {
    width: 250px;
    height: 510px;
    border-radius: 36px;
  }

  .mobile-frame::before {
    width: 96px;
    height: 22px;
  }

  .mobile-frame::after {
    inset: 7px;
    border-radius: 30px;
  }

  .screen {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 26px;
  }
}

/* ==================================================================================================================== */

/* SECTION */

.automation-section{
  padding:120px 20px;
  background: #000;
  color:#fff;
  text-align:center;
  font-family:'Poppins',sans-serif;
}

/* CONTAINER */

.auto-container{
  max-width:1200px;
  margin:auto;
}

/* HEADING */

.auto-heading{
  font-size:42px;
  margin-bottom:15px;
}

.auto-heading span{
  color: #7fd9b3;
}

.auto-subtext{
  color:#b5cfc7;
  max-width:700px;
  margin:auto;
  margin-bottom:70px;
  line-height:1.7;
  font-size:16px;
}

/* GRID */

.auto-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* CARD */

.auto-card{
  background: rgba(20, 20, 20, 0.92);
  border:1px solid rgba(130, 130, 130, 0.24);
  padding:40px 25px;
  border-radius:18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position:relative;
  overflow:hidden;
  backdrop-filter:blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

/* SOFT GLOW BACKGROUND */

.auto-card::before{
  content:none;
}

/* HOVER EFFECT */

.auto-card:hover{
  transform:translateY(-10px) scale(1.015);
  border-color: rgba(127, 217, 179, 0.58);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.52), 0 0 28px rgba(127, 217, 179, 0.14);
}

/* ICON */

.auto-icon{
  width:70px;
  height:70px;
  margin:auto;
  margin-bottom:20px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(127, 217, 179, 0.08);
  font-size:28px;
  color: #96e4c1;
  border: 1px solid rgba(11, 98, 63, 0.604);

  transition:0.4s;
}

/* ICON HOVER */

.auto-card:hover .auto-icon{
  color: #bbf3da;
  transform:scale(1.1) rotate(6deg);
  box-shadow:0 0 22px rgba(110, 231, 183, 0.22);
}

/* TEXT */

.auto-card h3{
  font-size:20px;
  margin-bottom:10px;
  font-weight:600;
  color: #f3fff9;
}

.auto-card p{
  color: rgba(199, 231, 221, 0.9);
  font-size:14px;
  line-height:1.6;
}

/* SUBTLE ICON ANIMATION */

.auto-icon{
  animation:pulseGlow 2.5s infinite;
}

@keyframes pulseGlow{
  0%{
    box-shadow:0 0 0 rgba(110,231,183,0.2);
  }
  50%{
    box-shadow:0 0 25px rgba(110,231,183,0.2);
  }
  100%{
    box-shadow:0 0 0 rgba(110,231,183,0.2);
  }
}

.automation-section{
  background:#000;
}


/* RESPONSIVE */

@media(max-width:992px){

  .auto-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:600px){

  .auto-grid{
    grid-template-columns:1fr;
  }

  .auto-heading{
    font-size:28px;
  }

  .auto-subtext{
    font-size:14px;
  }

  .auto-card{
    padding:30px 20px;
  }

}

/* ==================================================================================================
   Smart App page — cross-section responsive (laptop / tablet / mobile)
================================================================================================== */

@media (max-width: 1200px) {
  .sk-app-demo {
    padding: 90px 4%;
  }

  .sk-demo-title {
    font-size: clamp(28px, 3.2vw, 36px);
    margin-bottom: 56px;
  }
}

@media (max-width: 992px) {
  .smart-society-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    margin-bottom: 48px;
    padding: 0 8px;
  }

  .section-heading h2 {
    font-size: clamp(26px, 4vw, 34px);
  }

  .mobile-carousel-section {
    min-height: auto;
    padding: 48px 16px 64px;
  }

  .mobileSwiper {
    padding: 0 12px;
  }

  .mobileSwiper h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 40px;
    padding: 0 12px;
  }

  .how-it-works {
    padding: 80px 20px 90px;
  }

  .sk-timeline {
    padding: 80px 20px 100px;
  }

  .sk-timeline-title {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 64px;
    padding: 0 8px;
  }

  .sk-demo-container {
    gap: 36px;
    max-width: 100%;
    margin: 0 auto;
  }

  .automation-section {
    padding: 80px clamp(16px, 4vw, 24px) 90px;
  }

  .auto-heading {
    font-size: clamp(28px, 4vw, 38px);
  }
}

@media (max-width: 768px) {
  .store-buttons {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16px;
    margin-top: 48px;
  }

  .sk-timeline .sk-content {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 32px;
    padding: 24px 18px;
  }

  .sk-item {
    padding: 40px 16px 40px 56px;
  }

  .sk-dot {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .sk-demo-features {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .demo-item {
    min-width: 0;
  }

  .sk-demo-mobile {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mobile-frame {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .smart-society-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .sk-app-demo {
    padding: 64px 16px 72px;
  }

  .sk-demo-title {
    margin-bottom: 40px;
  }

  .sk-demo-features.left,
  .sk-demo-features.right {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .sk-demo-features .demo-item {
    width: 100%;
  }

  .mobile-frame {
    width: min(240px, 82vw);
    height: auto;
    aspect-ratio: 285 / 575;
  }

  .screen {
    top: 11px;
    left: 11px;
    right: 11px;
    bottom: 11px;
  }
}

@media (max-width: 400px) {
  .how-step {
    padding: 20px 14px;
  }

  .sk-item {
    padding-left: 52px;
  }

  .sk-line {
    left: 16px;
  }

  .sk-dot {
    left: 16px !important;
  }

  .phone {
    width: 140px;
    height: 280px;
  }
}


* {
  scroll-behavior: smooth;
}

.showcase-item,
.product-step,
.feature-card {
  will-change: transform, opacity;
}

/* ==========================================
   Sk App Demo: plain black theme override
   (no gradients in this section)
========================================== */
.sk-app-demo,
.sk-app-demo::before {
  background: #000 !important;
}

.sk-app-demo::before,
.sk-demo-mobile::before,
.demo-item::before {
  content: none !important;
}

.sk-demo-title {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

.demo-item {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(123, 214, 177, 0.24) !important;
}

.demo-item i {
  background: none !important;
  -webkit-text-fill-color: #8fe0bc !important;
  color: #8fe0bc !important;
}

.mobile-frame {
  background: #111315 !important;
}