@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --bg-dark: #F4F1E8;
  --bg-darker: #E7E2D2;
  --bg-card: #FFFFFF;
  --border-color: rgba(15, 23, 42, 0.1);
  
  --text-primary: #0B2A29;
  --text-secondary: #3F5654;
  --text-muted: #8FA09E;
  
  --color-teal: #113B3A;
  --color-blue: #113B3A;
  
  --color-lime: #D8F36A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-teal);
}

/* --- Global Utilities & Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--color-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #12408F;
  transform: translateY(-2px);

}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  background: rgba(17, 59, 58, 0.05);
  transform: translateY(-2px);
}

/* --- Top Moving Announcement & Promo Ticker Bar --- */
.top-announcement-bar {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #071716 0%, #113B3A 50%, #071716 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 102;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.top-announcement-bar.dismissed {
  max-height: 0;
  height: 0;
  opacity: 0;
  border-bottom: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.announcement-track-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-inline-start: 24px;
  padding-inline-end: 52px;
  mask-image: linear-gradient(90deg, transparent 0%, black 36px, black calc(100% - 52px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 36px, black calc(100% - 52px), transparent 100%);
}

.announcement-marquee {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  animation: announcementTickerRTL 36s linear infinite;
  will-change: transform;
}

.top-announcement-bar:hover .announcement-marquee {
  animation-play-state: paused;
}

@keyframes announcementTickerRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

@keyframes announcementTickerLTR {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

html[lang="en"] .announcement-marquee,
body:not(.rtl) .announcement-marquee {
  animation-name: announcementTickerLTR;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #E2E8F0;
  font-weight: 500;
}

.announcement-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.announcement-badge.promo {
  background: rgba(216, 243, 106, 0.18);
  color: #D8F36A;
  border-color: rgba(216, 243, 106, 0.4);
}

.announcement-badge.business {
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.4);
}

.announcement-text {
  font-size: 0.83rem;
  line-height: 1;
}

.announcement-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

.announcement-link {
  color: #D8F36A;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  margin-inline-start: 4px;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.announcement-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.announcement-dot {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
}

/* Promo Code Button */
.promo-code-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(216, 243, 106, 0.15);
  border: 1px dashed #D8F36A;
  color: #D8F36A;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.18s ease;
}
.promo-code-btn:hover {
  background: rgba(216, 243, 106, 0.28);
  transform: translateY(-1px);
}
.promo-code-btn:active {
  transform: translateY(0);
}

.promo-code-btn .copy-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.copied-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.promo-code-btn.copied .copied-tooltip {
  opacity: 1;
}

