/* landing-marketing.css - Professional landing page styles for Waitix */
/* Reuses brand colors from landing.css */

:root {
  --teal: #0bb3b0;
  --teal-dark: #099a97;
  --teal-light: #e6faf9;
  --orange: #ff6a3d;
  --orange-dark: #e55a2d;
  --orange-light: #fff1ec;
  --ink: #0b1418;
  --muted: #4b6670;
  --bg: #f7fbfb;
  --card: #ffffff;
  --stroke: #e5eef0;
  --shadow: 0 10px 30px rgba(11, 20, 24, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 20, 24, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--stroke);
  box-shadow: var(--shadow);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.brand-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.3px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 179, 176, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Toggle */
.lang-wrap {
  position: relative;
}

.lang-toggle {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-weight: 700;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--teal);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 110;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-menu button:hover {
  background: var(--teal-light);
}

.lang-menu button.cur {
  background: var(--teal-light);
  color: var(--teal-dark);
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(11, 179, 176, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 179, 176, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--stroke);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-tertiary {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--muted);
}

.btn-tertiary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  min-height: 100vh;
  padding: 120px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(11, 179, 176, 0.08), transparent 60%),
              radial-gradient(ellipse at 90% 60%, rgba(255, 106, 61, 0.06), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 540px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-title .highlight {
  color: var(--teal);
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 400px;
}

/* Phone Mockup in Hero */
.phone-mockup {
  width: 260px;
  padding: 12px;
  background: linear-gradient(145deg, #ffffff, #f0f4f4);
  border-radius: 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  padding: 16px;
  min-height: 420px;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 12px;
}

.mockup-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.mockup-header span {
  font-weight: 700;
  font-size: 14px;
}

.mockup-search {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.mockup-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  height: 80px;
  background: linear-gradient(135deg, #fff, var(--teal-light));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  animation: pulse 2s infinite ease-in-out;
  overflow: hidden;
}

.mockup-card img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--stroke);
  background: #fff;
  flex-shrink: 0;
}

.mockup-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-card:nth-child(2) {
  animation-delay: 0.3s;
}

.mockup-card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}

.floating-badge svg {
  width: 18px;
  height: 18px;
}

.badge-1 {
  top: 20%;
  left: -40px;
  color: var(--teal);
  animation-delay: 0s;
}

