/* 
  TheWebMaster - UI Components Stylesheet
  Focus: Custom reusable elements, hover transitions, and glassmorphism.
*/

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 11, 13, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 70px;
}

.navbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Menu Mobile Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 11px; }
.menu-btn span:nth-child(3) { top: 22px; }

.menu-btn.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--grad-accent);
  color: #0a0b0d;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4), 0 0 15px rgba(155, 93, 229, 0.3);
  color: #0a0b0d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

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

.btn-text {
  background: none;
  color: var(--text-primary);
  padding: 0.5rem 0;
  font-weight: 600;
  border-bottom: 2px solid var(--border-card);
  border-radius: 0;
  gap: 0.5rem;
}

.btn-text:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}


/* --- CARDS & PANELS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--grad-accent);
  color: #0a0b0d;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Feature/Choose Us Item styles */
.feature-item {
  display: flex;
  gap: 1.25rem;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.feature-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}


/* --- PORTFOLIO --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  transition: all var(--transition-slow);
}

.portfolio-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1e293b;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-img-wrapper img {
  transform: scale(1.06);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.portfolio-overlay h3 {
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}


/* --- TESTIMONIALS --- */
.testimonial-card {
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--border-card);
}

.stars {
  color: #eab308;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.quote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
}

.author-details h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.author-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(155, 93, 229, 0.05) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 1.5rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}


/* --- FORMS & CONTACT --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-text a:hover {
  color: var(--accent-cyan);
}

/* Form Styling */
.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Validation styling */
.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15) !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.825rem;
  margin-top: 0.35rem;
  display: none;
}

/* Submit state and spinner */
.btn-submit {
  width: 100%;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(10, 11, 13, 0.2);
  border-radius: 50%;
  border-top-color: #0a0b0d;
  animation: spin 0.8s linear infinite;
  margin-right: 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Card Overlay style */
.form-success-wrapper {
  position: absolute;
  inset: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.form-success-wrapper.show {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.success-title {
  margin-bottom: 1rem;
}

.success-desc {
  max-width: 320px;
  margin: 0 auto 2rem auto;
}


/* --- FOOTER --- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-desc p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
  display: inline-block;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 2.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}


/* --- INTEGRATIONS --- */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
  z-index: 999;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
  }
}


/* --- ANIMATIONS & UTILITIES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* --- RESPONSIVE WRAPS --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    border-top: 1px solid var(--border-card);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }
  
  .nav-links.open {
    transform: translateX(0);
  }
  
  .menu-btn {
    display: block;
  }
  
  .navbar.scrolled {
    height: var(--header-height);
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
  }
}

/* --- LANGUAGE SWITCHER --- */
.lang-switch {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
}

.lang-switch:hover {
  color: var(--text-primary);
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  transform: translateY(-1px);
}

/* --- RTL (RIGHT TO LEFT) LAYOUT RULES --- */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .logo svg {
  margin-left: 0.5rem;
  margin-right: 0;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 2.5rem;
}

html[dir="rtl"] .btn-visit svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-visit:hover svg {
  transform: scaleX(-1) translate(-2px, -2px);
}

html[dir="rtl"] select.form-control {
  background-position: left 1.25rem center;
  padding-left: 3rem;
  padding-right: 1.25rem;
}

html[dir="rtl"] .footer-links a:hover {
  transform: translateX(-3px);
}

@media (max-width: 768px) {
  html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 1.5rem;
  }
}

/* --- PRICING SECTION & CARDS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  align-items: stretch;
  margin-top: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: visible;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

/* Recommended Highlighted Card */
.pricing-card.recommended {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.02);
  box-shadow: 0 0 40px -10px rgba(0, 242, 254, 0.1);
}

.pricing-card.recommended:hover {
  border-color: rgba(0, 242, 254, 0.7);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 20px 50px -10px rgba(0, 242, 254, 0.25), 0 0 15px rgba(155, 93, 229, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: #0a0b0d;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-header .tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  text-align: center;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.pricing-card.recommended .pricing-features li svg {
  color: var(--accent-purple);
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
}

/* --- COLLABORATION & LEARNING MOCKUPS --- */
.dashboard-visual {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6);
  position: relative;
}