/* Dismiss Button */
.announcement-dismiss-btn {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 34, 33, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.announcement-dismiss-btn:hover {
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- Navigation Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 0;
}

.nav-bar-wrapper {
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

header.scrolled .nav-bar-wrapper {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #113B3A; /* same navy as the logo mark */
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-switch:hover {
  border-color: var(--color-teal);
  background: rgba(17, 59, 58, 0.1);
}

/* --- Hero Section --- */
.hero {
  padding-top: 10rem;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .9rem .35rem .4rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: rgba(216, 243, 106, .4);
  border: 1px solid rgba(17, 59, 58, .16);
  color: #113B3A;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.hero-pill:hover { background: rgba(216, 243, 106, .65); transform: translateY(-1px); }
.hero-pill-badge {
  padding: .1rem .6rem;
  border-radius: 999px;
  background: #113B3A;
  color: #D8F36A;
  font-size: .78rem;
}
body.rtl .hero-pill { padding: .35rem .4rem .35rem .9rem; }

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-img-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 30px rgba(17, 59, 58, 0.1);
  border: 1px solid var(--border-color);
  position: relative;
}

.hero-img-container img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img-container:hover img {
  transform: scale(1.03);
}


/* --- Hero dashboard preview --- */
.mock-window {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.mock-url {
  flex-grow: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #FFFFFF;
  border-radius: 6px;
  padding: 0.2rem 0;
  direction: ltr;
}

.mock-body {
  padding: 1.4rem;
}

.mock-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mock-stat {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mock-stat small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mock-stat strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-primary);
}

.mock-stat:nth-child(2) strong {
  color: #1DA851;
}

.mock-chart {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0.75rem;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
}

.mock-chart span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: var(--color-blue);
  transform-origin: bottom;
  animation: barGrow 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.mock-chart span:nth-child(2) { animation-delay: 0.08s; }
.mock-chart span:nth-child(3) { animation-delay: 0.16s; }
.mock-chart span:nth-child(4) { animation-delay: 0.24s; }
.mock-chart span:nth-child(5) { animation-delay: 0.32s; }
.mock-chart span:nth-child(6) { animation-delay: 0.4s; }
.mock-chart span:nth-child(7) { animation-delay: 0.48s; }

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.mock-rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-rows li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-dark);
}

.mock-rows li span:nth-child(2) {
  flex-grow: 1;
}

.mock-rows em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1DA851;
  background: rgba(37, 211, 102, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.mock-rows em.wait {
  color: var(--color-blue);
  background: rgba(17, 59, 58, 0.08);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-dot.ok { background: #25D366; }
.mock-dot.wait { background: var(--color-blue); }

.mock-toast {
  position: absolute;
  z-index: 3;
  bottom: -1.5rem;
  inset-inline-end: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 290px;
  padding: 0.8rem 1rem;
  background: #FFFFFF;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  animation: toastFloat 4s ease-in-out infinite;
}

.mock-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-toast div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.mock-toast strong {
  font-size: 0.8rem;
  color: #1DA851;
}

.mock-toast small {
  font-size: 0.8rem;
  color: var(--text-primary);
}

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

@media (max-width: 640px) {
  .mock-body {
    padding: 1rem;
  }

  .mock-stat strong {
    font-size: 1.1rem;
  }

  .mock-toast {
    position: relative;
    inset-inline-end: auto;
    bottom: auto;
    margin: -1rem auto 0;
  }
}

/* --- Project Planner Interactive Form --- */
.planner-section {
  padding: 6rem 0;
  background: var(--bg-darker);
  position: relative;
}

.planner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.planner-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.planner-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 2;
  transition: var(--transition-smooth);
}

.step-indicator.active {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.step-indicator.completed {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: white;
}

.planner-step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.planner-step.active {
  display: block;
}

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

.planner-step h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-box:hover {
  border-color: var(--color-teal);
  background: rgba(17, 59, 58, 0.04);
}

.option-box.selected {
  border-color: var(--color-blue);
  background: rgba(17, 59, 58, 0.05);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.option-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.planner-form-group {
  margin-bottom: 1.5rem;
}

.planner-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.planner-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.planner-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(17, 59, 58, 0.12);
}

textarea.planner-input {
  resize: vertical;
  min-height: 120px;
}

/* Range slider styling */
.range-container {
  margin: 2rem 0;
  text-align: center;
}

.range-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-teal);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.1);
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-teal);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--color-blue);
}

.planner-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

/* --- Footer --- */
footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.footer-bottom a:hover {
  color: var(--color-teal);
  text-decoration: underline;
}

/* --- RTL (Arabic Support) Styles --- */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .logo-img {
  margin-left: 0.75rem;
  margin-right: 0;
}

body.rtl .nav-links {
  gap: 2rem;
}



/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content h1 {
    white-space: normal;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile nav toggle could be added, but for elegance we can let them collapse or wrap */
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    white-space: normal;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Header actions --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* --- Shared section pieces --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(17, 59, 58, 0.08);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-header .eyebrow {
  margin-bottom: 0.75rem;
}

.sub-heading {
  font-size: 1.6rem;
  text-align: center;
  margin: 4.5rem 0 2rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: rgba(17, 59, 58, 0.12);
  color: var(--color-teal);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-wa li::before {
  background: rgba(37, 211, 102, 0.15);
  color: #128C7E;
}

/* --- Hero trust points --- */
.trust-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
}

.trust-points li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-points li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: 700;
  margin-inline-end: 0.4rem;
}

