/* RAWAFID DIGITAL — light SaaS UI */
:root {
  --bg: #f7f7f5;
  --bg-soft: #f0f0ec;
  --white: #ffffff;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e4e4e0;
  --yellow: #ffe14a;
  --yellow-hover: #f5d420;
  --lavender: #d4c4f5;
  --mint: #b8e8d4;
  --pink: #f5c4d4;
  --teal: #2a9d8f;
  --radius: 16px;
  --radius-lg: 24px;
  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 12px 40px rgba(20, 20, 20, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

html[data-lang="en"] body {
  font-family: var(--font-en);
}

.page-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 247, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 247, 245, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.brand-lg {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

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

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover { background: #2a2a2a; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  width: 100%;
}

.btn-outline:hover { border-color: var(--ink); }

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
}

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

.hero-brand {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.8s var(--ease) 0.08s both;
}

.hero-title mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 0.2em;
  border-radius: 6px;
  font-style: inherit;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeUp 0.8s var(--ease) 0.24s both;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  animation: fadeUp 0.9s var(--ease) 0.2s both;
}

.float-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.float-card-main {
  padding: 1.1rem;
  width: min(100%, 340px);
  margin-inline-start: auto;
}

.float-card-top {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.float-card-top .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.chat-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-end;
  margin-bottom: 0.7rem;
}

.chat-row-end { justify-content: flex-end; }

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-en);
  flex-shrink: 0;
}

.av-teal { background: var(--mint); color: var(--ink); }

.bubble {
  background: var(--bg-soft);
  padding: 0.55rem 0.8rem;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.82rem;
  max-width: 80%;
}

html[dir="ltr"] .bubble { border-radius: 14px 14px 4px 14px; }

.bubble-user {
  background: var(--yellow);
  border-radius: 14px 14px 4px 14px;
}

html[dir="ltr"] .bubble-user { border-radius: 14px 14px 14px 4px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: #eefaf4;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.float-card-mini {
  position: absolute;
  inset-inline-start: 0;
  bottom: 12%;
  padding: 1rem 1.15rem;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  animation: floatY 4s ease-in-out infinite;
}

.float-card-mini strong { font-size: 0.88rem; }
.float-card-mini span { font-size: 0.75rem; color: var(--muted); }

.mini-bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.mini-bar i {
  display: block;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Channels */
.channels {
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.channels-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.channels-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
}

.channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.channels-list li {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  color: #9a9a9a;
  letter-spacing: -0.01em;
}

/* Sections */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2,
.how-intro h2,
.split-copy h2,
.contact-intro h2,
.cta-band h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p,
.how-intro p,
.split-copy p,
.contact-intro p,
.cta-band p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* CRM split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
}

.pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 64px;
}

.pipe-node strong { font-size: 0.85rem; }

.pipe-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
}

.pipe-lavender { background: var(--lavender); }
.pipe-mint { background: var(--mint); }
.pipe-pink { background: var(--pink); }
.pipe-yellow { background: var(--yellow); }

.pipe-line {
  flex: 1;
  height: 2px;
  min-width: 16px;
  background: var(--line);
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.how-cards {
  display: grid;
  gap: 1rem;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.how-card-a { border-inline-start: 4px solid var(--lavender); }
.how-card-b { border-inline-start: 4px solid var(--mint); }
.how-card-c { border-inline-start: 4px solid var(--yellow); }

.how-ico {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 0.65rem;
  background: var(--ink);
}

.how-ico-bolt {
  clip-path: polygon(35% 0, 100% 0, 65% 45%, 100% 45%, 30% 100%, 50% 55%, 0 55%);
}

.how-ico-diamond {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.how-ico-play {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 14px;
}

.how-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.how-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Features */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.feature:last-child { margin-bottom: 0; }

.feature-rtl .feature-copy { order: 2; }
.feature-rtl .feature-art { order: 1; }

html[dir="ltr"] .feature-rtl .feature-copy { order: 1; }
html[dir="ltr"] .feature-rtl .feature-art { order: 2; }

.feature-copy h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
}

.feature-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.phone {
  width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 72px;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  margin: 0 auto 1.25rem;
}

.phone-msg {
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.55rem;
  max-width: 90%;
}

.phone-msg.in {
  background: var(--bg-soft);
}

.phone-msg.out {
  background: var(--yellow);
  margin-inline-start: auto;
}

.follow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  width: min(340px, 100%);
}

.follow-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  text-align: center;
}

.follow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.follow-step {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.follow-step:nth-child(1) { background: var(--lavender); border-color: transparent; }
.follow-step:nth-child(3) { background: var(--mint); border-color: transparent; }
.follow-step:nth-child(5) { background: var(--pink); border-color: transparent; }

.follow-step-done {
  background: var(--yellow) !important;
  border-color: transparent !important;
}

.follow-arrow {
  width: 14px;
  height: 2px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
  opacity: 0.35;
}

.follow-arrow::after {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-inline-end: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-50%) rotate(-45deg);
}