.dashboard-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(155, 93, 229, 0.05) 100%);
  z-index: -1;
  pointer-events: none;
}

.dashboard-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1rem;
}

.dashboard-dots {
  display: flex;
  gap: 0.5rem;
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-card);
}

.dashboard-dot.red { background: #ff5f56; }
.dashboard-dot.yellow { background: #ffbd2e; }
.dashboard-dot.green { background: #27c93f; }

.dashboard-url {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.2rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  direction: ltr;
}

.collab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

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

.builder-mock {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.builder-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(0, 242, 254, 0.2);
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  position: relative;
}

.builder-block.active {
  border-style: solid;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.builder-block-label {
  position: absolute;
  top: -7px;
  left: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--accent-cyan);
  color: #0a0b0d;
  padding: 0.05rem 0.35rem;
  border-radius: 2px;
}

html[dir="rtl"] .builder-block-label {
  left: auto;
  right: 8px;
}

.coach-bubble {
  background: linear-gradient(135deg, rgba(155, 93, 229, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
  border: 1px solid rgba(155, 93, 229, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.coach-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  background: #2a1b4e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-primary);
  font-size: 1.1rem;
  position: relative;
}

.coach-status-online {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #27c93f;
  border: 2px solid var(--bg-secondary);
  position: absolute;
  bottom: 0;
  right: 0;
}

html[dir="rtl"] .coach-status-online {
  right: auto;
  left: 0;
}

.coach-wave {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 12px;
}

.coach-wave span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: bounce-wave 1s ease-in-out infinite alternate;
}

.coach-wave span:nth-child(2) { animation-delay: 0.15s; }
.coach-wave span:nth-child(3) { animation-delay: 0.3s; }
.coach-wave span:nth-child(4) { animation-delay: 0.45s; }

@keyframes bounce-wave {
  from { height: 3px; }
  to { height: 12px; }
}

.learning-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.checklist-item-mock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: left;
}

html[dir="rtl"] .checklist-item-mock {
  text-align: right;
}

.checklist-item-mock.checked {
  color: var(--text-muted);
  text-decoration: line-through;
}

.checklist-item-mock.checked span {
  color: #27c93f;
}

.checklist-item-mock span {
  font-weight: bold;
}

/* --- TRUST STATISTICS SECTION --- */
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.stat-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}
.stat-counter-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}
.stat-counter-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-counter-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- PREMIUM 4-PACK PRICING COMPLEMENTS --- */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.pricing-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--grad-accent);
  color: #0a0b0d;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
html[dir="rtl"] .pricing-card.popular::before {
  right: auto;
  left: 1.5rem;
}

/* Pricing comparison table */
.comparison-table-wrapper {
  margin-top: 5rem;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}
html[dir="rtl"] .comparison-table {
  text-align: right;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}
.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}
.comparison-check {
  color: #10b981;
  font-weight: bold;
}
.comparison-cross {
  color: #ef4444;
  opacity: 0.5;
}

/* --- HERO ANIMATED WEBSITE MOCKUPS --- */
.hero-animated-mockups {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-screen {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111317;
  transition: transform 0.5s ease;
}
.mock-screen-header {
  height: 24px;
  background: #1a1c22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  gap: 4px;
}
.mock-screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mock-screen-content {
  padding: 1rem;
}
.mock-screen-desktop {
  width: 80%;
  height: 300px;
  top: 20px;
  left: 10px;
  z-index: 1;
  animation: float-desktop 6s ease-in-out infinite alternate;
}
.mock-screen-tablet {
  width: 50%;
  height: 240px;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  animation: float-tablet 5s ease-in-out infinite alternate;
}
.mock-screen-mobile {
  width: 25%;
  height: 220px;
  bottom: 10px;
  left: 30%;
  z-index: 3;
  animation: float-mobile 4s ease-in-out infinite alternate;
}
@keyframes float-desktop {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(0.5deg); }
}
@keyframes float-tablet {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes float-mobile {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-12px) scale(1.02); }
}