/* --- Services --- */
.services {
  padding: 6rem 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 59, 58, 0.35);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F1F5F9;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-card > p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* --- WhatsApp Business Automation --- */
.wa-section {
  padding: 6rem 0;
  background: #F2F8F4;
  border-top: 1px solid rgba(37, 211, 102, 0.15);
}

.eyebrow-wa {
  background: rgba(37, 211, 102, 0.14);
  color: #128C7E;
}

.wa-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.wa-hero-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.wa-hero-text > p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.wa-chip {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-wa {
  background: #1DA851;
  color: #FFFFFF;
}

.btn-wa:hover {
  background: #178F45;
  transform: translateY(-2px);
}

/* System -> VEEN -> WhatsApp flow */
.wa-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.flow-node {
  width: 100%;
  max-width: 280px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-dark);
}

.flow-icon,
.flow-logo {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}

.flow-node strong {
  font-size: 1rem;
}

.flow-node small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.flow-node-brand {
  border-color: rgba(17, 59, 58, 0.35);
  background: rgba(17, 59, 58, 0.05);
}

.flow-node-wa {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.08);
}

.flow-arrow {
  width: 2px;
  height: 34px;
  background: var(--color-blue);
  position: relative;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-blue);
  border-bottom: 0;
}

/* Message types with phone mockups */
.wa-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wa-type-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.8rem 1.6rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wa-type-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.phone-mock {
  margin: 1.75rem auto 0;
  width: 100%;
  max-width: 250px;
  flex-grow: 1;
  border: 6px solid #1F2937;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #ECE5DD;
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #075E54;
  color: #FFFFFF;
}

.phone-top div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.phone-top strong {
  font-size: 0.85rem;
}

.phone-top small {
  font-size: 0.65rem;
  opacity: 0.85;
}

.phone-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-blue);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-chat {
  padding: 0.9rem 0.75rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 150px;
}

