@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #FAFCFF;
  --bg-secondary: #F0F5FA;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.95);
  --border-glass: rgba(14, 165, 233, 0.15);
  --border-active: rgba(0, 210, 211, 0.45);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --accent-emerald: #00D2D3;
  --accent-emerald-glow: rgba(0, 210, 211, 0.25);
  --accent-violet: #0072FF;
  --accent-violet-glow: rgba(0, 114, 255, 0.18);
  --accent-indigo: #2563EB;
  --whatsapp-green: #25D366;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 210, 211, 0.15) 0%, transparent 70%);
}

.glow-2 {
  top: 30%;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.12) 0%, transparent 70%);
}

.glow-3 {
  bottom: 5%;
  right: 20%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  z-index: 1000;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.03);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(0, 210, 211, 0.3));
}

.footer-logo-img {
  height: 40px;
}

.logo-badge {
  background: rgba(0, 210, 211, 0.1);
  color: #0083B0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 210, 211, 0.3);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-cta-mobile {
  padding: 8px 16px;
  font-size: 13px;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav-link:hover {
  color: #0072FF;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #00D2D3 0%, #0072FF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 114, 255, 0.4);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

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

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 211, 0.1);
  color: #0072FF;
  border: 1px solid rgba(0, 210, 211, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00D2D3;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 211, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 210, 211, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 211, 0); }
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #0F172A;
}

.gradient-text {
  background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* WhatsApp Live Chat Simulator Widget (Light Theme) */
.phone-mockup {
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08), 0 0 40px rgba(0, 210, 211, 0.12);
  position: relative;
  overflow: hidden;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F0F4F8;
  border-radius: 24px 24px 0 0;
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.bot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 210, 211, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 210, 211, 0.2);
}

.bot-avatar-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.bot-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
}

.bot-info p {
  font-size: 12px;
  color: #16A34A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bot-info p::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16A34A;
  border-radius: 50%;
}

.chat-body {
  padding: 20px 14px;
  background: #ECE5DD;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble-user {
  align-self: flex-start;
  background: #DCF8C6;
  color: #111B21;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bubble-bot {
  align-self: flex-end;
  background: #FFFFFF;
  color: #111B21;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bubble-time {
  font-size: 11px;
  color: #667781;
  text-align: left;
  margin-top: 4px;
}

.chat-card {
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-card h5 {
  color: #0072FF;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-card p {
  font-size: 13px;
  color: #334155;
}

/* Interactive Prompt Chips */
.chat-footer {
  padding: 14px;
  background: #F0F4F8;
  border-radius: 0 0 24px 24px;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
}

.chips-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.prompt-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.prompt-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--text-secondary);
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.chip:hover {
  background: rgba(0, 210, 211, 0.12);
  border-color: #00D2D3;
  color: #0072FF;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  color: #0072FF;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #0F172A;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00D2D3 0%, #0072FF 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 211, 0.35);
  box-shadow: 0 18px 40px rgba(0, 114, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 210, 211, 0.1);
  color: #0083B0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 210, 211, 0.2);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(0, 114, 255, 0.08);
  color: #0072FF;
  border-color: rgba(0, 114, 255, 0.2);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0F172A;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.steps-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, #F0F5FA 50%, transparent 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

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

.step-item {
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 210, 211, 0.1);
  border: 2px solid #00D2D3;
  color: #0072FF;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0F172A;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Lead Capture Form Section */
.register-section {
  padding: 100px 0 140px;
  position: relative;
}

.register-card {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(0, 210, 211, 0.3);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.07), 0 0 40px rgba(0, 210, 211, 0.1);
  position: relative;
  overflow: hidden;
}

.register-header {
  text-align: center;
  margin-bottom: 36px;
}

.register-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0F172A;
}

.register-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #00D2D3;
  box-shadow: 0 0 0 4px rgba(0, 210, 211, 0.15);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 12px;
}

.form-feedback {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  display: none;
}

.feedback-success {
  background: rgba(0, 210, 211, 0.12);
  border: 1px solid #00D2D3;
  color: #0083B0;
}

