@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,423;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,423;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");

/* ========== RESET ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
}


/* ========== VARIABLES ========== */

:root {
  --max-width: 1200px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 100px;

  --radius: 16px;

  --primary: #008B8B;
  --primary-light: #D5ECEC;
  --primary-dark: #005D5D;

  --text-muted: #64748b;

}


/* ========== GLOBAL LAYOUT ========== */

.section {
  padding: var(--space-xl) var(--space-sm);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mt--40px {
  margin-top: -40px;
}

.split {
  display: grid;
  gap: var(--space-lg);
}

@media (max-width: 992px) {
  .section-header {
    max-width: 90%;
  }
}

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

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




/* ========== TYPOGRAPHY ========== */

h1 {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: var(--space-sm);
}

h3 {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: var(--space-sm);
}

p, 
ul {
  font-family: "Nunito", sans-serif;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-size: 18px;
}




/* ========== NAVIGATION ========== */

.site-header {
  padding: var(--space-sm);
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  color: inherit;
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  z-index: 1100;   /* 👈 ABOVE OVERLAY */
}

.nav a {
  font-family: "Josefin Sans", sans-serif;
  text-decoration: none;
  color: inherit;
  font-size: 18px;
  line-height: 18px;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 8px;
}

.lang-label {
  display: none;
}

.flag-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}

.chevron {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.lang-dropdown.open .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 8px 0;
  list-style: none;
  min-width: 160px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;

}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-menu li:hover {
  background: #f5f5f5;
}

.lang-menu img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;        /* VERY IMPORTANT */
  object-fit: cover;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;   /* 👈 ALWAYS clickable */
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  display: block;
}

/* ===== HAMBURGER ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
}

/* Animate to X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* ===== OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


@media (min-width: 768px) {
  .nav {
    display: flex;
  }

}

@media (max-width: 992px) {

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px;
    gap: 25px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    z-index: 1100;
  }

  .nav.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* LANGUAGE INSIDE MOBILE MENU */

  .lang-dropdown {
    margin-top: 40px;
    width: 100%;
  }

  .lang-toggle {
    width: 100%;
    justify-content: space-between;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
  }

  .lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Nunito", sans-serif;
  }

  .lang-label {
    display: block;
  }

  .lang-menu {
    position: relative;
    top: 10px;
    right: auto;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }


}




/* ========== BUTTONS ========== */

.btn {
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn img {
  height: 52px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-btn:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: white;
}

@media (max-width: 992px) {
  .store-btn img {
    height: 42px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

}





/* ========== HERO ========== */
/* Full-bleed hero */
.hero {
  position: relative;
  width: 100%;
  padding: var(--space-lg) var(--space-sm);
  overflow: hidden;
}

/* Glow lives here */
.hero::before {
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(800px 800px at 20% 20%, rgba(0,139,139,.5), transparent 60%),
    radial-gradient(500px 500px at 80% 30%, rgba(0,139,139,.4), transparent 60%),
    radial-gradient(700px 700px at 50% 80%, rgba(0,139,139,.8), transparent 60%);
  filter: blur(80px);
  z-index: -10;
  pointer-events: none;
}

.hero-layout {
  align-items: center;
}

.hero .store-buttons {
  margin-top: 30px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: min(350px, 90vw);
  max-width: 100%;
  margin: auto;
}

.hero p {
  font-size: 20px;
}

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

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80%;
  }

  .hero-media img {
    width: min(250px, 90vw);
    max-width: 100%;
    margin: 0 var(--space-sm);
  }

}

@media (max-width: 992px) {
  .hero-media img {
    width: min(250px, 90vw);
    max-width: 100%;
    margin: 0 var(--space-sm);
  }

}




/* ========== ABOUT ========== */
.about .store-buttons {
  margin-top: 40px;
}

.about-layout {
  align-items: center;
}

