/* ============================================
   BaqalaBot Landing Page - Style.css
   Fonts: Cairo (Arabic) + Poppins (English)
   Colors: Teal #1A9B8C | Orange #F26522 | Dark #1A2332
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --teal: #1A9B8C;
  --teal-light: #22BBA9;
  --teal-dark: #127a6e;
  --orange: #F26522;
  --orange-light: #FF8040;
  --orange-dark: #c94f10;
  --dark: #1A2332;
  --dark-2: #212d40;
  --dark-3: #2c3e55;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --light-card: #ffffff;
  --light-text: #1A2332;
  --light-text-2: #4a5568;
  --light-border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26,155,140,0.1);
  --shadow-md: 0 8px 30px rgba(26,155,140,0.15);
  --shadow-lg: 0 20px 60px rgba(26,155,140,0.2);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --light-bg: #0f1923;
  --light-card: #1A2332;
  --light-text: #f0f4f8;
  --light-text-2: #a0aec0;
  --light-border: #2c3e55;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--light-text);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  line-height: 1.7;
}

body.lang-en { font-family: 'Poppins', 'Cairo', sans-serif; direction: ltr; }
body.lang-ar { font-family: 'Cairo', 'Poppins', sans-serif; direction: rtl; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(var(--light-card-rgb, 255,255,255), 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(26, 35, 50, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 44px;
  border-radius: 10px;
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.nav-logo-text .baqala { color: var(--teal); }
.nav-logo-text .bot { color: var(--orange); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-lang, .btn-theme {
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--light-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-lang:hover, .btn-theme:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,155,140,0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1923 0%, #1A2332 40%, #1a3a35 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,155,140,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,155,140,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,155,140,0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 1;
  animation: floatGlow 6s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242,101,34,0.15) 0%, transparent 70%);
  bottom: 50px;
  left: -50px;
  z-index: 1;
  animation: floatGlow 8s ease-in-out infinite reverse;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,155,140,0.15);
  border: 1px solid rgba(26,155,140,0.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero-badge .badge-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease both 0.1s;
}

.hero-title .highlight-teal { color: var(--teal-light); }
.hero-title .highlight-orange { color: var(--orange); }

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease both 0.2s;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease both 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(242,101,34,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--teal-light);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  animation: fadeInUp 1s ease both 0.4s;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease both 0.3s;
}

.hero-mascot {
  width: 340px;
  filter: drop-shadow(0 20px 60px rgba(26,155,140,0.4));
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-phone-float {
  position: absolute;
  width: 120px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.1);
}

.phone-left {
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  animation: float 5s ease-in-out infinite 1s;
}

.phone-right {
  right: -20px;
  bottom: 60px;
  transform: rotate(5deg);
  animation: float 5s ease-in-out infinite 2s;
}

/* ============================================
   SECTION BASE
   ============================================ */
section { padding: 100px 0; }

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,155,140,0.1);
  color: var(--teal);
  border: 1px solid rgba(26,155,140,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--light-text);
}

.section-subtitle {
  font-size: 17px;
  color: var(--light-text-2);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================
   FEATURES OVERVIEW
   ============================================ */
.features-overview {
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,155,140,0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-icon.teal { background: rgba(26,155,140,0.1); }
.feature-icon.orange { background: rgba(242,101,34,0.1); }
.feature-icon.mixed { background: linear-gradient(135deg, rgba(26,155,140,0.1), rgba(242,101,34,0.1)); }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--light-text);
}

.feature-desc {
  font-size: 14px;
  color: var(--light-text-2);
  line-height: 1.8;
}

/* ============================================
   USER DASHBOARDS
   ============================================ */
.dashboards {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-card) 100%);
}

[data-theme="dark"] .dashboards {
  background: linear-gradient(180deg, #0f1923 0%, #1A2332 100%);
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin: 48px 0 40px;
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  padding: 6px;
  width: fit-content;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--light-text-2);
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  box-shadow: 0 4px 15px rgba(26,155,140,0.3);
}

