/* ========================== Containers ========================== */
.about-container, .faq-container, .rules-container, .contact-container, .privacy-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 25px;
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  line-height: 1.8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-container:hover, .faq-container:hover, .rules-container:hover, .privacy-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ========================== Titles ========================== */
.about-title, .faq-title, .rules-title, .contact-title, .privacy-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #0b6b63;
}
.about-title { margin-bottom: 10px; }
.faq-title { margin-bottom: 25px; }
.rules-title { margin-bottom: 15px; }
.contact-title { margin-bottom: 10px; }
.privacy-title { margin-bottom: 15px; }

/* ========================== Subtitles ========================== */
.about-sub, .contact-sub {
  text-align: center;
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 35px;
}

/* ========================== Boxes ========================== */
.about-box, .faq-box, .rules-box, .contact-box, .privacy-box {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-box { margin-bottom: 20px; cursor: pointer; }
.about-box:hover, .rules-box:hover, .privacy-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.faq-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ========================== Labels and Text ========================== */
.about-label, .rules-label, .contact-label, .privacy-label, .faq-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.about-text, .rules-text, .contact-text, .privacy-text, .faq-answer {
  font-size: 14px;
  color: #222;
}
.faq-answer {
  display: none;
  padding-top: 8px;
}

/* ========================== Map ========================== */
.map-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.map-box iframe {
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: 20px;
}

/* ========================== Responsive ========================== */
@media (max-width: 768px) {
  .about-container, .faq-container, .rules-container, .contact-container, .privacy-container {
    padding: 30px 20px;
  }
  .about-title, .faq-title, .rules-title, .contact-title, .privacy-title {
    font-size: 26px;
  }
}

/* ========================== Header Styles ========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
.header {
  background: linear-gradient(135deg,#4a90e2,#50e3c2);
  padding: 8px 15px 15px;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
}
.top-left {
  font-weight: 500;
  font-size: 14px;
  color: #4a4a4a;
  margin-left: -85px;
}
.top-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav {
  display: flex;
  gap: 40px;
  white-space: nowrap;
}
.main-nav a {
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color .3s;
}
.main-nav a:hover { color: #ffcc00; }
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  backdrop-filter: blur(8px);
}
.bottom-left .chat-button {
  padding: 8px 18px;
  background: rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  font-weight: 600;
  transition: all .3s;
  backdrop-filter: blur(6px);
}
.bottom-left .chat-button:hover {
  background: rgba(255,255,255,.35);
  transform: translateY(-2px);
}
.bottom-center {
  width: 70px;
  height: 70px;
  background-image: url('https://bimehamn.ir/wp-content/uploads/2025/12/Hedgehog.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all .3s;
}
.bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-info {
  display: flex;
  gap: 12px;
}
.contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color .3s, transform .2s;
  white-space: nowrap;
}
.contact-info .contact-item:hover {
  color: #ffcc00;
  transform: translateY(-1px);
}
@media(max-width:1024px) {
  .bottom-center img { margin-left: 0 !important; }
}
@media(max-width:768px) {
  .header-top, .header-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .top-center { overflow-x: auto; }
  .main-nav { gap: 15px; }
  .main-nav::-webkit-scrollbar { height: 4px; }
  .main-nav::-webkit-scrollbar-thumb { background: #ffcc00; border-radius: 2px; }
  .main-nav::-webkit-scrollbar-track { background: transparent; }
  .bottom-right { justify-content: center; }
  .contact-info { flex-wrap: nowrap; overflow-x: auto; }
  .bottom-center img { margin-left: 0; }
  .top-left { margin-left: 0; }
}

/* ========================== Footer Styles ========================== */
.footer{background:linear-gradient(135deg,#2a4f80,#2e8f7a);color:#fff;margin-top:40px;padding:40px 20px 20px;border-radius:20px 20px 0 0;position:relative}
.footer-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.footer-section h3,.footer-section h4{margin-bottom:15px;font-size:18px;font-weight:700}
.footer-section p{font-size:14px;line-height:1.8;margin:0}
.footer-intro-qr{display:flex;flex-direction:column;gap:20px;align-items:center}
.footer-qr img{width:80px;height:80px;border-radius:12px;border:2px solid #fff}
.footer-links-columns{display:flex;gap:20px}
.footer-links-columns ul{list-style:none;padding:0}
.footer-links-columns ul li{Margin-bottom:8px}
.footer-section a{text-decoration:none;color:#fff;font-size:14px;transition:opacity .3s}
.footer-section a:hover{opacity:.7}
.footer-contact,.footer-social{display:flex;flex-direction:column;gap:8px}
.footer-bottom{text-align:center;margin-top:30px;font-size:13px;opacity:.8;border-top:1px solid rgba(255,255,255,0.3);padding-top:15px}
@media(max-width:1024px){.footer-container{grid-template-columns:repeat(2,1fr);gap:20px}.footer-qr{margin:0 auto}.footer-links-columns{justify-content:center}}
@media(max-width:768px){.footer-container{grid-template-columns:1fr;text-align:center} .footer-section:first-child .footer-intro-qr{flex-direction:row;justify-content:center;align-items:center;gap:15px} .footer-section:first-child .footer-qr{order:2} .footer-section:first-child p{order:1;text-align:center;max-width:200px} .footer-qr img{width:70px;height:70px} .footer-links-columns{flex-direction:row;justify-content:center;gap:15px} .footer-links-columns ul{align-items:flex-start} .footer-section{margin-bottom:15px} .footer-bottom{margin-top:20px;font-size:12px} .footer-contact,.footer-social{align-items:center}}

/* ========================== BM Section ========================== */
.bm-title{
  font-size:28px;
  font-weight:800;
  text-align:center;
  margin:20px 0 10px;
  background:linear-gradient(135deg,#0b485b,#17a2b8);
  -webkit-background-clip:text;
  color:transparent;
}
.bm-desc{
  font-size:16px;
  text-align:center;
  max-width:650px;
  margin:0 auto 25px;
  line-height:1.9;
  color:#333;
  padding:10px 20px;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(12px);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* ========================== Card Styles ========================== */
.card {
  width: 1140px;
  height: 720px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(135deg, #f0f0f0 50%, #d0d0d0 50%);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.right-image {
  position: absolute;
  top: -170px;
  right: -10px;
  height: 950px !important;
  z-index: 2;
  transform: translateX(20px);
}
.card-title {
  position: absolute;
  left: 40px;
  top: 80px;
  font-size: 40px;
  z-index: 3;
}
.card-text {
  position: absolute;
  left: 85px;
  top: 150px;
  font-size: 20px;
  z-index: 3;
}
.card-buttons {
  position: absolute;
  left: 40px;
  top: 240px;
  display: flex;
  gap: 15px;
  z-index: 3;
}
.card-features {
  position: absolute;
  left: 25px;
  top: 320px;
  z-index: 3;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}
.card-features li {
  position: relative;
  padding-left: 35px;
  text-align: left;
}
.card-features .tick {
  position: absolute;
  left: 0;
  top: 0;
  color: #4a90e2;
  font-size: 20px;
}
.mini-card {
  padding: 14px 24px;
  background: linear-gradient(135deg, #4a90e2, #50e3c2);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: none;
}
@media (max-width: 1024px) {
  .card { width: 90%; height: 600px; }
  .right-image { top: -124px; height: 750px !important; transform: translateX(10px); }
  .card-title { left: 30px; top: 60px; font-size: 32px; }
  .card-text { left: 30px; top: 120px; font-size: 18px; }
  .card-buttons { left: 30px; top: 200px; gap: 12px; }
  .mini-card { font-size: 15px; padding: 12px 18px; }
  .card-features { left: 30px; top: 300px; font-size: 16px; line-height: 1.6; }
  .card-features li { padding-left: 30px; }
  .card-features .tick { font-size: 18px; top: 0; }
}
@media (max-width: 768px) {
  .card { width: 95%; height: 500px; }
  .right-image { top: 95px; right: -10px; height: 365px !important; transform: translateX(0); }
  .card-title { left: 15px; top: 20px; font-size: 24px; }
  .card-text { left: 25px; top: 60px; font-size: 16px; }
  .card-buttons { left: 10px; top: 110px; gap: 10px; }
  .mini-card { font-size: 12px; padding: 10px 14px; }
  .card-features { left: 18px; top: 390px; font-size: 14px; line-height: 1.5; }
  .card-features li { padding-left: 28px; }
  .card-features .tick { font-size: 16px; top: 0; }
}

/* ========================== ChatBox Styles ========================== */
#chatBox *, #chatBox *::before, #chatBox *::after { box-sizing: border-box; }
#chatBox {
  max-width: 600px;
  width: 90%;
  margin: 50px auto;
  padding: 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#messages {
  flex: 1;
  min-height: 300px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.message {
  margin: 8px 0;
  padding: 10px 16px;
  border-radius: 18px;
  max-width: 75%;
  word-wrap: break-word;
}
.message.user { background: linear-gradient(135deg, #ff4e50, #f9d423); color: #fff; }
.message.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.2); color: #111; }
#inputForm { display: flex; gap: 12px; align-items: stretch; }

/* Input */
#inputForm input {
  flex: 1;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #111;
  outline: none;
  font-size: 1rem;
  line-height: 1;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 52px;
  margin: 0;
  box-sizing: border-box;
}
#inputForm button {
  background: linear-gradient(135deg, #084e8a, #0aa08c);
  color: #fff;
  border-radius: 18px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 52px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
#inputForm button:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  opacity: 0.98;
}
#status { color: rgba(0, 0, 0, 0.6); font-size: 0.9rem; text-align: center; }
@media (max-width:480px) {
  #inputForm input, #inputForm button { height: 46px; border-radius: 16px; padding: 0 14px; }
}

.insurance-widget {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.insurance-widget h2, .insurance-widget h3 { text-align: center; color: #333; margin: 0; }
.optional-text { position: absolute; top: 55px; right: 20px; font-size: 13px; color: #555; margin: 0; }
.insurance-widget label { display: block; margin-top: 15px; font-weight: bold; }
.insurance-widget input, .insurance-widget select {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #333;
  font-size: 15px;
  direction: rtl;
  text-align: right;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.insurance-widget button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #084e8a, #0aa08c);
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.insurance-widget button:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 14px 30px rgba(0,0,0,0.35); opacity: 0.98; }

.result-section {
  margin-top: 25px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25), 0 5px 15px rgba(0,0,0,0.15) inset;
  color: #fff;
}
.result-section h3 { margin-top: 0; }
.result-item { margin-bottom: 12px; font-weight: 600; position: relative; padding-right: 20px; }
.result-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.retirement-link { text-align: center; margin-top: 20px; font-size: 15px; }
.retirement-link a { color: #0aa08c; text-decoration: underline; }



/* PROMO BANNER — SINGLE HEADER COMMENT */

.promo-banner-white {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateZ(0);
}

.promo-banner-white:hover {
  transform: translateY(-1px);
}

.promo-banner-white::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.03), transparent 60%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.promo-banner-white .dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.04) 1px, transparent 0);
  background-size: 42px 42px;
  opacity: 0.25;
  z-index: 0;
  animation: dot-grid-float 26s linear infinite;
}

.promo-banner-white .promo-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.promo-banner-white .promo-content h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: linear-gradient(135deg, #1a1a1a, #404040);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 160% 160%;
  animation: kinetic-text 10s ease infinite;
  position: relative;
  z-index: 2;
}

.promo-banner-white .promo-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(59,130,246,0.45) 40%,
    rgba(16,185,129,0.45) 60%,
    transparent
  );
  border-radius: 40px;
  animation: underline-modern 4.5s ease-in-out infinite;
}

@keyframes underline-modern {
  0%,100% { transform: translateX(-50%) scaleX(0.87); opacity: 0.7; }
  50%     { transform: translateX(-50%) scaleX(1); opacity: 1; }
}

.promo-banner-white .promo-content p {
  margin: 0;
  color: #4a5568;
  font-size: 1.125rem;
  max-width: 700px;
  line-height: 1.55;
  opacity: 0.9;
  position: relative;
  padding: 0 20px;
}

.promo-banner-white .promo-content p::before,
.promo-banner-white .promo-content p::after {
  content: "✧";
  position: absolute;
  color: #3b82f6;
  font-size: 1.1rem;
  opacity: 0.45;
  animation: float-markers 6s ease-in-out infinite;
}

.promo-banner-white .promo-content p::before {
  left: -5px;
  top: -10px;
}

.promo-banner-white .promo-content p::after {
  right: -5px;
  bottom: -10px;
  animation-delay: .4s;
}

.promo-banner-white .promo-button-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform .25s ease;
}

.promo-banner-white .promo-button-white:hover {
  transform: translateY(-2px);
}

.promo-banner-white .promo-button-white .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  animation: dot-bounce 2.5s ease-in-out infinite;
}

.promo-banner-white .floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.promo-banner-white .floating-shapes .shape {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(59,130,246,0.025);
  border: 1px solid rgba(59,130,246,0.08);
  border-radius: 8px;
  animation: shape-float 26s linear infinite;
}

.promo-banner-white .floating-shapes .shape:nth-child(1) { top: 22%; left: 10%; }
.promo-banner-white .floating-shapes .shape:nth-child(2) {
  top: 60%; right: 16%; border-radius: 50%; animation-delay: 6s;
}
.promo-banner-white .floating-shapes .shape:nth-child(3) {
  bottom: 32%; left: 18%; border-radius: 2px; animation-delay: 12s;
}

.promo-banner-white .promo-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(59,130,246,0.28),
    rgba(16,185,129,0.28),
    transparent
  );
  margin: 10px 0;
  animation: divider-glow 3s ease-in-out infinite;
}

.promo-banner-white .promo-divider::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  animation: divider-dot 3.8s ease-in-out infinite;
}

@media (max-width: 768px) {
  .promo-banner-white { padding: 40px 20px; }
  .promo-banner-white .promo-content h2 { font-size: 2rem; }
  .promo-banner-white .promo-content p { font-size: 1rem; }
  .promo-banner-white .floating-shapes .shape { display: none; }
}

@media (max-width: 480px) {
  .promo-banner-white { padding: 32px 16px; }
  .promo-banner-white .promo-content h2 { 
    font-size: 1.75rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
  }
  .promo-banner-white .promo-content h2::after { width: 70px; }
}

@keyframes kinetic-text {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

@keyframes float-markers {
  0%,100% { transform: translateY(0); opacity: 0.45; }
  50%     { transform: translateY(-4px); opacity: 0.75; }
}

@keyframes dot-bounce {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-3px) scale(1.15); }
}