.about-media {
  position: relative;
  width: min(380px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1; /* circle defines space */
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle {
  position: absolute;
  width: 150%;
  aspect-ratio: 1 / 1;
  background: #D5ECEC;
  border-radius: 50%;
  z-index: -1;
}

.phone-front {
  width: 70%; /* relative to circle */
  position: relative;
  left: -15%;
  z-index: 2;
}

.phone-back {
  width: 55%;
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.about-content {
  max-width: 100%;
}

@media (max-width: 768px) {
  .about-layout .store-buttons {
    align-self: center;
  }

    .about-media {
    position: relative;
    width: min(380px, 100%);
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* circle defines space */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .circle {
    position: absolute;
    width: 150%;
    aspect-ratio: 1 / 1;
    background: #D5ECEC;
    border-radius: 50%;
    z-index: -1;
  }

  .phone-front {
    width: 70%; /* relative to circle */
    position: relative;
    left: 10%;
    z-index: 2;
  }

  .phone-back {
    width: 55%;
    position: absolute;
    top: 50%;
    left: 68%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

}

@media (max-width: 992px) {
  .about-layout {
    align-items: start;
  }

  .about-media {
    position: relative;
    width: min(380px, 100%);
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* circle defines space */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .circle {
    position: absolute;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #D5ECEC;
    border-radius: 50%;
    z-index: -1;
  }

  .phone-front {
    width: 50%; /* relative to circle */
    position: relative;
    left: 10%;
    z-index: 2;
  }

  .phone-back {
    width: 40%;
    position: absolute;
    top: 50%;
    left: 68%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

.about-content {
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;

  }
}

@media (min-width: 1200px) {
  .circle {
    transform: scale(1.08);
  }
}








/* ========== FEATURES ========== */
.grid-3 {
  display: grid;
  gap: var(--space-md);
  padding: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card ion-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}



/* ========== SCREENSHOTS ========== */
.screenshots {
  background-color: var(--primary-light);
}


/* ========== SLIDER ========== */

.slider {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 10px;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* Pause animation when hovering */
.slider:hover .slider-track {
  cursor: grab;
}


/* ========== PRICING PLANS ========== */
.pricing-section {
  padding: 96px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  transition: 0.3s ease;
}

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

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.price {
  margin-bottom: 24px;
}

.amount {
  font-size: 36px;
  font-weight: 700;
}

.period {
  color: #64748B;
  font-size: 16px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.features li {
  margin-bottom: 12px;
}


/* Featured Card */

.featured {
  border: 2px solid var(--primary-dark);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
}

.save {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

@media (max-width: 768px) {

  .featured {
    transform: scale(1);
  }

}



/* ========== FAQs ========== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 60px;
}

/* Accordion */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f172a;
}

.faq-question .icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 10px 0 5px;
  color: #64748b;
  line-height: 1.6;
  font-size: 16px;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Media */
#faqImage {
  transition: opacity 0.25s ease;
}

.faq-media {
  position: relative;
  width: 420px;           /* adjust to your phone size */
  height: 627px; 
  margin: 0 auto;
}

.faq-media::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 520px;
  background: #D5ECEC;
  border-radius: 0 40% 0 40%;
  bottom: 0;             /* sits at bottom */
  z-index: 0;
}

/* Both images overlap */
.faq-media .phone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* Frame (behind) */
.phone-frame {
  z-index: 2;
}

/* Screen (front or inside frame) */
.phone-screen {
  z-index: 1;
  transition: opacity 0.2s ease;
}

@media (max-width: 992px) {
  .faq-layout {
    gap: 40px;
  }

  .faq-media {
    position: relative;
    width: 340px;           /* adjust to your phone size */
    height: 507px; 
    margin: 0 auto;
  }

  .faq-media::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 440px;
    background: #D5ECEC;
    border-radius: 0 40% 0 40%;
    bottom: 0;             /* sits at bottom */
    z-index: 0;
  }

}

@media (max-width: 768px) {

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Make image appear above accordion */
  .faq-media {
    order: -1;
  }

}





/* ========== CTA ========== */
.download-cta {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.download-cta::before,
.download-cta::after {
  content: "";
  position: absolute;
  width: clamp(300px, 60vw, 800px);
  height: clamp(300px, 60vw, 800px);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35; /* slightly reduced */
  z-index: 0;
}

.download-cta::before {
  background: var(--primary-dark);
  top: -100px;
  left: -100px;
}

.download-cta::after {
  background: var(--primary-dark);
  bottom: -100px;
  right: -100px;
}

.download-cta .container {
  position: relative;
  z-index: 1;
}

.download-cta .section-header {
  margin-bottom: 20px;
}



/* Responsive */
@media (max-width: 992px) {
  .about-layout {
    flex-direction: column;
    text-align: center;
  }

  .phone-back {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-top: -40px;
  }

  .about .store-buttons {
    justify-content: center;
  }
}


/* ========== FOOTER ========== */

.footer {
  background: #f8f8f8;
}

.footer .container {
  max-width: var(--max-width);
  margin: auto;
  padding: 50px 60px;
}

/* Top layout */
.footer-top {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

/* Logo */
.brand {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #111;
}


/* Navigation */
.footer-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.nav-links a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #111;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legal-links a {
  font-size: 13px;
  color: #777;
  text-decoration: none;
}

.legal-links a:hover {
  color: #111;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}


/* Divider */
.footer hr {
  margin: 40px 0 25px;
  border: none;
  height: 1px;
  background: #e5e5e5;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* =========================
   RESPONSIVE FOOTER
========================= */
/* Mobile */
@media (max-width: 640px) {

  .footer .container {
    padding: 40px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-socials {
    gap: 12px;
  }

  .footer-socials a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer hr {
    margin: 30px 0 20px;
  }

}

/* Tablet */
@media (max-width: 1024px) {

  .footer .container {
    padding: 50px 40px;
  }

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

  /* Remove absolute centering */
  .footer-nav {
    position: static;
    transform: none;
  }

  .footer-socials {
    justify-content: center;
  }
}


/* ---- Legal ---- */
    /* Legal page specific styling to maintain readability */
    .legal-content {
      padding: 120px 0 80px; /* Space for fixed header */
      line-height: 1.7;
      color: #333;
    }
    .legal-container section {
      margin-bottom: 60px;
    }
    .legal-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .legal-content h1 {
      font-size: 2.5rem;
      margin-bottom: 50px;
      color: var(--primary-color);
    }
    .effective-date {
      color: #666;
      margin-bottom: 40px;
      font-style: italic;
    }
    .legal-content h2 {
      font-size: 1.6rem;
      margin: 35px 0 15px;
      border-bottom: 1px solid #eee;
      padding-bottom: 5px;
    }
    .legal-content h3 {
      font-size: 1.1rem;
      margin: 20px 0 10px;
      color: #444;
    }
    .legal-content p, .legal-content li {
      margin-bottom: 15px;
      font-size: 1.05rem;
    }
    .legal-content ul {
      padding-left: 20px;
      margin-bottom: 20px;
    }
    .contact-box {
      background: #f9f9f9;
      padding: 20px;
      border-radius: 8px;
      margin-top: 20px;
    }
    .important-note {
      background: #fff4e5;
      border-left: 4px solid #ffa94d;
      padding: 15px 20px;
      margin: 20px 0;
      border-radius: 4px;
    }
