/* =====================
   DESIGN TOKENS
   (same palette as before — organized, not changed)
   ===================== */
:root {
  /* Ink & neutrals */
  --ink: #1e293b;
  --body-text: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;

  /* Brand accents (unchanged hexes) */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-ink: #1e293b;
  --cyan: #06b6d4;
  --violet: #c4b5fd;
  --violet-deep: #7c3aed;
  --star: #f59e0b;

  --primary-rgb: 59, 130, 246;
  --cyan-rgb: 6, 182, 212;
  --ink-rgb: 15, 23, 42;

  --accent-gradient: linear-gradient(90deg, var(--primary), var(--cyan));

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(var(--ink-rgb), 0.06);
  --shadow-md: 0 12px 32px -8px rgba(var(--ink-rgb), 0.12);
  --shadow-lg: 0 24px 60px -16px rgba(var(--ink-rgb), 0.18);
  --shadow-glow: 0 16px 32px -12px rgba(var(--primary-rgb), 0.4);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background-color: var(--surface);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

/* Press feedback — respond instantly on interaction, everywhere */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* Scroll-reveal primitive */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: #ffffff;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    backdrop-filter 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-sm);
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.logo:active {
  transform: scale(0.97);
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s var(--ease-out);
}

.header.is-scrolled .logo-img {
  height: 52px;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--accent-gradient);
  transition: right 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  right: 0;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 400px);
  padding: 80px 0;
  background-color: #ffffff;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Form Section */
.form-section {
  flex: 1;
  min-width: 0;
  max-width: 500px;
}