.bubble {
  align-self: flex-start;
  max-width: 88%;
  background: #FFFFFF;
  color: #111B21;
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border-start-start-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.bubble-out {
  align-self: flex-end;
  background: #D9FDD3;
  border-start-start-radius: 10px;
  border-start-end-radius: 2px;
}

.bubble-btns {
  align-self: flex-start;
  width: 88%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bubble-btns span {
  background: #FFFFFF;
  color: #113B3A;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

/* Features grid */
.wa-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.wa-feature {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
  transition: var(--transition-smooth);
}

.wa-feature:hover {
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateY(-4px);
}

.wa-feature-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.75rem;
}

.wa-feature h4 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.wa-feature p {
  font-size: 0.87rem;
  line-height: 1.6;
}

/* Integration callout */
.wa-integration {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.wa-integration h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.wa-integration .check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}

.wa-integration .check-list li {
  color: var(--text-primary);
}

.wa-integration .btn {
  flex-shrink: 0;
}

/* --- How We Work --- */
.process {
  padding: 6rem 0;
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.process-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* --- Planner additions --- */
.step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.range-hint {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
  padding: 6rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 1.4rem;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: rgba(17, 59, 58, 0.3);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 1.2rem;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .service-cards,
  .wa-features,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 1.25rem;
  }
}

@media (max-width: 992px) {
  .wa-hero {
    grid-template-columns: 1fr;
  }

  .wa-types {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .wa-integration {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-points {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .service-cards,
  .wa-features,
  .process-steps,
  .wa-integration .check-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .options-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .section-header h2,
  .wa-hero-text h2 {
    font-size: 2rem;
  }

  .planner-card {
    padding: 1.75rem 1.25rem;
  }

  .wa-integration {
    padding: 1.75rem 1.25rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .lang-switch {
    padding: 0.4rem 0.6rem;
  }
}

/* --- Monthly plans (quote step 2) --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.plan-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  border-color: rgba(17, 59, 58, 0.4);
}

.plan-card.selected {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(17, 59, 58, 0.12);
}

.plan-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.plan-price strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-primary);
}

.plan-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-card .check-list li {
  font-size: 0.85rem;
}

.plan-tag {
  position: absolute;
  top: -0.7rem;
  inset-inline-start: 1rem;
  background: var(--color-blue);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

/* --- Submit success with tracking number --- */
.success-box {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #1DA851;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-box h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.success-box p {
  max-width: 480px;
  margin: 0 auto;
}

.tracking-box {
  margin: 1.75rem auto;
  max-width: 340px;
  padding: 1.1rem;
  border: 1.5px dashed var(--color-blue);
  border-radius: 12px;
  background: rgba(17, 59, 58, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tracking-box small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tracking-box strong {
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--color-blue);
}

.success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Request tracking --- */
.track-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6F5 100%);
  border-top: 1px solid rgba(17, 59, 58, 0.08);
  border-bottom: 1px solid rgba(17, 59, 58, 0.08);
  position: relative;
}

.track-card {
  max-width: 660px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(17, 59, 58, 0.12);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 16px 40px -10px rgba(17, 59, 58, 0.08);
  transition: box-shadow 0.25s ease;
}

.track-card:hover {
  box-shadow: 0 20px 48px -10px rgba(17, 59, 58, 0.12);
}

.track-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.track-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #113B3A;
  margin: 0 0 4px;
}

.track-card-desc {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.track-form {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.track-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.track-input-icon {
  position: absolute;
  inset-inline-start: 16px;
  color: #94A3B8;
  pointer-events: none;
}

.track-input {
  width: 100%;
  height: 52px;
  padding-inline-start: 46px;
  padding-inline-end: 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  font-size: 1.15rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #113B3A;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.track-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  outline: none;
  background: #FFFFFF;
}

.track-btn {
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-btn svg {
  transition: transform 0.2s ease;
}
html:not([lang="en"]) .track-btn:hover svg,
body.rtl .track-btn:hover svg {
  transform: translateX(-3px);
}
html[lang="en"] .track-btn:hover svg,
body:not(.rtl) .track-btn:hover svg {
  transform: translateX(3px);
}

.track-preview-steps {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.track-steps-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 12px;
}

.track-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.track-step-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
}

.track-step-item.active {
  color: #113B3A;
  font-weight: 700;
}

.track-step-item .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
}

.track-step-item.active .step-dot {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.track-step-line {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  min-width: 12px;
}

.track-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748B;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

.track-card-footer svg {
  color: #113B3A;
  flex-shrink: 0;
}

.track-card-footer a {
  color: #113B3A;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.track-card-footer a:hover {
  color: #164e4d;
}

.track-result {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.track-msg {
  text-align: center;
}

.track-msg-error {
  color: #C0392B;
}

.track-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.track-head strong {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.status-badge {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(17, 59, 58, 0.08);
  color: var(--color-blue);
}

.status-badge.status-in_progress { background: rgba(245, 158, 11, 0.12); color: #B45309; }
.status-badge.status-done { background: rgba(37, 211, 102, 0.15); color: #15803D; }
.status-badge.status-closed { background: rgba(100, 116, 139, 0.12); color: #475569; }

.status-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.75rem;
  position: relative;
}

.status-timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  position: relative;
}

.status-timeline li::before {
  content: '';
  position: absolute;
  top: 8px;
  inset-inline-start: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.status-timeline li:last-child::before {
  display: none;
}

.status-timeline li.done::before {
  background: var(--color-blue);
}

.status-timeline .status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: #FFFFFF;
  position: relative;
  z-index: 1;
}

.status-timeline li.done .status-dot,
.status-timeline li.current .status-dot {
  border-color: var(--color-blue);
  background: var(--color-blue);
}

.status-timeline li.current {
  color: var(--text-primary);
  font-weight: 600;
}

.status-closed {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--bg-darker);
  color: var(--text-secondary);
  text-align: center;
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.track-meta div {
  background: var(--bg-dark);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.track-meta dt {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.track-meta dd {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.track-reply {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.track-reply h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.track-reply-text {
  color: var(--text-primary);
  white-space: pre-wrap;
}

.track-reply-empty {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .plans-grid,
  .track-meta {
    grid-template-columns: 1fr;
  }

  .track-form {
    flex-direction: column;
  }

  .track-card {
    padding: 1.4rem 1.1rem;
  }

  .status-timeline li {
    font-size: 0.72rem;
  }
}

/* --- Monochrome line icons (replace emoji) --- */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mock-toast-icon .icon,
.flow-icon .icon {
  width: 20px;
  height: 20px;
}

.option-icon,
.wa-feature-icon,
.flow-icon {
  color: var(--text-primary);
}

.option-icon {
  display: flex;
  justify-content: center;
}

.wa-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keep section titles clear of the fixed header when scrolled to */
section[id] {
  scroll-margin-top: 70px;
}

/* Header menu: tighten, then hide links before they collide with the buttons */
@media (max-width: 1200px) {
  .nav-links {
    gap: 1.1rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

.track-form .btn {
  white-space: nowrap;
}


/* --- Services Hover Dropdown --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 59, 58, 0.12);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-menu a {
  text-decoration: none !important;
  padding: 0.6rem 0.85rem !important;
  border-radius: 9px;
  font-size: 0.92rem !important;
  color: var(--text-primary) !important;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-darker);
  color: var(--color-teal) !important;
}


.nav-account-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  min-width: 270px;
  background: #FFFFFF !important;
  border: 1px solid rgba(17, 59, 58, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(17, 59, 58, 0.12), 0 2px 6px rgba(17, 59, 58, 0.04) !important;
  padding: 8px !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-account-head {
  padding: 8px 10px 12px;
  border-bottom: 1px solid rgba(17, 59, 58, 0.08);
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-account-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-acc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #113B3A 0%, #10B981 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
  font-family: inherit;
}

.nav-account-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.nav-acc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #113B3A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.nav-acc-email {
  font-size: 0.76rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.nav-account-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}

.nav-acc-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap !important;
}

.nav-acc-usage {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
}

.nav-account-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-account-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  border-radius: 8px;
  color: #334155 !important;
  font-size: 0.88rem !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-account-link:hover {
  background: #F8FAF9 !important;
  color: #113B3A !important;
}

.nav-acc-icon {
  color: #64748B;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.nav-account-link:hover .nav-acc-icon {
  color: #10B981;
}

.nav-acc-arrow {
  margin-inline-start: auto;
  color: #94A3B8;
  transition: transform 0.15s ease, color 0.15s ease;
}

body.rtl .nav-acc-arrow {
  transform: rotate(180deg);
}

.nav-account-link:hover .nav-acc-arrow {
  color: #10B981;
}

.nav-account-foot {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(17, 59, 58, 0.08);
}

.nav-acc-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #DC2626;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: start;
}

.nav-acc-logout-btn .nav-acc-icon {
  color: #DC2626;
}

.nav-acc-logout-btn:hover {
  background: #FEF2F2;
  color: #B91C1C;
}

.nav-acc-logout-btn:hover .nav-acc-icon {
  color: #B91C1C;
}


/* ========================================================
   veen Cloud Storage & CDN Section
   ======================================================== */
.cloud-showcase-section {
  padding: 6.5rem 0;
  background: #F4F8F7;
  border-top: 1px solid rgba(17, 59, 58, 0.1);
  position: relative;
  overflow: hidden;
}

.eyebrow-cloud {
  background: rgba(17, 59, 58, 0.1);
  color: #113B3A;
  border: 1px solid rgba(17, 59, 58, 0.18);
}

.flow-node-cloud {
  border-color: rgba(17, 59, 58, 0.35);
  background: rgba(216, 243, 106, 0.15);
}

.flow-node-cloud .flow-icon {
  background: #113B3A;
  color: #D8F36A;
}

.cloud-cta-banner {
  margin-top: 3.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(17, 59, 58, 0.05);
}

.cloud-cta-banner h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: #113B3A;
}

.cloud-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .cloud-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}
  }
}


/* --- Modern Auth Card & Google Sign-In Button --- */
.auth-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 20px;
  padding: 2.25rem 2rem 1.85rem;
  box-shadow: 0 25px 60px rgba(17, 59, 58, 0.16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.auth-modal-close:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.auth-card-head {
  margin-bottom: 0.75rem;
}

.auth-card-head h1,
.auth-card-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #113B3A;
  margin: 0 0 4px;
}

.auth-card-head .muted {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.google-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 16px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.18s ease;
}

.google-auth-btn:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.google-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1rem 0 0.5rem;
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.auth-divider span {
  padding: 0 12px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.35rem;
}
.auth-field[hidden] {
  display: none !important;
}
.auth-field label {
  display: block;
  margin: 4px 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: #1E293B;
  text-align: start;
}
.auth-field input:not([type='checkbox']) {
  display: block;
  width: 100%;
  margin-top: 3px;
  font-family: inherit;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0F172A;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-field input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  outline: none;
}

.auth-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}
.auth-field-header label {
  margin: 0;
}
.auth-forgot-link {
  font-size: 0.82rem !important;
  color: #059669 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
  transition: color 0.15s ease;
}
.auth-forgot-link:hover {
  color: #113B3A !important;
  text-decoration: underline !important;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-input-wrap input {
  width: 100%;
  padding-right: 42px !important;
  padding-left: 14px !important;
}
.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 2;
}
.password-toggle-btn:hover {
  color: #113B3A;
  background: #F1F5F9;
}
.password-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 0.6rem;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  background: #113B3A;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}
.auth-submit-btn:hover {
  background: #0D2E2D;
  box-shadow: 0 4px 14px rgba(17, 59, 58, 0.25);
}

.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 0.88rem;
}

.auth-card-footer button {
  font-size: 0.88rem;
  color: #113B3A;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s;
}
.auth-card-footer button:hover {
  color: #059669;
  text-decoration: underline;
}

.auth-legal-notice {
  text-align: center;
  font-size: 0.77rem;
  color: #94A3B8;
  margin-top: 6px;
  line-height: 1.45;
}
.auth-legal-notice a {
  color: #64748B;
  text-decoration: underline;
}
.auth-legal-notice a:hover {
  color: #113B3A;
}

/* ========================================================
   Public Pricing Section (No Login Required)
   ======================================================== */
.public-pricing-section {
  padding: 5.5rem 0 6rem;
  background: #FFFFFF;
  border-top: 1px solid rgba(17, 59, 58, 0.08);
  border-bottom: 1px solid rgba(17, 59, 58, 0.08);
  position: relative;
}

.public-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 2.5rem;
}

.pub-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: right;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

html[lang="en"] .pub-plan-card,
body:not(.rtl) .pub-plan-card {
  text-align: left;
}

.pub-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 59, 58, 0.08);
  border-color: #CBD5E1;
}

.pub-plan-card.featured {
  border: 2px solid #10B981;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF8 100%);
  box-shadow: 0 12px 36px -10px rgba(16, 185, 129, 0.18);
  transform: scale(1.02);
}

.pub-plan-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.24);
}

.pub-plan-popular-ribbon {
  position: absolute;
  top: -13px;
  inset-inline-end: 24px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pub-plan-header {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #F1F5F9;
}

.pub-plan-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.pub-plan-badge.promo {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.pub-plan-badge.business {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
}

.pub-plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #113B3A;
  margin: 0 0 8px;
}

.pub-plan-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 18px;
  min-height: 40px;
}

.pub-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
html:not([lang="en"]) .pub-plan-price-wrap,
body.rtl .pub-plan-price-wrap {
  direction: ltr;
  justify-content: flex-end;
}

.pub-plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #113B3A;
}

.pub-plan-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: #113B3A;
  line-height: 1;
}

.pub-plan-custom-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #113B3A;
  line-height: 1;
}

.pub-plan-period {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-inline-start: 4px;
}

.pub-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.pub-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.pub-plan-features li strong {
  color: #113B3A;
}

.pub-check-icon {
  flex-shrink: 0;
  color: #10B981;
  margin-top: 3px;
}

.pub-plan-action {
  margin-top: auto;
}

.pub-plan-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.pub-pricing-bottom-note {
  margin-top: 36px;
  text-align: center;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 14px;
  max-width: 720px;
  margin-inline: auto;
}

.pub-pricing-bottom-note p {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
}

.pub-pricing-bottom-note a {
  color: #113B3A;
  font-weight: 700;
  text-decoration: none;
}

.pub-pricing-bottom-note a:hover {
  color: #10B981;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .public-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .pub-plan-card.featured {
    transform: none;
  }
  .pub-plan-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* Phones: the four tracking steps don't fit on one line, so lay them out as a 2x2 grid */
@media (max-width: 640px) {
  .track-steps-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }

  .track-step-line {
    display: none;
  }

  .track-step-item {
    white-space: normal;
  }
}

