/* =====================================================
       GLOBAL STYLES
    ===================================================== */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
}

body.menu-open {
  overflow: hidden;
}

/* =====================================================
     HEADER & NAVIGATION
  ===================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*  responsive horizontal padding so items aren’t flush to the edge */
  padding: 36px clamp(24px, 8vw, 120px);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  background: #000;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: url("../img/logoGepeto.png") center/contain no-repeat;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* ――― FLASH‑SALE button ――― */
.flash-sale {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  font-size: 11px; /* slightly smaller text */
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s;
}
.flash-sale:hover {
  transform: scale(1.1);
}
.flash-sale img {
  width: 80px; /* reduced width to keep header compact */
  height: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

/* ----------  Mobile nav  ---------- */
@media (max-width: 768px) {
  header {
    position: fixed;
    width: 100%;
    z-index: 1001;
  }

  nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 24px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open {
    height: 100vh;
  }
}

/* =====================================================
     HERO SECTION
  ===================================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 120px;
  animation: fadeInUp 1s ease-out;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero img.hero-bg {
  position: absolute;
  bottom: -160px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff1cf7 0%, #00f0ff 50%, #ff1cf7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  -webkit-mask: linear-gradient(#000 0 0) left/0% 100% no-repeat;
  mask: linear-gradient(#000 0 0) left/0% 100% no-repeat;
  animation: typingMask 8s steps(40, end) infinite;
  margin-bottom: 12px;
}

/* cursor */
.hero h1::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #3c82f6;
  animation: blinkCursor 0.8s step-end infinite,
    followCursor 8s steps(40, end) infinite;
}