html[dir="ltr"] .follow-arrow::after {
  transform: translateY(-50%) rotate(-45deg);
}

html[dir="rtl"] .follow-arrow::after {
  transform: translateY(-50%) rotate(135deg);
}

.follow-sub {
  margin-top: 1.1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.remind-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 340px;
}

.cal {
  width: 64px;
  height: 72px;
  border-radius: 12px;
  background: var(--pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-day {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.cal-mon {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.remind-card strong { display: block; margin-bottom: 0.25rem; }
.remind-card p { color: var(--muted); font-size: 0.88rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.plan:hover {
  border-color: #cfcfc8;
  box-shadow: var(--shadow);
}

.plan-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  inset-inline-start: 1.1rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.plan h3 {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  min-height: 2.5rem;
}

.plan-amount {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-price-custom .plan-amount {
  font-size: 1.35rem;
}

.plan ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.plan li {
  position: relative;
  padding-inline-start: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--ink);
}

/* CTA band */
.cta-band {
  padding: 1rem 0 4rem;
}

.cta-band-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro .btn { margin-top: 1.25rem; }

.contact-email,
.contact-phone {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.contact-email a,
.contact-phone a {
  color: var(--ink);
  font-weight: 600;
}

.contact-email a:hover,
.contact-phone a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.field textarea { resize: vertical; min-height: 100px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c5c5c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-inline-end: 2.5rem;
}

html[dir="ltr"] .field select {
  background-position: right 1rem center;
}

.form-status { font-size: 0.88rem; min-height: 1.3em; }
.form-status.is-success { color: var(--teal); }
.form-status.is-error { color: #c0392b; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: var(--bg-soft);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.footer-cols {
  display: flex;
  gap: 3rem;
}

.footer-cols h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-family: var(--font-en);
}

.footer-cols a {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-cols a:hover { color: var(--muted); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reveal + stagger */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* —— Motion: modern / smart —— */

/* Logo pulse ring */
.brand img,
.logo-img {
  border-radius: 22%;
  object-fit: cover;
  transition: transform 0.4s var(--ease), filter 0.4s, box-shadow 0.4s;
  animation: logoGlow 3.5s ease-in-out infinite;
}

.brand:hover img {
  transform: rotate(-8deg) scale(1.08);
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 8px rgba(255, 225, 74, 0.55)); }
}

/* Channel chips */
.channels-list li {
  position: relative;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.channels-list li:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-3px);
}

/* Pipeline icons — sequential pulse when visible */
.pipeline.is-visible .pipe-icon {
  animation: iconPop 0.55s var(--ease) both, iconBreathe 2.8s ease-in-out infinite;
}

.pipeline.is-visible .pipe-node:nth-child(1) .pipe-icon { animation-delay: 0.05s, 0.8s; }
.pipeline.is-visible .pipe-node:nth-child(3) .pipe-icon { animation-delay: 0.2s, 1.1s; }
.pipeline.is-visible .pipe-node:nth-child(5) .pipe-icon { animation-delay: 0.35s, 1.4s; }
.pipeline.is-visible .pipe-node:nth-child(7) .pipe-icon { animation-delay: 0.5s, 1.7s; }

.pipeline.is-visible .pipe-line {
  transform-origin: center;
  animation: lineGrow 0.7s var(--ease) both;
}

.pipeline.is-visible .pipe-line:nth-child(2) { animation-delay: 0.15s; }
.pipeline.is-visible .pipe-line:nth-child(4) { animation-delay: 0.3s; }
.pipeline.is-visible .pipe-line:nth-child(6) { animation-delay: 0.45s; }

.pipe-node {
  transition: transform 0.35s var(--ease);
}

.pipe-node:hover {
  transform: translateY(-6px);
}

.pipe-node:hover .pipe-icon {
  box-shadow: 0 0 0 6px rgba(255, 225, 74, 0.25);
}

@keyframes iconPop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes iconBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes lineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* How cards + icons */
.how-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.1);
}

.how-card.is-visible .how-ico {
  animation: iconSpinIn 0.65s var(--ease) both;
}

.how-card.is-visible .how-ico-diamond {
  animation: diamondIn 0.65s var(--ease) both;
}

.how-card:hover .how-ico-bolt {
  animation: boltFlash 0.7s var(--ease);
}

.how-card:hover .how-ico-diamond {
  animation: diamondSpin 0.8s var(--ease);
}

.how-card:hover .how-ico-play {
  animation: playNudge 0.55s var(--ease);
}

@keyframes iconSpinIn {
  from { opacity: 0; transform: scale(0.2) rotate(-40deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes diamondIn {
  from { opacity: 0; transform: rotate(45deg) scale(0.2); }
  to { opacity: 1; transform: rotate(45deg) scale(1); }
}

@keyframes boltFlash {
  0%, 100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.25); opacity: 0.85; filter: brightness(1.4); }
}

@keyframes diamondSpin {
  from { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(225deg) scale(1.15); }
  to { transform: rotate(405deg) scale(1); }
}

@keyframes playNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px) scale(1.1); }
}