@keyframes shape-float {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50%     { transform: translateY(-16px) rotate(180deg); opacity: 0.55; }
}

@keyframes dot-grid-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(36px); }
}

@keyframes divider-glow {
  0%,100% { opacity: 0.7; }
  50%     { opacity: 1; }
}

@keyframes divider-dot {
  0%,100% { transform: translate(-50%, -50%) scale(1); }
  50%     { transform: translate(-50%, -50%) scale(1.25); }
}

/* INSURANCE BANNER — SINGLE HEADER COMMENT */

.insurance-banner {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: #2c3e50;
  padding: 30px 25px;
  text-align: center;
  border-radius: 18px;
  max-width: 500px;
  margin: 20px auto;
  font-family: system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 10px 30px rgba(255, 78, 80, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.insurance-banner::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2c3e50;
}

.emoji {
  display: inline-block;
}

.banner-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #34495e;
  line-height: 1.5;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 25px;
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  margin: 25px auto;
  max-width: 350px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
  font-weight: 600;
}

.cta-button:hover {
  color: #a36aff;
}

.phone-icon {
  font-size: 1.4rem;
  animation: ring 3s infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-15deg); }
  15% { transform: rotate(10deg); }
  20% { transform: rotate(-10deg); }
  25% { transform: rotate(0); }
}

