/* ============================================
   Muna Flow Web — base styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --pink-50: #fff5f8;
  --pink-100: #ffe4ee;
  --pink-200: #ffc8dd;
  --pink-300: #ffa6c5;
  --pink-400: #ff85ad;
  --pink-500: #ff5c8d;
  --pink-600: #ec3e76;
  --pink-700: #c8285c;

  --lavender-100: #f3eafc;
  --lavender-200: #e4d5f5;
  --peach-100: #ffe8df;
  --peach-200: #ffd4c2;
  --cream: #fff8f0;

  --ink-900: #1a1320;
  --ink-700: #3a2f44;
  --ink-500: #6b6275;
  --ink-300: #a8a0b1;
  --ink-100: #ece8ef;

  --bg: #ffffff;
  --bg-soft: #fff9fc;
  --bg-card: #ffffff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(255, 92, 141, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 92, 141, 0.12);
  --shadow-lg: 0 24px 60px rgba(255, 92, 141, 0.18);

  --container: 1180px;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink-600); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--ink-700); }

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

section { padding: 96px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
  body { font-size: 16px; }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 92, 141, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.nav-brand img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink-900);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-cta:hover { background: var(--pink-600); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  position: relative;
  transition: all var(--transition);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  transition: all var(--transition);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hamburger → X when open */
.nav-links.is-open ~ .nav-toggle span,
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Tighter gap on medium-wide screens before we collapse to the burger menu */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.92rem; }
  .nav-cta { padding: 9px 16px; font-size: 0.9rem; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  body.menu-open { overflow: hidden; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 88px 24px 32px;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 24px 60px rgba(255, 92, 141, 0.18);
    z-index: 105;
  }
  .nav-links.is-open { transform: translateY(0); }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-top: 16px;
    font-size: 1rem;
  }

  /* Lang switch behaves like a list item, not a dropdown */
  .nav-links .lang-switch {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
    border-bottom: none;
  }
  .nav-links .lang-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border-color: transparent;
  }
  .lang-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: var(--radius-md);
    max-height: none;
  }
}

/* Squeeze flag-only chip on tightest desktop widths so nav doesn't wrap */
@media (min-width: 981px) and (max-width: 1180px) {
  .lang-toggle [data-lang-name] { display: none; }
  .lang-toggle { padding: 8px 12px; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink-900);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff;
  color: var(--ink-900) !important;
  border: 1.5px solid var(--ink-100);
}
.btn-secondary:hover {
  border-color: var(--pink-400);
  color: var(--pink-600) !important;
  transform: translateY(-2px);
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: #fff !important;
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 18px;
  background: var(--ink-900);
  color: #fff !important;
  border-radius: 14px;
  font-weight: 600;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.btn-store small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.btn-store strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: 80px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(255, 168, 199, 0.55), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(243, 234, 252, 0.6), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(255, 232, 223, 0.55), transparent 60%),
    var(--bg-soft);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
}
.hero::before {
  top: 80px;
  left: 6%;
  width: 56px;
  height: 56px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g fill='%23ffa6c5'><circle cx='30' cy='10' r='6'/><circle cx='10' cy='30' r='6'/><circle cx='50' cy='30' r='6'/><circle cx='30' cy='50' r='6'/><circle cx='30' cy='30' r='8' fill='%23ff5c8d'/></g></svg>");
  animation: floaty 7s ease-in-out infinite;
}
.hero::after {
  bottom: 12%;
  right: 8%;
  width: 44px;
  height: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M30 6 L34 26 L54 30 L34 34 L30 54 L26 34 L6 30 L26 26 Z' fill='%23ffc8dd'/></svg>");
  animation: floaty 9s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 92, 141, 0.1);
  color: var(--pink-700);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 20px;
  position: relative;
}
.hero h1 .accent {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 50 0 100 5 T 198 4' stroke='%23ffa6c5' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--ink-500);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  color: var(--ink-500);
  font-size: 0.92rem;
}

