/* Figma Landing Page CSS - Exact Mirror */
/* Based on the exact Figma design provided */

:root {
  /* Exact colors from Figma design */
  --primary-bg: #0B0F1A;
  --secondary-bg: #1A1F2E;
  --card-bg: #252A3A;
  --text-primary: #FFFFFF;
  --text-secondary: #B8BCC8;
  --text-muted: #8B92A5;
  --accent-primary: #6366F1;
  --accent-secondary: #8B5CF6;
  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 24px;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

/* Global image reset - remove all effects from all images */
img {
  /* Remove all filters and effects */
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  isolation: auto !important;
  /* Remove any inherited shadows or borders */
  box-shadow: none !important;
  border: none !important;
  /* Reset image rendering */
  image-rendering: auto !important;
  -webkit-font-smoothing: auto !important;
  /* Remove all transitions and animations */
  transition: none !important;
  animation: none !important;
  transform: none !important;
  /* Remove hover effects */
  backface-visibility: visible !important;
  perspective: none !important;
  transform-style: flat !important;
}

.hero-figma img,
.features-figma img,
.stats-figma-new img,
.cta-figma img,
.testimonials-figma img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

/* Remove hover effects from all images */
img:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Additional image reset rules - highest specificity */
html body img,
html body .hero-figma img,
html body .features-figma img,
html body .stats-figma-new img,
html body .cta-figma img,
html body .testimonials-figma img,
html body .template-card img,
html body .platform img,
html body .stats-dashboard-img,
html body .dashboard-img {
  /* Reset all image properties to ensure no gray/white effects */
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  -webkit-mix-blend-mode: normal !important;
  isolation: auto !important;
  -webkit-isolation: auto !important;
  /* Remove any inherited shadows or borders */
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  /* Reset image rendering */
  image-rendering: auto !important;
  -webkit-font-smoothing: auto !important;
  /* Remove all transitions and animations */
  transition: none !important;
  -webkit-transition: none !important;
  animation: none !important;
  -webkit-animation: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  /* Remove hover effects */
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  perspective: none !important;
  -webkit-perspective: none !important;
  transform-style: flat !important;
  -webkit-transform-style: flat !important;
  /* Ensure proper display */
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Override any potential parent element filters */
.hero-figma,
.features-figma,
.stats-figma-new,
.cta-figma,
.testimonials-figma,
.template-card,
.platform,
.stats-image-container {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  -webkit-mix-blend-mode: normal !important;
  isolation: auto !important;
  -webkit-isolation: auto !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-arabic);
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

/* Container */
.container-figma {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Navigation */
.navbar-figma {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 20px 0 24px;
  min-height: 80px;
  height: auto;
}

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

.navbar-brand .logo {
  height: 32px;
  width: auto;
}

.navbar-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  font-family: var(--font-arabic);
}

.navbar-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.navbar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
}

/* Remove underline from header buttons with higher specificity */
.navbar-actions a {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-actions a:hover,
.navbar-actions a:focus,
.navbar-actions a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Specific targeting for the button classes */
.navbar-actions .btn-login,
.navbar-actions .btn-signup {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Override Bootstrap hover states specifically */
.navbar-actions .btn-login:hover,
.navbar-actions .btn-signup:hover,
.navbar-actions .btn-login:focus,
.navbar-actions .btn-signup:focus,
.navbar-actions .btn-login:active,
.navbar-actions .btn-signup:active {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Most specific selector to override any framework styles */
.navbar-figma .navbar-actions a.btn-login,
.navbar-figma .navbar-actions a.btn-signup,
.navbar-figma .navbar-actions a.btn-login:hover,
.navbar-figma .navbar-actions a.btn-signup:hover,
.navbar-figma .navbar-actions a.btn-login:focus,
.navbar-figma .navbar-actions a.btn-signup:focus,
.navbar-figma .navbar-actions a.btn-login:active,
.navbar-figma .navbar-actions a.btn-signup:active {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Override user agent stylesheet with highest specificity */
html body .navbar-figma .navbar-actions a.btn-login,
html body .navbar-figma .navbar-actions a.btn-signup,
html body .navbar-figma .navbar-actions a.btn-login:hover,
html body .navbar-figma .navbar-actions a.btn-signup:hover,
html body .navbar-figma .navbar-actions a.btn-login:focus,
html body .navbar-figma .navbar-actions a.btn-signup:focus,
html body .navbar-figma .navbar-actions a.btn-login:active,
html body .navbar-figma .navbar-actions a.btn-signup:active,
html body .navbar-figma .navbar-actions a.btn-login:visited,
html body .navbar-figma .navbar-actions a.btn-signup:visited,
html body .navbar-figma .navbar-actions a.btn-login:-webkit-any-link,
html body .navbar-figma .navbar-actions a.btn-signup:-webkit-any-link {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Tubelight Navigation */
.tubelight-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 20px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tubelight-nav-container {
  width: 100%;
  max-width: 1600px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tubelight-nav-items {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tubelight-nav-links,
.tubelight-nav-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tubelight-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tubelight-nav-toggle:hover,
.tubelight-nav-toggle:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.tubelight-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tubelight-toggle-bar + .tubelight-toggle-bar {
  margin-top: 4px;
}

.tubelight-nav-items.is-open .tubelight-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.tubelight-nav-items.is-open .tubelight-toggle-bar:nth-child(2) {
  opacity: 0;
}

.tubelight-nav-items.is-open .tubelight-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.tubelight-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.tubelight-nav-item:hover {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
}

.tubelight-nav-item.active {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.18);
}

.tubelight-nav-item.signup-btn {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.tubelight-nav-item.signup-btn:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.45);
}

.tubelight-lamp {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tubelight-nav-item.active .tubelight-lamp {
  opacity: 1;
  transform: scale(1);
}

.nav-text {
  display: none;
}

.nav-icon {
  display: inline-flex;
}

@media (min-width: 768px) {
  .nav-text {
    display: block;
  }

  .nav-icon {
    display: none;
  }
}

@media (max-width: 991px) {
  .tubelight-nav-items {
    gap: 8px;
    padding: 6px 10px;
  }

  .tubelight-nav-links {
    gap: 6px;
  }

  .tubelight-nav-item {
    padding: 10px 14px;
    font-size: 12px;
  }

  .tubelight-nav-toggle {
    display: inline-flex;
  }

  .tubelight-nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    background: rgba(11, 15, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 16px;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(11, 15, 26, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
  }

  .tubelight-nav-items.is-open .tubelight-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .tubelight-nav-dropdown .tubelight-nav-item {
    width: 100%;
  }

  .tubelight-nav-dropdown .tubelight-nav-item.signup-btn {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .tubelight-nav-dropdown {
    display: flex;
  }
}

.btn-login {
  background: transparent;
  border: 2px solid #6B7280;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-arabic);
  text-decoration: none !important;
  line-height: 1.25;
  vertical-align: middle;
  box-shadow: none;
  white-space: nowrap;
  height: 44px;
  max-height: 44px;
}

.btn-login:hover {
  background: rgba(107, 114, 128, 0.1);
  border-color: #9CA3AF;
  transform: translateY(-1px);
}

.btn-signup {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border: none;
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  font-family: var(--font-arabic);
  text-decoration: none !important;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
  height: 44px;
  max-height: 44px;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero-figma {
  padding: 160px 0 120px;
  background: var(--primary-bg);
  position: relative;
  overflow: visible;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Overlay removed per request: avoid any fade over hero */
.hero-figma::before {
  content: none !important;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content.hero-minimal {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-mascot {
  width: 240px;
  max-width: 60vw;
  height: auto;
  filter: none !important;
  display: block;
}

.hero-title.hero-minimal-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #f5f5f7;
  max-width: 620px;
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 8px;
}

.hero-platform-logo {
  height: 52px;
  width: auto;
  filter: none !important;
  display: block;
}

.hero-primary-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  padding: 18px 48px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px rgba(99, 102, 241, 0.45);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 32px;
}

.badge-icon {
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B8BCC8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-primary-figma {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border: none;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.35);
  min-width: 240px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-arabic);
}

.btn-primary-figma.large { min-width: 260px; height: 64px; font-size: 19px; }

.btn-primary-figma:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(99,102,241,0.45); }

.btn-primary-figma:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary-figma.large {
  padding: 24px 48px;
  font-size: 20px;
  height: 72px;
  min-width: 280px;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary-figma {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 56px;
}

.btn-secondary-figma:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-preview {
  position: relative;
  margin-top: 60px;
}

.dashboard-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  border: none;
  /* Remove all effects - global styles will handle the rest */
  filter: none !important;
}

/* Subscribe CTA Section */
.subscribe-figma {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #080a14 0%, #080a14 70%, #5a45ff 70%, #5a45ff 100%);
  overflow: hidden;
  margin-bottom: 0;
}

.subscribe-gradient {
  position: absolute;
  inset: 38% -10% 10%;
  background: #5a4bfb;
  border-radius: 160px 160px 0 0;
  filter: blur(0);
  z-index: 0;
}

.subscribe-card {
  position: relative;
  max-width: 860px;
  min-height: 420px;
  margin: 0 auto 0;
  padding: 56px 72px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 15, 26, 0.82);
  box-shadow: 0 50px 90px rgba(5, 8, 20, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.subscribe-bg {
  position: absolute;
  inset: 0;
  background: url('/img/login-background.jpg') center/cover no-repeat;
  opacity: 0.9;
}

.subscribe-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 24, 0.15) 0%, rgba(12, 14, 24, 0.72) 80%, rgba(12, 14, 24, 0.92) 100%);
}

.subscribe-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subscribe-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin: 0;
}

.subscribe-description {
  margin: 0;
  font-size: 1.15rem;
  line-height: 2;
  color: #f5f6ff;
}

.subscribe-form {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.subscribe-input {
  flex: 1;
  min-width: 0;
  background: rgba(5, 6, 14, 0.9);
  border-radius: 40px;
  padding: 0 36px; height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.subscribe-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.subscribe-input input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.15rem;
  color: #ffffff;
  padding: 0;
}

.subscribe-input input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.subscribe-button {
  background: linear-gradient(135deg, #7366ff 0%, #8f6bff 100%);
  border: none;
  width: 96px;
  height: 76px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 24px 36px rgba(88, 73, 255, 0.4);
}

.subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 44px rgba(112, 90, 255, 0.55);
}

.subscribe-button .arrow {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .subscribe-card {
    padding: 80px 42px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 14px;
  }

  .subscribe-button {
    width: 100%;
    height: 72px;
    border-radius: 36px;
  }
}

@media (max-width: 600px) {
  .subscribe-figma {
    padding: 100px 0 120px;
  }

  .subscribe-card {
    padding: 72px 36px;
  }

  .subscribe-input {
    width: 100%;
    padding: 0 28px;
    height: 68px;
  }

  .subscribe-title {
    font-size: 2rem;
  }

  .subscribe-description {
    font-size: 1rem;
  }
}

/* Stats Section - New Figma Design */
.stats-figma-new {
  padding: var(--section-padding);
  background: #0a0b0d;
  border-radius: 60px 60px 0 0;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.stats-header {
  padding: 40px 0 32px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 80px;
}

.stats-main-title {
  font-family: var(--font-arabic);
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
  flex: 1;
  text-align: right;
  white-space: nowrap;
}

.stats-subtitle {
  font-family: var(--font-arabic);
  font-size: 2rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
  flex: 1;
  text-align: left;
}

.stats-divider {
  width: 100%;
  height: 3px;
  background: #d9d9d9;
  margin: 0 auto;
}

.stats-grid-new {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0 50px;
  flex-wrap: wrap;
}

.stat-item-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
}

.stat-number-new {
  font-family: var(--font-arabic);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.stat-label-new {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #FFFFFF;
}

.stats-bottom-section {
  background: #635bdf;
  border-radius: 18px;
  padding: 40px;
  margin: 0 auto;
  max-width: 1000px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 320px;
  margin-bottom: 40px;
}

.stats-visual {
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-image-container {
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.stats-dashboard-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  background: none;
  filter: none !important;
  transform: none;
  box-shadow: none;
  border: none;
  opacity: 1;
  image-rendering: auto;
  -webkit-font-smoothing: auto;
  isolation: isolate;
  mix-blend-mode: normal;
  display: block;
}

.stats-bottom-text {
  flex: 1;
  text-align: center;
}

.stats-bottom-text h3 {
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin: 0;
}

/* Enhanced Metrics Section - Exact Figma Mirror */
.enhanced-metrics-figma {
  padding: 80px 0;
  background: #000000;
  overflow: visible;
}

.metrics-grid-figma {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
  min-height: 456px;
}

/* Left Column - Contains 1 large card */
.left-column-large {
  display: flex;
  height: 100%;
  min-height: 456px;
}

/* Right Column - Contains 3 small cards */
.right-column-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 224px 224px;
  gap: 8px;
  height: 456px;
  min-height: 456px;
}

/* Card Size Variants */
.small-card {
  height: 100%;
  min-height: 200px;
}

.wide-card {
  grid-column: 1 / -1;
  height: 100%;
  min-height: 200px;
}

.large-card {
  height: 100%;
  min-height: 456px;
  width: 100%;
}

.metric-card-figma {
  border-radius: 40px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-card-figma:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card Variants - Exact Figma Colors */
.metric-card-figma.white-card {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.metric-card-figma.gray-card {
  background: #A1A1A1;
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.metric-card-figma.purple-card {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #FFFFFF;
  position: relative;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
  justify-content: space-between; /* space between top section and content */
}

/* Metric Header - Exact Figma Layout */
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.metric-top-section {
  display: flex;
  flex-direction: column;
}

.metric-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.white-card .metric-icon-wrapper {
  background: rgba(0, 0, 0, 0.1);
}

.white-card .metric-icon-wrapper i {
  color: #000000;
  font-size: 18px;
}

.gray-card .metric-icon-wrapper.clock-icon {
  background: rgba(255, 255, 255, 0.3);
  width: 36px;
  height: 36px;
}

.gray-card .metric-icon-wrapper.clock-icon i {
  color: #000000;
  font-size: 18px;
}

.metric-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.white-card .metric-title {
  color: #000000;
}

.gray-card .metric-title {
  color: #000000;
}

/* Metric Content */
.metric-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-description {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

.white-card .metric-description {
  color: #666666;
}

.gray-card .metric-description {
  color: #000000;
  font-weight: 500;
}

.metric-number-large {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: #000000;
  text-align: center;
}

/* Purple Card Specific Styles - Exact Figma Layout */
.metric-header-purple {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.metric-number-highlight {
  font-size: 80px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 0.8;
  margin: 0;
}

.metric-title-purple {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 8px 0 0 0; /* remove extra gap above subtext block */
  line-height: 1;
}

.metric-content-purple {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8px;
}
/* Ensure the purple card's text block sticks to bottom */
.purple-card .metric-content-purple { margin-top: auto; flex: 0 0 auto; }
/* Ensure bottom anchoring with space-between layout */
.metric-card-figma.purple-card{display:flex;flex-direction:column}

.metric-description-purple {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 8px 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.metric-subdescription-purple {
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.metric-chart-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  color: #FFFFFF;
}

.metric-chart-icon svg {
  width: 28px;
  height: 28px;
}

/* Responsive Design for Enhanced Metrics - Exact Figma Mirror */
@media (max-width: 768px) {
  .metrics-grid-figma {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    height: auto;
  }

  .left-column-large {
    display: block;
  }

  .right-column-small {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .small-card,
  .wide-card,
  .large-card {
    height: 180px;
  }

  .wide-card {
    grid-column: 1;
  }

  .metric-card-figma {
    padding: 20px;
  }

  .metric-number-large {
    font-size: 48px;
  }

  .metric-number-highlight {
    font-size: 60px;
  }

  .metric-title-purple {
    font-size: 28px;
  }

  .metric-title {
    font-size: 16px;
  }

  .metric-description,
  .metric-description-purple {
    font-size: 12px;
  }

  .metric-subdescription-purple {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .enhanced-metrics-figma {
    padding: 60px 0;
  }

  .metrics-grid-figma {
    max-width: 320px;
    gap: 12px;
  }

  .right-column-small {
    gap: 12px;
  }

  .small-card,
  .wide-card,
  .large-card {
    height: 160px;
  }

  .metric-card-figma {
    padding: 16px;
  }

  .metric-header {
    margin-bottom: 12px;
  }

  .metric-icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .metric-icon-wrapper i {
    font-size: 16px;
  }

  .metric-chart-icon {
    width: 40px;
    height: 40px;
  }

  .metric-chart-icon svg {
    width: 24px;
    height: 24px;
  }

  .metric-number-large {
    font-size: 40px;
  }

  .metric-number-highlight {
    font-size: 50px;
  }

  .metric-title-purple {
    font-size: 24px;
  }
}

/* Features Section */
.features-figma {
  padding: var(--section-padding);
  background: var(--secondary-bg);
}

.experience-control-figma {
  padding: calc(var(--section-padding) + 40px) 0;
  background: linear-gradient(180deg, #161b27 0%, #0b0f1a 100%);
}

.experience-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.experience-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.experience-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #c1c6d4;
  margin: 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.experience-card {
  border-radius: 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  box-shadow: 0 24px 52px rgba(6, 9, 17, 0.35);
  position: relative;
  overflow: hidden;
}

.experience-card.card-dark {
  background: radial-gradient(circle at top, rgba(108, 99, 255, 0.25) 0%, rgba(11, 15, 26, 0.9) 35%, #0b0f1a 100%);
  border: 1px solid rgba(118, 123, 255, 0.3);
}

.experience-card.card-lilac {
  background: linear-gradient(145deg, #f0ecff 0%, #e7ecff 100%);
  border: 1px solid rgba(123, 104, 238, 0.25);
}

.experience-card.card-dark .card-title,
.experience-card.card-dark .card-text {
  color: #ffffff;
}

.experience-card.card-lilac .card-title {
  color: #1b1e2f;
}

.experience-card.card-lilac .card-text {
  color: #3a415a;
}

.experience-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-card .card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
}

.experience-card .card-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0;
}

.experience-card .card-media {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(9, 12, 20, 0.4);
}

.experience-card.card-lilac .card-media {
  background: rgba(255, 255, 255, 0.65);
  border: none;
  box-shadow: 0 20px 40px rgba(122, 120, 255, 0.25);
}

.experience-card .card-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .experience-header {
    margin-bottom: 40px;
  }

  .experience-card .card-title {
    font-size: 1.25rem;
  }

  .experience-card .card-text {
    font-size: 0.95rem;
  }
}
/* Testimonials Section */
.testimonials-figma {
  padding: var(--section-padding);
  background: var(--secondary-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.testimonial-metric {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--secondary-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-business {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-figma {
  padding: 100px 0;
  background: var(--primary-bg);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  min-height: 500px;
}

/* Overlay removed per request: avoid any fade over CTA */
.cta-figma::before {
  content: none !important;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cta-features span {
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Footer */
.footer-figma {
  background: var(--secondary-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px;
}

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

.footer-brand {
  max-width: 280px;
}

.footer-brand h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 1rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px 40px;
  justify-items: start;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-copyright {
  flex: 1;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .hero-figma {
    padding: 140px 0 100px;
    min-height: auto;
  }

  .hero-content.hero-minimal {
    gap: 18px;;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-platforms {
    gap: 18px;
  }

  .hero-platform-logo {
    height: 44px;
  }

  .hero-primary-btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 32px;
  }

  .feature-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feature-section.reverse {
    direction: rtl;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .footer-brand {
    text-align: center;
    max-width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-items: center;
    text-align: center;
  }

  .footer-actions {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-legal {
    justify-content: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 16px;
  }

  /* New Stats Section Responsive */
  .stats-figma-new {
    min-height: auto;
    border-radius: 40px 40px 0 0;
    padding: 60px 0;
  }

  .stats-title-section {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .stats-main-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .stats-subtitle {
    font-size: 1.5rem;
    text-align: center;
  }

  .stats-grid-new {
    gap: 30px;
    margin: 30px 0 40px;
  }

  .stat-number-new {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }

  .stat-label-new {
    font-size: 1rem;
  }

  .stats-bottom-section {
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    text-align: center;
    max-width: 100%;
    min-height: auto;
  }

  .stats-dashboard-img {
    width: 140px;
    height: 160px;
  }

  .stats-image-container {
    background: transparent;
  }

  .stats-bottom-text h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container-figma {
    padding: 0 16px;
  }

  .hero-mascot {
    width: 180px;
  }

  .hero-platforms {
    gap: 16px;
  }

  .hero-platform-logo {
    height: 38px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: center;
    text-align: center;
  }

  .footer-actions {
    align-items: center;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }
}

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

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

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Remove all animations from template cards */
.template-card {
  animation: none !important;
  transition: none !important;
}

.template-card:nth-child(2) {
  animation-delay: none !important;
}

.template-card:nth-child(3) {
  animation-delay: none !important;
}

/* Single template card styles */
.template-card.template-single {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  /* Remove all transitions and animations */
  transition: none;
  animation: none;
  /* Remove hover effects */
  transform: none;
  box-shadow: none;
}

.template-card.template-single:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
  border: none;
}

.template-card.template-single img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  /* Remove all filters and effects */
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  isolation: auto;
  /* Remove any inherited shadows or borders */
  box-shadow: none;
  border: none;
  /* Reset image rendering */
  image-rendering: auto;
  -webkit-font-smoothing: auto;
}

/* Comprehensive button style reset for navbar to fix Bootstrap conflicts */
html body .navbar-figma .navbar-actions .btn-login,
html body .navbar-figma .navbar-actions .btn-signup {
  all: unset !important;  /* Reset all inherited styles */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Cairo', sans-serif !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

/* Specific styles for login button */
html body .navbar-figma .navbar-actions .btn-login {
  background: transparent !important;
  border: 2px solid #6B7280 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

/* Specific styles for signup button */
html body .navbar-figma .navbar-actions .btn-signup {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3) !important;
}

/* Hover states */
html body .navbar-figma .navbar-actions .btn-login:hover {
  background: rgba(107, 114, 128, 0.1) !important;
  border-color: #9CA3AF !important;
  transform: translateY(-1px) !important;
}

html body .navbar-figma .navbar-actions .btn-signup:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4) !important;
}

/* Maximum specificity override for login button underline issue */
html body .navbar-figma .navbar-actions a[href*="login"].btn-login,
html body .navbar-figma .navbar-actions a[href*="login"].btn-login:hover,
html body .navbar-figma .navbar-actions a[href*="login"].btn-login:focus,
html body .navbar-figma .navbar-actions a[href*="login"].btn-login:active,
html body .navbar-figma .navbar-actions a[href*="login"].btn-login:visited,
html body .navbar-figma .navbar-actions a[href*="login"].btn-login:-webkit-any-link {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  border-bottom: none !important;
  outline: none !important;
  -webkit-text-decoration: none !important;
  -webkit-text-decoration-line: none !important;
  -webkit-text-decoration-style: none !important;
  -webkit-text-decoration-color: transparent !important;
  -webkit-border-bottom: none !important;
  text-underline-offset: 0 !important;
  text-decoration-skip-ink: none !important;
  -webkit-text-decoration-skip: none !important;
  text-shadow: none !important;
}

/* Maximum specificity override for signup button underline issue */
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup,
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup:hover,
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup:focus,
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup:active,
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup:visited,
html body .navbar-figma .navbar-actions a[href*="register"].btn-signup:-webkit-any-link {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  border-bottom: none !important;
  outline: none !important;
  -webkit-text-decoration: none !important;
  -webkit-text-decoration-line: none !important;
  -webkit-text-decoration-style: none !important;
  -webkit-text-decoration-color: transparent !important;
  -webkit-border-bottom: none !important;
  text-underline-offset: 0 !important;
  text-decoration-skip-ink: none !important;
  -webkit-text-decoration-skip: none !important;
  text-shadow: none !important;
}

.chart-bar:hover {
  transform: scaleY(1.1);
}
/* Templates Page (Figma style) */
.templates-hero{background:#0b0b0b;color:#fff;padding:72px 0 32px;direction:rtl}
.templates-hero .hero-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.templates-hero .hero-title{font-size:42px;line-height:1.15;font-weight:800;font-family:'Cairo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;margin:0}
.templates-hero .hero-sub{max-width:900px;color:#d0d0d0;font-size:18px;line-height:1.9;margin:0}
.templates-controls{margin-top:28px;display:flex;flex-direction:column;align-items:center;gap:16px}
.templates-search{width:100%;max-width:680px}
.templates-search input{width:100%;border-radius:12px;border:1px solid #2b2b2b;background:#151515;color:#fff;padding:14px 18px;font-size:16px;outline:none}
.templates-search input::placeholder{color:#8b8b8b}
.templates-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.templates-filter{background:#1a1a1a;border:1px solid #2b2b2b;color:#eaeaea;padding:8px 14px;border-radius:999px;font-size:14px;text-decoration:none}
.templates-filter:hover{border-color:#5b52ff}
.templates-filter.active{background:#5b52ff;border-color:#5b52ff;color:#fff}

.templates-section{background:#000;padding:24px 0 80px}
.templates-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.template-card{position:relative;background:#0f0f10;border:1px solid #1f1f22;border-radius:14px;overflow:hidden;transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.template-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,.35);border-color:#2d2d33}
.template-thumb{display:block;background:#111}
.template-thumb img{width:100%;display:block;object-fit:cover}
.template-meta{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#fff}
.template-name{font-weight:700}
.template-open{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#1c1c20;border:1px solid #2a2a30;transition:background .2s ease}
.template-open:hover{background:#2a2a30}

@media (max-width: 992px){
  .templates-grid{grid-template-columns:repeat(2,1fr)}
  .templates-hero .hero-title{font-size:34px}
}
@media (max-width: 560px){
  .templates-grid{grid-template-columns:1fr}
}
/* Motion Design: Subtle, premium micro-interactions */
:root{--pz-ease: cubic-bezier(.22,.61,.36,1);--pz-fast:120ms;--pz-med:220ms;--pz-slow:420ms}

/* Global interactive smoothing */
.navbar-figma, .footer-figma, .nav-link, .footer-link,
.btn-login, .btn-signup, .hero-primary-btn,
.cta-figma .btn-primary-figma,
.metric-card-figma, .experience-card,
.template-card, .template-open, .templates-filter {
  transition: color var(--pz-med) var(--pz-ease),
              background-color var(--pz-med) var(--pz-ease),
              border-color var(--pz-med) var(--pz-ease),
              box-shadow var(--pz-med) var(--pz-ease),
              transform var(--pz-med) var(--pz-ease),
              opacity var(--pz-med) var(--pz-ease);
  will-change: transform, box-shadow;
}

/* Navigation micro-elevation */
.navbar-figma{
  backdrop-filter: saturate(120%) blur(6px);
  background: linear-gradient(180deg, rgba(10,10,12,.78), rgba(10,10,12,.62))
}
.navbar-figma .nav-link:hover{color:#bfc2ff; transform: translateY(-1px)}
.btn-login:hover, .btn-signup:hover{transform: translateY(-1px)}
.btn-login:active, .btn-signup:active{transform: translateY(0)}

/* Cards: refined lift */
.metric-card-figma:hover, .experience-card:hover, .template-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.template-card{border-color:#1f1f22}
.template-card:hover{border-color:#2b2b31}

/* Buttons: premium press */
.hero-primary-btn, .cta-figma .btn-primary-figma{
  box-shadow: 0 6px 20px rgba(91,82,255,.28);
}
.hero-primary-btn:hover, .cta-figma .btn-primary-figma:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(91,82,255,.35);
}
.hero-primary-btn:active, .cta-figma .btn-primary-figma:active{transform: translateY(0)}

/* Template pill filters */
.templates-filter:hover{transform: translateY(-1px)}
.templates-filter.active{box-shadow: 0 6px 18px rgba(91,82,255,.28)}

/* Footer refinement */
.footer-figma{border-top:1px solid #17181c; background: #0a0a0c}
.footer-figma .footer-link:hover{color:#bfc2ff}

/* Custom reveal utilities (used alongside AOS) */
.reveal-up{opacity:0; transform: translateY(16px);}
.reveal-up.is-visible{opacity:1; transform: translateY(0); transition: opacity var(--pz-slow) var(--pz-ease), transform var(--pz-slow) var(--pz-ease)}

/* Footer benefits list (page-specific block) */
.footer-benefits-list{
  margin: 40px 0 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0 20px;
}

.footer-benefits-title{
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  text-align: center;
}

.footer-benefits-items{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px 32px;
}

.footer-benefits-items li{
  color: #d1d5db;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  line-height: 1.5;
  padding: 8px 0;
}

.footer-benefits-items i{
  color: #22c55e;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 768px){
  .footer-benefits-list{
    padding: 24px 20px;
    margin: 32px 0 16px;
  }

  .footer-benefits-title{
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer-benefits-items{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-benefits-items li{
    font-size: 14px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{transition: none !important; animation: none !important}
}