.badge-2 {
  bottom: 25%;
  right: -30px;
  color: var(--orange);
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========================================
   SECTIONS COMMON
======================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
  padding: 100px 20px;
  background: #fff;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.icon-teal {
  background: linear-gradient(135deg, var(--teal-light), #d0f4f3);
  color: var(--teal);
}

.icon-orange {
  background: linear-gradient(135deg, var(--orange-light), #ffd9cc);
  color: var(--orange);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
  padding: 100px 20px;
  background: var(--bg);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.step-visual {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: var(--teal-light);
  border-radius: var(--radius);
}

.step-visual svg {
  width: 40px;
  height: 40px;
  color: var(--teal);
}

.demo-cta {
  text-align: center;
  margin-top: 50px;
}

.demo-cta p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* ========================================
   PREVIEW SECTION
======================================== */
.preview {
  padding: 100px 20px;
  background: linear-gradient(180deg, #fff, var(--bg));
  overflow: hidden;
}

.preview-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.preview-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  perspective: 1000px;
}

.preview-phone {
  text-align: center;
}

.phone-frame {
  width: 200px;
  padding: 10px;
  background: linear-gradient(145deg, #e8ecec, #fff);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotateY(0deg);
  transition: transform var(--transition);
}

.phone-left .phone-frame {
  transform: rotateY(8deg) scale(0.9);
}

.phone-right .phone-frame {
  transform: rotateY(-8deg) scale(0.9);
}

.phone-center .phone-frame.featured {
  width: 240px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 10px;
}

.phone-content {
  background: var(--bg);
  border-radius: 24px;
  min-height: 340px;
  overflow: hidden;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.phone-center .phone-content {
  min-height: 400px;
}

.phone-label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* Screenshot Placeholders */
.screenshot-placeholder {
  padding: 16px;
  height: 100%;
}

.placeholder-header {
  height: 48px;
  background: linear-gradient(90deg, var(--teal-light), #fff);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.placeholder-search {
  height: 36px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.placeholder-card {
  height: 70px;
  background: linear-gradient(135deg, #fff, var(--teal-light));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
}

.placeholder-item-image {
  height: 120px;
  background: linear-gradient(135deg, var(--orange-light), #fff);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.placeholder-item-name {
  height: 20px;
  width: 70%;
  background: var(--stroke);
  border-radius: 4px;
  margin-bottom: 8px;
}

.placeholder-item-desc {
  height: 12px;
  width: 90%;
  background: var(--stroke);
  border-radius: 4px;
  margin-bottom: 6px;
}

.placeholder-item-mods {
  height: 40px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

.placeholder-item-btn {
  height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 999px;
  margin-top: auto;
}

.placeholder-order-status {
  height: 50px;
  background: linear-gradient(90deg, var(--teal-light), var(--orange-light));
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.placeholder-order-items {
  height: 160px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.placeholder-order-total {
  height: 50px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
}

/* ========================================
   FAQ SECTION
======================================== */
.faq {
  padding: 100px 20px;
  background: #fff;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer-name {
  display: block;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.powered-by {
  font-weight: 600;
  color: var(--teal) !important;
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.feature-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.feature-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

.step.fade-in:nth-child(2) { transition-delay: 0.15s; }
.step.fade-in:nth-child(3) { transition-delay: 0.3s; }

.preview-phone.fade-in:nth-child(1) { transition-delay: 0s; }
.preview-phone.fade-in:nth-child(2) { transition-delay: 0.15s; }
.preview-phone.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    max-width: 320px;
  }

  .badge-1 {
    left: -20px;
    top: 10%;
  }

  .badge-2 {
    right: -10px;
    bottom: 20%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--stroke);
    text-align: center;
  }

  .nav-links .nav-btn {
    margin-top: 10px;
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .step:hover {
    transform: translateY(-4px);
  }

  .step-visual {
    order: -1;
  }

  .preview-phones {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .phone-left .phone-frame,
  .phone-right .phone-frame {
    transform: none;
  }

  .phone-center .phone-frame.featured {
    transform: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section-title {
    font-size: 26px;
  }

  .phone-mockup,
  .phone-frame {
    width: 220px;
  }

  .phone-screen,
  .phone-content {
    min-height: 320px;
  }

  .floating-badge {
    font-size: 11px;
    padding: 8px 12px;
  }

  .floating-badge svg {
    width: 14px;
    height: 14px;
  }

  .badge-1 {
    left: 0;
  }

  .badge-2 {
    right: 0;
  }
}

/* ========================================
   RTL Support
======================================== */
html[dir="rtl"],
body[dir="rtl"],
[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body,
body[dir="rtl"] {
  text-align: right;
}

/* Navbar RTL */
[dir="rtl"] .navbar-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

/* Hero RTL */
[dir="rtl"] .hero {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .hero-cta {
  justify-content: flex-start;
}

[dir="rtl"] .badge-1 {
  left: auto;
  right: -40px;
}

[dir="rtl"] .badge-2 {
  right: auto;
  left: -30px;
}

[dir="rtl"] .floating-badge {
  flex-direction: row-reverse;
}

/* Phone mockup RTL */
[dir="rtl"] .mockup-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .mockup-card {
  flex-direction: row-reverse;
}

/* Features RTL */
[dir="rtl"] .feature-card {
  text-align: right;
}

/* Steps RTL */
[dir="rtl"] .step {
  flex-direction: row-reverse;
}

[dir="rtl"] .step-content {
  text-align: right;
}

[dir="rtl"] .step:hover {
  transform: translateX(-8px);
}

/* FAQ RTL */
[dir="rtl"] .faq-item summary {
  flex-direction: row-reverse;
}

[dir="rtl"] .faq-answer {
  text-align: right;
}

/* Footer RTL */
[dir="rtl"] .footer-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-brand {
  text-align: right;
}

[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-col {
  text-align: right;
}

[dir="rtl"] .footer-col a {
  text-align: right;
}

/* Preview phones RTL */
[dir="rtl"] .preview-phones {
  flex-direction: row-reverse;
}

[dir="rtl"] .phone-left .phone-frame {
  transform: rotateY(-8deg) scale(0.9);
}

[dir="rtl"] .phone-right .phone-frame {
  transform: rotateY(8deg) scale(0.9);
}

/* Lang menu RTL */
[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-menu button {
  text-align: right;
}

/* Responsive RTL adjustments */
@media (max-width: 1024px) {
  [dir="rtl"] .hero {
    flex-direction: column;
  }

  [dir="rtl"] .hero-content {
    text-align: center;
  }

  [dir="rtl"] .hero-cta {
    justify-content: center;
  }

  [dir="rtl"] .badge-1 {
    right: -20px;
    left: auto;
  }

  [dir="rtl"] .badge-2 {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  [dir="rtl"] .step {
    flex-direction: column;
    text-align: center;
  }

  [dir="rtl"] .step-content {
    text-align: center;
  }

  [dir="rtl"] .step:hover {
    transform: translateY(-4px);
  }

  [dir="rtl"] .footer-inner {
    flex-direction: column;
  }

  [dir="rtl"] .footer-brand {
    text-align: center;
  }

  [dir="rtl"] .footer-links {
    flex-direction: column;
  }

  [dir="rtl"] .footer-col {
    text-align: center;
  }

  [dir="rtl"] .preview-phones {
    flex-direction: column;
  }

  [dir="rtl"] .nav-links {
    flex-direction: column;
  }

  [dir="rtl"] .nav-links a {
    text-align: center;
  }
}

@media (max-width: 480px) {
  [dir="rtl"] .badge-1 {
    right: 0;
    left: auto;
  }

  [dir="rtl"] .badge-2 {
    left: 0;
    right: auto;
  }
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing {
  padding: 100px 20px;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.pricing-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--stroke);
}

.pricing-card.featured .pricing-price {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.price-period {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 8px;
}

.pricing-card.featured .price-period {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230bb3b0'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-card.featured .pricing-features li::before {
  background-color: rgba(255, 255, 255, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.pricing-btn {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #ffffff;
}

.pricing-card.featured .pricing-btn {
  background: #ffffff;
  color: var(--teal);
  border: none;
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--orange-light);
  color: var(--teal-dark);
}

/* Pricing RTL Support */
[dir="rtl"] .pricing-features li {
  flex-direction: row-reverse;
}

[dir="rtl"] .pricing-header {
  text-align: center;
}

/* Pricing Responsive */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .pricing-card.featured {
    transform: none;
    order: -1;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 60px 20px;
  }

  .pricing-card {
    padding: 30px 24px;
  }

  .price-amount {
    font-size: 2.75rem;
  }
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background: #ffffff;
  color: var(--teal-dark);
}

.btn-cta:active {
  transform: translateY(-1px);
}

/* RTL Support for CTA */
[dir="rtl"] .cta-section {
  text-align: center;
}

/* CTA Section Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 1rem;
  }
}