.tab-btn:not(.active):hover {
  background: rgba(26,155,140,0.08);
  color: var(--teal);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.dashboard-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.dashboard-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--light-text-2);
  padding: 14px 18px;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.dashboard-features li:hover {
  border-color: var(--teal);
  background: rgba(26,155,140,0.04);
  transform: translateX(-4px);
}

body.lang-en .dashboard-features li:hover {
  transform: translateX(4px);
}

.feat-icon-sm {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-text strong { 
  display: block;
  color: var(--light-text);
  font-weight: 600;
  margin-bottom: 2px;
}

.phone-mockup {
  background: var(--dark);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 6px solid #2c3e55;
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.phone-mockup::before {
  content: '';
  display: block;
  height: 28px;
  background: #2c3e55;
  border-radius: 0 0 16px 16px;
  width: 80px;
  margin: 0 auto;
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  z-index: 2;
}

.phone-mockup img {
  width: 100%;
  display: block;
}

.dashboard-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 8px;
}

.dashboard-desc {
  font-size: 15px;
  color: var(--light-text-2);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,155,140,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,155,140,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.how-it-works .section-title { color: white; }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.6); }
.how-it-works .section-tag { color: var(--teal-light); background: rgba(26,155,140,0.15); border-color: rgba(26,155,140,0.3); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  z-index: 0;
}

body.lang-ar .steps-grid::before {
  background: linear-gradient(270deg, var(--teal), var(--orange));
}

.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--teal);
  transform: translateY(-6px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 20px;
  border: 2px solid var(--teal);
  color: white;
  background: var(--dark-2);
  position: relative;
  z-index: 1;
}

.step-card:nth-child(1) .step-number { background: var(--teal); border-color: var(--teal); }
.step-card:nth-child(2) .step-number { background: var(--dark-3); }
.step-card:nth-child(3) .step-number { background: var(--dark-3); }
.step-card:nth-child(4) .step-number { background: var(--orange); border-color: var(--orange); }

.step-icon { font-size: 32px; margin-bottom: 16px; }
.step-title { font-size: 16px; font-weight: 700; color: white; margin-bottom: 10px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations {
  background: var(--light-bg);
}

.integrations-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}

.integration-chip:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.integration-chip .chip-icon { font-size: 26px; }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--light-card);
}

[data-theme="dark"] .pricing {
  background: var(--dark-2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pricing-card {
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  background: var(--light-bg);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-color: var(--teal);
  transform: scale(1.04);
  color: white;
}

.pricing-card:not(.featured):hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-name { color: white; }

.pricing-price {
  margin: 20px 0;
  line-height: 1;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--teal);
}

.pricing-card.featured .pricing-price .amount { color: white; }

.pricing-price .currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: super;
  margin-left: 4px;
}

.pricing-price .period {
  font-size: 14px;
  color: var(--light-text-2);
  display: block;
  margin-top: 6px;
}

.pricing-card.featured .pricing-price .period { color: rgba(255,255,255,0.7); }

.pricing-features {
  list-style: none;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--light-text-2);
}

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }

.pricing-features li .check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li .check { color: white; }

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  border: none;
}

.btn-pricing-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-pricing-outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
}

.btn-pricing-filled {
  background: white;
  color: var(--teal-dark);
}

.btn-pricing-filled:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,155,140,0.3);
}

.testimonial-quote {
  font-size: 32px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--light-text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--light-text);
}

.author-role {
  font-size: 13px;
  color: var(--teal);
}

.stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--dark) 60%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 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.03'%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");
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-telegram {
  background: linear-gradient(135deg, #229ED9, #1a7aa8);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(34,158,217,0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-brand .footer-logo .baqala { color: var(--teal-light); }
.footer-brand .footer-logo .bot { color: var(--orange); }

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes floatGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-mascot { width: 260px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-left, .phone-right { display: none; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-tabs { overflow-x: auto; width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav-logo-text { display: none; }
}

/* ============================================
   DARK MODE TRANSITIONS
   ============================================ */
.feature-card, .step-card, .tab-btn, .pricing-card, .testimonial-card,
.integration-chip, .dashboard-features li {
  transition: var(--transition);
}

/* ============================================
   STARS PRICING - NEW ELEMENTS
   ============================================ */

/* Stars banner explanation */
.stars-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(26,155,140,0.08), rgba(242,101,34,0.06));
  border: 1.5px solid rgba(26,155,140,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px auto 0;
  max-width: 700px;
  text-align: start;
}

.stars-banner-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.stars-banner-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}

.stars-banner-text span {
  font-size: 13.5px;
  color: var(--light-text-2);
  line-height: 1.7;
}

/* Duration badge */
.pricing-duration-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26,155,140,0.1);
  color: var(--teal);
  border: 1px solid rgba(26,155,140,0.25);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.featured-duration {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

/* Stars price display */
.stars-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.star-icon {
  font-size: 28px;
  line-height: 1;
}

.pricing-price .amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}

.pricing-card.featured .pricing-price .amount { color: white; }

.stars-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.pricing-card.featured .stars-label { color: rgba(255,255,255,0.85); }

.stars-per-month {
  display: inline-block;
  background: rgba(26,155,140,0.08);
  border: 1px solid rgba(26,155,140,0.2);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin: 6px 0 16px;
}

.featured-per-month {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: white;
}

/* How to pay card */
.how-to-pay {
  background: var(--light-bg);
}

[data-theme="dark"] .how-to-pay {
  background: rgba(255,255,255,0.03);
}

.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--light-card);
  border-radius: 12px;
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.how-step:hover {
  border-color: var(--teal);
  transform: translateX(-4px);
}

body.lang-en .how-step:hover { transform: translateX(4px); }

.how-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.how-step-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text);
}

.stars-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(242,101,34,0.06);
  border: 1px solid rgba(242,101,34,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--light-text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Pricing grid 3-col stays but cards are more flexible */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .how-to-pay {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .how-to-pay { grid-column: 1; max-width: 100%; }
}

/* ============================================
   SOCIAL MEDIA ICONS — Brand Colors
   ============================================ */

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* Hover — each platform gets its brand color */
.social-youtube:hover  { background: #FF0000; border-color: #FF0000; color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(255,0,0,0.4); }
.social-instagram:hover{ background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e6683c; color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(220,39,67,0.4); }
.social-tiktok:hover   { background: #000000; border-color: #69C9D0; color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(105,201,208,0.4); }
.social-snapchat:hover { background: #FFFC00; border-color: #FFFC00; color: #000; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(255,252,0,0.4); }
.social-x:hover        { background: #000000; border-color: #555; color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.social-facebook:hover { background: #1877F2; border-color: #1877F2; color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(24,119,242,0.4); }

/* ============================================
   ESHTAREK BOT — HOW TO SUBSCRIBE CARD
   ============================================ */

/* Header row */
.eshtarek-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eshtarek-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(26,155,140,0.15), rgba(242,101,34,0.12));
  border: 1.5px solid rgba(26,155,140,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.eshtarek-icon svg { width: 22px; height: 22px; }

.eshtarek-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--light-text);
  line-height: 1.2;
}

.eshtarek-subtitle {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 2px;
}

/* Bot identity card */
.eshtarek-bot-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(26,155,140,0.08) 0%, rgba(34,158,217,0.08) 100%);
  border: 1.5px solid rgba(26,155,140,0.2);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.eshtarek-bot-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #229ED9, #1a7aa8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.eshtarek-bot-avatar svg { width: 22px; height: 22px; }

.eshtarek-bot-info { flex: 1; min-width: 0; }

.eshtarek-bot-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--light-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eshtarek-bot-handle {
  font-size: 12px;
  color: #229ED9;
  font-weight: 600;
  margin-top: 2px;
}

.eshtarek-bot-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #229ED9;
  color: white;
  border-radius: 9px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}

.eshtarek-bot-open:hover {
  background: #1a7aa8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34,158,217,0.4);
}

/* Steps — enhanced with sub-text */
.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

[data-theme="dark"] .how-step {
  background: rgba(255,255,255,0.03);
}

.how-step:hover {
  border-color: var(--teal);
  background: rgba(26,155,140,0.04);
  transform: translateX(-4px);
}

body.lang-en .how-step:hover { transform: translateX(4px); }

.how-step-success {
  border-color: rgba(26,155,140,0.35) !important;
  background: rgba(26,155,140,0.06) !important;
}

.how-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.success-num {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  font-size: 15px;
}

.how-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.how-step-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--light-text);
  line-height: 1.3;
}