/* Feature mockups */
.feature-art .phone,
.feature-art .follow-card,
.feature-art .remind-card {
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.feature.is-visible .phone,
.feature.is-visible .follow-card,
.feature.is-visible .remind-card {
  animation: cardFloatIn 0.8s var(--ease) both;
}

.feature:hover .phone,
.feature:hover .follow-card,
.feature:hover .remind-card {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 50px rgba(20, 20, 20, 0.12);
}

@keyframes cardFloatIn {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* Chat messages cascade */
.feature.is-visible .phone-msg {
  animation: msgIn 0.5s var(--ease) both;
}

.feature.is-visible .phone-msg:nth-child(2) { animation-delay: 0.15s; }
.feature.is-visible .phone-msg:nth-child(3) { animation-delay: 0.35s; }
.feature.is-visible .phone-msg:nth-child(4) { animation-delay: 0.55s; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Follow-up steps wave */
.feature.is-visible .follow-step {
  animation: stepWave 0.45s var(--ease) both;
}

.feature.is-visible .follow-step:nth-child(1) { animation-delay: 0.1s; }
.feature.is-visible .follow-step:nth-child(3) { animation-delay: 0.25s; }
.feature.is-visible .follow-step:nth-child(5) { animation-delay: 0.4s; }
.feature.is-visible .follow-step:nth-child(7) { animation-delay: 0.55s; }

.follow-step {
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.follow-step:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.1);
}

.feature.is-visible .follow-step-done {
  animation: stepWave 0.45s var(--ease) 0.55s both, doneGlow 2s ease-in-out 1s infinite;
}

@keyframes stepWave {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes doneGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 225, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 225, 74, 0); }
}

/* Calendar nudge */
.feature.is-visible .cal {
  animation: calPop 0.6s var(--ease) 0.2s both;
}

.remind-card:hover .cal {
  animation: calShake 0.55s var(--ease);
}

@keyframes calPop {
  from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}

@keyframes calShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg) scale(1.05); }
  75% { transform: rotate(6deg) scale(1.05); }
}

/* Pricing cards */
.plan {
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(20, 20, 20, 0.1);
  border-color: rgba(20, 20, 20, 0.2);
}

.plan-featured {
  animation: featuredPulse 3.5s ease-in-out infinite;
}

.plan-featured:hover {
  transform: translateY(-10px) scale(1.02);
}

.plan-badge {
  animation: badgeBob 2.2s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(20, 20, 20, 0.08); }
  50% { box-shadow: 0 16px 48px rgba(255, 225, 74, 0.35); }
}

@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Hero chat typing feel */
.float-card-main .chat-row {
  animation: msgIn 0.55s var(--ease) both;
}

.float-card-main .chat-row:nth-child(2) { animation-delay: 0.35s; }
.float-card-main .chat-row:nth-child(3) { animation-delay: 0.65s; }
.float-card-main .chat-row:nth-child(4) { animation-delay: 0.95s; }

.float-card-main .status-pill {
  animation: msgIn 0.5s var(--ease) 1.2s both;
}

.mini-bar i {
  width: 0 !important;
  animation: barFill 1.4s var(--ease) 1.4s forwards;
}

@keyframes barFill {
  to { width: 60% !important; }
}

/* CTA / contact lift */
.cta-band-inner,
.contact-form {
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.cta-band-inner:hover,
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.1);
}

/* Buttons smart press */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
}

.btn:hover::after {
  animation: btnShine 0.7s var(--ease);
}

@keyframes btnShine {
  to { transform: translateX(120%); }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .how-grid,
  .feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-rtl .feature-copy,
  .feature-rtl .feature-art,
  html[dir="ltr"] .feature-rtl .feature-copy,
  html[dir="ltr"] .feature-rtl .feature-art {
    order: unset;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-card-mini {
    position: relative;
    inset: auto;
    margin-top: 1rem;
    width: min(100%, 340px);
    margin-inline-start: auto;
    animation: none;
  }

  .hero-visual { min-height: auto; }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247, 247, 245, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
}

@media (max-width: 480px) {
  .container,
  .header-inner { width: calc(100% - 1.5rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .pipeline { justify-content: center; gap: 0.75rem; }
  .pipe-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-brand,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-visual,
  .float-card-mini,
  .pulse,
  .brand img,
  .plan-featured,
  .plan-badge,
  .pipeline.is-visible .pipe-icon,
  .pipeline.is-visible .pipe-line,
  .how-card.is-visible .how-ico,
  .feature.is-visible .phone,
  .feature.is-visible .follow-card,
  .feature.is-visible .remind-card,
  .feature.is-visible .phone-msg,
  .feature.is-visible .follow-step,
  .feature.is-visible .cal,
  .float-card-main .chat-row,
  .float-card-main .status-pill,
  .mini-bar i,
  .btn::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    width: auto !important;
  }

  .mini-bar i { width: 60% !important; }
}
