@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #12EABB;
  --secondary-color: #2BB826;
  --accent-color: #2AFF9D;
  --color-two: #2B44FF;
  --contrast-color: #1c1e21;
  --button-color: #25d366;
  --bg-primary: #FDF8F2;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F5EDE0;
  --text-primary: #1c1e21;
  --text-secondary: #4a4a4a;
  --text-muted: #6c6c6c;
  --border-color: rgba(28, 30, 33, 0.1);
  
  /* Gradients */
  --hero-gradient: linear-gradient(360deg, #12EABB, #25D366);
  --button-gradient: linear-gradient(360deg, #25d366, #2BB826);
}

html, body {
  height: 100%;
  margin: 0;
  background-color: var(--bg-primary);
  background-image: url("../assets/images/backTile.png");
  background-image: -webkit-image-set(
    url("../assets/images/backTile.webp") type("image/webp"),
    url("../assets/images/backTile.png") type("image/png")
  );
  background-image: image-set(
    url("../assets/images/backTile.webp") type("image/webp"),
    url("../assets/images/backTile.png") type("image/png")
  );
  background-repeat: repeat;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  min-height: calc(100vh - 300px);
}

h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }

h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

/* Display 5 - Gradient text hero */
.display-5 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 3.5rem !important;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Lead text */
.lead {
  font-size: 1.05rem;
  line-height: 1.6;
}

a {
  color: var(--button-color);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: center 100%;
  background-origin: content-box;
  transition: background-size 0.05s ease;
}

a:hover {
  background-size: 100% 2px;
}

.app-store-badge,
a[aria-label] {
  background-image: none;
}

.text-primary { color: var(--primary-color) !important; }

.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-selector .btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.language-selector .dropdown-menu {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px;
}

.language-selector .dropdown-item {
  padding: 5px 10px;
  font-weight: 400;
  transition: all 0.2s ease;
  border-radius: 12px;
  margin-bottom: 4px;
  text-decoration: none !important;
  background-image: none;
}