.how-step-text span {
  font-size: 12px;
  color: var(--light-text-2);
  line-height: 1.5;
}

/* Stars note — updated */
.stars-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(242,101,34,0.06);
  border: 1px solid rgba(242,101,34,0.18);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 12.5px;
  color: var(--light-text-2);
  line-height: 1.6;
  margin-bottom: 18px;
}

.stars-note > span:first-child { font-size: 20px; flex-shrink: 0; line-height: 1.4; }

.stars-note strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 3px;
}

/* CTA button */
.btn-eshtarek {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #229ED9, #1a7aa8);
  color: white !important;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn-eshtarek:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34,158,217,0.45);
  background: linear-gradient(135deg, #1a7aa8, #229ED9);
}

/* Eshtarek logo image avatar */
.eshtarek-bot-avatar-img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 14px rgba(212,175,55,0.25);
  flex-shrink: 0;
}

.eshtarek-bot-tag {
  font-size: 11px;
  color: #d4af37;
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.eshtarek-bot-tag::before {
  content: '⭐';
  font-size: 10px;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL
   Breakpoints: 480px | 600px | 768px | 1024px
   ============================================ */

/* ---------- GLOBAL MOBILE BASE ---------- */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .section-container { padding: 0 16px; }

  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section-subtitle { font-size: 15px; }
  .section-tag { font-size: 12px; padding: 5px 13px; }
}

/* ---------- NAVBAR ---------- */
@media (max-width: 768px) {
  .nav-container { padding: 0 16px; gap: 10px; }
  .nav-logo img { height: 36px; }
  .nav-logo-text { display: none; }
  .btn-lang span:last-child { display: none; }   /* hide "English" text, keep globe */
  .btn-lang, .btn-theme { padding: 7px 10px; font-size: 14px; }
  .btn-cta-nav { padding: 8px 14px; font-size: 13px; }
}

/* ---------- HERO ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .hero-mascot { width: 280px; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .phone-left, .phone-right { display: none; }
}

@media (max-width: 768px) {
  .hero-container { padding: 90px 16px 50px; gap: 30px; }
  .hero-mascot { width: 220px; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-subtitle { font-size: 15px; line-height: 1.7; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; font-size: 15px; padding: 14px 24px; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-mascot { width: 180px; }
  .hero-title { font-size: clamp(24px, 8vw, 36px); }
  .hero-stats { gap: 16px; }
  .stat-value { font-size: 20px; }
}

/* ---------- FEATURES ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 14px; }
  .feature-title { font-size: 16px; }
  .feature-desc { font-size: 13.5px; }
}

/* ---------- DASHBOARD TABS ---------- */
@media (max-width: 768px) {
  .dashboard-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 5px;
    gap: 6px;
    border-radius: 14px;
  }
  .dashboard-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  .dashboard-layout { grid-template-columns: 1fr; gap: 28px; }
  .phone-mockup { max-width: 240px; }
}