.hero h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero p {
  font-size: 16px;
  color: #ccc;
  margin: 0 auto 32px;
  max-width: 800px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons button {
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-buttons button:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.hero-buttons .primary {
  background: linear-gradient(to right, #3c82f6, #6a11cb);
  color: #fff;
}

.hero-buttons .secondary {
  background: #1e1e1e;
  color: #fff;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .hero {
    padding-top: 180px;
  }
  .hero h1 {
    font-size: 14vw;
    line-height: 1.15;
  }
}

/* =====================================================
       ANIMATIONS (keyframes)
    ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingMask {
  0%,
  10% {
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }

  45%,
  55% {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  90%,
  100% {
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }
}

@keyframes blinkCursor {
  50% {
    opacity: 0;
  }
}

@keyframes followCursor {
  0%,
  10% {
    right: 100%;
  }

  45%,
  55% {
    right: 0;
  }

  90%,
  100% {
    right: 100%;
  }
}

/* =====================================================
     SOLUTIONS SECTION
  ===================================================== */
.solutions {
  padding: 80px 24px 0;
  text-align: center;
}

.solutions h2 {
  font-size: 36px;
  margin-bottom: 60px;
}

.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.solution-card {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card.visible {
  animation: fadeInCard 0.6s ease-out forwards;
  background: #111;
  border-radius: 12px;
  padding: 16px;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(74, 177, 241, 0.15);
}

.solution-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.solution-card p {
  margin: 16px 0;
  color: #ccc;
}

.solution-card img {
  width: 100%;
  border-radius: 12px;
}

/* =====================================================
     REVIEWS SECTION (Swiper)
  ===================================================== */
.reviews {
  padding: 80px 24px;
  text-align: center;
}

.reviews h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.reviews-swiper {
  padding-bottom: 40px;
}

.review-card {
  background: #111;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.05);
  max-width: 500px;
  margin: 0 auto;
}

.review-card .quote {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 12px;
}

.review-card .author {
  font-size: 14px;
  color: #888;
  font-style: italic;
}

/* =====================================================
     VIDEO THUMBNAIL (floating corner video)
  ===================================================== */
.video-thumbnail {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 1000;
}

.video-thumbnail video {
  width: 100%;
}

.sound-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 600px) {
  .video-thumbnail {
    width: 140px;
  }

  .sound-toggle {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
}

/* =====================================================
     PRICING SECTION
  ===================================================== */
.pricing {
  padding: 80px 20px;
  text-align: center;
}

.pricing-title {
  font-size: 36px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.plan {
  background: #111;
  padding: 32px;
  border-radius: 12px;
  max-width: 280px;
  flex: 1 1 240px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.plan:hover {
  transform: translateY(-8px);
}

.plan h3 {
  font-size: 24px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.plan p {
  margin: 8px 0;
  font-size: 16px;
}

@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* =====================================================
     INDUSTRIES SECTION (flip cards)
  ===================================================== */
.industries {
  padding: 100px 24px;
  text-align: center;
}

.industries-title {
  font-size: 40px;
  margin-bottom: 50px;
}

.industries-title span {
  color: #3c82f6;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  width: 200px;
  height: 260px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 18px;
}

.industry-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 12px;
  background: transparent;
}

.card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-front .label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.card-back {
  background: #3b3b3b;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  line-height: 1.4;
}

/* =====================================================
     SHOWCASE SECTION (gif BG + form + video)
  ===================================================== */
.showcase {
  position: relative;
  padding: 90px 0 120px;
  overflow: hidden;
  text-align: center;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: -2;
}
.showcase:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}
.showcase-title {
  font-size: clamp(28px, 6vw, 58px);
  font-weight: 800;
  background: linear-gradient(90deg, #c42dff 0%, #1ca7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 56px;
}
.showcase-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.showcase-form {
  flex: 0 0 460px;
  max-width: 520px;
}
.showcase-form iframe {
  width: 100%;
  height: 760px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.showcase-video-wrap {
  flex: 0 0 320px;
  max-width: 360px;
  position: relative;
}
.showcase-video-wrap video {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.sound-toggle-showcase {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 1100px) {
  .showcase-grid {
    gap: 40px;
  }
  .showcase-form {
    flex: 1 1 420px;
    max-width: 460px;
  }
}
@media (max-width: 900px) {
  .showcase-grid {
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
  }
  .showcase-form iframe {
    height: 640px;
  }
  .showcase-video-wrap {
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  .showcase-form iframe {
    height: 560px;
  }
}

/* ---------------------------------------------------------------
       WHY GEPETO SECTION                                            
    ---------------------------------------------------------------*/
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 140px;
  text-align: center;
}
.why h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 32px;
}
.why .subtitle {
  font-size: 26px;
  font-weight: 500;
  max-width: 820px;
  margin: 0 auto 80px;
  background: linear-gradient(90deg, #ff1cf7 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- feature grid ----- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 64px 50px;
  margin-bottom: 130px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.icon-box {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.icon-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, #3c82f6, #6a11cb);
  -webkit-mask: linear-gradient(#000 0 0) content-box content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.feature:hover .icon-box {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
.feature:hover .icon-box::before {
  opacity: 1;
}
.icon-box i {
  font-size: 48px;
  color: #3c82f6;
}
.feature span {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

/* ----- gepeto brand text ----- */
.with {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 34px;
}
.brand {
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #ff1cf7 0%, #00f0ff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 44px;
}
.tagline {
  font-size: 22px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .brand {
    font-size: 68px;
  }
  .icon-box {
    width: 110px;
    height: 110px;
  }
  .icon-box i {
    font-size: 38px;
  }
  .feature span {
    font-size: 18px;
  }
  .why h1 {
    font-size: 46px;
  }
  .why .subtitle {
    font-size: 22px;
    margin-bottom: 60px;
  }
}

/* ---------------------------------------------------------------
           POSSIBILITIES SECTION (NEW)                                   
        ---------------------------------------------------------------*/
.possibilities {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.possibilities h2 {
  font-size: 46px;
  font-weight: 700;
  grid-column: 1/3;
  text-align: center;
  margin-bottom: 40px;
}
.possibilities h2 span {
  color: #2994ff;
}
.info-card {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 32px;
  font-size: 18px;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.info-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
  color: #000;
}
.why-list-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.why-list {
  list-style: disc;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.6;
}
.possibilities img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* —— Tablets / phablets —— */
@media (max-width: 900px) {
  .possibilities {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 20px 100px;
    gap: 50px;
  }
  .possibilities h2 {
    grid-column: auto;
    font-size: 40px;
    margin-bottom: 20px;
  }
  .possibilities img {
    max-width: 380px;
    margin: 0 auto;
  }
  .info-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* —— Phones —— */
@media (max-width: 600px) {
  .why h1 {
    font-size: 46px;
  }
  .why .subtitle {
    font-size: 22px;
    margin-bottom: 60px;
  }
  .brand {
    font-size: 72px;
  }
  .icon-box {
    width: 120px;
    height: 120px;
  }
  .icon-box i {
    font-size: 42px;
  }
  .feature span {
    font-size: 20px;
  }
  .possibilities h2 {
    font-size: 34px;
  }
  .info-card {
    font-size: 16px;
    padding: 24px;
  }
  .why-list-title {
    font-size: 26px;
  }
  .why-list {
    font-size: 16px;
  }
  .possibilities img {
    max-width: 320px;
  }
}

/* —— Small phones —— */
@media (max-width: 480px) {
  .possibilities img {
    max-width: 100%;
  }
  .info-card {
    padding: 20px;
    font-size: 15px;
  }
  .why-list {
    font-size: 15px;
  }
  .icon-box {
    width: 100px;
    height: 100px;
  }
  .icon-box i {
    font-size: 36px;
  }
  .feature span {
    font-size: 18px;
  }
}

/* =====================================================
    Integration Plans section
  ===================================================== */
.plans {
  padding: 110px 24px 120px;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.plans-title {
  font-size: clamp(32px, 6vw, 68px);
  font-weight: 700;
  margin-bottom: 72px;
}

.plan-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.plan-card {
  background: #1a1a1a;
  border: 2px solid #3d3d3d;
  border-radius: 18px;
  padding: 56px 40px;
  max-width: 340px;
  flex: 1 1 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
}

/* highlight only when selected */
.plan-card.selected {
  border-color: #23e9ff;
  box-shadow: 0 0 0 3px #23e9ff, 0 0 24px rgba(35, 233, 255, 0.6);
}

.plan-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #23e9ff;
}

.plan-price {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  margin: 22px 0 32px;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.3s;
  background: #23e9ff;
  color: #000;
  text-decoration: none;
}

.plan-btn:hover {
  opacity: 0.85;
}

.plan-features {
  list-style: none;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
}

.plan-features li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #23e9ff;
}

@media (max-width: 680px) {
  .plan-card {
    padding: 44px 32px;
  }

  .plan-price {
    font-size: 44px;
  }
}

/* =====================================================
     FOOTER
  ===================================================== */
.footer {
  background: #111;
  padding: 40px 24px;
  color: #ccc;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 14px;
  color: #666;
}

/* =====================================================
     END OF STYLESHEET
  ===================================================== */