/* ============================================
   LANDING / PUBLIC PAGES CSS
   Modern Minimal Design — Inspired by Aigocy
============================================ */

/* ============================================
   PILL NAVIGATION BAR
============================================ */
.pub-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 16px 24px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.pub-header .container {
  max-width: 1200px;
}

.pub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0 8px 0 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] .pub-nav {
  background: rgba(15,23,42,0.85);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.pub-header.scrolled .pub-nav {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.pub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.pub-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

[data-theme="dark"] .pub-logo-icon {
  background: linear-gradient(135deg, #EF4444, #F59E0B);
}

.pub-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pub-logo-img { max-height: 32px !important; }
.pub-logo-img-dark { max-height: 32px !important; }

.pub-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.pub-nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.pub-nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.pub-nav-link.active {
  color: #EF4444;
  font-weight: 600;
}

.pub-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pub-lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
}
.pub-lang-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.pub-theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  font-size: 1rem;
}
.pub-theme-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.pub-nav-actions .btn-gradient {
  border-radius: 999px !important;
  padding: 8px 22px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: #1a1a2e !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.pub-nav-actions .btn-gradient:hover {
  background: #2a2a4e !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .pub-nav-actions .btn-gradient {
  background: linear-gradient(135deg, #EF4444, #F59E0B) !important;
}

.pub-nav-actions .btn-ghost {
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
}

/* Mobile Menu Toggle */
.pub-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.pub-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.pub-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.pub-menu-toggle.active span:nth-child(2) { opacity: 0; }
.pub-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.pub-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pub-mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.pub-mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 32px;
  border-radius: 16px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.pub-mobile-link:hover { color: #EF4444; background: rgba(239,68,68,0.06); }

/* ============================================
   HERO SECTION — AIGOCY STYLE
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #f8f8f6;
}

[data-theme="dark"] .hero {
  background: var(--dark-bg-primary);
}

/* Abstract flowing gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(239,68,68,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 30% 70%, rgba(245,158,11,0.05) 0%, transparent 50%);
}

[data-theme="dark"] .hero-bg-gradient {
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(239,68,68,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 30% 70%, rgba(245,158,11,0.08) 0%, transparent 50%);
}

.hero-bg-blob1 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(245,158,11,0.08));
  top: -200px;
  filter: blur(60px);
  animation: morphBlob1 15s ease-in-out infinite;
}

[dir="rtl"] .hero-bg-blob1 { left: -150px; }
[dir="ltr"] .hero-bg-blob1 { right: -150px; }

.hero-bg-blob2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%;
  background: linear-gradient(225deg, rgba(239,68,68,0.1), rgba(245,158,11,0.06));
  bottom: -100px;
  filter: blur(50px);
  animation: morphBlob2 12s ease-in-out infinite;
}

[dir="rtl"] .hero-bg-blob2 { right: -100px; }
[dir="ltr"] .hero-bg-blob2 { left: -100px; }

@keyframes morphBlob1 {
  0%,100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; transform: translate(0,0) rotate(0deg); }
  33% { border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%; transform: translate(30px,-20px) rotate(5deg); }
  66% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%; transform: translate(-20px,30px) rotate(-3deg); }
}

@keyframes morphBlob2 {
  0%,100% { border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%; transform: translate(0,0) rotate(0deg); }
  50% { border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%; transform: translate(20px,-15px) rotate(4deg); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--bg-card);
  color: #EF4444;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="dark"] .hero-badge {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.2);
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #EF4444;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-actions .btn-gradient {
  background: #1a1a2e !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
  transition: all 0.3s ease;
}

.hero-actions .btn-gradient:hover {
  background: #2a2a4e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18) !important;
}

[data-theme="dark"] .hero-actions .btn-gradient {
  background: linear-gradient(135deg, #EF4444, #F59E0B) !important;
}

.hero-actions .btn-outline {
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease;
}

.hero-actions .btn-outline:hover {
  border-color: var(--text-muted) !important;
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero visual (phone mockup) - keep for backwards compat */
.hero-visual { position: relative; display: none; }
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-mockup { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }

.hero-phone {
  width: 220px;
  height: 440px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.hero-phone-screen {
  width: 100%; height: 100%;
  background: #0f172a;
  padding: 16px;
}

.hero-phone-notch {
  width: 60px; height: 14px;
  background: #0a0f1f;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 16px;
}

.hero-phone-card {
  background: rgba(239,68,68,0.12);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(239,68,68,0.2);
}

.hero-phone-mini-card {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.hero-phone-dot { width: 8px; height: 8px; border-radius: 50%; }

.hero-floating-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; font-weight: 500;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero-floating-card:nth-child(2) { animation-delay: 1s; }

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

/* ============================================
   SECTION COMMON STYLES
============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(239,68,68,0.06);
  color: #EF4444;
  border: 1px solid rgba(239,68,68,0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .section-label {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   FEATURES / SERVICES SECTION
============================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.feature-card {
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

[dir="rtl"] .feature-card::before { transform-origin: right; }

.feature-card:hover {
  border-color: rgba(239,68,68,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(239,68,68,0.06);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-list-item::before {
  content: '✓';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: bold; flex-shrink: 0;
}

[data-theme="dark"] .feature-list-item::before {
  background: rgba(16,185,129,0.15);
}

/* ============================================
   STATS SECTION
============================================ */
.stats-section {
  padding: 80px 0;
  background: #f8f8f6;
}

[data-theme="dark"] .stats-section {
  background: var(--dark-bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   PRICING SECTION
============================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-save-badge {
  display: inline-flex;
  padding: 2px 10px;
  background: #ECFDF5;
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.pricing-card.featured {
  border-color: #EF4444;
  box-shadow: 0 8px 32px rgba(239,68,68,0.12);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  z-index: -1;
  opacity: 0.1;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  color: white;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 0.85rem;
  font-weight: 600;
  color: #EF4444;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  letter-spacing: -0.03em;
}
.pricing-currency { font-size: 1.2rem; margin-top: 8px; font-weight: 600; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); align-self: flex-end; padding-bottom: 4px; }

.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.pricing-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}

.pricing-check.yes { background: #ECFDF5; color: #10B981; }
.pricing-check.no  { background: var(--color-gray-100); color: var(--color-gray-400); }

[data-theme="dark"] .pricing-check.yes { background: rgba(16,185,129,0.15); }
[data-theme="dark"] .pricing-check.no  { background: rgba(255,255,255,0.06); color: var(--dark-text-muted); }

/* ============================================
   DOWNLOAD / APP SECTION
============================================ */
.download-section {
  padding: 100px 0;
  background: #1a1a2e;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(239,68,68,0.1), transparent 60%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.download-content {}
.download-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.download-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.download-btn-icon { font-size: 1.6rem; }
.download-btn-text-small { font-size: 0.7rem; opacity: 0.7; }
.download-btn-text-big   { font-size: 0.95rem; font-weight: 600; }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.testimonial-card {
  padding: 28px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: #EF4444;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #F59E0B;
  font-size: 0.85rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================
   PUBLIC FOOTER — MODERN
============================================ */
.pub-footer {
  background: #111111;
  padding: 80px 0 32px;
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .pub-footer {
  background: #070b14;
}

.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand {}
.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

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

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: #EF4444;
  color: white;
  border-color: #EF4444;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover { color: white; }

.pub-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-bottom-link:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   PAGE HERO (sub-pages)
============================================ */
.page-hero {
  padding: 140px 0 80px;
  background: #f8f8f6;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .page-hero {
  background: var(--dark-bg-primary);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(239,68,68,0.06), transparent);
}

.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  border-color: rgba(239,68,68,0.3);
  transform: translateX(4px);
}

[dir="rtl"] .contact-info-item:hover { transform: translateX(-4px); }

/* ============================================
   SECURITY / WHY US SECTION
============================================ */
.security-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-visual {
  background: #1a1a2e;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.security-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(239,68,68,0.12), transparent 60%);
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  padding: 100px 0;
  background: #f8f8f6;
  text-align: center;
}

[data-theme="dark"] .cta-section {
  background: var(--dark-bg-secondary);
}

.cta-section .btn-gradient {
  background: #1a1a2e !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 14px 36px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
}

[data-theme="dark"] .cta-section .btn-gradient {
  background: linear-gradient(135deg, #EF4444, #F59E0B) !important;
}

.cta-section .btn-outline {
  border-radius: 999px !important;
  padding: 14px 36px !important;
  font-size: 0.95rem !important;
}

/* ============================================
   DARK MODE — OVERRIDES
============================================ */
[data-theme="dark"] .hero-bg-blob1,
[data-theme="dark"] .hero-bg-blob2 { opacity: 0.4; }

[data-theme="dark"] .hero-phone {
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .download-section {
  background: #0a0f1f;
}

[data-theme="dark"] .feature-icon {
  background: rgba(239,68,68,0.12);
}

[data-theme="dark"] .stats-section .stat-card {
  border-color: rgba(255,255,255,0.06);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .pub-nav-links { display: none; }
  .pub-menu-toggle { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-page-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; text-align: center; }
  .download-buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .pub-header { padding: 10px 16px; }
  .pub-nav { padding: 0 6px 0 16px; height: 50px; }
  .hero { min-height: auto; padding: 120px 20px 60px; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stats > div[style*="width:1px"] { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pub-footer-grid { grid-template-columns: 1fr; }
  .pub-footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-page-grid { grid-template-columns: 1fr !important; max-width: 420px; margin: 0 auto; }
  .section-title { font-size: 1.8rem; }
}
