/* ==================== ROOT TOKENS ==================== */
:root{
  --bg: #ffffff;
  --bg-2: #fafaf7;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --line: #ececec;
  --line-2: #f3f3f0;
  --coral: #FF6A2C;
  --coral-2: #FF8A47;
  --coral-3: #FFB088;
  --coral-soft: #FFE8D6;
  --coral-bg: #FFF4ED;
  --blue: #3B7FE8;
  --blue-2: #6FA8F5;
  --blue-3: #B8D1FF;
  --blue-soft: #E0EBFF;
  --blue-dark: #1E5BC6;
  --purple: #8B5CF6;
  --purple-2: #6D4FE0;
  --purple-soft: #EDE4FF;
  --green: #1F9A65;
  --dark-2: #141414;
  --dark-3: #1a1a1a;
  --wa-green: #25D366;
  --radius: 24px;
  --radius-lg: 32px;
  --maxw: 1280px;
  --grad-coral: linear-gradient(135deg, var(--coral) 0%, var(--coral-2) 50%, var(--coral-3) 100%);
  --grad-blue: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 60%, var(--blue-3) 100%);
  --shadow-sm: 0 1px 2px rgba(15,15,15,.04);
  --shadow: 0 4px 20px -4px rgba(15,15,15,.06);
  --shadow-lg: 0 12px 40px -8px rgba(15,15,15,.12);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}
em{font-family: 'Newsreader', serif; font-style: italic; font-weight: 400;}
a{color: inherit; text-decoration: none;}
img,svg{display:block;max-width:100%}
button{font: inherit; cursor: pointer; border: none; background: none; color: inherit;}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

code, pre, .terminal, .bs-num, .price-amount {
  font-family: 'JetBrains Mono', monospace;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== A11Y ==================== */
.skip-link{
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  transition: top .2s;
}
.skip-link:focus{top: 16px;}

*:focus-visible{
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible{outline-offset: 3px;}

.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--coral);
  z-index: 200;
  transition: width .1s linear;
  pointer-events: none;
}

/* ==================== ARABIC / RTL OVERRIDES ==================== */
html[dir="rtl"] body, [lang="ar"] {
  font-family: 'Tahoma', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6 !important;
  font-feature-settings: normal;
}
html[dir="rtl"] em{
  font-family: 'Tahoma', sans-serif;
  font-style: normal;
  font-weight: 600;
}
html[dir="rtl"] .nav{text-align: right;}
html[dir="rtl"] .doc-body{direction: rtl;}
html[dir="rtl"] .how-steps{flex-direction: row-reverse;}
html[dir="rtl"] .hero-actions{justify-content: center;}
html[dir="rtl"] .featured-card{text-align: right;}
html[dir="rtl"] .bs-card{text-align: right;}
html[dir="rtl"] .bs-role{text-align: right;}
html[dir="rtl"] .footer-inner{flex-direction: row-reverse;}
html[dir="rtl"] .quote{text-align: center;}
html[dir="rtl"] .nav-cta{flex-direction: row-reverse;}