.contact-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(var(--primary-rgb), 0.5);
  flex-shrink: 0;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.contact-divider {
  width: 56px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #cbd5e1;
  border-radius: 25px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.submit-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* Illustration Section */
.illustration-section {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 450px;
}

.contact-illustration {
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 100%;
  object-fit: contain;
  display: block;
  animation: float-ambient 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .contact-illustration {
    animation: none;
  }
}

/* Footer */
.footer {
  position: relative;
  background: none;
  background-color: transparent;
  padding: 0;
  min-height: 480px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Footer decorative backgrounds */
.footer-decor {
  position: absolute;
  pointer-events: none;
  left: 0;
  width: 100%;
  max-width: 100%;
}

.footer-decor1 {
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.footer-decor2 {
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 30%;
  object-fit: fill;
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding: 100px 40px 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Footer Left */
.footer-left {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.footer-description {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 30px;
}

.copyright {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Footer Center */
.footer-center {
  flex: 0.5;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--body-text);
  font-size: 14px;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Footer Right */
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 25px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.25s ease,
    color 0.25s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -6px rgba(var(--primary-rgb), 0.45);
}

.social-icon:active {
  transform: translateY(-1px) scale(0.94);
  transition-duration: 0.1s;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #e2e8f0;
}

.globe-icon {
  font-size: 18px;
}

.language-selector select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

/* =====================
   HOME PAGE STYLES
   ===================== */

/* Page hero wrapper — header + hero share background */
.page-hero-wrap {
  position: relative;
  overflow: hidden;
}

.page-hero-wrap .header {
  background-color: transparent;
  z-index: 5;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px 80px;
  gap: 40px;
  min-height: 580px;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
  min-width: 0;
  max-width: 820px;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title-blue {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -0.005em;
  max-width: 540px;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-ink);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  min-width: 172px;
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.05);
  transition:
    background-color 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.store-btn:hover {
  background-color: #0f172a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

.store-btn i {
  font-size: 30px;
}

.gplay-svg {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

.store-main {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 10px;
  transition: color 0.25s ease, transform 0.2s var(--ease-out);
}

.video-link i {
  font-size: 26px;
  color: var(--primary);
  transition: transform 0.3s var(--ease-spring);
}

.video-link:hover {
  color: var(--primary);
}

.video-link:hover i {
  transform: scale(1.12);
}

.video-link:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* Hero Right */
.hero-right {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  min-height: 520px;
  z-index: 3;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
  object-position: left top;
}

.hero-desktop-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float-ambient 6s ease-in-out infinite;
}

.hero-desktop-img {
  width: 100%;
  max-width: 1420px;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(var(--ink-rgb), 0.12));
}

.hero-desktop-shadow {
  width: 70%;
  height: 28px;
  background: rgba(var(--primary-rgb), 0.45);
  filter: blur(18px);
  border-radius: 50%;
  margin-top: -10px;
  z-index: 1;
}

/* Mobile hero frame — hidden on desktop */
.hero-frame-img {
  display: none;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(var(--ink-rgb), 0.14));
  animation: float-ambient 6s ease-in-out infinite;
}

@keyframes float-ambient {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-desktop-wrap,
  .hero-frame-img {
    animation: none;
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #fff;
}

.features-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

/* Signature divider — one consistent mark used under every section title */
.features-divider,
.packing-divider,
.text-section-divider,
.works-divider {
  width: 56px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: var(--r-pill);
  margin: 0 auto 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 88px;
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-media {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 28px;
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.feature-media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-img {
  width: 100%;
  max-width: 460px;
  object-fit: contain;
  border-radius: var(--r-md);
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text-center {
  text-align: center;
}

.feature-dot-title {
  font-size: 27px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-dot-right {
  justify-content: center;
}

.feature-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  flex-shrink: 0;
}

.feature-desc {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.8;
}

.feature-desc-center {
  text-align: center;
}

/* Packing Lists Section */
.packing-section {
  padding: 80px 0 40px;
  background-color: #fff;
  text-align: center;
}

.packing-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.packing-desc {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 32px;
}

.packing-img-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 32px;
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.packing-img-wrap:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.packing-img {
  width: 100%;
  max-width: 740px;
  object-fit: contain;
}

/* Marquee — infinite scrolling row of packing occasions (CSS-only, no library) */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 4px 40px;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, color 0.25s ease;
}

.marquee-chip i {
  color: var(--primary);
  font-size: 8px;
}

.marquee:hover .marquee-chip {
  border-color: rgba(var(--primary-rgb), 0.35);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}

/* Generic Text Section (Know What You Have / Your Closet Info Control) */
.text-section {
  padding: 72px 0;
  background-color: #fff;
  text-align: center;
}

.text-section-alt {
  background-color: var(--surface-alt);
}

.text-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.text-section-desc {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

/* How All Packed App Works Section */
.works-section {
  padding: 88px 0;
  background-color: #fff;
  text-align: center;
}

.works-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.work-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s ease;
}

.work-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.work-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.45);
}

.work-step-title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 8px;
}

.work-step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  padding: 64px 0;
  background-color: #fff;
  border-top: 1px solid var(--line);
}

.stats-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.stat-item {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.stat-label {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

.stat-divider {
  display: none;
}

/* Testimonials Section */
.testimonials-section {
  padding: 88px 0;
  background-color: #fff;
}

.testimonials-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.testimonials-sub {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 48px;
}

/* Full-bleed marquee wrapper — breaks out of .container so cards run
   edge to edge instead of being cropped inside the centered column. */
.testimonials-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonials-grid {
  display: flex;
  gap: 28px;
  width: max-content;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 40px 24px;
  /* added bottom padding for scrollbar */
}

/* Once JS has duplicated the cards, the wrapper hides overflow and the
   track scrolls itself continuously — no more native scrollbar/snap. */
.testimonials-marquee.is-marquee {
  overflow: hidden;
}

.testimonials-marquee.is-marquee .testimonials-grid {
  overflow: visible;
  scroll-snap-type: none;
  animation-name: marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.testimonials-marquee.is-marquee:hover .testimonials-grid {
  animation-play-state: paused;
}

/* Custom Scrollbar for Testimonials (fallback / reduced-motion row) */
.testimonials-grid::-webkit-scrollbar {
  height: 6px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: var(--surface-alt);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--faint);
}

.testimonial-card {
  position: relative;
  background-color: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  flex: 0 0 auto;
  width: 380px;
  max-width: 85vw;
  scroll-snap-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.stars {
  color: var(--star);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.quote-mark {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 56px;
  color: rgba(var(--primary-rgb), 0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

.author-location {
  font-size: 12px;
  color: var(--faint);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonials-marquee.is-marquee .testimonials-grid {
    animation: none;
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 420px;
  background:
    radial-gradient(closest-side, rgba(var(--primary-rgb), 0.14), transparent),
    radial-gradient(closest-side, rgba(var(--cyan-rgb), 0.12), transparent 70%);
  background-position: 15% 30%, 85% 60%;
  background-size: 55% 100%, 55% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

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

.cta-title {
  font-size: 34px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.015em;
  max-width: 720px;
  margin: 0 auto 18px;
}

.cta-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px) scale(0.96);
  transition: transform 0.35s var(--ease-out);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 12px;
}

.modal-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-close-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}

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

.modal-close-btn:active {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .modal-content {
    transform: none;
  }
}

/* =====================
   RESPONSIVE
   ===================== */

/* Large tablet / Small desktop — 1024px */
@media (max-width: 1024px) {
  .header {
    padding: 20px 30px;
  }

  .container {
    padding: 0 30px;
  }

  .content-wrapper {
    gap: 40px;
  }

  .form-section {
    max-width: 100%;
  }

  .illustration-section {
    max-width: 400px;
  }

  .footer-inner {
    padding: 90px 30px 50px;
  }

  /* Home */
  .hero-section {
    padding: 40px 30px 60px;
  }

  .hero-title {
    font-size: 44px;
  }

  .page-hero-wrap .header {
    max-width: 100%;
  }

  .hero-bg-img {
    width: 65%;
  }

  .feature-row {
    gap: 40px;
  }

  .stat-number {
    font-size: 34px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Tablet — 768px */
@media (max-width: 768px) {
  .header {
    padding: 18px 24px;
  }

  .container {
    padding: 0 24px;
  }

  .main-content {
    padding: 50px 0;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .form-section {
    max-width: 100%;
    width: 100%;
  }

  .illustration-section {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  .contact-illustration {
    max-width: 340px;
    margin: 0 auto;
    display: block;
  }

  .footer {
    min-height: 420px;
  }

  .footer-inner {
    padding: 80px 24px 50px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    align-items: flex-start;
  }

  /* Home */
  .hero-section {
    flex-direction: column;
    padding: 40px 24px 60px;
    min-height: unset;
    gap: 32px;
  }

  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-title-blue,
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-right {
    max-width: 100%;
    width: 100%;
    min-height: 280px;
  }

  .hero-bg-img {
    display: none;
  }

  .hero-desktop-wrap {
    display: none;
  }

  .hero-frame-img {
    display: block;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 34px;
  }

  .feature-row,
  .feature-row.feature-row-reverse {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
  }

  .feature-img {
    max-width: 340px;
    margin: 0 auto;
    display: block;
  }

  .feature-dot-title {
    justify-content: center;
  }

  .feature-text {
    text-align: center;
  }

  .feature-desc {
    text-align: center;
  }

  .packing-img {
    max-width: 100%;
  }

  .testimonial-card {
    width: 300px;
  }

  .stats-grid {
    gap: 0;
  }

  .stat-number {
    font-size: 28px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .text-section-title,
  .works-title {
    font-size: 26px;
  }
}

/* Large mobile — 600px */
@media (max-width: 600px) {
  .content-wrapper {
    gap: 32px;
  }

  .contact-illustration {
    max-width: 280px;
  }

  /* Home */
  .hero-title {
    font-size: 28px;
  }

  .features-title {
    font-size: 28px;
  }

  .packing-title {
    font-size: 26px;
  }

  .testimonials-title {
    font-size: 26px;
  }

  .cta-title {
    font-size: 24px;
  }

  .stat-number {
    font-size: 24px;
  }

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

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  .header {
    padding: 14px 16px;
  }

  .logo-img {
    height: 48px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .container {
    padding: 0 16px;
  }

  .main-content {
    padding: 32px 0;
  }

  .contact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-badge {
    font-size: 12px;
    padding: 8px 18px;
  }

  .section-title {
    font-size: 17px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 13px 16px;
    font-size: 13px;
    border-radius: 20px;
  }

  .form-group textarea {
    border-radius: 16px;
  }

  .submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
  }

  .contact-illustration {
    max-width: 240px;
  }

  .footer {
    min-height: 380px;
  }

  .footer-inner {
    padding: 70px 16px 40px;
  }

  .footer-logo-img {
    height: 38px;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .language-selector {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Home */
  .hero-section {
    padding: 32px 16px 48px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-title-blue {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .store-btn {
    min-width: 140px;
    padding: 10px 16px;
  }

  .store-btn i {
    font-size: 22px;
  }

  .store-main {
    font-size: 14px;
  }

  .hero-frame-img {
    max-width: 260px;
  }

  .features-section {
    padding: 48px 0;
  }

  .features-title {
    font-size: 26px;
  }

  .feature-dot-title {
    font-size: 20px;
  }

  .feature-desc {
    font-size: 14px;
  }

  .packing-title {
    font-size: 24px;
  }

  .packing-desc {
    font-size: 14px;
  }

  .testimonials-section {
    padding: 48px 0;
  }

  .testimonials-title {
    font-size: 22px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .cta-title {
    font-size: 20px;
    padding: 0 16px;
  }

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

/* Small mobile — 360px */
@media (max-width: 360px) {
  .contact-badge {
    font-size: 11px;
    padding: 7px 14px;
  }

  .section-title {
    font-size: 16px;
  }

  .footer-content {
    gap: 24px;
  }
}