/* --- INTERACTIVE CALCULATORS --- */
.calc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  backdrop-filter: blur(10px);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.calc-slider-group {
  margin-bottom: 2rem;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}
.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #252836;
  outline: none;
  -webkit-appearance: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: transform 0.1s;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.calc-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.02);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
}
.calc-checkbox-label:hover {
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(0, 242, 254, 0.02);
}
.calc-checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
}
.calc-results-panel {
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, rgba(155, 93, 229, 0.05) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.calc-price-output {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin: 1rem 0;
}
.calc-price-output span {
  font-size: 1.5rem;
  font-weight: 500;
}

/* --- EXIT INTENT POPUP --- */
.exit-intent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.exit-intent-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.exit-intent-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 550px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 242, 254, 0.15);
}
.exit-intent-overlay.show .exit-intent-modal {
  transform: scale(1);
}
.exit-intent-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.exit-intent-close:hover {
  color: var(--text-primary);
}
html[dir="rtl"] .exit-intent-close {
  right: auto;
  left: 1.25rem;
}

/* --- MEETING SCHEDULER WIDGET --- */
.scheduler-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .scheduler-widget {
    grid-template-columns: 1fr;
  }
}
.scheduler-calendar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.scheduler-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--text-primary);
}
.scheduler-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}
.scheduler-day-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: bold;
  text-transform: uppercase;
}
.scheduler-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}
.scheduler-day:hover:not(.disabled) {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.scheduler-day.active {
  background: var(--grad-accent);
  color: #0a0b0d;
  font-weight: bold;
}
.scheduler-day.disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.scheduler-slots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid var(--border-card);
  padding-left: 2rem;
}
html[dir="rtl"] .scheduler-slots {
  border-left: none;
  border-right: 1px solid var(--border-card);
  padding-left: 0;
  padding-right: 2rem;
}
@media (max-width: 640px) {
  .scheduler-slots {
    border-left: none;
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}
.scheduler-slots-title {
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.scheduler-slots-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 250px;
  overflow-y: auto;
}
.scheduler-slot-btn {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.scheduler-slot-btn:hover:not(.disabled) {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}
.scheduler-slot-btn.active {
  background: var(--accent-cyan);
  color: #0a0b0d;
  border-color: transparent;
  font-weight: bold;
}

/* --- MOCK CHATBOT WIDGET --- */
.chatbot-bubble {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: transform var(--transition-normal);
  animation: pulse-chat 2s infinite;
}
.chatbot-bubble:hover {
  transform: scale(1.05);
}
html[dir="rtl"] .chatbot-bubble {
  right: auto;
  left: 1.5rem;
}
@keyframes pulse-chat {
  0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 242, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}
.chatbot-drawer {
  position: fixed;
  bottom: 10rem;
  right: 1.5rem;
  width: 380px;
  height: 500px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-drawer.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
html[dir="rtl"] .chatbot-drawer {
  right: auto;
  left: 1.5rem;
}
@media (max-width: 480px) {
  .chatbot-drawer {
    width: calc(100% - 3rem);
    height: 80vh;
    bottom: 6rem;
  }
}
.chatbot-header {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(155, 93, 229, 0.1) 100%);
  border-bottom: 1px solid var(--border-card);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-title-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chatbot-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.chatbot-status {
  font-size: 0.75rem;
  color: #27c93f;
}
.chatbot-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}
.chatbot-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border-card);
}
.chat-msg.user {
  background: var(--accent-cyan);
  color: #0a0b0d;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}
.chatbot-chips {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chatbot-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.chatbot-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background: rgba(0,242,254,0.05);
}

/* --- CONVERSION ELEMENTS STICKY / FLOATING --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 19, 24, 0.85);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-glow);
  padding: 1rem 0;
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta-bar.show {
  transform: translateY(0);
}
.sticky-cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (max-width: 640px) {
  .sticky-cta-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
.floating-contact-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--grad-accent);
  color: #0a0b0d;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 997;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}
.floating-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
html[dir="rtl"] .floating-contact-btn {
  right: auto;
  left: 1.5rem;
}


