/* === RESET + ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #25D366;
  --green-hover:  #1ebe57;
  --green-dark:   #128C7E;
  --green-deeper: #075E54;
  --green-text:   #16331f;
  --green-mid:    #2e7d32;
  --green-light:  #e8f5e9;
  --green-tint:   #f0faf3;
  --grey-sub:     #5a7260;
  --white:        #ffffff;
  --radius:       16px;
  --shadow:       0 4px 32px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 56px rgba(0,0,0,.14);
  --container:    min(1200px, 100% - 2.5rem);
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--green-text);
  background: var(--white);
  line-height: 1.6;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

.container { width: var(--container); margin-inline: auto; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-text);
  text-decoration: none;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.logo .ti {
  font-size: 1.5rem;
  color: var(--green);
  background: var(--green-light);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav { display: flex; gap: 2rem; }

.main-nav a {
  text-decoration: none;
  color: var(--grey-sub);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}

.main-nav a:hover { color: var(--green-dark); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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



.btn-sm {
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  transition: background .2s;
  white-space: nowrap;
}

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

/* === PRIMARY BUTTON === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .875rem 2rem;
  border-radius: 50px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,211,102,.32);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}

.btn-primary--outline {
  background: white;
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

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

.wa-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--green-text);
}

/* === HERO === */
.hero {
  padding: 4.5rem 0 5.5rem;
  background:
    radial-gradient(circle, #cde8d0 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--green-text);
  letter-spacing: -.5px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--grey-sub);
  line-height: 1.65;
  max-width: 460px;
}

.hero-sub--accent {
  font-weight: 600;
  color: var(--green-mid);
}

/* === WA CHAT MOCKUP === */
.hero-mockup { display: flex; justify-content: center; }

.wa-chat-window {
  background: #ECE5DD;
  overflow: hidden;
  text-align: start;
}