.language-selector .dropdown-item:hover {
  background: #E5E5E5;
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.language-selector .dropdown-item:active,
.language-selector .dropdown-item:focus {
  background: #E5E5E5;
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.hero {
  text-align: center;
  padding: 72px 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero .logo-hero {
  height: 80px;
  width: auto;
  max-width: 100%;
}

#icon {
  transition: transform 0.3s ease;
  border-radius: 22.37%;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

#icon:hover {
  transform: scale(1.05) rotate(5deg);
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.2s ease;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.app-store-badge img { height: clamp(72px, 10vw, 100px); width: auto; }

.cta-text {
  text-align: center;
  padding: 2rem 0 0.5rem;
}

.cta-tagline {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.cta-description {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.lead { color: var(--text-secondary); }

.section {
  padding: 56px 0;
}

.section-gap {
  padding: 40px 0 48px;
}

.section-gap-lg {
  padding: 56px 0 64px;
}

/* Screenshot Gallery */
.gallery-section {
  position: relative;
  width: 100%;
}

.gallery-scroll-wrapper {
  position: relative;
}

.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: -300px;
  bottom: -300px;
  width: 80px;
  z-index: 2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.gallery-scroll-wrapper::before {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black, transparent);
  mask-image: linear-gradient(to right, black, transparent);
}

.gallery-scroll-wrapper::after {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black, transparent);
  mask-image: linear-gradient(to left, black, transparent);
}

.scroll-container {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 12px;
  background: transparent;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.gridscroll {
  display: inline-flex;
  gap: 16px;
  padding-left: max(20px, calc((100vw - 1280px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1280px) / 2 + 20px));
}

.gridscroll picture {
  display: block;
  height: 500px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  flex-shrink: 0;
}

.gridscroll img {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.gridscroll picture:hover img {
  transform: scale(1.05);
}

/* Hide native scrollbar */
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Custom Scrollbar */
.custom-scrollbar-wrap {
  display: flex;
  align-items: center;
  height: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  cursor: pointer;
}

.custom-scrollbar-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  transition: height 0.3s ease;
}

.gallery-section:hover .custom-scrollbar-track {
  height: 12px;
}

.custom-scrollbar-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  cursor: grab;
}

.custom-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.custom-scrollbar-thumb.dragging {
  background: rgba(0, 0, 0, 0.4);
  cursor: grabbing;
}

.scroll-container:hover::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}

.card-clean {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-card .feature-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Timeline Steps */
.steps-timeline {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.steps-timeline::before,
.steps-timeline::after {
  content: '';
  position: absolute;
  left: calc(20px + 22px - 3px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28, 30, 33, 0.3);
  z-index: 1;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.steps-timeline::before {
  top: -3px;
}

.steps-timeline::after {
  bottom: -3px;
}

.steps-timeline.timeline-started::before {
  background: rgba(18, 234, 187, 0.5);
  box-shadow: 0 0 6px rgba(18, 234, 187, 0.25);
}

.steps-timeline.timeline-complete::after {
  background: rgba(43, 184, 38, 0.5);
  box-shadow: 0 0 6px rgba(43, 184, 38, 0.25);
}

.timeline-track {
  position: absolute;
  left: calc(20px + 22px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(28, 30, 33, 0.25) 0px,
    rgba(28, 30, 33, 0.25) 6px,
    transparent 6px,
    transparent 12px
  );
  border-radius: 1px;
}

.timeline-track::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--track-progress, 0%);
  background: var(--hero-gradient);
  border-radius: 1px;
  opacity: 0.5;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.timeline-step.visible {
  transform: translateY(0);
  opacity: 1;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hero-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  position: relative;
  z-index: 2;
}

.step-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 24px;
  flex: 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.step-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Info Cards Row */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.info-card p, .info-card ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card ul li {
  padding: 4px 0;
  color: var(--text-secondary);
}

.info-card .info-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.info-card .info-value {
  color: var(--text-primary);
  font-weight: 500;
}


@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

.py-3 h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.py-3 .lead {
  color: var(--text-secondary);
  padding-left: 2.25rem;
}

.support-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
}

.support-intro .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* FAQ Section - White background */
.faq-section {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 40px;
  margin: 20px 0;
}

.faq-heading {
  color: var(--text-primary);
  font-size: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.btn-primary, .contact-btn {
  background: var(--button-gradient);
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 24px;
  border: 1px solid transparent;
  display: inline-block;
  font-weight: 700;
  transition: opacity 0.3s ease;
  text-decoration: none !important;
}

.btn-primary:hover, .contact-btn:hover {
  opacity: 0.9;
  color: #fff !important;
  text-decoration: none !important;
}

.btn-outline-primary {
  background: transparent !important;
  border: 1px solid var(--contrast-color) !important;
  color: var(--contrast-color) !important;
  border-radius: 50px;
  padding: 10px 24px;
  display: inline-block;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none !important;
}

.btn-outline-primary:hover {
  background: var(--contrast-color) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Footer (TranslatePRO style) */
footer {
  flex-shrink: 0;
  margin-top: 55px;
  font-size: 14px !important;
  line-height: 20px;
  background-image: url("../assets/images/footerBackground.png");
  background-image: -webkit-image-set(
    url("../assets/images/footerBackground.webp") type("image/webp"),
    url("../assets/images/footerBackground.png") type("image/png")
  );
  background-image: image-set(
    url("../assets/images/footerBackground.webp") type("image/webp"),
    url("../assets/images/footerBackground.png") type("image/png")
  );
  background-size: cover;
  background-position: bottom center;
  width: auto;
  height: 300px;
}


footer .text-muted { color: #6c757d !important; }

footer .nav-link {
  transition: background-size 0.05s ease;
}

.footerIcon {
  width: 55px;
  height: 55px;
  margin: 0 10px 0 20px;
  border-radius: 22.37%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1200px) {
  .gridscroll picture {
    height: 420px;
  }
  .gridscroll img {
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .gallery-scroll-wrapper::before,
  .gallery-scroll-wrapper::after {
    top: -200px;
    bottom: -200px;
  }
}

@media (max-width: 768px) {
  .hero { padding-top: 48px; }

  .display-5 {
    font-size: 2.5rem !important;
  }

  h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .hero .d-flex {
    justify-content: center !important;
  }

  .gridscroll picture {
    height: 400px;
  }

  .gridscroll img {
    height: 400px;
  }

  .gallery-scroll-wrapper::before,
  .gallery-scroll-wrapper::after {
    width: 24px;
  }

  .gallery-section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }

  .gallery-section + .py-5 {
    padding-top: 1.5rem !important;
  }

  .custom-scrollbar-wrap {
    margin-top: 4px;
  }

  .custom-scrollbar-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
  }

  .custom-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
  }

  .gallery-section:hover .custom-scrollbar-track {
    height: 8px;
  }

  footer {
    height: auto;
    padding-bottom: 24px;
  }

  footer .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  footer .d-flex > p {
    order: 1;
  }

  footer .d-flex > a {
    order: 0;
  }

  footer .d-flex > ul {
    order: 2;
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .feature-card {
    padding: 20px;
  }

  .step-content {
    padding: 14px 18px;
  }

  .info-card {
    padding: 20px;
  }

  .support-section {
    padding: 24px 16px;
  }

  .btn-outline-primary,
  .contact-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gridscroll picture {
    height: 340px;
  }

  .gridscroll img {
    height: 340px;
  }

  .language-selector {
    top: max(12px, env(safe-area-inset-top, 12px));
    right: 12px;
  }

  .language-selector .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
}

/* Hero Header - WhatsApp Style */
.hero-visual-top,
.hero-visual-bottom {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: visible;
  will-change: transform, filter, opacity;
}

.hero-visual-top {
  margin-bottom: -70px;
  position: relative;
  z-index: 1;
}

.hero-visual-bottom {
  margin-top: -70px;
  position: relative;
  z-index: 1;
}

.hero-visual-container {
  max-width: 100%;
  margin: 0 auto;
}

.hero-collage-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-logo-section {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-app-icon {
  width: 156px;
  height: 156px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
  border-radius: 22.37%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-app-icon:hover {
  transform: scale(1.05) rotate(5deg);
}

.hero-logo-type {
  height: 50px;
  width: auto;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.125rem);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .hero-visual-top,
  .hero-visual-bottom {
    overflow: hidden;
  }

  .hero-collage-img {
    width: 220%;
    max-width: none;
    margin-left: -60%;
  }

  .hero-visual-top {
    margin-bottom: -40px;
  }

  .hero-visual-bottom {
    margin-top: -40px;
  }

  .hero-logo-section {
    padding: 0;
  }

  .hero-app-icon {
    width: 130px;
    height: 130px;
  }

  .hero-logo-type {
    height: 42px;
  }
}

.responsive {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

ul li, ol li {
  color: var(--text-secondary);
  line-height: 1.8;
}