.hero-trust .stars {
  color: var(--pink-500);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art .deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
}
.hero-art .deco-1 {
  top: 6%;
  right: 4%;
  width: 70px;
  height: 70px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-art .deco-2 {
  bottom: 8%;
  left: -2%;
  width: 50px;
  height: 50px;
  animation: floaty 8s ease-in-out infinite reverse;
}
.hero-art .deco-3 {
  top: 38%;
  right: -2%;
  width: 30px;
  height: 30px;
  animation: floaty 5s ease-in-out infinite;
}

.hero-phone {
  width: 290px;
  z-index: 2;
}

.hero-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow:
    0 16px 40px rgba(255, 92, 141, 0.18),
    0 4px 12px rgba(26, 19, 32, 0.08);
  z-index: 3;
  text-align: left;
  animation: floaty 6s ease-in-out infinite;
}
.hero-tag strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero-tag small {
  font-size: 0.74rem;
  color: var(--ink-500);
  font-weight: 600;
}
.hero-tag-emoji {
  font-size: 1.3rem;
  line-height: 1;
}
.hero-tag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink-500);
  box-shadow: 0 0 0 5px rgba(255, 92, 141, 0.18);
  flex-shrink: 0;
}

.hero-tag-1 {
  top: 14%;
  left: -8%;
  animation-duration: 7s;
}
.hero-tag-2 {
  bottom: 14%;
  right: -10%;
  animation-duration: 8s;
  animation-delay: -1.5s;
}

@media (max-width: 1080px) {
  .hero-tag-1 { left: -2%; }
  .hero-tag-2 { right: -2%; }
}
@media (max-width: 880px) {
  .hero-phone { width: 240px; }
  .hero-tag { padding: 10px 14px; gap: 10px; }
  .hero-tag strong { font-size: 0.85rem; }
  .hero-tag small { font-size: 0.7rem; }
  .hero-tag-1 { top: 6%; left: 0; }
  .hero-tag-2 { bottom: 6%; right: 0; }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}
.hero-blob-1 { width: 320px; height: 320px; background: var(--pink-200); top: -60px; left: -60px; }
.hero-blob-2 { width: 240px; height: 240px; background: var(--lavender-200); bottom: -40px; right: -40px; opacity: 0.6; }

@media (max-width: 880px) {
  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; }
}

/* ============================================
   Section header
   ============================================ */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  position: relative;
}
.section-head .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--pink-100);
  color: var(--pink-700);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 em {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--pink-600);
  letter-spacing: -0.01em;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-top: 14px;
}

/* Italic accent helper used inside any heading */
.ital {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ============================================
   Features
   ============================================ */

.features {
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 32px;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--pink-50);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--pink-200);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  color: var(--pink-700);
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.features-grid > .feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--lavender-100), var(--lavender-200)); }
.features-grid > .feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--peach-100), var(--peach-200)); }
.features-grid > .feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, var(--lavender-100), var(--pink-100)); }
.features-grid > .feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, var(--peach-100), var(--pink-100)); }
.features-grid > .feature-card:nth-child(8) .feature-icon { background: linear-gradient(135deg, #e0f4e7, var(--peach-100)); }
.features-grid > .feature-card:nth-child(9) .feature-icon { background: linear-gradient(135deg, var(--lavender-200), var(--pink-200)); }

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.feature-card p {
  color: var(--ink-500);
  font-size: 0.97rem;
}

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

/* ============================================
   Big highlight cards
   ============================================ */

.highlight {
  background: var(--bg-soft);
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 96px;
}
.highlight-row:last-child { margin-bottom: 0; }
.highlight-row.reverse > div:first-child { order: 2; }

.highlight-text h2 { margin-bottom: 18px; }
.highlight-text p {
  color: var(--ink-500);
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.highlight-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-700);
  font-size: 1rem;
  font-weight: 500;
}
.highlight-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--pink-500);
  margin-top: 2px;
}

.highlight-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 48px 24px;
  min-height: 480px;
}
.highlight-visual::before,
.highlight-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.highlight-visual::before {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.35);
  top: -40px;
  right: -40px;
  filter: blur(2px);
}
.highlight-visual::after {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
  bottom: 32px;
  left: 24px;
}