@media (max-width: 600px) {
  .insurance-banner {
    padding: 25px 20px;
    margin: 15px;
    border-radius: 16px;
  }
  
  .banner-content h2 {
    font-size: 1.5rem;
  }
  
  .banner-content p {
    font-size: 1rem;
  }
  
  .cta-button {
    flex-direction: row;
    gap: 8px;
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emoji {
    animation: none;
  }
}

/* SIDE WIDGET — SINGLE HEADER COMMENT */

#sideWidget {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  will-change: transform;
  backface-visibility: hidden;
}

#sideWidget .widget-icon {
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  padding: 8px;
  will-change: transform;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#sideWidget .widget-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

#sideWidget .widget-icon:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 30px rgba(255, 255, 255, 0.05);
}

#sideWidget .widget-icon:active {
  transform: scale(0.98);
  transition-duration: 0.05s;
}

#sideWidget .widget-icon svg {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  color: #2c3e50;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

#sideWidget .icon-label {
  font-size: 10px;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  letter-spacing: -0.2px;
}

@media (min-width: 1200px) {
  #sideWidget .widget-icon {
    width: 80px;
    height: 80px;
  }
  
  #sideWidget .widget-icon svg {
    width: 32px;
    height: 32px;
  }
  
  #sideWidget .icon-label {
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  #sideWidget {
    left: 15px;
    gap: 12px;
  }
  
  #sideWidget .widget-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
  }
  
  #sideWidget .widget-icon svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 768px) {
  #sideWidget {
    left: 10px;
    gap: 10px;
  }
  
  #sideWidget .widget-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    padding: 6px;
  }
  
  #sideWidget .widget-icon svg {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
  }
  
  #sideWidget .icon-label {
    font-size: 9px;
  }
  
  #sideWidget .widget-icon:hover {
    transform: scale(1.08);
  }
}

