/* Accessibility & Global */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-brand);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
  text-decoration: none;
  font-family: var(--font-body);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.5;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 6vw, 64px);
  margin-bottom: 24px;
}

.section-sub {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-primary);
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto 48px;
  font-weight: 500;
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}



.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

html {
  scroll-behavior: smooth;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-menu .nav-link {
  text-decoration: none !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu .nav-link:hover {
  opacity: 1;
  color: var(--color-brand);
}

.nav-menu .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
}

.logo-img {
  height: 42px;
  width: auto;
  transition: filter 0.4s ease;
}



.lang-select {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(26, 77, 46, 0.1);
  padding: 8px 12px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  outline: none;
}

.lang-select:hover {
  background: var(--bg-primary);
  border-color: var(--color-brand);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu .nav-link {
    font-size: 24px;
    font-family: var(--font-heading);
    text-transform: uppercase;
  }

  /* Hamburger Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
}

.btn-download-top,
.btn-download-bottom {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(63, 199, 90, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-download-top:hover,
.btn-download-bottom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 199, 90, 0.3);
}

/* Theme Toggle */





/* Hero Section */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  overflow: visible;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 110px);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.4;
  color: var(--text-secondary);
  opacity: 0.8;
  font-weight: 500;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(26, 77, 46, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.9;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

.store-link-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.store-link-badge img {
  height: 48px;
  width: auto;
  display: block;
}

.store-link-badge:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.hero-visual {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 850px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.blob {
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(650px, 95vw);
  height: min(650px, 95vw);
  background-color: var(--text-primary);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  z-index: 1;
  animation: blob-float 15s infinite alternate ease-in-out;
  opacity: 0.1;
}





@keyframes blob-float {
  0% {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    border-radius: 62% 38% 37% 63% / 59% 56% 44% 41%;
    transform: translate(-50%, -50%) rotate(15deg);
  }
}

/* Phone Mockup System */
.phone-mockup {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 5;
}

.phone-frame {
  position: relative;
  width: 100%;
  padding-bottom: 200%;
  /* Standard modern phone ratio */
  background: #0d1117;
  border-radius: 44px;
  box-shadow:
    0 0 0 4px #1f2937,
    0 0 0 8px #111827,
    0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: #f0f0f0;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.hero-phone-container {
  position: relative;
  z-index: 10;
  width: 320px;
}

.hero-phone {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-phone-container:hover .hero-phone {
  transform: scale(1.04) rotate(-1deg);
}

.hero-notif {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  z-index: 20;
  animation: notif-bounce 4s infinite ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes notif-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.notif-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8fcdb;
  border-radius: 50%;
}

.notif-icon img {
  width: 20px;
  height: 20px;
  transition: filter 0.4s ease;
}





.notif-text {
  text-align: left;
}

.notif-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 700;
}

.notif-text span {
  font-size: 11px;
  opacity: 0.6;
}

.hero-icon {
  position: absolute;
  z-index: 2;
  width: 140px;
  opacity: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease;
}

.hero-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.icon-1 {
  top: 10%;
  left: 0;
  animation: float 6s infinite ease-in-out;
}

.icon-2 {
  top: 15%;
  right: 0;
  animation: float 7s infinite ease-in-out reverse;
}

.icon-3 {
  bottom: 20%;
  left: -20px;
  animation: float 8s infinite ease-in-out 1s;
}

.icon-4 {
  bottom: 25%;
  right: -20px;
  animation: float 9s infinite ease-in-out 0.5s reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Features */
.features {
  background: var(--bg-secondary);
  padding: 120px 0;
  border-radius: var(--radius-xl);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-text {
  padding: 40px;
}

.feature-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.feature-text p {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.6;
}

.feature-image {
  flex-grow: 1;
  background: var(--bg-secondary);
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 40px 0;
  position: relative;
}

.card-phone {
  width: 200px;
  margin-bottom: -80px;
  transition: var(--transition);
}

.feature-card:hover .card-phone {
  transform: translateY(-20px);
}

.feature-card-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--bg-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 12px;
  z-index: 20;
}

.feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: none;
  transition: filter 0.4s ease;
}



/* How It Works */
.how {
  padding: 140px 0;
}

.how-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 80px;
  position: relative;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  margin: 0 auto 32px;
  transform: rotate(-5deg);
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(63, 199, 90, 0.3);
}

.how-step:hover .step-num {
  transform: rotate(0deg) scale(1.1);
}

.how-step h3 {
  font-size: 24px;
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: -0.02em;
}

.how-step p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.6;
}

.step-divider {
  flex: 0 0 120px;
  height: 2px;
  border-bottom: 3px dashed var(--bg-accent);
  margin-top: 36px;
  opacity: 0.5;
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background-color: var(--bg-blue);
  border-radius: var(--radius-xl);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--bg-cream);
  padding: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.stars {
  color: #fbbf24;
  font-size: 28px;
  margin-bottom: 32px;
}

.testimonial-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--color-brand);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.author::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Download Section */
.download {
  padding: 100px 0 0;
  background-color: var(--bg-primary);
}