@media (max-width: 480px) {
  .tab-btn { padding: 9px 13px; font-size: 12px; gap: 5px; }
  .dashboard-label { font-size: 16px; }
  .dashboard-desc { font-size: 14px; }
  .dashboard-features li { padding: 11px 14px; font-size: 13.5px; gap: 10px; }
  .feat-icon-sm { font-size: 18px; }
  .feat-text strong { font-size: 13px; }
  .feat-text span { font-size: 12px; }
}

/* ---------- HOW IT WORKS ---------- */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .steps-grid::before { display: none; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .step-card { padding: 24px 20px; }
  .step-number { width: 48px; height: 48px; font-size: 18px; }
  .step-icon { font-size: 26px; margin-bottom: 12px; }
  .step-title { font-size: 15px; }
  .step-desc { font-size: 13px; }
}

/* ---------- INTEGRATIONS ---------- */
@media (max-width: 768px) {
  .integrations-row { gap: 12px; }
  .integration-chip { padding: 11px 16px; font-size: 13.5px; gap: 9px; border-radius: 12px; }
  .integration-chip .chip-icon { font-size: 22px; }
}

@media (max-width: 480px) {
  .integration-chip { font-size: 13px; padding: 10px 14px; }
}

/* ---------- PRICING ---------- */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
  .pricing-card.featured { transform: none; }
  .how-to-pay { grid-column: 1; max-width: 100%; }
}

@media (max-width: 600px) {
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 24px 20px; }
  .pricing-name { font-size: 16px; }
  .stars-price .amount { font-size: 36px; }
  .star-icon { font-size: 24px; }
  .stars-per-month { font-size: 11.5px; }
  .pricing-features li { font-size: 13.5px; gap: 8px; }
  .btn-pricing { padding: 13px; font-size: 14px; }

  /* Stars banner */
  .stars-banner { flex-direction: column; gap: 10px; padding: 16px; text-align: center; align-items: center; }
  .stars-banner-icon { font-size: 28px; }
  .stars-banner-text strong { font-size: 14px; }
  .stars-banner-text span { font-size: 13px; }

  /* Eshtarek card */
  .eshtarek-header { gap: 10px; }
  .eshtarek-title { font-size: 16px; }
  .eshtarek-bot-card { gap: 10px; padding: 12px; }
  .eshtarek-bot-avatar-img { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; }
  .eshtarek-bot-name { font-size: 13px; }
  .eshtarek-bot-handle { font-size: 11px; }
  .eshtarek-bot-open { padding: 6px 10px; font-size: 11.5px; gap: 4px; }
  .how-step { padding: 10px 12px; gap: 10px; }
  .how-step-num { width: 26px; height: 26px; min-width: 26px; font-size: 12px; }
  .how-step-text strong { font-size: 13px; }
  .how-step-text span { font-size: 11.5px; }
  .stars-note { padding: 11px 12px; font-size: 12px; }
  .btn-eshtarek { font-size: 13.5px; padding: 13px 16px; gap: 8px; }
}

/* ---------- TESTIMONIALS ---------- */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 22px 18px; }
  .testimonial-text { font-size: 14px; }
  .testimonial-quote { font-size: 26px; }
  .author-name { font-size: 14px; }
  .author-role { font-size: 12px; }
}

/* ---------- CTA SECTION ---------- */
@media (max-width: 768px) {
  .cta-section { padding: 80px 0; }
  .cta-title { font-size: clamp(26px, 7vw, 42px); }
  .cta-subtitle { font-size: 15px; padding: 0 16px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-telegram, .btn-whatsapp { width: 100%; max-width: 300px; justify-content: center; font-size: 15px; padding: 15px 24px; }
}

@media (max-width: 480px) {
  .cta-content img { width: 110px; }
  .cta-title { font-size: clamp(22px, 7vw, 32px); }
}

/* ---------- FOOTER ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  footer { padding: 48px 0 24px; }
  .footer-container { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-brand .footer-logo { font-size: 22px; }
  .footer-desc { font-size: 13.5px; max-width: 100%; }
  .footer-heading { font-size: 14px; margin-bottom: 14px; }
  .footer-links li a { font-size: 13.5px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding-top: 20px; }
  .footer-bottom span { font-size: 12px; }
  .footer-social { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .social-btn { width: 38px; height: 38px; border-radius: 10px; }
  .social-btn svg { width: 17px; height: 17px; }
}

/* ---------- PHONE MOCKUP ---------- */
@media (max-width: 768px) {
  .phone-mockup { max-width: 200px; border-width: 4px; border-radius: 22px; }
}

/* ---------- PREVENT HORIZONTAL SCROLL ---------- */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .hero-bg, .hero-grid, .hero-glow-1, .hero-glow-2 { overflow: hidden; }
}