/* ==================== BUTTONS ==================== */
.btn-coral, .btn-dark, .btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: all .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
}
.btn:active{transform: scale(0.98);}
.btn-coral{
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover{background: #e55a1f; transform: translateY(-1px);}
.btn-coral.lg{padding: 14px 26px; font-size: 15px;}
.btn-coral.sm{padding: 8px 16px; font-size: 13px;}
.btn-coral.full{width: 100%;}

.btn-dark{
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover{background: #000; transform: translateY(-1px);}
.btn-dark.lg{padding: 14px 26px; font-size: 15px;}

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover{background: var(--ink); color: #fff;}
.btn-ghost.lg{padding: 14px 26px; font-size: 15px;}
.btn-ghost.sm{padding: 8px 16px; font-size: 13px;}
.btn-ghost.full{width: 100%;}

/* ==================== NAV ==================== */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
}
.logo-icon{width: 30px; height: 30px;}
.logo-text{color: var(--ink);}

.nav-links{
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a{
  position: relative;
  padding: 4px 0;
  transition: opacity .2s;
}
.nav-links a:hover{opacity: .55;}

.nav-cta{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==================== HAMBURGER BUTTON & MOBILE OVERLAY ==================== */
.hamburger-btn {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  position: relative;
}
.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
}
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-menu-links a:hover {
  color: var(--coral);
  transform: scale(1.05);
}
.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 280px;
}
.mobile-menu-footer .btn-ghost,
.mobile-menu-footer .btn-coral {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.mobile-menu-footer .btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.mobile-menu-footer .btn-coral {
  background: var(--coral);
  color: #fff;
}
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Language switcher */
.lang-switch{
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-right: 4px;
}
.lang-btn{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: all .2s;
  letter-spacing: .04em;
}
.lang-btn:hover{color: var(--ink);}
.lang-btn.active{
  background: var(--ink);
  color: #fff;
}

/* ==================== MARQUEE ==================== */
.marquee{
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid var(--dark-3);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-group{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
}
.marquee-group .mdot{color: var(--coral); font-weight: 700;}

@keyframes marquee{
  from{transform: translateX(0);}
  to{transform: translateX(-50%);}
}
.marquee:hover .marquee-track{animation-play-state: paused;}

@media (prefers-reduced-motion: reduce){
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== HERO ==================== */
.hero{
  padding: 80px 0 60px;
  text-align: center;
  overflow-x: hidden;
}
.hero-tight{padding-top: 60px;}

.hero-title{
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title-md{
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 24px;
}
.icon-inline{
  display: inline-flex;
  width: 0.9em;
  height: 0.9em;
  vertical-align: middle;
  margin: 0 0.05em;
}
.icon-inline svg{width: 100%; height: 100%;}

/* Hero Character Animations */
.hero-char {
  animation: float-char 3s ease-in-out infinite;
}
.hero-char .left-eye {
  transform-origin: 11px 16px;
  animation: wink-eye 5s infinite;
}
@keyframes float-char {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes wink-eye {
  0%, 95%, 100% { transform: scaleY(1); }
  97.5% { transform: scaleY(0.1); }
}

.hero-sub{
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .8;
}
.hero-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-micro {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 14px;
  font-weight: 500;
}
.trust-micro svg {
  display: inline-block;
}

/* ==================== HERO BANNER ==================== */
.hero-banner{
  position: relative;
  margin-top: 64px;
  border-radius: var(--radius-lg);
  height: auto;
  aspect-ratio: 2134 / 737;
  overflow: hidden;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 1216px;
  display: block;
  padding: 0;
}
.hero-coral{background: var(--grad-coral);}
.hero-blue{background: var(--grad-blue);}

#feedback-banner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#feedback-banner .hero-slide-img {
  object-fit: contain;
}

.banner-art{
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img{
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 60%;
  max-width: 700px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.2));
  opacity: .95;
}
html[dir="rtl"] .banner-img{right: auto; left: -40px; transform: scaleX(-1);}

.art-shape{position: absolute; display: block;}
.b-arrow-l{width: 80px; height: 80px; top: 30%; left: 5%; transform: rotate(-15deg);}
.b-screen{width: 220px; height: 150px; top: 30px; right: 8%; transform: rotate(5deg); filter: drop-shadow(0 12px 24px rgba(0,0,0,.15));}
.b-bars{width: 120px; height: 90px; bottom: 30px; right: 30%; filter: drop-shadow(0 8px 16px rgba(0,0,0,.1));}
.b-dots-l{width: 40px; height: 40px; bottom: 30px; left: 6%; opacity: .7;}

/* ==================== FEATURE CARDS ==================== */
.banner-cards {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
  justify-content: center;
}

.cards-wrapper {
  display: flex;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 280px; /* viewport size for one card */
}

.cards-wrapper::-webkit-scrollbar {
  display: none;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 0 0 100% !important;
  min-width: 100%;
  box-shadow: 0 8px 24px -4px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  scroll-snap-align: start;
}
.fc-icon{
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fc-icon svg{width: 22px; height: 22px;}
.icon-coral{background: var(--coral-soft); color: var(--coral);}
.icon-blue{background: var(--blue-soft); color: var(--blue);}

.fc-body{flex: 1; min-width: 0;}
.fc-body h4{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.fc-body p{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.carousel-arrow{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--ink);
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  transition: all .2s;
}
.carousel-arrow:hover{transform: scale(1.05); background: var(--ink); color: #fff;}

.banner-dots{
  position: relative;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.banner-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--muted-2);
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-dots .dot:hover{
  opacity: 0.8;
}
.banner-dots .dot.active{
  width: 24px;
  border-radius: 4px;
  opacity: 1;
}

.hero[data-section="hero_skills"] .banner-dots .dot.active {
  background: var(--coral);
}
.hero[data-section="hero_connect"] .banner-dots .dot.active {
  background: var(--blue);
}

/* ==================== HERO 1 CORAL SLIDER ==================== */
/* Styles inherited from global .hero-banner */

.hero-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-slides-container::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  display: flex !important;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.hero-banner .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-banner .carousel-arrow.left {
  left: 24px;
}

.hero-banner .carousel-arrow.right {
  right: 24px;
}

@media (max-width: 640px) {
  .hero-banner.hero-coral,
  .hero-banner.hero-blue {
    margin-top: 32px;
  }
  .hero-banner .carousel-arrow {
    display: none;
  }
  .banner-dots {
    margin: 16px auto 0;
  }
}

/* ==================== SECTION ==================== */
.section{
  padding: 100px 0;
  position: relative;
  overflow-x: hidden;
}
.section-tight{padding: 80px 0;}
.section-eyebrow{
  font-size: 13px;
  color: var(--ink);
  opacity: .7;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ==================== HOW IT WORKS ==================== */
.how-title{
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-bottom: 48px;
  max-width: 700px;
}
.how-title em{color: var(--coral);}



.how-steps{
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.how-step{
  flex: 1;
  padding: 0 8px;
}
.hs-num{
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 12px;
}
html[dir="rtl"] .hs-num{font-family: 'Tahoma', sans-serif; font-style: normal;}
.how-step h4{
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}
.how-step p{
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .7;
}
.how-arrow{
  display: flex;
  align-items: center;
  color: var(--coral);
  flex-shrink: 0;
  align-self: center;
  width: 32px;
}
.how-arrow svg{width: 100%; height: 12px;}

/* ==================== FEATURED CARDS ==================== */
.section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.section-header .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-header .section-sub {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.55;
}
.skills-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(15,15,15,0.05);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.filter-btn:hover {
  background: rgba(15,15,15,0.1);
}
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.card-outputs {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15,15,15,0.1);
  font-weight: 500;
}
.skills-footer {
  text-align: center;
  margin-top: 48px;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.8;
}
.skills-footer .proof-text {
  display: block;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 12px;
}
.skills-footer .link-primary {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(59,127,232,0.3);
  text-underline-offset: 4px;
}
.skills-footer .link-primary:hover {
  text-decoration-color: var(--blue);
}

.featured-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  height: auto;
}
.featured-right{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.featured-card{
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.featured-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--coral-soft);
}
.featured-card:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}
.featured-card.big{height: 100%;}
.featured-card.small{height: 100%; min-height: 0;}

.fc-art{
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.art-coral{background: linear-gradient(135deg, var(--coral), var(--coral-2));}
.art-dark{background: linear-gradient(135deg, #1a1a1a, #0a0a0a);}
.art-purple{background: linear-gradient(135deg, var(--purple), var(--purple-2));}
.art-peach{background: linear-gradient(135deg, #FFB088, #FFD4B8);}
.art-amber{background: linear-gradient(135deg, #E89015, #F5A05A);}

.bg-shape{
  position: absolute;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.s-bg-1{width: 220px; height: 220px; top: -60px; right: -60px; background: rgba(255,255,255,.15);}
.s-bg-2{width: 140px; height: 140px; bottom: -40px; left: -40px; background: rgba(0,0,0,.1);}
.s-bg-3{width: 60px; height: 60px; top: 40%; left: 20%; background: rgba(255,255,255,.2);}
.s-bg-d1{width: 200px; height: 200px; top: -50px; right: -50px; background: rgba(255,255,255,.05);}
.s-bg-d2{width: 100px; height: 100px; bottom: -30px; left: -30px; background: rgba(255,255,255,.08);}
.s-bg-p1{width: 180px; height: 180px; top: -50px; right: -50px; background: rgba(255,255,255,.15);}
.s-bg-p2{width: 80px; height: 80px; bottom: -20px; left: -20px; background: rgba(0,0,0,.1);}
.s-bg-l1{width: 180px; height: 180px; top: -50px; right: -50px; background: rgba(255,255,255,.5);}
.s-bg-l2{width: 100px; height: 100px; bottom: -30px; left: -30px; background: rgba(255,255,255,.35);}
.s-bg-a1{width: 180px; height: 180px; top: -50px; right: -50px; background: rgba(255,255,255,.18);}
.s-bg-a2{width: 90px; height: 90px; bottom: -25px; left: -25px; background: rgba(255,255,255,.12);}

.bg-text{
  position: relative;
  z-index: 3;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  padding: 0 16px;
  line-height: 1.1;
}
.featured-card.small .bg-text {
  font-size: 26px;
}
.bg-icons{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 1;
}
.bg-icon{
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
}
.bg-icon svg{width: 18px; height: 18px;}

.card-tag{
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9.5px;
  padding: 3px 8px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
html[dir="rtl"] .card-tag{
  left: auto;
  right: 12px;
}
.card-tag.dark{background: rgba(0,0,0,.4); color: #fff; border: 1px solid rgba(255,255,255,.1);}

.featured-card.big .card-foot {
  padding: 20px 24px 24px;
}
.featured-card.small .card-foot {
  padding: 12px 14px 14px;
}

.featured-card.big h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.015em;
}
.featured-card.small h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.featured-card.big p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.featured-card.small p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.featured-card.big .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: -.005em;
  transition: gap .2s;
}
.featured-card.small .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: -.005em;
  transition: gap .2s;
}
.featured-card:hover .card-cta{gap: 10px;}
.card-cta .cta-arrow{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .2s;
}
.featured-card:hover .card-cta .cta-arrow{transform: translateX(2px);}
html[dir="rtl"] .featured-card:hover .card-cta .cta-arrow{transform: translateX(-2px) scaleX(-1);}
html[dir="rtl"] .card-cta .cta-arrow{transform: scaleX(-1);}

/* ==================== QUOTE ==================== */
.quote{
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 32px;
}
.qmark{
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 120px;
  color: var(--coral);
  line-height: 1;
  display: block;
  margin-bottom: -40px;
  user-select: none;
}
html[dir="rtl"] .qmark{font-style: normal;}
.quote blockquote{
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 28px;
}
html[dir="rtl"] .quote blockquote{font-family: 'Tahoma', sans-serif; font-style: normal; font-weight: 500;}
.quote figcaption{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
html[dir="rtl"] .quote figcaption{text-align: right; flex-direction: row-reverse;}
.qavatar{
  width: 44px; height: 44px;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qavatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qname{font-size: 15px; font-weight: 700; letter-spacing: -.01em;}
.qrole{font-size: 12.5px; color: var(--muted); margin-top: 2px;}

/* ==================== STATS BENTO ==================== */
.bento-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}
.bs-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s;
}
.bs-card:hover{transform: translateY(-2px); box-shadow: var(--shadow);}
.bs-card:active{transform: scale(0.98); transition: transform 0.1s ease;}

.bs-big{grid-row: span 2;}
.bs-coral{
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  color: #fff;
  border-color: transparent;
}
.bs-num{
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}
.bs-num.sm{font-size: 48px;}
.bs-label{
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}
.bs-card p{
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}
.bs-coral p{color: rgba(255,255,255,.85);}

.bs-tall{grid-row: span 2;}
.bs-bars{
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  margin-top: 10px;
}
.bs-bars span{
  flex: 1;
  height: var(--h);
  background: var(--coral);
  border-radius: 3px 3px 0 0;
}

/* ==================== ROLES BENTO ==================== */
.bento-roles{
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 180px);
}
.bs-role{
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  text-align: left;
}
.role-emoji{
  font-size: 28px;
  width: 48px; height: 48px;
  background: var(--line-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.bs-role h4{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.bs-role p{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==================== SAMPLE (EN + AR) ==================== */
.sample-grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sample-card{
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--dark-3);
}
.sample-card.ar{font-family: 'Tahoma', sans-serif;}
.doc-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-3);
}
.doc-icon{
  width: 42px; height: 42px;
  background: var(--coral-bg);
  border: 1px solid var(--coral-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.ar-icon{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1);}
.doc-title{font-size: 15px; font-weight: 700; letter-spacing: -.01em;}
.doc-meta{font-size: 12px; color: var(--muted); margin-top: 2px;}
.doc-badge{
  margin-left: auto;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(31,154,101,.12);
  color: var(--green);
  border: 1px solid rgba(31,154,101,.2);
  border-radius: 999px;
  font-weight: 600;
}
.ar-badge{background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.1); margin-left: 0; margin-right: auto;}

.doc-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.doc-body h5{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--coral-2);
  font-weight: 700;
  margin-bottom: 4px;
}
.ar .doc-body h5{color: var(--coral-2);}
.doc-body p{
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}

/* ==================== SAMPLE CAROUSEL ==================== */
.sample-card.sample-carousel {
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  gap: 0;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
}

.sample-slides-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  cursor: -webkit-grab;
}

.sample-slides-container::-webkit-scrollbar {
  display: none;
}

.sample-slides-container.dragging {
  scroll-behavior: auto;
  cursor: grabbing;
  cursor: -webkit-grabbing;
  user-select: none;
  -webkit-user-select: none;
}

.sample-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.sample-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.sample-page-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
}

[dir="rtl"] .sample-page-badge {
  right: auto;
  left: 16px;
}

.sample-card.sample-carousel:hover .sample-page-badge {
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.sample-progress-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sample-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 33.333%;
  height: 100%;
  background: var(--coral-2);
  border-radius: 999px;
  transform-origin: left center;
  transition: transform 0.1s ease-out;
}

[dir="rtl"] .sample-progress-fill {
  left: auto;
  right: 0;
  transform-origin: right center;
}

.copy-boxes-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.copy-field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  max-width: 480px;
  width: 100%;
}
html[dir="rtl"] .copy-field-group {
  align-items: flex-start;
  text-align: right;
}
.copy-field-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.copy-field-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--coral);
}
.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.copy-box:hover {
  border-color: var(--coral);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 106, 44, 0.08);
  transform: translateY(-1px);
}
.copy-box:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.copy-box .copy-text {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
  padding-right: 12px;
  flex: 1;
  min-width: 0;
}
html[dir="rtl"] .copy-box .copy-text {
  padding-right: 0;
  padding-left: 12px;
}
.copy-box .copy-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.copy-box:hover .copy-btn {
  color: var(--coral);
  background: var(--coral-soft);
}
.copy-box.copied {
  border-color: var(--green);
  background: rgba(31, 154, 101, 0.04);
  box-shadow: 0 4px 12px rgba(31, 154, 101, 0.08);
}
.copy-box.copied .copy-btn {
  color: var(--green);
  background: rgba(31, 154, 101, 0.1);
}

@media (max-width: 768px) {
  .copy-boxes-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .copy-field-group {
    max-width: 100%;
  }
}

/* ==================== PRICING ==================== */
.price-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .2s;
}
.price-card:hover{transform: translateY(-2px); box-shadow: var(--shadow);}
.price-card:active{transform: scale(0.98); transition: transform 0.1s ease;}

.price-card h4{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.price-amount{
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.best-for {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coral);
  margin-bottom: 12px;
  display: block;
}
.price-highlight .best-for {
  color: #fff;
  opacity: 0.8;
}
.price-amount span{
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.price-card p{
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 24px;
  flex: 1;
}
.price-highlight{
  background: var(--ink) !important;
  color: #fff;
  border-color: var(--ink) !important;
}
.price-highlight h4, .price-highlight .price-amount{color: #fff;}
.price-highlight p{color: rgba(255,255,255,.7);}
.price-highlight .price-amount span{color: rgba(255,255,255,.5);}
.pop{
  display: inline-block;
  align-self: flex-start;
  position: relative;
  top: auto; right: auto;
  margin-bottom: 12px;
  width: max-content;
  font-size: 10px;
  padding: 4px 10px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ==================== FAQ ==================== */
.faq-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  transition: all .2s;
}
.faq-item[open]{background: var(--bg-2);}
.faq-item summary{
  list-style: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker{display: none;}
.faq-item summary::after{
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .3s;
}
.faq-item[open] summary::after{content: '−';}
.faq-item p{
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .7;
}

/* ==================== FINAL CTA ==================== */
.final-section{padding: 40px 0 80px;}
.final-cta{
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before{
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,93,47,.15) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2{
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
}
.final-cta h2 em{color: var(--coral-2);}
.final-cta p{
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 580px;
  margin: 0 auto 32px;
  position: relative;
}
.final-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.final-cta .btn-ghost{
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.final-cta .btn-ghost:hover{background: #fff; color: var(--ink);}

/* ==================== FOOTER ==================== */
.footer{
  background: #fff;
  border-top: 1px solid var(--line-2);
  padding: 32px 0;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner span{
  font-size: 13px;
  color: var(--muted);
}
.footer-loc{font-weight: 500; color: var(--ink-2) !important;}

/* ==================== MODAL ==================== */
.modal{
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 520px;
  width: calc(100vw - 32px);
  max-height: 90vh;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px -8px rgba(0,0,0,.4);
  overflow: hidden;
  margin: auto;
}
.modal::backdrop{
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}
.modal[open]{display: flex; flex-direction: column;}

.modal-form{
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}
.modal-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.modal-head h3{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 4px;
}
.modal-head p{
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}
.modal-close{
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .2s;
}
.modal-close:hover{background: var(--bg-2); color: var(--ink);}

.modal-body{
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.form-row .opt{
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  font-weight: 500;
  font-size: 11px;
}
.form-row input,
.form-row select{
  font: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.form-row input:focus,
.form-row select:focus{
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,47,.15);
}
.form-row input:invalid:not(:placeholder-shown){border-color: var(--coral);}
.form-row select{appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%236b6b6b'><path d='M3 5l3 3 3-3' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;}

.radio-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-pill{
  position: relative;
  flex: 1;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  transition: all .15s;
}
.radio-pill input{position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; pointer-events: none;}
.radio-pill:has(input:checked){
  background: var(--coral-bg);
  border-color: var(--coral);
  color: var(--coral);
}
.radio-pill:hover{border-color: var(--coral-soft);}

.modal-foot{
  padding: 16px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-foot .btn-coral{padding: 12px 20px; font-size: 14px;}
.modal-foot .btn-ghost{padding: 11px 18px; font-size: 14px; gap: 8px;}

.whatsapp-link{
  background: var(--wa-green) !important;
  color: #fff !important;
  border-color: var(--wa-green) !important;
}
.whatsapp-link:hover{background: #1ebd5a !important;}

.modal-fine{
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

.modal-success{
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
}
.modal-success[hidden]{display: none;}
.success-icon{
  width: 64px; height: 64px;
  background: var(--coral-bg);
  color: var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
}
.modal-success h3{
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.modal-success p{
  font-size: 14.5px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.5;
}
.modal-success .btn-coral{margin-top: 8px;}

/* RTL modal */
html[dir="rtl"] .modal-head{flex-direction: row-reverse;}
html[dir="rtl"] .doc-head{flex-direction: row-reverse;}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px){
  .featured-grid{
    grid-template-columns: 1fr;
    grid-template-rows: 420px auto;
    height: auto;
  }
  .featured-right{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .featured-card.big{height: 420px;}
  .featured-card.small{min-height: 230px;}

  .bento-stats{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bs-big, .bs-tall{grid-row: span 1;}
  .bento-roles{grid-template-columns: repeat(2, 1fr);}

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

  .feature-card{min-width: 220px; max-width: 240px; padding: 14px 16px;}
  .fc-body h4{font-size: 14px;}
  .fc-body p{font-size: 12px;}

  .banner-img{width: 50%;}

  .how-steps{flex-direction: column; gap: 0; padding: 24px;}
  .how-arrow{transform: rotate(90deg); align-self: center; padding: 8px 0;}
}

@media (max-width: 640px){
  .nav-links{display: none;}
  .nav-cta .btn-ghost{display: none;}
  .nav-cta .btn-coral{display: none;} /* Hide long CTA button on mobile header to avoid overlaps */
  .hamburger-btn {display: flex;} /* Show Hamburger menu button on mobile viewports */
  .nav-inner{padding: 14px 20px;}
  .container{padding: 0 20px;}

  .hero{padding: 50px 0 40px;}
  .section{padding: 60px 0;}
  .section-tight{padding: 50px 0;}

  .hero-banner{
    margin-top: 40px;
    aspect-ratio: 2134 / 737 !important; /* Matches original slide image aspect ratio to avoid any cropping */
  }
  #feedback-banner {
    aspect-ratio: 2134 / 737 !important; /* Matches original feedback image aspect ratio to avoid any cropping */
  }
  .hero-slide-img {
    object-fit: contain !important; /* Ensures the image is fully visible without any cropping */
  }
  .sample-slide-img {
    object-fit: contain !important; /* Ensures the guide images are fully visible without cropping */
  }
  .banner-cards {
    bottom: 40px;
    width: 100%;
    padding: 0 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .cards-wrapper {
    width: 100%;
  }
  .feature-card {
    flex: 0 0 100% !important;
    min-width: 100%;
  }
  .carousel-arrow {
    display: none;
  }

  .banner-img{display: none;}

  .featured-grid{grid-template-columns: 1fr; grid-template-rows: 390px auto; height: auto;}
  .featured-card.big{height: 390px; min-height: 0;}
  .featured-right{grid-template-columns: 1fr; grid-template-rows: repeat(4, auto);}
  .featured-card.small{min-height: 215px;}
  .bg-text {
    font-size: 32px;
  }
  .featured-card.small .bg-text {
    font-size: 22px;
  }
  .bg-icons {
    bottom: 12px;
  }
  .bg-icon {
    width: 28px;
    height: 28px;
  }
  .bg-icon svg {
    width: 14px;
    height: 14px;
  }

  .bento-stats, .bento-roles{grid-template-columns: 1fr; grid-template-rows: auto;}
  .doc-body{grid-template-columns: 1fr;}

  .price-grid{grid-template-columns: 1fr;}
  .sample-card{padding: 24px;}

  .hero-title{font-size: 30px; line-height: 1.15; letter-spacing: -0.01em;}
  .hero-title-md{font-size: 26px; line-height: 1.2; letter-spacing: -0.01em;}

  .how-title span, .how-title em {
    display: block;
    white-space: normal;
  }
  .wrap-mobile {
    white-space: normal !important;
  }

  .quote{padding: 0 16px;}
  .qmark{font-size: 80px; margin-bottom: -28px;}

  .final-cta{padding: 50px 24px;}
  .footer-inner{flex-direction: column; text-align: center;}

  .lang-switch{margin-right: 0;}
  .modal{margin: 16px; width: calc(100vw - 32px);}
  .modal-head, .modal-body, .modal-foot{padding-left: 20px; padding-right: 20px;}
}

/* Checkbox grid & pill styles for Demo Modal */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.checkbox-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all .15s;
  user-select: none;
  background: #fff;
}
.checkbox-pill input[type="checkbox"] {
  accent-color: var(--coral);
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}
.checkbox-pill:has(input[type="checkbox"]:checked) {
  background: var(--coral-bg);
  border-color: var(--coral);
  color: var(--coral);
}
.checkbox-pill:hover {
  border-color: var(--coral-soft);
}

/* RTL styles for select arrow and checkbox pill layout */
html[dir="rtl"] .checkbox-pill {
  flex-direction: row;
}
html[dir="rtl"] .form-row select {
  background-position: left 12px center;
  padding-left: 36px;
  padding-right: 14px;
}

/* Modal Form success active state */
.modal-form.success-active {
  min-height: 380px;
}
.modal-form.success-active > :not(.modal-success) {
  display: none !important;
}

/* Form Error Styling */
.form-error {
  color: var(--coral);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

/* Honeypot field reset to prevent layout shift and horizontal scroll issues in RTL */
input[name="website_confirm"] {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