/* Phones: keep the header's sign-in button on one line */
#nav-login-btn {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .logo-img {
    height: 28px;
  }

  #nav-login-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* --- Flip cards: services and "how we work" show only the name; hover (or tap) turns the card over for the details --- */
.flip-card {
  perspective: 1200px;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  cursor: pointer;
  outline: none;
}
.flip-card::before { display: none !important; }
.flip-card:hover { transform: none !important; }
.flip-inner {
  display: grid;
  min-height: 250px;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.4, .2, .2, 1);
}
.flip-face {
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 6px 24px rgba(17, 59, 58, .05);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.flip-front { align-items: flex-start; justify-content: center; gap: .9rem; }
body.rtl .flip-front { align-items: flex-start; }
.flip-front h3, .flip-front h4 { margin: 0 !important; font-size: 1.25rem !important; line-height: 1.4; color: #113B3A; }
.flip-front .service-icon { margin-bottom: .4rem !important; }
.flip-front .career-step-top { width: 100%; }
.flip-hint { margin-top: auto; padding-top: .6rem; font-size: .78rem; font-weight: 600; color: #6B7C79; display: inline-flex; align-items: center; gap: .35rem; }
.flip-hint::before { content: '↻'; font-size: .95rem; }

.flip-back {
  transform: rotateY(180deg);
  background: #113B3A;
  border-color: #113B3A;
  color: #fff;
  justify-content: center;
}
.flip-back p, .flip-back .career-step-desc { color: rgba(255, 255, 255, .86) !important; margin: 0 0 1rem !important; }
.flip-back .check-list li { color: #fff !important; }
.flip-back .check-list li::before, .flip-back .check-list svg { color: #D8F36A !important; }
.flip-back .career-step-phase { color: #D8F36A !important; }
.flip-back .career-step-deliverable { background: rgba(216, 243, 106, .14) !important; border-color: rgba(216, 243, 106, .35) !important; color: #D8F36A !important; }
.flip-back .career-step-deliverable svg { color: #D8F36A !important; }
.flip-more { margin-top: 1rem; align-self: flex-start; color: #D8F36A; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(216, 243, 106, .5); }
.flip-more:hover { border-bottom-color: #D8F36A; }

.flip-card.is-flipped .flip-inner,
.flip-card:focus-visible .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}
.flip-card:focus-visible .flip-front { outline: 2px solid #113B3A; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}
@media (max-width: 1100px) {
  .flip-inner { min-height: 210px; }
}

.pub-plan-sar { margin: 6px 0 0; font-size: .8rem; opacity: .75; }