/* ---------- TOUCH IMPROVEMENTS ---------- */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms on touch — prevent stuck states */
  .feature-card:hover,
  .step-card:hover,
  .pricing-card:not(.featured):hover,
  .testimonial-card:hover,
  .integration-chip:hover,
  .dashboard-features li:hover,
  .how-step:hover {
    transform: none;
  }

  /* Keep tap feedback via active state */
  .feature-card:active { transform: scale(0.98); }
  .btn-primary:active,
  .btn-secondary:active,
  .btn-pricing:active,
  .btn-eshtarek:active,
  .btn-telegram:active,
  .btn-whatsapp:active,
  .btn-cta-nav:active { transform: scale(0.97); }

  /* Larger tap targets */
  .tab-btn { min-height: 44px; }
  .btn-cta-nav, .btn-lang, .btn-theme { min-height: 40px; }
  .social-btn { width: 44px; height: 44px; }
}

/* ---------- VERY SMALL SCREENS (360px) ---------- */
@media (max-width: 380px) {
  .nav-container { padding: 0 12px; }
  .section-container { padding: 0 12px; }
  .hero-container { padding: 80px 12px 44px; }
  .hero-mascot { width: 160px; }
  .hero-title { font-size: clamp(22px, 7vw, 30px); }
  .btn-primary, .btn-secondary { font-size: 14px; padding: 13px 18px; }
  .eshtarek-bot-card { flex-wrap: wrap; }
  .eshtarek-bot-open { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ============================================
   NAV LOGO — CIRCULAR IMAGE
   ============================================ */
.nav-logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(26,155,140,0.3);
  box-shadow: 0 2px 8px rgba(26,155,140,0.2);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-logo-img { height: 38px; width: 38px; }
}

/* ============================================
   SETUP REQUIREMENTS BOX
   ============================================ */
.setup-requirements {
  background: linear-gradient(135deg, rgba(26,155,140,0.06), rgba(242,101,34,0.04));
  border: 1.5px solid rgba(26,155,140,0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.setup-req-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

.setup-req-title span { font-size: 16px; }
.setup-req-title strong { color: var(--light-text); font-weight: 700; }

.setup-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.setup-req-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--light-text-2);
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 9px;
  padding: 8px 10px;
  line-height: 1.4;
}

.req-icon { font-size: 15px; flex-shrink: 0; }

[data-theme="dark"] .setup-req-item { background: rgba(255,255,255,0.04); }

@media (max-width: 480px) {
  .setup-req-grid { grid-template-columns: 1fr; }
  .setup-req-item { font-size: 12.5px; }
}

/* ============================================
   SETUP NOTICE — Subscription onboarding alert
   ============================================ */
.setup-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(242,101,34,0.08), rgba(255,128,64,0.05));
  border: 1.5px solid rgba(242,101,34,0.3);
  border-radius: 13px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.setup-notice-icon { font-size: 22px; flex-shrink: 0; line-height: 1.4; }

.setup-notice div { display: flex; flex-direction: column; gap: 4px; }

.setup-notice strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
  display: block;
}

.setup-notice span {
  font-size: 12.5px;
  color: var(--light-text-2);
  line-height: 1.6;
}