@media (max-width: 480px) {
  #sideWidget {
    left: 8px;
    gap: 8px;
  }
  
  #sideWidget .widget-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  
  #sideWidget .widget-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sideWidget .widget-icon {
    transition: none;
  }
  
  #sideWidget .widget-icon:hover {
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  #sideWidget .widget-icon {
    background: rgba(30, 30, 30, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  #sideWidget .widget-icon:hover {
    background: rgba(40, 40, 40, 0.2);
  }
  
  #sideWidget .widget-icon svg {
    color: #ecf0f1;
  }
  
  #sideWidget .icon-label {
    color: #ecf0f1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  }
}



/* Lead popup form styles */
:root {
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --accent: rgba(67, 97, 238, 0.8);
  --accent-glow: rgba(67, 97, 238, 0.4);
  --text-light: rgba(255, 255, 255, 0.95);
  --text-dark: rgba(30, 30, 30, 0.9);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#leadPopup, #leadPopup * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#leadPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  animation: fadeIn 0.4s ease-out;
}

#leadPopup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.05) 100%);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

#leadPopup > div:first-of-type {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 420px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#leadPopup h2 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: var(--text-dark);
  margin: 0;
  padding: 28px 24px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

#leadForm {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#leadForm input[type="text"] {
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-dark);
  font-weight: 500;
}