.feedback-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #EF4444;
  color: #DC2626;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(14, 165, 233, 0.12);
  padding: 40px 0;
  background: #F1F5FA;
}

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

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Responsive Styles */
@media (min-width: 769px) {
  .nav-cta-mobile {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 60px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .header {
    padding: 12px 0;
  }
  .header-actions {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    padding: 24px 20px 32px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    z-index: 999;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    width: 100%;
  }
  .nav-cta-desktop {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
  }
  .ambient-glow {
    width: 320px;
    height: 320px;
    filter: blur(90px);
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-title {
    font-size: clamp(1.95rem, 6.5vw, 2.75rem);
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    min-height: 48px;
  }
  .features, .steps-section, .register-section {
    padding: 60px 0;
  }
  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.3rem);
  }
  .section-subtitle {
    font-size: 15px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .register-card {
    padding: 32px 20px;
    border-radius: 24px;
  }
  .register-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }
  .form-input {
    min-height: 48px;
    font-size: 16px; /* Prevents iOS auto-zoom */
  }
  .form-submit {
    min-height: 52px;
    font-size: 15px;
    padding: 14px 16px;
    line-height: 1.35;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .logo-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .logo-img {
    height: 38px;
  }
  .nav-cta-mobile {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }
  .phone-mockup {
    padding: 10px;
    border-radius: 24px;
  }
  .phone-header {
    padding: 10px;
  }
  .bot-avatar {
    width: 38px;
    height: 38px;
  }
  .bot-avatar-img {
    width: 26px;
    height: 26px;
  }
  .bot-info h4 {
    font-size: 14px;
  }
  .bot-info p {
    font-size: 11px;
  }
  .chat-body {
    height: 320px;
    padding: 14px 8px;
    gap: 12px;
  }
  .chat-bubble {
    max-width: 92%;
    font-size: 13px;
    padding: 10px 14px;
  }
  .chat-card {
    padding: 10px;
  }
  .chat-card h5 {
    font-size: 13px;
  }
  .chat-card p {
    font-size: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .step-item {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .register-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .whatsapp-float-btn {
    bottom: 18px;
    left: 18px;
  }
  .whatsapp-float-icon-wrapper {
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-tooltip {
    display: none; /* Hide tooltip text on small mobile screens to prevent clutter */
  }
}

/* ==========================================================================
   WhatsApp Branding, Phone Badges & Floating Widget Styles
   ========================================================================== */

/* WhatsApp Brand Button Styles */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  font-weight: 600;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28E16D 0%, #107C70 100%);
  color: #FFFFFF;
}

.whatsapp-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Bot Number Badge in Hero */
.bot-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25D366;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  margin-top: 12px;
  width: fit-content;
}

.bot-number-badge strong {
  color: #FFFFFF;
  direction: ltr;
  display: inline-block;
}

.bot-phone-link {
  color: #25D366;
  text-decoration: none;
  transition: var(--transition);
}

.bot-phone-link:hover {
  color: #28E16D;
  text-decoration: underline;
}

/* Simulator Phone Header Link */
.phone-header-link {
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.phone-header-link:hover .phone-header {
  background: #1E2636;
  border-bottom-color: rgba(37, 211, 102, 0.4);
}

.header-open-badge {
  margin-right: auto;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.phone-header-link:hover .header-open-badge {
  background: #25D366;
  color: #000000;
}

/* Floating WhatsApp Quick Access Widget */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover .whatsapp-float-icon-wrapper {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.65);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #25D366;
  border: 2px solid #0A0C16;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-tooltip {
  background: rgba(18, 22, 41, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  animation: floatTooltip 3s ease-in-out infinite;
}

.whatsapp-float-tooltip span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.whatsapp-float-tooltip small {
  font-size: 11px;
  color: #25D366;
  font-weight: 500;
  direction: ltr;
}

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

/* Direct WhatsApp option in register card */
.direct-whatsapp-card {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.direct-whatsapp-card span {
  font-size: 13px;
  color: var(--text-secondary);
}

.direct-whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.direct-whatsapp-link:hover {
  color: #28E16D;
  text-decoration: underline;
}

.footer-whatsapp {
  margin-bottom: 8px;
}

.footer-whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-whatsapp-link:hover {
  color: #28E16D;
}

/* Success Box & Registration Feedback Button */
.success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 8px 0;
}

.success-box h4 {
  font-size: 18px;
  color: #4ADE80;
  font-weight: 700;
}

.success-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.success-whatsapp-btn {
  margin-top: 8px;
  padding: 14px 28px;
  font-size: 16px;
  width: fit-content;
}

/* Step 2 WhatsApp Icon Link */
.step-wa-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  transition: var(--transition);
  text-decoration: none;
}

.step-wa-icon-link:hover {
  background: #25D366;
  color: #000000;
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.5);
}

/* Legal Notice in Form */
.form-legal-notice {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-legal-notice a {
  color: var(--text-secondary);
  text-decoration: underline;
  transition: var(--transition);
}

.form-legal-notice a:hover {
  color: var(--accent-emerald);
}

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.footer-legal-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-separator {
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   Legal Pages (Privacy Policy & Terms of Use)
   ========================================================================== */
.legal-hero {
  padding: 60px 0 30px 0;
  text-align: center;
}

.legal-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.25);
  color: #0083B0;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.legal-hero .hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 24px auto;
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content-section {
  padding: 20px 0 80px 0;
}

.legal-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-back-nav {
  margin-bottom: 24px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-violet);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 16px;
  background: rgba(0, 114, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 114, 255, 0.15);
}

.legal-back-link:hover {
  background: rgba(0, 114, 255, 0.12);
  transform: translateX(4px);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section-title span.number {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-violet) 100%);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-text strong {
  color: var(--text-primary);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-list-item {
  position: relative;
  padding-right: 28px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list-item::before {
  content: '✦';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-emerald);
  font-size: 14px;
}

.legal-subheading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.legal-alert-box {
  background: rgba(0, 210, 211, 0.06);
  border-right: 4px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 20px 0;
}

.legal-alert-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #0369A1;
  line-height: 1.6;
}

.legal-contact-card {
  background: linear-gradient(135deg, rgba(0, 210, 211, 0.08) 0%, rgba(0, 114, 255, 0.05) 100%);
  border: 1px solid rgba(0, 210, 211, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-contact-card a {
  color: var(--accent-violet);
  font-weight: 600;
  text-decoration: none;
}

.legal-contact-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 40px 0 20px 0;
  }

  .legal-hero .hero-title {
    font-size: 2rem;
  }

  .legal-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .legal-section-title {
    font-size: 1.25rem;
  }
}