.wa-chat-header {
  background: var(--green-deeper);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.wa-chat-info { flex: 1; }
.wa-chat-name { color: white; font-weight: 600; font-size: .95rem; }
.wa-chat-status { color: rgba(255,255,255,.7); font-size: .7rem; }

.wa-dots { display: flex; gap: 4px; align-items: center; }
.wa-dots span {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
}

.wa-chat-body {
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 200px;
}

.wa-msg { display: flex; flex-direction: column; max-width: 85%; }
.wa-msg--out { align-self: flex-start; }
.wa-msg--in  { align-self: flex-end; }

.wa-bubble-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.wa-msg--out .wa-bubble-wrap { align-items: flex-end; }

.wa-reaction {
  font-size: .85em;
  background: white;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 1rem;
  padding: 0 5px;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  margin-top: -6px;
  position: relative;
  z-index: 1;
}

.wa-bubble {
  padding: .5rem .75rem;
  line-height: 1.45;
  word-break: break-word;
}

.wa-msg--out .wa-bubble {
  background: #DCF8C6;
  border-radius: 10px 10px 2px 10px;
  color: #111;
}

.wa-msg--in .wa-bubble {
  background: white;
  border-radius: 10px 10px 10px 2px;
  color: #111;
}

.wa-meta { font-size: .65rem; color: rgba(0,0,0,.45); padding: 0 .2rem; margin-top: 2px; }
.wa-msg--out .wa-meta { align-self: flex-start; }

.wa-bubble--named {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wa-bubble-name {
  font-weight: 700;
  color: var(--green-dark);
  font-size: .8em;
  line-height: 1.2;
}

.wa-bubble-text { line-height: 1.45; white-space: pre-line; }
.wa-bubble      { white-space: pre-line; }


.wa-date-sep {
  text-align: center;
  font-size: .7rem;
  color: rgba(0,0,0,.5);
  background: rgba(255,255,255,.6);
  border-radius: 20px;
  padding: .2rem .75rem;
  align-self: center;
  margin: .25rem 0;
}

.wa-chat-footer {
  background: #F0F0F0;
  padding: .5rem .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.wa-input-bar {
  flex: 1;
  background: white;
  border-radius: 24px;
  padding: .45rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-footer-icon {
  font-size: 20px;
  color: rgba(0,0,0,.38);
  flex-shrink: 0;
  line-height: 1;
}

.wa-send-icon {
  font-size: 17px;
  line-height: 1;
}

.wa-footer-icons-end {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.wa-send-btn {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 5rem 0;
  background: var(--green-tint);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  max-width: 900px;
  margin-inline: auto;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  border: 2px solid #111;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  background: white;
}

.step-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
}

.step-emoji { font-size: 2rem; }

.step-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon .ti {
  font-size: 2.25rem;
  color: var(--green-dark);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-text);
}

.step p { font-size: .95rem; color: var(--grey-sub); line-height: 1.55; }

.step-arrow {
  font-size: 2.5rem;
  color: #111;
  align-self: center;
  padding: 0 .5rem;
  flex-shrink: 0;
}

/* === FEATURES === */
.features { padding: 5rem 0; }

.features-wrap {
  background: var(--green-tint);
  border-radius: 24px;
  padding: 3rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  overflow: hidden;
  color: white;
}

.fc--1 { background: #1b5e20; }
.fc--2 { background: #2e7d32; }
.fc--3 { background: #43a047; }
.fc--4 { background: #66bb6a; }

.fc-num {
  position: absolute;
  top: -1rem; left: -.5rem;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .625rem;
  position: relative;
}

.feature-card p {
  font-size: .875rem;
  line-height: 1.55;
  opacity: .88;
  position: relative;
}

/* === PHONE CHAT OVERRIDES === */
.wa-chat-window--phone {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: .65rem;
}

.phone-frame .wa-chat-header {
  padding: 1.5rem .5rem .5rem;
  gap: .375rem;
}

.phone-frame .wa-avatar {
  width: 24px;
  height: 24px;
  font-size: .7rem;
  flex-shrink: 0;
}

.phone-frame .wa-chat-name  { font-size: .78rem; }
.phone-frame .wa-chat-status { font-size: .6rem; }

.phone-frame .wa-chat-body {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  padding: .5rem .4rem;
  gap: .2rem;
}

.phone-frame .wa-bubble {
  padding: .35rem .5rem;
  font-size: .65rem;
  line-height: 1.4;
}

.phone-frame .wa-meta   { font-size: .55rem; }
.phone-frame .wa-bubble-name { font-size: .78em; }

.phone-frame .wa-chat-footer { padding: .3rem .4rem; gap: .35rem; }
.phone-frame .wa-input-bar   { padding: .3rem .5rem; font-size: .65rem; gap: .25rem; }
.phone-frame .wa-footer-icon { font-size: 13px; }
.phone-frame .wa-send-btn    { width: 24px; height: 24px; }
.phone-frame .wa-send-btn svg { width: 12px; height: 12px; }

/* === SHOWCASE === */
.showcase {
  padding: 5.5rem 0;
  background: #0d2b1a;
  color: white;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.showcase-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: white;
}

.showcase-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
}

.showcase-phone { display: flex; justify-content: center; }
.showcase-phone .phone-frame { width: 265px; height: 506px; }


.phone-frame {
  width: 230px;
  height: 440px;
  border: 7px solid #1a3a2a;
  border-radius: 38px;
  overflow: hidden;
  background: #ECE5DD;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  position: relative;
}

.phone-frame--lg {
  width: 322px;
  height: 610px;
  box-shadow: 0 20px 56px rgba(0,0,0,.14);
  transition: box-shadow .3s ease;
  transform-origin: center bottom;
  will-change: transform;
}

@keyframes phone-tilt {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-2deg); }
  75%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.phone-frame--lg:hover {
  animation: phone-tilt 1.6s ease-in-out infinite;
  box-shadow: 0 28px 72px rgba(0,0,0,.22);
}

.phone-frame--lg .wa-chat-window--phone { font-size: .92rem; }
.phone-frame--lg .wa-avatar             { width: 34px; height: 34px; font-size: 1rem; }
.phone-frame--lg .wa-chat-name          { font-size: 1rem; }
.phone-frame--lg .wa-chat-status        { font-size: .75rem; }
.phone-frame--lg .wa-chat-header        { padding: 2rem .875rem .75rem; gap: .5rem; }
.phone-frame--lg .wa-chat-body          { padding: .875rem .7rem; gap: .25rem; }
.phone-frame--lg .wa-bubble             { padding: .5rem .75rem; font-size: .92rem; line-height: 1.45; }
.phone-frame--lg .wa-bubble-name        { font-size: .82em; }
.phone-frame--lg .wa-meta               { font-size: .68rem; }
.phone-frame--lg .wa-footer-icon        { font-size: 18px; }
.phone-frame--lg .wa-send-btn           { width: 34px; height: 34px; }
.phone-frame--lg .wa-chat-footer        { padding: .45rem .6rem; gap: .45rem; }
.phone-frame--lg .wa-input-bar          { padding: .4rem .7rem; }

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 18px;
  background: #1a3a2a;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-screen { height: 100%; display: flex; flex-direction: column; }

.ph-header {
  background: var(--green-deeper);
  padding: .625rem .75rem;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.ph-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}

.ph-name { color: white; font-weight: 600; font-size: .78rem; }
.ph-status { color: rgba(255,255,255,.7); font-size: .62rem; }

.ph-body {
  flex: 1;
  padding: .625rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.ph-msg {
  padding: .375rem .6rem;
  border-radius: 8px;
  font-size: .72rem;
  max-width: 80%;
  line-height: 1.35;
}

.ph-msg--out { background: #DCF8C6; align-self: flex-end; border-radius: 8px 8px 2px 8px; color: #111; }
.ph-msg--in  { background: white;   align-self: flex-start; border-radius: 8px 8px 8px 2px; color: #111; }


/* === FOOTER === */
.site-footer {
  background: var(--green-deeper);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { color: rgba(255,255,255,.6); font-size: .875rem; }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}

.footer-links a:hover { color: white; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .burger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--green-light);
    z-index: 99;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid var(--green-light);
    font-size: 1.05rem;
  }

  .site-header { position: sticky; }

  .hero { padding: 3rem 0 4rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

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


  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(-90deg);
    padding: 0;
    justify-self: center;
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .showcase-text { align-items: center; }

.footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-wrap { padding: 2rem 1rem; }
}