#leadForm input[type="text"]::placeholder {
  color: rgba(30, 30, 30, 0.5);
  font-weight: 400;
}

#leadForm input[type="text"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px var(--accent-glow);
  transform: translateY(-2px);
}

#leadForm label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-top: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

#leadForm label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
  transition: left 0.7s ease;
}

#leadForm label:hover::before {
  left: 100%;
}

#leadForm label:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
}

.checkbox-container {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-container input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(67, 97, 238, 0.6);
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
  overflow: visible;
}

.checkmark::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(67, 97, 238, 0.3);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulse 1.5s infinite;
}

.checkbox-container input:checked ~ .checkmark::before {
  opacity: 1;
  animation: rotate-ring 3s linear infinite;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

@keyframes rotate-ring {
  0% {
    transform: rotate(0deg);
    border-color: rgba(67, 97, 238, 0.3);
  }
  50% {
    border-color: rgba(67, 97, 238, 0.6);
  }
  100% {
    transform: rotate(360deg);
    border-color: rgba(67, 97, 238, 0.3);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 15px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  100% {
    box-shadow: 0 0 15px var(--accent-glow);
  }
}

#leadForm button[type="submit"] {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.9) 0%, rgba(114, 9, 183, 0.8) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

#leadForm button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

#leadForm button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

#leadForm button[type="submit"]:hover::before {
  left: 100%;
}

#leadForm button[type="submit"]:active {
  transform: translateY(-1px);
}

#leadForm .row {
  display: flex;
  gap: 10px;
}

#leadForm .row input {
  flex: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 15px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 25px var(--accent-glow);
  }
}

@media (max-width: 576px) {
  #leadPopup > div:first-of-type {
    width: 95%;
    max-width: 95%;
    border-radius: 20px;
  }

  #leadPopup h2 {
    font-size: 1.4rem;
    padding: 24px 20px;
  }

  #leadForm {
    padding: 24px;
    gap: 16px;
  }

  #leadForm input[type="text"] {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  #leadForm button[type="submit"] {
    padding: 16px 20px;
    font-size: 1rem;
  }

  #leadForm label {
    padding: 16px;
    font-size: 0.9rem;
  }
}

#leadForm input[type="text"], #leadForm input[type="tel"] {
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-dark);
  font-weight: 500;
}

#leadForm input[type="text"]::placeholder, #leadForm input[type="tel"]::placeholder {
  color: rgba(30, 30, 30, 0.5);
  font-weight: 400;
}

#leadForm input[type="text"]:focus, #leadForm input[type="tel"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px var(--accent-glow);
  transform: translateY(-2px);
}

.checkbox-text {
  flex: 1;
  padding-top: 2px;
}