.highlight-visual.gradient-2 {
  background: linear-gradient(135deg, #ffe4ee 0%, #ffc8dd 60%, var(--lavender-200) 100%);
}
.highlight-visual.gradient-3 {
  background: linear-gradient(135deg, var(--peach-100), var(--pink-200));
}
.highlight-visual.gradient-4 {
  background: linear-gradient(135deg, var(--lavender-100), var(--pink-100));
}

.highlight-visual .placeholder-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(26, 19, 32, 0.45);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   Phone frame (real screenshots)
   ============================================ */

.phone-frame {
  position: relative;
  display: inline-block;
  width: 280px;
  background: #1a1320;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(255, 92, 141, 0.3),
    0 12px 32px rgba(26, 19, 32, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  z-index: 2;
  font-size: 0;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  object-fit: contain;
}

.highlight-visual .phone-frame {
  width: 64%;
  max-width: 280px;
  min-width: 220px;
}

@media (max-width: 880px) {
  .highlight-visual {
    padding: 40px 24px;
    min-height: 0;
  }
  .highlight-visual .phone-frame {
    width: 240px;
    max-width: 80%;
  }
}

@media (max-width: 880px) {
  .highlight-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }
  .highlight-row.reverse > div:first-child { order: 0; }
}

/* ============================================
   Screenshot slider
   ============================================ */

.ss-section {
  position: relative;
  padding: 96px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(243, 234, 252, 0.5), transparent 60%),
    radial-gradient(700px 400px at 90% 80%, rgba(255, 200, 221, 0.45), transparent 60%),
    var(--bg-soft);
}

.ss-viewport {
  position: relative;
  margin-top: 60px;
  padding: 20px 0 30px;
  overflow: hidden;
  --slide-gap: 32px;
}

.ss-track {
  display: flex;
  gap: var(--slide-gap);
  padding: 10px 0;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.ss-slide {
  flex: 0 0 auto;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity var(--transition), transform var(--transition);
}
.ss-slide:not(.is-active) { opacity: 0.55; transform: scale(0.94); }
.ss-slide.is-active { opacity: 1; transform: scale(1); }

.ss-slide .phone-frame {
  width: 260px;
  margin-bottom: 22px;
}
.ss-slide.is-active .phone-frame {
  box-shadow:
    0 36px 90px rgba(255, 92, 141, 0.35),
    0 14px 36px rgba(26, 19, 32, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.ss-caption {
  display: grid;
  gap: 4px;
}
.ss-caption .ss-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-700);
}
.ss-caption .ss-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
}

.ss-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.ss-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.ss-btn:hover {
  border-color: var(--pink-400);
  color: var(--pink-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.ss-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.ss-btn svg { width: 20px; height: 20px; }

.ss-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.ss-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--pink-500);
}

@media (max-width: 600px) {
  .ss-slide, .ss-slide .phone-frame { width: 220px; }
}

/* ============================================
   Stats / numbers strip
   ============================================ */

.stats {
  background: var(--ink-900);
  color: #fff;
  padding: 72px 0;
}
.stats h2 { color: #fff; }
.stats .section-head p { color: var(--ink-300); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--pink-300);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  color: var(--ink-300);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  padding: 40px;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  position: relative;
}
.price-card.is-pro {
  background: linear-gradient(160deg, #fff, var(--pink-50));
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--pink-500);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.price-card h3 { margin-bottom: 6px; font-size: 1.4rem; }
.price-card .sub { color: var(--ink-500); margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.97rem;
}
.price-card li::before {
  content: '✓';
  color: var(--pink-500);
  font-weight: 800;
  flex-shrink: 0;
}

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

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--pink-300); }
.faq-item summary {
  padding: 22px 26px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--pink-500);
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 26px 22px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */

.cta-final {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 80% 30%, rgba(255, 168, 199, 0.4), transparent 60%),
    radial-gradient(600px 400px at 10% 70%, rgba(255, 200, 221, 0.4), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-soft));
  text-align: center;
}
.cta-final h2 {
  max-width: 720px;
  margin: 0 auto 18px;
}
.cta-final h2 em {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--pink-600);
  letter-spacing: -0.01em;
}
.cta-final p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--ink-500);
}
.cta-final .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 72px 0 32px;
}
.footer a { color: var(--ink-300); }
.footer a:hover { color: var(--pink-300); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { width: 40px; height: 40px; margin-bottom: 14px; }
.footer-brand h4 { color: #fff; margin-bottom: 10px; font-weight: 800; font-size: 1.2rem; }
.footer p { color: var(--ink-300); }
.footer-brand p { font-size: 0.93rem; max-width: 320px; line-height: 1.65; color: var(--ink-300); }

.footer-col h5 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 0.95rem; }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================
   Legal pages (gizlilik, kullanim-sartlari)
   ============================================ */

.legal-hero {
  padding: 64px 0 32px;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(255, 92, 141, 0.08);
}
.legal-hero .eyebrow {
  color: var(--pink-700);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}
.legal-hero .meta {
  color: var(--ink-500);
  font-size: 0.95rem;
}

.legal-content {
  padding: 64px 0 96px;
}
.legal-content .container {
  max-width: 820px;
}
.legal-content h2 {
  font-size: 1.55rem;
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}
.legal-content p {
  margin-bottom: 16px;
  color: var(--ink-700);
  line-height: 1.75;
}
.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}
.legal-content li {
  color: var(--ink-700);
  line-height: 1.7;
}
.legal-content strong { color: var(--ink-900); font-weight: 700; }
.legal-content a { color: var(--pink-600); border-bottom: 1px dashed currentColor; }
.legal-content a:hover { border-bottom-style: solid; }
.legal-content .callout {
  padding: 22px 26px;
  background: var(--pink-50);
  border-left: 4px solid var(--pink-500);
  border-radius: var(--radius-sm);
  margin: 28px 0;
}
.legal-content .callout strong {
  color: var(--pink-700);
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   Contact page
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 36px;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--pink-300); box-shadow: var(--shadow-sm); }
.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--pink-100);
  color: var(--pink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 12px; }
.contact-card a {
  font-weight: 700;
  color: var(--pink-600);
}

.contact-form {
  padding: 40px;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(255, 92, 141, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { padding: 24px; }
  .contact-card h3 { font-size: 1.05rem; }
  .contact-card p { font-size: 0.92rem; }
  .contact-form { padding: 24px; border-radius: var(--radius-md); }
  .contact-form h3 { font-size: 1.15rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 12px 14px; font-size: 0.95rem; }
  .form-group textarea { min-height: 100px; }
}

@media (max-width: 540px) {
  .legal-hero { padding: 40px 0 24px; }
  .legal-hero h1 { font-size: 1.7rem; }
  .legal-hero .meta { font-size: 0.95rem; }
  .contact-card { padding: 20px; }
  .contact-form { padding: 20px; }
}

/* ============================================
   404 page
   ============================================ */

.notfound {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(255, 168, 199, 0.45), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(255, 200, 221, 0.4), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.notfound .big {
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.9;
  margin-bottom: 16px;
}
.notfound h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.notfound p {
  color: var(--ink-500);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.notfound .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Reveal-on-scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   Language switcher
   ============================================ */

.lang-switch {
  position: relative;
  display: inline-block;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-900);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-toggle:hover {
  border-color: var(--pink-300);
  color: var(--pink-700);
}
.lang-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.lang-switch.is-open .lang-toggle svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 200;
}
.lang-switch.is-open .lang-menu { display: block; }

.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.lang-menu button:hover {
  background: var(--pink-50);
  color: var(--pink-700);
}
.lang-menu button.is-active {
  background: var(--pink-100);
  color: var(--pink-700);
  font-weight: 700;
}
.lang-menu .flag {
  font-size: 1.15rem;
  line-height: 1;
  width: 22px;
  text-align: center;
}
.lang-menu .lang-code {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--ink-300);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Lang switch on mobile is handled inside the nav-links overlay above */

/* RTL support */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .hero-trust { flex-direction: row-reverse; }
html[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
html[dir="rtl"] .highlight-list li { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .feature-card,
html[dir="rtl"] .price-card,
html[dir="rtl"] .legal-content,
html[dir="rtl"] .contact-card { text-align: right; }
html[dir="rtl"] .price-card li,
html[dir="rtl"] .legal-content ul,
html[dir="rtl"] .legal-content ol { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .price-card li::before { order: 2; }
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .footer-top { direction: rtl; }
html[dir="rtl"] .legal-content .callout {
  border-left: none;
  border-right: 4px solid var(--pink-500);
}
html[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }
html[dir="rtl"] .ss-track { flex-direction: row-reverse; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