.download-banner {
  background: var(--color-accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  padding: 100px 100px 0;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.download-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.download-content {
  flex: 1.2;
  padding-bottom: 100px;
}

.download-content h2 {
  color: var(--btn-text);
  font-size: clamp(40px, 6vw, 84px);
  margin-bottom: 40px;
  text-transform: none;
}

.download-content .store-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
}

.download-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  height: 100%;
  align-items: flex-end;
}

.cta-phone {
  width: 380px;
  margin-bottom: -120px;
}

.download-banner:hover .cta-phone {
  transform: translateY(-30px) rotate(-3deg);
}

/* Footer */
.footer {
  padding: 64px 0;
  background: var(--bg-primary);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  color: var(--text-primary);
}

.footer-logo img {
  height: 64px;
  transition: filter 0.4s ease;
}

[data-theme="dark"] .footer-logo img {
  filter: brightness(0) invert(1);
}



.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--text-primary);
}

.btn-download-bottom {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(63, 199, 90, 0.2);
}

.btn-download-bottom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 199, 90, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .header {
    padding: 12px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .download-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px 0;
  }

  .download-content {
    padding-bottom: 40px;
  }

  .download-content .store-buttons {
    justify-content: center;
  }

  .download-visual {
    justify-content: center;
    margin-top: 40px;
    width: 100%;
  }

  .cta-phone {
    width: 100%;
    max-width: 320px;
    margin-bottom: 0;
  }

  .step-divider {
    display: none;
  }

  .how-steps {
    flex-direction: column;
    gap: 40px;
  }

  .features,
  .how,
  .testimonials,
  .download {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 64px);
  }

  .hero-visual {
    height: auto;
    min-height: 500px;
    padding-top: 60px;
  }

  .blob {
    width: 300px;
    height: 300px;
    top: 50%;
  }

  .hero-phone-container {
    width: 260px;
  }

  .hero-notif {
    padding: 8px 16px;
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-icon {
    width: 80px;
  }

  .feature-text {
    padding: 32px;
  }

  .feature-image {
    height: 320px;
    padding: 30px 30px 0;
  }

  .card-phone {
    width: 160px;
  }

  .footer-row {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .testimonial-card {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .store-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-trust-bar {
    font-size: 11px;
    padding: 8px 16px;
    flex-wrap: wrap;
    line-height: 1.6;
  }

  .hero-phone-container {
    width: 220px;
  }

  .hero-notif {
    width: 240px;
    top: -30px;
  }

  .notif-text strong {
    font-size: 12px;
  }

  .section-title {
    font-size: 28px;
  }

  .download-content h2 {
    font-size: 32px;
  }

  .cookie-banner {
    bottom: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 0;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 95vw);
  background: var(--bg-primary);
  border: 1px solid rgba(26, 77, 46, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  padding: 24px 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn-primary,
.cookie-actions .btn-outline {
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.cookie-actions .btn-primary {
  background: var(--color-accent);
  color: white;
  border: none;
}

.cookie-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 199, 90, 0.3);
}

.cookie-actions .btn-outline {
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.cookie-actions .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .cookie-actions .btn-outline {
  border-color: var(--text-primary);
}

[data-theme="dark"] .cookie-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-actions button {
    flex: 1;
  }
}